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

BodyPoseSwitcher Class

Extends MonoBehaviour

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.Body.Samples.BodyPoseSwitcher._started

Properties

SkeletonMapping : ISkeletonMapping
[Get]
The mapping of the skeleton.
Signature
ISkeletonMapping Oculus.Interaction.Body.Samples.BodyPoseSwitcher.SkeletonMapping
Source : PoseSource
[Get][Set]
Signature
PoseSource Oculus.Interaction.Body.Samples.BodyPoseSwitcher.Source

Events

WhenBodyPoseUpdated : Action
Signature
Action Oculus.Interaction.Body.Samples.BodyPoseSwitcher.WhenBodyPoseUpdated

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.Start()
Returns
void

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.Samples.BodyPoseSwitcher.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.Samples.BodyPoseSwitcher.GetJointPoseLocal(BodyJointId bodyJointId, out Pose pose)
Parameters
bodyJointId: BodyJointId
pose: out Pose
Returns
bool
UsePoseA ()
Signature
void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.UsePoseA()
Returns
void
UsePoseB ()
Signature
void Oculus.Interaction.Body.Samples.BodyPoseSwitcher.UsePoseB()
Returns
void

Inner Enum

PoseSource Enum

Enumeration Constants

Member
PoseA
PoseB