API

Interface PlaneDragGizmo

A square planar gizmo that translates its attached node within a drag plane.

interface PlaneDragGizmo {
    attachedNode: SceneNode | null;
    drag: PointerDrag;
    materials: GizmoMaterialSet;
    onPositionChanged: GizmoObservable<Vec3>;
    root: SceneNode;
    useLocalCoordinates: boolean;
}
Index
attachedNode: SceneNode | null
materials: GizmoMaterialSet
onPositionChanged: GizmoObservable<Vec3>
root: SceneNode
useLocalCoordinates: boolean

When true, the plane normal rotates with the attached node each frame (local-coord mode). When false, the normal stays world-aligned.