API reference

JointDistanceActiveState Class

Extends MonoBehaviour, IActiveState
This component tracks the distance between two hand joints and reports IActiveState.Active when distance is under a provided threshold.

Properties

bool Active[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void Update ( )

Member Functions

void InjectAllJointDistanceActiveState
( IHand handA,
HandJointId jointIdA,
IHand handB,
HandJointId jointIdB )
void InjectHandA
( IHand handA )
void InjectJointIdA
( HandJointId jointIdA )
void InjectHandB
( IHand handB )
void InjectJointIdB
( HandJointId jointIdB )
void InjectOptionalDistance
( float val )
void InjectOptionalThresholdWidth
( float val )
void InjectOptionalMinTimeInState
( float val )