Interface: PointerSample
Defined in: pointer.ts:15
One pointer/ray interaction stream, engine-normalised.
Structurally identical to the PointerSample/PointerInputSource pair
in @realitycollective/webxr-uiextensions, so a single object can drive
BOTH the UI Extensions windowing and anything else that consumes pointer
streams - the coexistence contract between the two families.
Once delivered, a sample and its tuples belong to the listener: the source never writes to them again, so a listener may keep one across frames without copying, exactly as with InputSourceSnapshot.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
direction | Vec3Tuple | Normalised pointing direction. | pointer.ts:19 |
origin | Vec3Tuple | Pointer world position (ray origin or touch point). | pointer.ts:17 |