Function updateXrPointer
-
updateXrPointer(
pointer: XrPointer,
input: XrInputManager,
eyePosition?: readonly [number, number, number] | null,
): voidParameters
- pointer: XrPointer
- input: XrInputManager
OptionaleyePosition: readonly [number, number, number] | null
Returns void
Update every controller pointer for the current frame: cast each tracked target ray, stretch the laser to the hit, place the cursor, and fire hover/select callbacks. Call once per XR frame (e.g. from
enterXr'sonFrame), after updateXrInputPoses has refreshed the input poses.