Skip to main content

Function: webxrHandPoseSource()

function webxrHandPoseSource(xr: WebXRFrameAccess): HandPoseSource;

Defined in: xrblocks-uiextensions/src/xrblocks.ts:58

HandPoseSource backed by a live WebXR session: each hand's pose is its input source's gripSpace (a controller's grip, or the tracked hand), falling back to the target ray space when a runtime gives a hand none. Returns undefined for a hand with no input source this frame, or with no frame at all (outside a session), so hand menus stay hidden there.

Parameters

ParameterType
xrWebXRFrameAccess

Returns

HandPoseSource