API

Interface BoundingBoxGizmoOptions

Options for the interactive bounding-box gizmo.

interface BoundingBoxGizmoOptions {
    color?: [number, number, number];
    edgeThickness?: number;
    rotationAnchorSize?: number;
    scaleBoxSize?: number;
}
Index
color?: [number, number, number]

RGB colour for the wireframe + handle materials. Defaults to grey.

edgeThickness?: number

Edge wireframe thickness (world units before scaling). Default 0.06.

rotationAnchorSize?: number

Length of the 12 elongated edge rotation anchors (world units). Default 0.16; thickness is length/4 (BJS 1.6:0.4 ratio).

scaleBoxSize?: number

Side length of the 8 corner scale boxes (world units). Default 0.18.