@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / computePalmPose
Function: computePalmPose() ​
ts
function computePalmPose(joints, handedness): XrPalmPose | null;Defined in: xr/handPose.ts:325
Palm frame, used for orientation conditions ("palm up", "thumb toward face").
Handedness matters: the same cross product points opposite ways on left and right hands, so the left is mirrored to keep normal meaning "out of the front of the palm" on both.
Parameters ​
| Parameter | Type |
|---|---|
joints | XrHandJoints |
handedness | "left" | "right" |
Returns ​
XrPalmPose | null

