Interface PlaneRotationGizmo
interface PlaneRotationGizmo {
attachedNode: SceneNode | null;
drag: PointerDrag;
materials: GizmoMaterialSet;
onRotationChanged: GizmoObservable<[number, number, number, number]>;
root: SceneNode;
rotationDisplayMaterial: ShaderMaterial;
useLocalCoordinates: boolean;
}
attachedNode: SceneNode | null;
drag: PointerDrag;
materials: GizmoMaterialSet;
onRotationChanged: GizmoObservable<[number, number, number, number]>;
root: SceneNode;
rotationDisplayMaterial: ShaderMaterial;
useLocalCoordinates: boolean;
}
Index
Properties
attached Node
Readonlydrag
Readonlymaterials
materials: GizmoMaterialSet
Readonlyon Rotation Changed
onRotationChanged: GizmoObservable<[number, number, number, number]>
Readonlyroot
Readonlyrotation Display Material
ShaderMaterial driving the rotation-sector camembert visual. Exposed so callers can change the colour at runtime.
use Local Coordinates
useLocalCoordinates: boolean
Local-coord mode: plane normal rotates with the attached node.
A torus-shaped gizmo that rotates its attached node around a plane normal.