Function: pickHand()
function pickHand(
poses: HandPoses,
viewer: Vec3Tuple,
options: HandMenuOptions
): Hand | undefined;
Defined in: packages/webxr-uiextensions/src/core/hand-menu.ts:146
Pick the hand for this frame: the configured one when it is tracked, or
for either the tracked hand whose palm faces the viewer most. The gate
is applied here too, so a fixed hand that is tracked but turned away still
yields undefined.
Parameters
| Parameter | Type |
|---|---|
poses | HandPoses |
viewer | Vec3Tuple |
options | HandMenuOptions |
Returns
Hand | undefined