Function createBoundingBoxGizmo
-
createBoundingBoxGizmo(
engine: EngineContext,
layer: UtilityLayer,
options?: BoundingBoxGizmoOptions,
): BoundingBoxGizmoParameters
- engine: EngineContext
Engine that owns the created meshes.
- layer: UtilityLayer
Utility layer that renders and picks the bounding-box handles.
- options: BoundingBoxGizmoOptions = {}
Visual size and color options for edges and handles.
Returns BoundingBoxGizmo
A detached bounding-box gizmo ready to attach to a node.
- engine: EngineContext
Create an interactive bounding-box gizmo in the utility layer.