The debug layer (aka Inspector) is the go to tool in order to better understand what is happening in your scene
Observable triggered when a property is changed through the inspector.
Define the url to get the inspector script from. By default it uses the babylonjs CDN.
Gets the active tab
the index of the active tab or -1 if the inspector is hidden
Hide the inspector and close its window.
Get if the inspector is visible or not.
true if visible otherwise, false
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 |
Define the configuration of the inspector
Generated using TypeDoc