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

TransformRecognizerActiveState Class

Extends MonoBehaviour, IActiveState
Used in hand pose detection to get the current state of the hand's transforms and compares it to the required transforms.
If both match, the state is active.

Properties

IHand Hand[Get]
IReadOnlyList< TransformFeatureConfig > FeatureConfigs[Get]
TransformConfig TransformConfig[Get]
bool Active[Get]

Protected Fields

ITransformFeatureStateProvider TransformFeatureStateProvider[Get]
bool _started[Get]

Protected Functions

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

Member Functions

void GetFeatureVectorAndWristPos
( TransformFeature feature,
bool isHandVector,
ref Vector3? featureVec,
ref Vector3? wristPos )
void InjectAllTransformRecognizerActiveState
( IHand hand,
ITransformFeatureStateProvider transformFeatureStateProvider,
TransformFeatureConfigList transformFeatureList,
TransformConfig transformConfig )
void InjectHand
( IHand hand )
void InjectTransformFeatureStateProvider
( ITransformFeatureStateProvider transformFeatureStateProvider )
void InjectTransformFeatureList
( TransformFeatureConfigList transformFeatureList )
void InjectTransformConfig
( TransformConfig transformConfig )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon