static Pose | Mirror ( Pose pose ) Transforms a Pose from the LeftHand space to the RightHand space in the current Skeleton. |
static Vector3 | Mirror ( in Vector3 position ) Transforms a position from the LeftHand space to the RightHand space in the current Skeleton. |
static Quaternion | Mirror ( in Quaternion rotation ) Transforms a rotation from the LeftHand space to the RightHand space in the current Skeleton. |
static Quaternion | Reflects a rotation in the plane defined by a vector while also changing its handedness in the current skeleton. |
static Vector3 | Transforms a position from one HandSpace to another. |
static Quaternion | Transforms a rotation from one HandSpace to another. |
static Pose Oculus.Interaction.Input.HandMirroring.Mirror ( Pose pose ) |
---|
Transforms a Pose from the LeftHand space to the RightHand space in the current Skeleton. Parameters pose The pose to transform Returns The transformed pose |
static Vector3 Oculus.Interaction.Input.HandMirroring.Mirror ( in Vector3 position ) |
---|
Transforms a position from the LeftHand space to the RightHand space in the current Skeleton. Parameters position The position to transform Returns The transformed position |
static Quaternion Oculus.Interaction.Input.HandMirroring.Mirror ( in Quaternion rotation ) |
---|
Transforms a rotation from the LeftHand space to the RightHand space in the current Skeleton. Parameters rotation The rotation to transform Returns The transformed rotation |
static Quaternion Oculus.Interaction.Input.HandMirroring.Reflect ( in Quaternion rotation, Vector3 normal ) |
---|
Reflects a rotation in the plane defined by a vector while also changing its handedness in the current skeleton. Useful for changing the handedness of a hand while keeping the exact same orientation so it aligns as expected. Parameters rotation The rotation to reflect normalThe vector that defines the reflection plane Returns The reflected rotation |
static Vector3 Oculus.Interaction.Input.HandMirroring.TransformPosition ( in Vector3 position, in HandSpace fromHand, in HandSpace toHand ) |
---|
Transforms a position from one HandSpace to another. Parameters position The position to transform fromHandThe original HandSpace of the positionb toHandThe target HandSpace of the position Returns The transformed position |
static Quaternion Oculus.Interaction.Input.HandMirroring.TransformRotation ( in Quaternion rotation, in HandSpace fromHand, in HandSpace toHand ) |
---|
Transforms a rotation from one HandSpace to another. Parameters rotation The rotation to transform fromHandThe original HandSpace of the rotation toHandThe target HandSpace of the rotation Returns The transformed rotation |