IBodyPose Interface
Encapsulates the pose of a body as a collection of joint poses together constituting a fully-posed skeleton.
IBodyPoses can be generated from live data (using PoseFromBody, for example) or stored/cached off as a reference for comparison (using BodyPoseComparerActiveState, for example).
Action WhenBodyPoseUpdated
Event indicating that the data in this
IBodyPose has been updated.
Observing instances can hook into this event to run their logic only when new data is available (rather than polling).
The mapping of the skeleton, which characterizes which BodyJointIds are populated by in this body pose and the structure/parentage among them.
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 (i.e., the BodyJointId retrievable from ISkeletonMapping.TryGetParentJointId(BodyJointId, out BodyJointId)).
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).