OrbitDelta
Defined in: src/components/editor/ViewportGizmo/ViewportGizmo.types.ts:31
Orbital rotation delta during a drag gesture. The app applies this to its camera orbit controller.
Sign convention (before any invertYaw / invertPitch): dragging the
pointer right — or pressing ArrowRight — emits a positive deltaYaw;
dragging up — or ArrowUp — emits a positive deltaPitch. Which way the
camera actually turns is the consumer’s choice; flip it with the
invertYaw / invertPitch props if the motion feels mirrored.
Properties
Section titled “Properties”deltaPitch
Section titled “deltaPitch”deltaPitch:
number
Defined in: src/components/editor/ViewportGizmo/ViewportGizmo.types.ts:35
Pitch change in degrees. Positive = pointer dragged up / ArrowUp.
deltaYaw
Section titled “deltaYaw”deltaYaw:
number
Defined in: src/components/editor/ViewportGizmo/ViewportGizmo.types.ts:33
Yaw change in degrees. Positive = pointer dragged right / ArrowRight.