Function: palmFacing()
function palmFacing(
pose: PoseTuple,
hand: Hand,
viewer: Vec3Tuple
): number;
Defined in: webxr-uiextensions/src/core/hand-menu.ts:110
Cosine of the angle between the palm normal and the direction to the viewer: 1 is palm square on to the viewer, -1 is the back of the hand.
Parameters
| Parameter | Type |
|---|---|
pose | PoseTuple |
hand | Hand |
viewer | Vec3Tuple |
Returns
number