API reference

BodyPoseComparerActiveStateDebugVisual Class

Extends MonoBehaviour
Debugs each JointComparerConfig in a BodyPoseComparerActiveState.
Debug spheres are placed at each joint, and will change from Red to Orange to Green to signify the status of each joint (how close the joint is to being within the recognition threshold). When all joints are green, the pose recognizer would be Active.

Properties

Radius : float
[Get][Set]
Signature
float Radius

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void
Update ()
Signature
virtual void Update()
Returns
void

Methods

InjectAllBodyPoseComparerActiveStateDebugVisual ( bodyPoseComparer , bodyPose , root )
Signature
void InjectAllBodyPoseComparerActiveStateDebugVisual(BodyPoseComparerActiveState bodyPoseComparer, IBodyPose bodyPose, Transform root)
Parameters
bodyPoseComparer: BodyPoseComparerActiveState
bodyPose: IBodyPose
root: Transform
Returns
void
InjectBodyPose ( bodyPose )
Signature
void InjectBodyPose(IBodyPose bodyPose)
Parameters
bodyPose: IBodyPose
Returns
void
InjectBodyPoseComparer ( bodyPoseComparer )
Signature
void InjectBodyPoseComparer(BodyPoseComparerActiveState bodyPoseComparer)
Parameters
bodyPoseComparer: BodyPoseComparerActiveState
Returns
void
InjectRootTransform ( root )
Signature
void InjectRootTransform(Transform root)
Parameters
root: Transform
Returns
void