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

OVRSkeletonMetadata Class

Skeleton meta data class, associated with each HumanyBodyBone enum.

Overview

Properties

Dictionary< HumanBodyBones, BoneData >
Human body bone enum to bone data mapping.

Public Member Functions

OVRSkeletonMetadata
( OVRSkeletonMetadata otherSkeletonMetaData )
Constructor that copies another meta data class.
OVRSkeletonMetadata
( Animator animator,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Main constructor.
OVRSkeletonMetadata
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Constructor for OVRSkeleton.
OVRSkeletonMetadata
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
bool useFullBody,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Constructor for OVRSkeleton.
void
BuildBoneDataSkeleton
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Builds body to bone data with the OVRSkeleton.
void
BuildBoneDataSkeletonFullBody
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Builds full body to bone data with the OVRSkeleton.
void
Builds coordinate axes for all bones.

Details

Properties

Dictionary<HumanBodyBones, BoneData> OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.BodyToBoneData
Human body bone enum to bone data mapping.

Member Functions

OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.OVRSkeletonMetadata
( OVRSkeletonMetadata otherSkeletonMetaData )
Constructor that copies another meta data class.
Parameters
otherSkeletonMetaData
Other meta data to copy from.
OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.OVRSkeletonMetadata
( Animator animator,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Main constructor.
Parameters
animator
Animator to build meta data from.
bodyBonesMappingInterface
Optional bone map interface.
OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.OVRSkeletonMetadata
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Constructor for OVRSkeleton.
Parameters
skeleton
Skeleton to build meta data from.
useBindPose
Whether to use bind pose (T-pose) or not.
customBoneIdToHumanBodyBone
Custom bone ID to human body bone mapping.
bodyBonesMappingInterface
Body bones mapping interface.
OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.OVRSkeletonMetadata
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
bool useFullBody,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Constructor for OVRSkeleton.
Parameters
skeleton
Skeleton to build meta data from.
useBindPose
Whether to use bind pose (T-pose) or not.
customBoneIdToHumanBodyBone
Custom bone ID to human body bone mapping.
useFullBody
Whether to use full body or not.
bodyBonesMappingInterface
Body bones mapping interface.
void OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.BuildBoneDataSkeleton
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Builds body to bone data with the OVRSkeleton.
Parameters
skeletonuseBindPose
If true, use the bind pose.
customBoneIdToHumanBodyBone
Custom bone ID to human body bone mapping.
bodyBonesMappingInterface
Body bones mapping interface.
void OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.BuildBoneDataSkeletonFullBody
( OVRSkeleton skeleton,
bool useBindPose,
Dictionary< OVRSkeleton.BoneId, HumanBodyBones > customBoneIdToHumanBodyBone,
OVRHumanBodyBonesMappingsInterface bodyBonesMappingInterface )
Builds full body to bone data with the OVRSkeleton.
Parameters
skeletonuseBindPose
If true, use the bind pose.
customBoneIdToHumanBodyBone
Custom bone ID to human body bone mapping.
bodyBonesMappingInterface
Body bones mapping interface.
void OVRUnityHumanoidSkeletonRetargeter.OVRSkeletonMetadata.BuildCoordinateAxesForAllBones ( )
Builds coordinate axes for all bones.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon