RSX Code Reference
    Preparing search index...
    • rsx
    • Editor
    • ViewportViewSphereInteractiveGizmo

    Class ViewportViewSphereInteractiveGizmo

    The ViewportViewSphereInteractiveGizmo implements an InteractiveGizmo that draws a view sphere that display the orientation of the scene camera.

    Hierarchy (View Summary)

    Index
    _baseColorTexture: Texture
    _clickStates: boolean[]
    _normalMapTexture: Texture
    _viewSphereMeshData: MeshData
    axisCount: number
    axisDiskDistance: number
    axisDiskRadius: number
    drawAxisSpheres: boolean

    Determines if the axis selector spheres should be drawn.

    enableThreshold: number
    viewSphereRadius: number
    • get isEnabled(): boolean

      Determines the active state of the gizmo. If disabled, the gizmo will not render or receive input.

      Returns boolean

    • Destroy the interactive gizmo and registered slider gizmos.

      Returns void