Manager for debugging functionalities

Hierarchy

  • DebugManager

Methods

  • Registers a parent DOM element to use as root for the Babylon.js inspector.
    When set and no explicit options are passed to showInspector, this element will be used as globalRoot, which avoids interference with the surrounding application layout.

    Parameters

    • el: HTMLElement

    Returns void

  • Displays the coordinate system.
    Shows the local coordinate system of a specified node or the world coordinate system if no node is provided.
    The size defaults to one-third of the scene's bounding sphere radius but can be set manually.

    Parameters

    • Optional node: TransformNode
    • Optional size: number

    Returns void

  • Enables the Babylon.js Inspector.
    Due to the additional size of the inspector, this function is only available in "development" builds!

    Returns

    Signalizes if inspector could be loaded

    Parameters

    • Optional options: IInspectorOptions

    Returns Promise<boolean>

Generated using TypeDoc