API reference
API reference
Select your platform
No SDKs available
No versions available

HandJointUtils Class

Static Fields

FingerToJointList : List< HandJointId[]>
A list of joint arrays representing HandJointIds for each finger.
The list is indexed by the integer value of HandFinger.
Signature
List<HandJointId[]> Oculus.Interaction.Input.HandJointUtils.FingerToJointList
JointChildrenList : HandJointId [][]
An array indexed by the integer value of HandJointId which provides an array of child HandJointIds, if applicable.
If the joint used to index into this array does not have children, the value at that index will be a zero-length array.
Signature
HandJointId [][] Oculus.Interaction.Input.HandJointUtils.JointChildrenList
JointIds : List< HandJointId >
Signature
List<HandJointId> Oculus.Interaction.Input.HandJointUtils.JointIds
JointParentList : HandJointId []
An array indexed by the integer value of HandJointId which provides the parent HandJointId, if applicable.
If the joint used to index into this array does not have a valid parent, the value at that index will be HandFinger.Invalid
Signature
HandJointId [] Oculus.Interaction.Input.HandJointUtils.JointParentList
JointToFingerList : HandFinger []
An array indexed by the integer value of HandJointId which provides the corresponding HandFinger, if applicable.
If the joint used to index into this array is not a finger joint, the value at that index will be HandFinger.Invalid
Signature
HandFinger [] Oculus.Interaction.Input.HandJointUtils.JointToFingerList

Static Methods

GetHandFingerProximal ( finger )
Returns the "proximal" JointId for the given finger.
This is commonly known as the Knuckle. For fingers, proximal is the join with index 1; eg HandIndex1. For thumb, proximal is the joint with index 2; eg HandThumb2.
Signature
static HandJointId Oculus.Interaction.Input.HandJointUtils.GetHandFingerProximal(HandFinger finger)
Parameters
finger: HandFinger
Returns
HandJointId
GetHandFingerTip ( finger )
Returns the Tip joint corresponding to the provided HandFinger.
Signature
static HandJointId Oculus.Interaction.Input.HandJointUtils.GetHandFingerTip(HandFinger finger)
Parameters
finger: HandFinger  The finger to retrieve the tip for.
Returns
HandJointId  The fingertip joint.
IsFingerTip ( joint )
Returns true for HandJointIds that represent finger tips.
Signature
static bool Oculus.Interaction.Input.HandJointUtils.IsFingerTip(HandJointId joint)
Parameters
joint: HandJointId
Returns
bool