Enum XRHandJointID
Represents the type of a hand joint. If you wish to convert it to an
index, call .ToIndex()
on the joint ID.
Namespace: UnityEngine.XR.Hands
Assembly: Unity.XR.Hands.dll
Syntax
public enum XRHandJointID
Fields
Name | Description |
---|---|
BeginMarker | Marks the beginning of joints, or start of an array of data related to them. Casting this to an integer type will not result in a correct start. Use ToIndex(XRHandJointID) instead. |
EndMarker | Marks the end of joints, or size of an array of data related to them. Casting this to an integer type will not result in a correct count. Use ToIndex(XRHandJointID) instead. |
IndexDistal | Distal joint of the index finger. |
IndexIntermediate | Intermediate joint of the index finger. |
IndexMetacarpal | Metacarpal joint of the index finger. |
IndexProximal | Proximal joint of the index finger. |
IndexTip | Tip of the index finger. |
Invalid | Invalid ID. |
LittleDistal | Distal joint of the little finger. |
LittleIntermediate | Intermediate joint of the little finger. |
LittleMetacarpal | Metacarpal joint of the little finger. |
LittleProximal | Proximal joint of the little finger. |
LittleTip | Tip of the little finger. |
MiddleDistal | Distal joint of the middle finger. |
MiddleIntermediate | Intermediate joint of the middle finger. |
MiddleMetacarpal | Metacarpal joint of the middle finger. |
MiddleProximal | Proximal joint of the middle finger. |
MiddleTip | Tip of the middle finger. |
Palm | Represents the palm of the hand. |
RingDistal | Distal joint of the ring finger. |
RingIntermediate | Intermediate joint of the ring finger. |
RingMetacarpal | Metacarpal joint of the ring finger. |
RingProximal | Proximal joint of the ring finger. |
RingTip | Tip of the ring finger. |
ThumbDistal | Distal joint of the thumb. |
ThumbMetacarpal | Metacarpal joint of the thumb. |
ThumbProximal | Proximal joint of the thumb. |
ThumbTip | Tip of the thumb. |
Wrist | Joint for the wrist. |