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

SkeletonPoseData Struct

Contains tracking pose data and metadata associated with it.
Use this to obtain bone rotations, translations, as well as indicators of data validity and confidence. Note that rotations and translations might require a conversion before being used, see OVRSkeleton.UpdateSkeleton to example code.
This is relevant for body tracking, and is a returned data type from OVRBody.

Properties

The pose that you can use to set the transform properties of the skeleton's root transform.
The scale of the root transform.
Use this to set the local scale of the root game object.
Use this field to use the rotations of the skeleton's bones.
You will need to use OVRExtensions.FromFlippedZQuatf(OVRPlugin.Quatf) before assigning them to GameObject transforms.
Indicates data validity.
Use this field to prevent skeletal updates, coming from instances such as OVRHand or OVRBody, is not valid.
Indicates if the data is high confidence or not.
Use this to prevent skeletal updates if the data is not considered highly confident.
Use this field to use the positions of the skeleton's bones, and you will need to use OVRExtensions.FromFlippedZVector3f(OVRPlugin.Vector3f) before assigning them to GameObject transforms.
The skeleton change count field, which usually increments when a skeleton has changed.
Use this field to react to these events by detecting changes in its value when body tracking skeleton updates.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon