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

HandTranslationUtils Class

Static Fields

HAND_JOINT_IDS_OpenXRtoOVR : int[]
Maps the index of the HAND_JOINT_IDS collections between OpenXR and OVR.
For the n position in the OpenXR array it returns the equivalent position in the OVR array. Returns -1 when there is no OVR equivalent.
Signature
int [] Oculus.Interaction.HandTranslationUtils.HAND_JOINT_IDS_OpenXRtoOVR
openXRHands : readonly HandsSpace
Signature
readonly HandsSpace Oculus.Interaction.HandTranslationUtils.openXRHands
ovrHands : readonly HandsSpace
Signature
readonly HandsSpace Oculus.Interaction.HandTranslationUtils.ovrHands

Static Methods

OpenXRHandJointToOVR ( openXRJointId )
Signature
static int Oculus.Interaction.HandTranslationUtils.OpenXRHandJointToOVR(int openXRJointId)
Parameters
openXRJointId: int
Returns
int
OVRHandRotationsToOpenXRPoses ( ovrJointRotations , handedness , targetPoses )
Signature
static bool Oculus.Interaction.HandTranslationUtils.OVRHandRotationsToOpenXRPoses(Quaternion[] ovrJointRotations, Handedness handedness, ref Pose[] targetPoses)
Parameters
ovrJointRotations: Quaternion[]
handedness: Handedness
targetPoses: ref Pose[]
Returns
bool