API

Interface BoundingBoxGizmo

Interactive bounding-box gizmo that can translate, rotate, and scale an attached node.

interface BoundingBoxGizmo {
    attachedNode: SceneNode | null;
    material: StandardMaterialProps;
    onChanged: GizmoObservable<void>;
    root: SceneNode;
}
Index
attachedNode: SceneNode | null

Currently attached node — set via attachBoundingBoxGizmoToNode.

Material used to render all gizmo geometry.

onChanged: GizmoObservable<void>

Fires when any drag (scale / rotate / translate) updates the attached node.

root: SceneNode