Method GetJoint
GetJoint(XRHandJointID)
Retrieves an XRHandJoint by its ID.
Declaration
public XRHandJoint GetJoint(XRHandJointID id)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandJointID | id | ID of the required joint. |
Returns
| Type | Description |
|---|---|
| XRHandJoint | The XRHandJoint corresponding the ID passed in. |
Remarks
The joint data is stored in an internal native array that isn't copied if you
make a shallow copy of an XRHand object. This native array is modified each time
A hand update occurs. Calling this function from a
copied XRHand retrieves the latest hand data, not the data from when the
hand object was copied. To take a snapshot of the joint data for use later, you must
copy each individual XRHandJoint object.