API reference

BodyPoseData Class

Extends ScriptableObject, ISerializationCallbackReceiver
Implements IBodyPose

Properties

SkeletonMapping : ISkeletonMapping
[Get]
The mapping of the skeleton.
Signature
ISkeletonMapping SkeletonMapping

Events

WhenBodyPoseUpdated : Action
Signature
Action WhenBodyPoseUpdated

Methods

GetJointPoseFromRoot ( bodyJointId , pose )
Attempts to return the pose of the requested body joint relative to the root joint BodyJointId.Body_Root.
Signature
bool GetJointPoseFromRoot(BodyJointId bodyJointId, out Pose pose)
Parameters
bodyJointId: BodyJointId
pose: out Pose
Returns
bool
GetJointPoseLocal ( bodyJointId , pose )
Attempts to return the pose of the requested body joint, in local space relative to its parent joint.
Signature
bool GetJointPoseLocal(BodyJointId bodyJointId, out Pose pose)
Parameters
bodyJointId: BodyJointId
pose: out Pose
Returns
bool
OnAfterDeserialize ()
Signature
void OnAfterDeserialize()
Returns
void
OnBeforeSerialize ()
Signature
void OnBeforeSerialize()
Returns
void
SetBodyPose ( body )
Signature
void SetBodyPose(IBody body)
Parameters
body: IBody
Returns
void