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

FingersMetadata Class

This class contains a series of useful fingers-related data structures to be used for optimal calculations without relying in dictionaries.

Overview

Static Fields

static readonly HandJointId[]
Valid identifiers for the i-bone of a hand.
static readonly int[][]
This array is used to convert from Finger id to the list indices of its joint in the HAND_JOINT_IDS list.
static readonly HandJointId[][]
static readonly bool[]
Array order following HAND_JOINT_IDS that indicates if the i joint can spread (rotate around Y).
static readonly HandFinger[]
Map HandJointId to HandFinger.
static readonly int[]
Map HandJointId to HandFinger.

Static Public Member Functions

static JointFreedom[]
static int
HandJointIdToIndex
( HandJointId id )

Details

Detailed Description

Since we always assume the hand pose information to be sorted in the HAND_JOINT_IDS order, we can align multiple data structures that follow that convention.

Public Statics

readonly HandJointId [] Oculus.Interaction.Input.FingersMetadata.HAND_JOINT_IDS
Valid identifiers for the i-bone of a hand.
readonly int [][] Oculus.Interaction.Input.FingersMetadata.FINGER_TO_JOINT_INDEX
This array is used to convert from Finger id to the list indices of its joint in the HAND_JOINT_IDS list.
readonly HandJointId [][] Oculus.Interaction.Input.FingersMetadata.FINGER_TO_JOINTS
No description available.
readonly bool [] Oculus.Interaction.Input.FingersMetadata.HAND_JOINT_CAN_SPREAD
Array order following HAND_JOINT_IDS that indicates if the i joint can spread (rotate around Y).
Should be true for the root of the fingers but Pink and Thumb are special cases
readonly HandFinger [] Oculus.Interaction.Input.FingersMetadata.JOINT_TO_FINGER
Map HandJointId to HandFinger.
readonly int [] Oculus.Interaction.Input.FingersMetadata.JOINT_TO_FINGER_INDEX
Map HandJointId to HandFinger.

Static Member Functions

static JointFreedom[] Oculus.Interaction.Input.FingersMetadata.DefaultFingersFreedom ( )
No description available.
static int Oculus.Interaction.Input.FingersMetadata.HandJointIdToIndex
( HandJointId id )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon