RSX Code Reference
    Preparing search index...
    • rsx
    • SelectionHighlightRenderer

    Class SelectionHighlightRenderer

    Handles rendering of the selection highlights for SceneObjects.

    Index
    • get isManualModeEnabled(): boolean

      Enable the manual selection for renderable objects.

      Returns boolean

    • set isManualModeEnabled(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • Adds a manual sceneObject to the render list. All renderables in the mesh will be selected for rendering.

      Parameters

      Returns any

      Must be called before the next call to update.

    • Adds a manual renderable to the list that renders a sub section of the mesh at the specified lodIndex.

      Parameters

      • renderable: Renderable

        The renderable.

      • lodIndex: number

        The LOD group index

      • indexOffset: number

        The offset in the mesh index buffer.

      • indexCount: number

        The number of indices to render.

      • color: Immutable<SRGBColor>

        The optional tint color.

      • OptionaldrawOperationType: EnumValue<MeshTopology>

        The draw operation type.

      Returns any

      Must be called before the next call to update.

    • Clears the list of manually selected elements.

      Returns void

    • Destroy the renderer and unregister it from other subsystems.

      Returns void