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

ShapeRecognizerActiveState Class

Extends MonoBehaviour, IActiveState
Used during hand pose detection to compare the current state of a hand's fingers to the state required by a given shape.
The shape's required state is defined in a <cref="ShapeRecognizer" />. If the two match, this state becomes active.

Properties

IHand Hand[Get]
IReadOnlyList< ShapeRecognizer > Shapes[Get]
Handedness Handedness[Get]
bool Active[Get]

Protected Fields

IFingerFeatureStateProvider FingerFeatureStateProvider[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )

Member Functions

void InjectAllShapeRecognizerActiveState
( IHand hand,
IFingerFeatureStateProvider fingerFeatureStateProvider,
ShapeRecognizer[] shapes )
void InjectHand
( IHand hand )
void InjectFingerFeatureStateProvider
( IFingerFeatureStateProvider fingerFeatureStateProvider )
void InjectShapes
( ShapeRecognizer[] shapes )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon