Interface PlaneDragGizmo
interface PlaneDragGizmo {
attachedNode: SceneNode | null;
drag: PointerDrag;
materials: GizmoMaterialSet;
onPositionChanged: GizmoObservable<Vec3>;
root: SceneNode;
useLocalCoordinates: boolean;
}
attachedNode: SceneNode | null;
drag: PointerDrag;
materials: GizmoMaterialSet;
onPositionChanged: GizmoObservable<Vec3>;
root: SceneNode;
useLocalCoordinates: boolean;
}
Index
Properties
attached Node
Readonlydrag
Readonlymaterials
materials: GizmoMaterialSet
Readonlyon Position Changed
Readonlyroot
use Local Coordinates
useLocalCoordinates: boolean
When true, the plane normal rotates with the attached node each frame (local-coord mode). When false, the normal stays world-aligned.
A square planar gizmo that translates its attached node within a drag plane.