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

BodyPoseComparerActiveState Class

Extends MonoBehaviour, IActiveState, ITimeConsumer
Compares a user-provided set of joints between two Body Poses.
You can select which joints to monitor and what the maximum angle delta between each joint should be. If all joints are within this maximum range, the IActiveState becomes Active.

Properties

float MinTimeInState[Get]
IReadOnlyDictionary< JointComparerConfig, BodyPoseComparerFeatureState > FeatureStates[Get]
bool Active[Get]

Member Functions

Sets a function that returns the current time in seconds.
void InjectAllBodyPoseComparerActiveState
( IBodyPose poseA,
IBodyPose poseB,
IEnumerable< JointComparerConfig > configs )
void InjectPoseA
( IBodyPose poseA )
void InjectPoseB
( IBodyPose poseB )
void InjectJoints
( IEnumerable< JointComparerConfig > configs )
void InjectOptionalTimeProvider
( Func< float > timeProvider )

Protected Functions

virtual void Awake ( )
virtual void Start ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon