API reference

PoseFromBody Class

Extends MonoBehaviour, IBodyPose
Exposes an IBodyPose from an IBody

Events

Action WhenBodyPoseUpdated

Properties

bool AutoUpdate[Get]
If true, this component will track the provided IBody as its data is updated.
If false, you must call UpdatePose to update joint data.
ISkeletonMapping SkeletonMapping[Get]
The mapping of the skeleton.

Protected Fields

bool _started[Get]

Member Functions

bool GetJointPoseLocal
( BodyJointId bodyJointId,
out Pose pose )
Attempts to return the pose of the requested body joint, in local space relative to its parent joint.
bool GetJointPoseFromRoot
( BodyJointId bodyJointId,
out Pose pose )
Attempts to return the pose of the requested body joint relative to the root joint BodyJointId.Body_Root.
void UpdatePose ( )
void InjectAllPoseFromBody
( IBody body )
void InjectBody
( IBody body )

Protected Functions

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