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

HandRootOffset Class

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

Protected Fields

_started : bool
Signature
bool _started

Properties

FreezeRotationX : bool
[Get][Set]
Signature
bool FreezeRotationX
FreezeRotationY : bool
[Get][Set]
Signature
bool FreezeRotationY
FreezeRotationZ : bool
[Get][Set]
Signature
bool FreezeRotationZ
Hand : IHand
[Get]
Signature
IHand Hand
MirrorLeftRotation : bool
[Get][Set]
Signature
bool MirrorLeftRotation
MirrorOffsetsForLeftHand : bool
[Get][Set]
Signature
bool MirrorOffsetsForLeftHand
Offset : Vector3
[Get][Set]
Signature
Vector3 Offset
Rotation : Quaternion
[Get][Set]
Signature
Quaternion Rotation

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void

Methods

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