DebugLayer

Hierarchy

  • DebugLayer

Index

Constructors

constructor

Properties

onPropertyChangedObservable

onPropertyChangedObservable: Observable<object>

Static InspectorURL

InspectorURL: string

Methods

getActiveTab

  • getActiveTab(): number
  • Gets the active tab

    Returns number

    the index of the active tab or -1 if the inspector is hidden

hide

  • hide(): void
  • Returns void

isVisible

  • isVisible(): boolean
  • Returns boolean

show

  • show(config?: object): void
  • Launch the debugLayer.

    initialTab: | Value | Tab Name | | --- | --- | | 0 | Scene | | 1 | Console | | 2 | Stats | | 3 | Textures | | 4 | Mesh | | 5 | Light | | 6 | Material | | 7 | GLTF | | 8 | GUI | | 9 | Physics | | 10 | Camera | | 11 | Audio |

    Parameters

    • Optional config: object
      • Optional initialTab?: number
      • Optional newColors?: object
        • Optional backgroundColor?: string
        • Optional backgroundColorLighter?: string
        • Optional backgroundColorLighter2?: string
        • Optional backgroundColorLighter3?: string
        • Optional color?: string
        • Optional colorBot?: string
        • Optional colorTop?: string
      • Optional parentElement?: HTMLElement
      • Optional popup?: boolean

    Returns void

Generated using TypeDoc