DebugLayer

The debug layer (aka Inspector) is the go to tool in order to better understand what is happening in your scene

see

http://doc.babylonjs.com/features/playground_debuglayer

Hierarchy

  • DebugLayer

Index

Constructors

constructor

Find examples in Playground

Properties

onPropertyChangedObservable

Find examples in Playground
onPropertyChangedObservable: any

Observable triggered when a property is changed through the inspector.

Static InspectorURL

Find examples in Playground
InspectorURL: string

Define the url to get the inspector script from. By default it uses the babylonjs CDN.

ignorenaming

Methods

hide

Find examples in Playground
  • hide(): void
  • Hide the inspector and close its window.

    Returns void

isVisible

Find examples in Playground
  • isVisible(): boolean
  • Get if the inspector is visible or not.

    Returns boolean

    true if visible otherwise, false

select

Find examples in Playground
  • select(entity: any, lineContainerTitle?: string): void
  • Select a specific entity in the scene explorer and highlight a specific block in that entity property grid

    Parameters

    • entity: any

      defines the entity to select

    • Optional lineContainerTitle: string

      defines the specific block to highlight

    Returns void

show

Find examples in Playground
  • Launch the debugLayer.

    Parameters

    Returns Promise<DebugLayer>

    a promise fulfilled when the debug layer is visible

Generated using TypeDoc