Class ViewportViewSphereInteractiveGizmo

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

Hierarchy (view full)

Constructors

Properties

_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

Accessors

  • get isEnabled(): boolean
  • Determines the active state of the gizmo. If disabled, the gizmo will not render or receive input.

    Returns boolean

Methods

  • Destroy the interactive gizmo and registered slider gizmos.

    Returns void

  • Virtual

    Called every frame after interactive gizmo input is processed. Active interactive gizmos will now contain values and signals if and how much they were dragged.

    Parameters

    Returns void

  • Virtual

    Called every frame before interactive gizmo input is processed. Allows interactive gizmo transforms to be updated before input.

    Parameters

    Returns void