Function: createPointerBridge()
function createPointerBridge(runtime: InteractionRuntime, match?: (sourceId: string) => boolean): PointerBridge;
Defined in: packages/webxr-interactions/src/pointer-bridge.ts:38
Create a pointer stream from the runtime's sampled sources.
match picks which source drives it (default: any source with a ray -
first pressed wins and holds until release).
Parameters
| Parameter | Type |
|---|---|
runtime | InteractionRuntime |
match | (sourceId: string) => boolean |