Request

Response

    Autodesk.Viewing.UI

    LayersPanel

    new LayersPanel(viewer, parentContainer, id, options)

    The Layer Panel allows users to explore and set the visibility state of the different layers in the loaded model. A layer is identified by a string label and represents a collection of geometry grouped by some criteria.

    See also [getLayersRoot()]`Autodesk.Viewing.Model/#getLayersRoot <#fixMe/>`_

    Parameters

    viewer*
    Viewer
    The parent viewer.
    parentContainer*
    HTMLElement
    The container for this panel.
    id*
    string
    The id for this panel.
    options
    object
    An optional dictionary of options.
    * Required