constructor(event: PointerEvent)
View sourceCopies pointerId to id, pointerType to pointerType, and maps the
event offsets and movement values to position and delta.
Class
Captures the pointer data emitted by a browser pointermove event.
The DOM pointer bridge creates this event value with the browser pointer’s
identity and device type, its local offset as Vector2 position,
and its movement since the previous event as Vector2 delta.
const move = new PointerMove(event)
console.log(move.id, move.pointerType, move.position, move.delta)constructor(event: PointerEvent)Copies pointerId to id, pointerType to pointerType, and maps the
event offsets and movement values to position and delta.
The browser pointerId identifying the active pointer.
The browser pointerType, such as mouse, pen, or touch.
Local pointer coordinates copied from offsetX and offsetY.
Default: ...
Pointer movement copied from movementX and movementY.
Default: ...