Options
All
  • Public
  • Public/Protected
  • All
Menu

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

see

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

Hierarchy

  • DebugLayer

Index

Constructors

Properties

InspectorURL: string

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

ignorenaming

Accessors

  • get onPropertyChangedObservable(): any
  • Observable triggered when a property is changed through the inspector.

    Returns any

  • get onSelectionChangedObservable(): any
  • Observable triggered when the selection is changed through the inspector.

    Returns any

Methods

  • hide(): void
  • Hide the inspector and close its window.

    Returns void

  • isVisible(): boolean
  • Get if the inspector is visible or not.

    Returns boolean

    true if visible otherwise, false

  • select(entity: any, lineContainerTitles?: string | 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 lineContainerTitles: string | string[]

      defines the specific blocks to highlight (could be a string or an array of strings)

    Returns void

  • setAsActiveScene(): void
  • Update the scene in the inspector

    Returns void

  • Launch the debugLayer.

    Parameters

    Returns Promise<DebugLayer>

    a promise fulfilled when the debug layer is visible

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static property
  • Static method
  • Inherited constructor

Settings

Theme