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

BodySkeletonMapping Class

Maps a skeleton with joint id TSourceJointId to BodyJointId, and exposes parent/child relationships within the skeleton.
Others
TSourceJointId
The enum joint type of the source skeleton

Properties

The set of BodyJointIds supported by this skeleton.

Member Functions

Get the parent joint for a given body joint.
Parameters
jointId
The joint to fetch the parent for
parent
The parent joint
Returns
True if parent could be retrieved
bool TryGetSourceJointId
( BodyJointId jointId,
out TSourceJointId sourceJointId )
bool TryGetBodyJointId
( TSourceJointId jointId,
out BodyJointId bodyJointId )

Protected Functions

TSourceJointId GetSourceJointFromBodyJoint
( BodyJointId jointId )
BodyJointId GetBodyJointFromSourceJoint
( TSourceJointId sourceJointId )
BodySkeletonMapping
( TSourceJointId root,
IReadOnlyDictionary< BodyJointId, JointInfo > jointMapping )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon