Creates a new rotation handle.
OptionalparentGizmo: InteractiveGizmoProtected Readonly_Protected_Angle of the rotation delta.
Protected Readonly_Rotation of the gizmo at drag start.
Protected_Protected_Protected Readonly_Protected Readonly_Protected Readonly_Axis of the rotation delta in world space.
Protected Readonly_Protected Readonly_Protected Readonly_Static ReadonlycameraAmount of rotation applied since the start of the drag.
Delta rotation angle around the worldRotationAxis in degrees.
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.
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.
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 RotateInteractiveGizmo implements a BuiltInInteractiveGizmo that allows an object to be rotated around the three primary axes facing the camera.
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.