Skip to main content

Class: WebXRHandContext

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:16

Implements​

Constructors​

Constructor​

new WebXRHandContext(handedness, handLabel, joints, jointRotations): WebXRHandContext

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:17

Parameters​

handedness​

Handedness

handLabel​

HandLabel

joints​

JointPositions

jointRotations​

WebXRJointRotations

Returns​

WebXRHandContext

Properties​

handedness​

handedness: Handedness

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:18

Implementation of​

HandContext.handedness


handLabel​

handLabel: HandLabel

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:19

Implementation of​

HandContext.handLabel


jointRotations​

jointRotations: WebXRJointRotations

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:21


joints​

joints: JointPositions

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:20

Implementation of​

HandContext.joints

Methods​

getJoint()​

getJoint(jointName): Vector3 | undefined

Defined in: src/input/gestures/poseEstimators/WebXRHandPoseEstimator.ts:24

Parameters​

jointName​

"wrist" | "thumb-metacarpal" | "thumb-phalanx-proximal" | "thumb-phalanx-distal" | "thumb-tip" | "index-finger-metacarpal" | "index-finger-phalanx-proximal" | "index-finger-phalanx-intermediate" | "index-finger-phalanx-distal" | "index-finger-tip" | "middle-finger-metacarpal" | "middle-finger-phalanx-proximal" | "middle-finger-phalanx-intermediate" | "middle-finger-phalanx-distal" | "middle-finger-tip" | "ring-finger-metacarpal" | "ring-finger-phalanx-proximal" | "ring-finger-phalanx-intermediate" | "ring-finger-phalanx-distal" | "ring-finger-tip" | "pinky-finger-metacarpal" | "pinky-finger-phalanx-proximal" | "pinky-finger-phalanx-intermediate" | "pinky-finger-phalanx-distal" | "pinky-finger-tip"

Returns​

Vector3 | undefined

Implementation of​

HandContext.getJoint