BetaBetapreferredA preferred radius for rotation rings, in world units. The rendered radius remains at least its normal camera-sized radius and may be reduced to the screen-space cap when the preferred radius would exceed the usable viewport. Set zero to use camera-sized rings.
This property affects rotation rings only and does not change translation handles.
BetarotationThe world axes the gizmo shows a rotation ring for. Set
Axis.None to remove the rings. This throws if the gizmo
also has no translation axes.
Changing this rebuilds the gizmo and clears its activated state. Activate the component again afterwards; activation is not preserved across the rebuild.
BetarotationThe point the rings are centered on and rotate about, in world units relative to the owner widget's origin. Every component must be finite. A zero offset centers the rings on the widget origin itself.
This is independent of where the translation handles are drawn.
BetavisualThe width, in degrees, of the step cell drawn on the ring during a drag, for consumers that commit rotation in fixed steps. The value must be finite and nonnegative. Set zero to draw no step cell.
This is visual only. It does not snap the drag and does not
change the deltaDegrees or totalDegrees values reported
by rotation events. A consumer that wants stepped rotation
must apply its own snapping.
BetaOptionaleventFunction: (arg0: WidgetGizmoRotationEvent) => voidA code closure called with a WidgetGizmoRotationEvent each time a rotation is grabbed, moved, released, or cancelled. Omit it to remove the current handler.
Set the handler called for every rotation lifecycle event on this gizmo's rings. Call with no argument to remove the current handler.
Each ring drag reports one Grabbed event, any number of
Moved events, and exactly one terminal Released or
Cancelled event. Rotation is a separate consumer-owned
input stream. It does not select the translation gizmo or
invoke widget-group mouse-down, drag, or mouse-up behavior.
The consumer owns snapping and state application.
The rotation surface of a gizmo component. It configures which rotation rings are shown, where they are centered, how large they are, and how a live drag is drawn, and it delivers the rotation lifecycle events the rings produce.
Rotation is disabled until at least one axis is enabled through
rotationAxes.