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

HandTranslationUtils Class

Fields

UpgradeRequiredButton : const string
Signature
const string Oculus.Interaction.HandTranslationUtils.UpgradeRequiredButton
UpgradeRequiredMessage : const string
Signature
const string Oculus.Interaction.HandTranslationUtils.UpgradeRequiredMessage

Static Fields

FixButtonStyle : GUIStyle
Signature
GUIStyle Oculus.Interaction.HandTranslationUtils.FixButtonStyle
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
OVRHandJointToOpenXR ( ovrJointId )
Signature
static HandJointId Oculus.Interaction.HandTranslationUtils.OVRHandJointToOpenXR(int ovrJointId)
Parameters
ovrJointId: int
Returns
HandJointId
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
TransformOVRToOpenXRPosition ( position , handedness )
Signature
static Vector3 Oculus.Interaction.HandTranslationUtils.TransformOVRToOpenXRPosition(Vector3 position, Handedness handedness)
Parameters
position: Vector3
handedness: Handedness
Returns
Vector3
TransformOVRToOpenXRRotation ( rotation , handedness )
Signature
static Quaternion Oculus.Interaction.HandTranslationUtils.TransformOVRToOpenXRRotation(Quaternion rotation, Handedness handedness)
Parameters
rotation: Quaternion
handedness: Handedness
Returns
Quaternion