Creates a new move handle.
OptionalparentGizmo: InteractiveGizmoProtected_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Static ReadonlycenterStatic ReadonlygizmoStatic ReadonlyplaneStatic ReadonlyplaneReturns the amount of translation from the initial position. Only valid while the handle is being dragged.
Returns the amount of translation from the initial position, rounded to grid increment. Only valid while the handle is being dragged and grid snapping is enabled.
Checks whether an axis of the handle is dragged.
Determines if the gizmo currently being interacted with (clicking, or dragging).
Determines the active state of the gizmo. If disabled, the gizmo will not render or receive input.
Check whether the current active slider if the free move slider (camera aligned movement).
Determines if the gizmo currently being hovered.
World axes of the gizmo. Columns are the world-space local X, Y, Z directions.
World position of the gizmo.
World rotation of the gizmo.
Destroy the interactive gizmo and registered slider gizmos.
AbstractdrawVirtual
Called every frame after postInput. Allows interactive gizmo graphics to be drawn. This is the only method that draw methods may be called
Draws all child slider gizmos registered to this gizmo.
Selects the right color for the gizmo, if another gizmo is hovered the gizmo will be grayed out.
Returns the direction of the handle's x axis in world space.
Direction of the handle's x axis in world space
Returns the direction of the handle's y axis in world space.
Direction of the handle's y axis in world space
Returns the direction of the handle's z axis in world space.
Direction of the handle's z axis in world space
Virtual
Called every frame after handle input is processed. Active handle sliders should contain values signals if and how much they were dragged.
AbstractpreVirtual
Called every frame before interactive gizmo input is processed. Allows interactive gizmo transforms to be updated before input.
ReadonlyonInvoked when a drag is started and a new delta is available.
The onDrag event is invoked right after this event. Do not integrate the current delta during this event.
ReadonlyonInvoked when a drag is performed and a new delta is available.
ReadonlyonInvoked when the drag finished.
The MoveInteractiveGizmo implements a BuiltInInteractiveGizmo that allows an object to be translated along the three primary axes.
When a drag is started the onDrag event is fired. The rotation of the target must be manually synchronized using the delta when the onDrag even is called. Once a drag completes, the onDragFinished event is called.