Method ToIndex
ToIndex(XRHandJointID)
Call .ToIndex()
on a XRHandJointID to get its
corresponding index into an array of joint data.
Declaration
public static int ToIndex(this XRHandJointID jointId)
Parameters
Type | Name | Description |
---|---|---|
XRHandJointID | jointId | ID of the joint to convert to an index. |
Returns
Type | Description |
---|---|
int | The index matching the ID passed in. |