API

Type Alias DragEvent

Event type for drag move events

Index

Delta between last drag position and current drag position in world space

dragDistance: number

Distance along the drag axis

dragPlaneNormal: WebXRSpatialLayerType

Normal of the current drag plane used during the drag

dragPlanePoint: WebXRSpatialLayerType

Point in world space where the drag intersects the drag plane

(if validatedDrag is used, the position of the attached mesh might not equal dragPlanePoint)

pointerId: number

Pointer id to use

Pointer info for the event (if any)