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

HandWristOffset Class

Extends MonoBehaviour
Specifies a position and rotation offset from the wrist of the given hand.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.HandWristOffset._started

Properties

Hand : IHand
[Get]
Signature
IHand Oculus.Interaction.HandWristOffset.Hand
MirrorLeftRotation : bool
[Get][Set]
Signature
bool Oculus.Interaction.HandWristOffset.MirrorLeftRotation
Offset : Vector3
[Get][Set]
Signature
Vector3 Oculus.Interaction.HandWristOffset.Offset
Rotation : Quaternion
[Get][Set]
Signature
Quaternion Oculus.Interaction.HandWristOffset.Rotation

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.HandWristOffset.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.HandWristOffset.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.HandWristOffset.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.HandWristOffset.Start()
Returns
void

Methods

GetOffset ( pose )
Signature
void Oculus.Interaction.HandWristOffset.GetOffset(ref Pose pose)
Parameters
pose: ref Pose
Returns
void
GetOffset ( pose , handedness , scale )
Signature
void Oculus.Interaction.HandWristOffset.GetOffset(ref Pose pose, Handedness handedness, float scale)
Parameters
pose: ref Pose
handedness: Handedness
scale: float
Returns
void
GetWorldPose ( pose )
Signature
void Oculus.Interaction.HandWristOffset.GetWorldPose(ref Pose pose)
Parameters
pose: ref Pose
Returns
void
InjectAllHandWristOffset ( hand , offset , rotation )
Signature
void Oculus.Interaction.HandWristOffset.InjectAllHandWristOffset(IHand hand, Vector3 offset, Quaternion rotation)
Parameters
hand: IHand
offset: Vector3
rotation: Quaternion
Returns
void
InjectHand ( hand )
Signature
void Oculus.Interaction.HandWristOffset.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectOffset ( offset )
Signature
void Oculus.Interaction.HandWristOffset.InjectOffset(Vector3 offset)
Parameters
offset: Vector3
Returns
void
InjectRotation ( rotation )
Signature
void Oculus.Interaction.HandWristOffset.InjectRotation(Quaternion rotation)
Parameters
rotation: Quaternion
Returns
void