Function createPlaneRotationGizmo
-
createPlaneRotationGizmo(
engine: EngineContext,
layer: UtilityLayer,
options: PlaneRotationGizmoOptions,
): PlaneRotationGizmoParameters
- engine: EngineContext
Engine that owns the created meshes and rotation display material.
- layer: UtilityLayer
Utility layer that renders and picks the gizmo.
- options: PlaneRotationGizmoOptions
Plane normal, ring sizing, and material options.
Returns PlaneRotationGizmo
A detached rotation gizmo ready to attach to a node.
- engine: EngineContext
Create a plane rotation gizmo in the utility layer.