XRAvatarSkeletonJointIDUtility
Utility class for XRAvatarSkeletonJointID.
Summary
Public static functions |
|
---|---|
FromIndex(int index)
|
Gets the corresponding XRAvatarSkeletonJointID from an index into an array of associated data.
|
JointCount()
|
int
Gets the count of joints provided by an avatar skeleton.
|
ToIndex(this XRAvatarSkeletonJointID jointId)
|
int
Converts XRAvatarSkeletonJointID to its corresponding index into an array of joint data.
|
Public static functions
FromIndex
XRAvatarSkeletonJointID FromIndex( int index )
Gets the corresponding XRAvatarSkeletonJointID from an index into an array of associated data.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The ID matching the index passed in.
|
JointCount
int JointCount()
Gets the count of joints provided by an avatar skeleton.
Details | |
---|---|
Returns |
The amount of joints of an avatar skeleton.
|
ToIndex
int ToIndex( this XRAvatarSkeletonJointID jointId )
Converts XRAvatarSkeletonJointID to its corresponding index into an array of joint data.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The index matching the ID passed in.
|