API (v3.0.0-dev) - Giro3D
    Preparing search index...

    Class Inspector

    Provides a user interface to inspect and edit the Giro3D scene. The inspector is made of several Panel. You can implement custom panels and add them to the inspector with Inspector.addPanel.

    Index

    Constructors

    • Creates an instance of the inspector.

      Parameters

      • parent: string | HTMLElement

        The HTML element to attach the panel to, or the id of this element.

      • instance: Instance

        The Giro3D instance.

      • options: InspectorOptions = {}

        The options.

      Returns Inspector

    Properties

    folders: Panel[]
    gui: GUI
    instance: Instance

    Methods

    • Adds a panel to the inspector.

      Parameters

      • panel: Panel

        The panel to add.

      Returns void

    • Removes all panel from the inspector.

      Returns void

    • Returns void

    • Detach this Inspector from its instance.

      Returns void

    • Returns void

    • Attaches the inspector to the specified DOM element.

      Parameters

      • parent: string | HTMLElement

        The element to attach the panel to, or the id to the element.

      • instance: Instance

        The Giro3D instance.

      • options: InspectorOptions = {}

        The options.

      Returns Inspector

      The created inspector.