Function createRotationGizmo
-
createRotationGizmo(
engine: EngineContext,
layer: UtilityLayer,
options?: RotationGizmoOptions,
): RotationGizmoParameters
- engine: EngineContext
Engine that owns the created meshes.
- layer: UtilityLayer
Utility layer that renders and picks the rings.
- options: RotationGizmoOptions = {}
Ring tessellation and thickness options.
Returns RotationGizmo
A detached rotation gizmo ready to attach to a node.
- engine: EngineContext
Create a composite rotation gizmo with one ring for each principal axis.