API

Interface PointerDragMoveEvent

Event raised for each pointer move while a drag is active.

interface PointerDragMoveEvent {
    delta: Vec3;
    dragDistance: number;
    dragPlaneNormal: Vec3;
    dragPlanePoint: Vec3;
    pointerId: number;
}
Index
delta: Vec3

World-space delta from the previous drag-plane point. For axis-drag this is already projected onto the drag axis (parallel to axis).

dragDistance: number

Signed scalar distance projected onto the drag axis since drag start (axis-drag mode); for plane mode this is delta.length().

dragPlaneNormal: Vec3

World-space normal of the active drag plane.

dragPlanePoint: Vec3

Current world-space point on the drag plane (post-projection).

pointerId: number

Pointer identifier associated with this drag.