Function createAxisScaleGizmo
-
createAxisScaleGizmo(
engine: EngineContext,
layer: UtilityLayer,
options: AxisScaleGizmoOptions,
): AxisScaleGizmoParameters
- engine: EngineContext
Engine that owns the created meshes.
- layer: UtilityLayer
Utility layer that renders and picks the gizmo.
- options: AxisScaleGizmoOptions
Drag axis, scale mode, sensitivity, and material options.
Returns AxisScaleGizmo
A detached scale gizmo ready to attach to a node.
- engine: EngineContext
Create an axis scale gizmo in the utility layer.