Class MovePivotInteractiveGizmo

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

Hierarchy (view full)

Constructors

Properties

_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

Accessors

  • get activeSelectionPivotOffset(): Immutable<Vector3>
  • The offset of the pivot of the current selection, in object space.

    Returns Immutable<Vector3>

  • set activeSelectionPivotOffset(value): 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

Methods

  • 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

  • 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