OVRBone represents bone data obtained from hand or body
tracking.
You can use it to access the transform that tracks the bone's movements, as well as the bone ID associated with the transform. You can retarget each bone to a character's skeleton so that a person's movements can be represented by a visual representation.
Find examples of how this class is used in OVRSkeleton.
The identifier associated with the bone being tracked.
For instance, the Id can correspond to body tracking spine bones and you may use them to deduce curvature. Query the 's and OVRSkeleton.BindPoses fields to look up bones by this identifier.
short ParentBoneIndex[Get]
The index of the parent bone, if one exists, for the current bone.
Use this field to index into the list of available bones.
Transform Transform[Get]
The transform that is created at runtime.
Use this to track the pose of the character's bone.
Member Functions
OVRBone ( )
OVRBone constructor which does not require joint data as arguments, which means its fields will remain invalid unless you set them after instantiation.