Request

Response

    Autodesk.Viewing
    Version 8 preview
    This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.

    Scene

    Classes related to scene management and rendering. This includes materials, geometries, and scene graph nodes.

    Constants

    VisibilityState

    Visibility states for scene graph nodes and geometry instances.

    type

    number

    Properties

    Visible
    number
    Object is fully visible.
    Ghosted
    number
    Object is ghosted (translucent).
    Hidden
    number
    Object is not visible.

    UsageHint

    How often the instances of a model are expected to change, so the viewer can choose which rendering optimizations to apply.

    type

    number

    Properties

    Static
    number
    Instances rarely change. A model is optimized again after changes, added instances appear once that is done.
    Mixed
    number
    Instances change occasionally. Currently the same as Static.
    Dynamic
    number
    Instances change frequently. The model is not optimized for rendering.