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

BodyPoseData Class

Extends ScriptableObject, ISerializationCallbackReceiver

Properties

SkeletonMapping : ISkeletonMapping
[Get]
The mapping of the skeleton.
Signature
ISkeletonMapping Oculus.Interaction.Body.PoseDetection.BodyPoseData.SkeletonMapping

Events

WhenBodyPoseUpdated : Action
Signature
Action Oculus.Interaction.Body.PoseDetection.BodyPoseData.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 Oculus.Interaction.Body.PoseDetection.BodyPoseData.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 Oculus.Interaction.Body.PoseDetection.BodyPoseData.GetJointPoseLocal(BodyJointId bodyJointId, out Pose pose)
Parameters
bodyJointId: BodyJointId
pose: out Pose
Returns
bool
OnAfterDeserialize ()
Signature
void Oculus.Interaction.Body.PoseDetection.BodyPoseData.OnAfterDeserialize()
Returns
void
OnBeforeSerialize ()
Signature
void Oculus.Interaction.Body.PoseDetection.BodyPoseData.OnBeforeSerialize()
Returns
void
SetBodyPose ( body )
Signature
void Oculus.Interaction.Body.PoseDetection.BodyPoseData.SetBodyPose(IBody body)
Parameters
body: IBody
Returns
void