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
Syntax
public enum XRHandJointID
Fields
| Name | Description | Value |
|---|---|---|
| Invalid | Invalid ID. |
0 |
| 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. |
1 |
| Wrist | Joint for the wrist. |
1 |
| Palm | Represents the palm of the hand. |
2 |
| ThumbMetacarpal | Metacarpal joint of the thumb. |
3 |
| ThumbProximal | Proximal joint of the thumb. |
4 |
| ThumbDistal | Distal joint of the thumb. |
5 |
| ThumbTip | Tip of the thumb. |
6 |
| IndexMetacarpal | Metacarpal joint of the index finger. |
7 |
| IndexProximal | Proximal joint of the index finger. |
8 |
| IndexIntermediate | Intermediate joint of the index finger. |
9 |
| IndexDistal | Distal joint of the index finger. |
10 |
| IndexTip | Tip of the index finger. |
11 |
| MiddleMetacarpal | Metacarpal joint of the middle finger. |
12 |
| MiddleProximal | Proximal joint of the middle finger. |
13 |
| MiddleIntermediate | Intermediate joint of the middle finger. |
14 |
| MiddleDistal | Distal joint of the middle finger. |
15 |
| MiddleTip | Tip of the middle finger. |
16 |
| RingMetacarpal | Metacarpal joint of the ring finger. |
17 |
| RingProximal | Proximal joint of the ring finger. |
18 |
| RingIntermediate | Intermediate joint of the ring finger. |
19 |
| RingDistal | Distal joint of the ring finger. |
20 |
| RingTip | Tip of the ring finger. |
21 |
| LittleMetacarpal | Metacarpal joint of the little finger. |
22 |
| LittleProximal | Proximal joint of the little finger. |
23 |
| LittleIntermediate | Intermediate joint of the little finger. |
24 |
| LittleDistal | Distal joint of the little finger. |
25 |
| LittleTip | Tip of the little finger. |
26 |
| 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. |
27 |