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

WristAngleActiveState Class

Extends MonoBehaviour
This ActiveState checks that the wrist rotation relative to the arm (approximated by the direction from the estimated shoulder to the wrist) stays within a valid range.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.Locomotion.WristAngleActiveState._started

Properties

Active : bool
[Get]
True if the angle of the wrist relative to the arm is whithin the valid range
Signature
bool Oculus.Interaction.Locomotion.WristAngleActiveState.Active
Hand : IHand
[Get]
Signature
IHand Oculus.Interaction.Locomotion.WristAngleActiveState.Hand
MaxAngle : float
[Get][Set]
Signature
float Oculus.Interaction.Locomotion.WristAngleActiveState.MaxAngle
MinAngle : float
[Get][Set]
Signature
float Oculus.Interaction.Locomotion.WristAngleActiveState.MinAngle

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.Locomotion.WristAngleActiveState.Awake()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.Locomotion.WristAngleActiveState.Start()
Returns
void
Update ()
Signature
virtual void Oculus.Interaction.Locomotion.WristAngleActiveState.Update()
Returns
void

Methods

InjectAllWristAngleActiveState ( hand , shoulder )
Signature
void Oculus.Interaction.Locomotion.WristAngleActiveState.InjectAllWristAngleActiveState(IHand hand, Transform shoulder)
Parameters
hand: IHand
shoulder: Transform
Returns
void
InjectHand ( hand )
Signature
void Oculus.Interaction.Locomotion.WristAngleActiveState.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectShoulder ( shoulder )
Signature
void Oculus.Interaction.Locomotion.WristAngleActiveState.InjectShoulder(Transform shoulder)
Parameters
shoulder: Transform
Returns
void