API

Interface AxisScaleGizmoOptions

Options for building a single-axis or uniform scale gizmo handle.

interface AxisScaleGizmoOptions {
    color?: [number, number, number];
    disableColor?: [number, number, number];
    dragAxis: Vec3;
    hoverColor?: [number, number, number];
    sensitivity?: number;
    thickness?: number;
    uniformScaling?: boolean;
}
Index
color?: [number, number, number]
disableColor?: [number, number, number]
dragAxis: Vec3

World-space drag axis (unit vector). Scaling is applied to the attached node's local scaling components proportional to each axis component.

hoverColor?: [number, number, number]
sensitivity?: number

Optional multiplier on the per-frame drag strength. Default 1.

thickness?: number

Tube thickness multiplier (visible only; collider gets +4).

uniformScaling?: boolean

When true, scale uniformly on all 3 axes (matches BJS uniformScaling).