RSX Code Reference
    Preparing search index...

    Class MovePivotInteractiveGizmo

    Manages the handle to reposition the pivot of selected scene objects.

    Hierarchy (View Summary)

    Index
    _activeSelectionPivotOffset: Vector3

    The offset of the pivot of the current selection.

    _currentPivotWorldPosition: Vector3

    The current position of the pivot.

    _gizmoViewportInteraction: GizmoViewportInteraction
    _isDragged: boolean
    _moveInteractiveGizmo: MoveInteractiveGizmo

    The move handle used to drag the pivot.

    _selectedObject: SceneObject

    The selected scene object.

    _selectedSceneObjects: SceneObject[]

    The selected scene object

    • get activeSelectionPivotOffset(): Immutable<Vector3>

      The offset of the pivot of the current selection, in object space.

      Returns Immutable<Vector3>

    • set activeSelectionPivotOffset(value: Immutable<Vector3>): void

      The offset of the pivot of the current selection, in object space.

      Parameters

      Returns void

    • get isEnabled(): boolean

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

      Returns boolean

    • Set the position of the pivot, moving the handle to the position and setting the scene object pivot offset in case of single selection.

      Parameters

      Returns void