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

OVRSkeleton Class

Extends MonoBehaviour
Creates a skeleton and related bind (or rest) pose associated with that skeleton, and animates the skeleton based on data obtained from what pose data that OVRSkeleton.IOVRSkeletonDataProvider provides.
Use this class to query the bone transforms via the OVRSkeleton.Bones field.
The bones created can be associated with body tracking.

Member Enumerations

Enumeration SkeletonType

The enum that indicates the type of skeleton that is association with a OVRSkeleton instance.
Use this to react to different skeletal types. For instance, a hand skeleton will have different bones relative to body tracking skeletons, and OVRPlugin.SkeletonType.Body skeleton will only track bones of the upper body while OVRPlugin.SkeletonType.FullBody tracks the legs as well.
Depending on the enum, you may want to retarget to a character in a different manner or not retarget if the skeletal type does not match the character.
None
= OVRPlugin.SkeletonType.None
HandLeft
= OVRPlugin.SkeletonType.HandLeft
HandRight
= OVRPlugin.SkeletonType.HandRight
Body
= OVRPlugin.SkeletonType.Body
FullBody
= OVRPlugin.SkeletonType.FullBody
XRHandLeft
= OVRPlugin.SkeletonType.XRHandLeft
XRHandRight
= OVRPlugin.SkeletonType.XRHandRight

Enumeration BoneId

The enum encompassing all possible bone types.
This includes hand tracking bones, upper body tracking bones, and full body tracking bones (which includes the legs). Note that some values of this enum overlap each other, so if you wish to use this for UI components, consider creating an custom enum to maps to the subset of OVRSkeleton.BoneId that is applicable to your use case.
Invalid
= OVRPlugin.BoneId.Invalid
Hand_Start
= OVRPlugin.BoneId.Hand_Start
Hand_WristRoot
= OVRPlugin.BoneId.Hand_WristRoot
Hand_ForearmStub
= OVRPlugin.BoneId.Hand_ForearmStub
Hand_Thumb0
= OVRPlugin.BoneId.Hand_Thumb0
Hand_Thumb1
= OVRPlugin.BoneId.Hand_Thumb1
Hand_Thumb2
= OVRPlugin.BoneId.Hand_Thumb2
Hand_Thumb3
= OVRPlugin.BoneId.Hand_Thumb3
Hand_Index1
= OVRPlugin.BoneId.Hand_Index1
Hand_Index2
= OVRPlugin.BoneId.Hand_Index2
Hand_Index3
= OVRPlugin.BoneId.Hand_Index3
Hand_Middle1
= OVRPlugin.BoneId.Hand_Middle1
Hand_Middle2
= OVRPlugin.BoneId.Hand_Middle2
Hand_Middle3
= OVRPlugin.BoneId.Hand_Middle3
Hand_Ring1
= OVRPlugin.BoneId.Hand_Ring1
Hand_Ring2
= OVRPlugin.BoneId.Hand_Ring2
Hand_Ring3
= OVRPlugin.BoneId.Hand_Ring3
Hand_Pinky0
= OVRPlugin.BoneId.Hand_Pinky0
Hand_Pinky1
= OVRPlugin.BoneId.Hand_Pinky1
Hand_Pinky2
= OVRPlugin.BoneId.Hand_Pinky2
Hand_Pinky3
= OVRPlugin.BoneId.Hand_Pinky3
Hand_MaxSkinnable
= OVRPlugin.BoneId.Hand_MaxSkinnable
Hand_ThumbTip
= OVRPlugin.BoneId.Hand_ThumbTip
Hand_IndexTip
= OVRPlugin.BoneId.Hand_IndexTip
Hand_MiddleTip
= OVRPlugin.BoneId.Hand_MiddleTip
Hand_RingTip
= OVRPlugin.BoneId.Hand_RingTip
Hand_PinkyTip
= OVRPlugin.BoneId.Hand_PinkyTip
Hand_End
= OVRPlugin.BoneId.Hand_End
XRHand_Start
= OVRPlugin.BoneId.XRHand_Start
XRHand_Palm
= OVRPlugin.BoneId.XRHand_Palm
XRHand_Wrist
= OVRPlugin.BoneId.XRHand_Wrist
XRHand_ThumbMetacarpal
= OVRPlugin.BoneId.XRHand_ThumbMetacarpal
XRHand_ThumbProximal
= OVRPlugin.BoneId.XRHand_ThumbProximal
XRHand_ThumbDistal
= OVRPlugin.BoneId.XRHand_ThumbDistal
XRHand_ThumbTip
= OVRPlugin.BoneId.XRHand_ThumbTip
XRHand_IndexMetacarpal
= OVRPlugin.BoneId.XRHand_IndexMetacarpal
XRHand_IndexProximal
= OVRPlugin.BoneId.XRHand_IndexProximal
XRHand_IndexIntermediate
= OVRPlugin.BoneId.XRHand_IndexIntermediate
XRHand_IndexDistal
= OVRPlugin.BoneId.XRHand_IndexDistal
XRHand_IndexTip
= OVRPlugin.BoneId.XRHand_IndexTip
XRHand_MiddleMetacarpal
= OVRPlugin.BoneId.XRHand_MiddleMetacarpal
XRHand_MiddleProximal
= OVRPlugin.BoneId.XRHand_MiddleProximal
XRHand_MiddleIntermediate
= OVRPlugin.BoneId.XRHand_MiddleIntermediate
XRHand_MiddleDistal
= OVRPlugin.BoneId.XRHand_MiddleDistal
XRHand_MiddleTip
= OVRPlugin.BoneId.XRHand_MiddleTip
XRHand_RingMetacarpal
= OVRPlugin.BoneId.XRHand_RingMetacarpal
XRHand_RingProximal
= OVRPlugin.BoneId.XRHand_RingProximal
XRHand_RingIntermediate
= OVRPlugin.BoneId.XRHand_RingIntermediate
XRHand_RingDistal
= OVRPlugin.BoneId.XRHand_RingDistal
XRHand_RingTip
= OVRPlugin.BoneId.XRHand_RingTip
XRHand_LittleMetacarpal
= OVRPlugin.BoneId.XRHand_LittleMetacarpal
XRHand_LittleProximal
= OVRPlugin.BoneId.XRHand_LittleProximal
XRHand_LittleIntermediate
= OVRPlugin.BoneId.XRHand_LittleIntermediate
XRHand_LittleDistal
= OVRPlugin.BoneId.XRHand_LittleDistal
XRHand_LittleTip
= OVRPlugin.BoneId.XRHand_LittleTip
XRHand_Max
= OVRPlugin.BoneId.XRHand_Max
XRHand_End
= OVRPlugin.BoneId.XRHand_End
Body_Start
= OVRPlugin.BoneId.Body_Start
Body_Root
= OVRPlugin.BoneId.Body_Root
Body_Hips
= OVRPlugin.BoneId.Body_Hips
Body_SpineLower
= OVRPlugin.BoneId.Body_SpineLower
Body_SpineMiddle
= OVRPlugin.BoneId.Body_SpineMiddle
Body_SpineUpper
= OVRPlugin.BoneId.Body_SpineUpper
Body_Chest
= OVRPlugin.BoneId.Body_Chest
Body_Neck
= OVRPlugin.BoneId.Body_Neck
Body_Head
= OVRPlugin.BoneId.Body_Head
Body_LeftShoulder
= OVRPlugin.BoneId.Body_LeftShoulder
Body_LeftScapula
= OVRPlugin.BoneId.Body_LeftScapula
Body_LeftArmUpper
= OVRPlugin.BoneId.Body_LeftArmUpper
Body_LeftArmLower
= OVRPlugin.BoneId.Body_LeftArmLower
Body_LeftHandWristTwist
= OVRPlugin.BoneId.Body_LeftHandWristTwist
Body_RightShoulder
= OVRPlugin.BoneId.Body_RightShoulder
Body_RightScapula
= OVRPlugin.BoneId.Body_RightScapula
Body_RightArmUpper
= OVRPlugin.BoneId.Body_RightArmUpper
Body_RightArmLower
= OVRPlugin.BoneId.Body_RightArmLower
Body_RightHandWristTwist
= OVRPlugin.BoneId.Body_RightHandWristTwist
Body_LeftHandPalm
= OVRPlugin.BoneId.Body_LeftHandPalm
Body_LeftHandWrist
= OVRPlugin.BoneId.Body_LeftHandWrist
Body_LeftHandThumbMetacarpal
= OVRPlugin.BoneId.Body_LeftHandThumbMetacarpal
Body_LeftHandThumbProximal
= OVRPlugin.BoneId.Body_LeftHandThumbProximal
Body_LeftHandThumbDistal
= OVRPlugin.BoneId.Body_LeftHandThumbDistal
Body_LeftHandThumbTip
= OVRPlugin.BoneId.Body_LeftHandThumbTip
Body_LeftHandIndexMetacarpal
= OVRPlugin.BoneId.Body_LeftHandIndexMetacarpal
Body_LeftHandIndexProximal
= OVRPlugin.BoneId.Body_LeftHandIndexProximal
Body_LeftHandIndexIntermediate
= OVRPlugin.BoneId.Body_LeftHandIndexIntermediate
Body_LeftHandIndexDistal
= OVRPlugin.BoneId.Body_LeftHandIndexDistal
Body_LeftHandIndexTip
= OVRPlugin.BoneId.Body_LeftHandIndexTip
Body_LeftHandMiddleMetacarpal
= OVRPlugin.BoneId.Body_LeftHandMiddleMetacarpal
Body_LeftHandMiddleProximal
= OVRPlugin.BoneId.Body_LeftHandMiddleProximal
Body_LeftHandMiddleIntermediate
= OVRPlugin.BoneId.Body_LeftHandMiddleIntermediate
Body_LeftHandMiddleDistal
= OVRPlugin.BoneId.Body_LeftHandMiddleDistal
Body_LeftHandMiddleTip
= OVRPlugin.BoneId.Body_LeftHandMiddleTip
Body_LeftHandRingMetacarpal
= OVRPlugin.BoneId.Body_LeftHandRingMetacarpal
Body_LeftHandRingProximal
= OVRPlugin.BoneId.Body_LeftHandRingProximal
Body_LeftHandRingIntermediate
= OVRPlugin.BoneId.Body_LeftHandRingIntermediate
Body_LeftHandRingDistal
= OVRPlugin.BoneId.Body_LeftHandRingDistal
Body_LeftHandRingTip
= OVRPlugin.BoneId.Body_LeftHandRingTip
Body_LeftHandLittleMetacarpal
= OVRPlugin.BoneId.Body_LeftHandLittleMetacarpal
Body_LeftHandLittleProximal
= OVRPlugin.BoneId.Body_LeftHandLittleProximal
Body_LeftHandLittleIntermediate
= OVRPlugin.BoneId.Body_LeftHandLittleIntermediate
Body_LeftHandLittleDistal
= OVRPlugin.BoneId.Body_LeftHandLittleDistal
Body_LeftHandLittleTip
= OVRPlugin.BoneId.Body_LeftHandLittleTip
Body_RightHandPalm
= OVRPlugin.BoneId.Body_RightHandPalm
Body_RightHandWrist
= OVRPlugin.BoneId.Body_RightHandWrist
Body_RightHandThumbMetacarpal
= OVRPlugin.BoneId.Body_RightHandThumbMetacarpal
Body_RightHandThumbProximal
= OVRPlugin.BoneId.Body_RightHandThumbProximal
Body_RightHandThumbDistal
= OVRPlugin.BoneId.Body_RightHandThumbDistal
Body_RightHandThumbTip
= OVRPlugin.BoneId.Body_RightHandThumbTip
Body_RightHandIndexMetacarpal
= OVRPlugin.BoneId.Body_RightHandIndexMetacarpal
Body_RightHandIndexProximal
= OVRPlugin.BoneId.Body_RightHandIndexProximal
Body_RightHandIndexIntermediate
= OVRPlugin.BoneId.Body_RightHandIndexIntermediate
Body_RightHandIndexDistal
= OVRPlugin.BoneId.Body_RightHandIndexDistal
Body_RightHandIndexTip
= OVRPlugin.BoneId.Body_RightHandIndexTip
Body_RightHandMiddleMetacarpal
= OVRPlugin.BoneId.Body_RightHandMiddleMetacarpal
Body_RightHandMiddleProximal
= OVRPlugin.BoneId.Body_RightHandMiddleProximal
Body_RightHandMiddleIntermediate
= OVRPlugin.BoneId.Body_RightHandMiddleIntermediate
Body_RightHandMiddleDistal
= OVRPlugin.BoneId.Body_RightHandMiddleDistal
Body_RightHandMiddleTip
= OVRPlugin.BoneId.Body_RightHandMiddleTip
Body_RightHandRingMetacarpal
= OVRPlugin.BoneId.Body_RightHandRingMetacarpal
Body_RightHandRingProximal
= OVRPlugin.BoneId.Body_RightHandRingProximal
Body_RightHandRingIntermediate
= OVRPlugin.BoneId.Body_RightHandRingIntermediate
Body_RightHandRingDistal
= OVRPlugin.BoneId.Body_RightHandRingDistal
Body_RightHandRingTip
= OVRPlugin.BoneId.Body_RightHandRingTip
Body_RightHandLittleMetacarpal
= OVRPlugin.BoneId.Body_RightHandLittleMetacarpal
Body_RightHandLittleProximal
= OVRPlugin.BoneId.Body_RightHandLittleProximal
Body_RightHandLittleIntermediate
= OVRPlugin.BoneId.Body_RightHandLittleIntermediate
Body_RightHandLittleDistal
= OVRPlugin.BoneId.Body_RightHandLittleDistal
Body_RightHandLittleTip
= OVRPlugin.BoneId.Body_RightHandLittleTip
Body_End
= OVRPlugin.BoneId.Body_End
FullBody_Start
= OVRPlugin.BoneId.FullBody_Start
FullBody_Root
= OVRPlugin.BoneId.FullBody_Root
FullBody_Hips
= OVRPlugin.BoneId.FullBody_Hips
FullBody_SpineLower
= OVRPlugin.BoneId.FullBody_SpineLower
FullBody_SpineMiddle
= OVRPlugin.BoneId.FullBody_SpineMiddle
FullBody_SpineUpper
= OVRPlugin.BoneId.FullBody_SpineUpper
FullBody_Chest
= OVRPlugin.BoneId.FullBody_Chest
FullBody_Neck
= OVRPlugin.BoneId.FullBody_Neck
FullBody_Head
= OVRPlugin.BoneId.FullBody_Head
FullBody_LeftShoulder
= OVRPlugin.BoneId.FullBody_LeftShoulder
FullBody_LeftScapula
= OVRPlugin.BoneId.FullBody_LeftScapula
FullBody_LeftArmUpper
= OVRPlugin.BoneId.FullBody_LeftArmUpper
FullBody_LeftArmLower
= OVRPlugin.BoneId.FullBody_LeftArmLower
FullBody_LeftHandWristTwist
= OVRPlugin.BoneId.FullBody_LeftHandWristTwist
FullBody_RightShoulder
= OVRPlugin.BoneId.FullBody_RightShoulder
FullBody_RightScapula
= OVRPlugin.BoneId.FullBody_RightScapula
FullBody_RightArmUpper
= OVRPlugin.BoneId.FullBody_RightArmUpper
FullBody_RightArmLower
= OVRPlugin.BoneId.FullBody_RightArmLower
FullBody_RightHandWristTwist
= OVRPlugin.BoneId.FullBody_RightHandWristTwist
FullBody_LeftHandPalm
= OVRPlugin.BoneId.FullBody_LeftHandPalm
FullBody_LeftHandWrist
= OVRPlugin.BoneId.FullBody_LeftHandWrist
FullBody_LeftHandThumbMetacarpal
= OVRPlugin.BoneId.FullBody_LeftHandThumbMetacarpal
FullBody_LeftHandThumbProximal
= OVRPlugin.BoneId.FullBody_LeftHandThumbProximal
FullBody_LeftHandThumbDistal
= OVRPlugin.BoneId.FullBody_LeftHandThumbDistal
FullBody_LeftHandThumbTip
= OVRPlugin.BoneId.FullBody_LeftHandThumbTip
FullBody_LeftHandIndexMetacarpal
= OVRPlugin.BoneId.FullBody_LeftHandIndexMetacarpal
FullBody_LeftHandIndexProximal
= OVRPlugin.BoneId.FullBody_LeftHandIndexProximal
FullBody_LeftHandIndexIntermediate
= OVRPlugin.BoneId.FullBody_LeftHandIndexIntermediate
FullBody_LeftHandIndexDistal
= OVRPlugin.BoneId.FullBody_LeftHandIndexDistal
FullBody_LeftHandIndexTip
= OVRPlugin.BoneId.FullBody_LeftHandIndexTip
FullBody_LeftHandMiddleMetacarpal
= OVRPlugin.BoneId.FullBody_LeftHandMiddleMetacarpal
FullBody_LeftHandMiddleProximal
= OVRPlugin.BoneId.FullBody_LeftHandMiddleProximal
FullBody_LeftHandMiddleIntermediate
= OVRPlugin.BoneId.FullBody_LeftHandMiddleIntermediate
FullBody_LeftHandMiddleDistal
= OVRPlugin.BoneId.FullBody_LeftHandMiddleDistal
FullBody_LeftHandMiddleTip
= OVRPlugin.BoneId.FullBody_LeftHandMiddleTip
FullBody_LeftHandRingMetacarpal
= OVRPlugin.BoneId.FullBody_LeftHandRingMetacarpal
FullBody_LeftHandRingProximal
= OVRPlugin.BoneId.FullBody_LeftHandRingProximal
FullBody_LeftHandRingIntermediate
= OVRPlugin.BoneId.FullBody_LeftHandRingIntermediate
FullBody_LeftHandRingDistal
= OVRPlugin.BoneId.FullBody_LeftHandRingDistal
FullBody_LeftHandRingTip
= OVRPlugin.BoneId.FullBody_LeftHandRingTip
FullBody_LeftHandLittleMetacarpal
= OVRPlugin.BoneId.FullBody_LeftHandLittleMetacarpal
FullBody_LeftHandLittleProximal
= OVRPlugin.BoneId.FullBody_LeftHandLittleProximal
FullBody_LeftHandLittleIntermediate
= OVRPlugin.BoneId.FullBody_LeftHandLittleIntermediate
FullBody_LeftHandLittleDistal
= OVRPlugin.BoneId.FullBody_LeftHandLittleDistal
FullBody_LeftHandLittleTip
= OVRPlugin.BoneId.FullBody_LeftHandLittleTip
FullBody_RightHandPalm
= OVRPlugin.BoneId.FullBody_RightHandPalm
FullBody_RightHandWrist
= OVRPlugin.BoneId.FullBody_RightHandWrist
FullBody_RightHandThumbMetacarpal
= OVRPlugin.BoneId.FullBody_RightHandThumbMetacarpal
FullBody_RightHandThumbProximal
= OVRPlugin.BoneId.FullBody_RightHandThumbProximal
FullBody_RightHandThumbDistal
= OVRPlugin.BoneId.FullBody_RightHandThumbDistal
FullBody_RightHandThumbTip
= OVRPlugin.BoneId.FullBody_RightHandThumbTip
FullBody_RightHandIndexMetacarpal
= OVRPlugin.BoneId.FullBody_RightHandIndexMetacarpal
FullBody_RightHandIndexProximal
= OVRPlugin.BoneId.FullBody_RightHandIndexProximal
FullBody_RightHandIndexIntermediate
= OVRPlugin.BoneId.FullBody_RightHandIndexIntermediate
FullBody_RightHandIndexDistal
= OVRPlugin.BoneId.FullBody_RightHandIndexDistal
FullBody_RightHandIndexTip
= OVRPlugin.BoneId.FullBody_RightHandIndexTip
FullBody_RightHandMiddleMetacarpal
= OVRPlugin.BoneId.FullBody_RightHandMiddleMetacarpal
FullBody_RightHandMiddleProximal
= OVRPlugin.BoneId.FullBody_RightHandMiddleProximal
FullBody_RightHandMiddleIntermediate
= OVRPlugin.BoneId.FullBody_RightHandMiddleIntermediate
FullBody_RightHandMiddleDistal
= OVRPlugin.BoneId.FullBody_RightHandMiddleDistal
FullBody_RightHandMiddleTip
= OVRPlugin.BoneId.FullBody_RightHandMiddleTip
FullBody_RightHandRingMetacarpal
= OVRPlugin.BoneId.FullBody_RightHandRingMetacarpal
FullBody_RightHandRingProximal
= OVRPlugin.BoneId.FullBody_RightHandRingProximal
FullBody_RightHandRingIntermediate
= OVRPlugin.BoneId.FullBody_RightHandRingIntermediate
FullBody_RightHandRingDistal
= OVRPlugin.BoneId.FullBody_RightHandRingDistal
FullBody_RightHandRingTip
= OVRPlugin.BoneId.FullBody_RightHandRingTip
FullBody_RightHandLittleMetacarpal
= OVRPlugin.BoneId.FullBody_RightHandLittleMetacarpal
FullBody_RightHandLittleProximal
= OVRPlugin.BoneId.FullBody_RightHandLittleProximal
FullBody_RightHandLittleIntermediate
= OVRPlugin.BoneId.FullBody_RightHandLittleIntermediate
FullBody_RightHandLittleDistal
= OVRPlugin.BoneId.FullBody_RightHandLittleDistal
FullBody_RightHandLittleTip
= OVRPlugin.BoneId.FullBody_RightHandLittleTip
FullBody_LeftUpperLeg
= OVRPlugin.BoneId.FullBody_LeftUpperLeg
FullBody_LeftLowerLeg
= OVRPlugin.BoneId.FullBody_LeftLowerLeg
FullBody_LeftFootAnkleTwist
= OVRPlugin.BoneId.FullBody_LeftFootAnkleTwist
FullBody_LeftFootAnkle
= OVRPlugin.BoneId.FullBody_LeftFootAnkle
FullBody_LeftFootSubtalar
= OVRPlugin.BoneId.FullBody_LeftFootSubtalar
FullBody_LeftFootTransverse
= OVRPlugin.BoneId.FullBody_LeftFootTransverse
FullBody_LeftFootBall
= OVRPlugin.BoneId.FullBody_LeftFootBall
FullBody_RightUpperLeg
= OVRPlugin.BoneId.FullBody_RightUpperLeg
FullBody_RightLowerLeg
= OVRPlugin.BoneId.FullBody_RightLowerLeg
FullBody_RightFootAnkleTwist
= OVRPlugin.BoneId.FullBody_RightFootAnkleTwist
FullBody_RightFootAnkle
= OVRPlugin.BoneId.FullBody_RightFootAnkle
FullBody_RightFootSubtalar
= OVRPlugin.BoneId.FullBody_RightFootSubtalar
FullBody_RightFootTransverse
= OVRPlugin.BoneId.FullBody_RightFootTransverse
FullBody_RightFootBall
= OVRPlugin.BoneId.FullBody_RightFootBall
FullBody_End
= OVRPlugin.BoneId.FullBody_End
Max
= OVRPlugin.BoneId.Max

Protected Fields

SkeletonType _skeletonType[Get]
List< OVRBone > _bones[Get]
OVRPlugin.Skeleton2 _skeleton[Get]

Properties

Returns the initialized state of the skeleton, which you can use to determine if the skeletal data can be used or not.
Indicates if the skeletal data is valid or not, which you can use to determine if the skeletal data, coming from IOVRSkeletonDataProvider, can be used or not.
Note that one such provider can be OVRBody, which relates to body tracking.
Indicates if the skeletal data is high confidence or not, which you can use to determine if the skeletal data can be used or not.
The current bones associated with the skeleton.
Use this field to update any GameObjects that track skeletal bones.
The bones of the bind pose associated with the skeleton.
Use this to understand the bind pose of the skeleton based on the last update of it.
The bone capsules objects associated with the skeleton's bones, assuming that physics capsules have been created.
Skeleton changed property.
This value can increment during skeletal change events. Use this if your code or character needs to respond to these changes, in case your retargeting algorithm has to react to properly map to a character.

Member Functions

The skeleton type associated with this instance.
This could be hand, upper body, or full body.
Returns
The skeletal type.
Indicates if the bone ID is valid given the skeleton type (hand, upper or full body) that this instance tracks.
Parameters
bone
Bone ID.
Returns
If the bone ID is valid for this skeleton instance.
Returns the starting bone ID of the skeleton type being tracked by this skeleton.
This depends on the skeleton type, whether that is hand, body or full body.
Returns
Start bone ID of the current skeleton.
Returns the end bone ID of the skeleton type being tracked by this skeleton.
This depends on the skeleton type, whether that is hand, body or full body.
Returns
End bone ID of the current skeleton.
Returns the number of bones of the current skeleton type.
You may use the return value to match the number of bones being retargeted to on a third party character.
Returns
The number of bones being tracked by the skeleton.
Returns the number of skinnable bones.
Use this to compare against the number of skinnable bones on a third party character of your choice.
Returns
The current number of skinnable bones.

Protected Functions

virtual void Awake ( )
Start this instance.
Initialize data structures related to the body tracking's skeleton.
virtual Transform GetBoneTransform
( BoneId boneId )
virtual void InitializeBones ( )
virtual void InitializeBindPose ( )
virtual void Update ( )
void UpdateSkeleton ( )
void FixedUpdate ( )

Static Member Functions

Returns the bone label associated with the bone ID.
Use this to label GameObjects that might track bones, or any use requires debugging bones visually in a game or experience.
Parameters
skeletonType
Skeleton type (hand, body, full body).
boneId
Bone ID.
Returns
Bone label.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon