API reference

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 [] HAND_JOINT_IDS_OpenXRtoOVR
openXRHands : readonly HandsSpace
Signature
readonly HandsSpace openXRHands
ovrHands : readonly HandsSpace
Signature
readonly HandsSpace ovrHands
UpgradeRequiredButton : const string
Signature
const string UpgradeRequiredButton
UpgradeRequiredMessage : const string
Signature
const string UpgradeRequiredMessage

Properties

FixButtonStyle : GUIStyle
[Get]
Signature
GUIStyle FixButtonStyle

Static Methods

OpenXRHandJointToOVR ( openXRJointId )
Signature
static int OpenXRHandJointToOVR(int openXRJointId)
Parameters
openXRJointId: int
Returns
int
OVRHandJointToOpenXR ( ovrJointId )
Signature
static HandJointId OVRHandJointToOpenXR(int ovrJointId)
Parameters
ovrJointId: int
Returns
HandJointId
OVRHandRotationsToOpenXRPoses ( ovrJointRotations , handedness , targetPoses )
Signature
static bool OVRHandRotationsToOpenXRPoses(Quaternion[] ovrJointRotations, Handedness handedness, ref Pose[] targetPoses)
Parameters
ovrJointRotations: Quaternion[]
handedness: Handedness
targetPoses: ref Pose[]
Returns
bool
TransformOVRToOpenXRPosition ( position , handedness )
Signature
static Vector3 TransformOVRToOpenXRPosition(Vector3 position, Handedness handedness)
Parameters
position: Vector3
handedness: Handedness
Returns
Vector3
TransformOVRToOpenXRRotation ( rotation , handedness )
Signature
static Quaternion TransformOVRToOpenXRRotation(Quaternion rotation, Handedness handedness)
Parameters
rotation: Quaternion
handedness: Handedness
Returns
Quaternion