Version: 2019.3
LanguageEnglish
  • C#

HumanTrait

class in UnityEngine

/

Implemented in:UnityEngine.AnimationModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Details of all the human bone and muscle types defined by Mecanim.

Static Properties

BoneCountThe number of human bone types defined by Mecanim.
BoneNameArray of the names of all human bone types defined by Mecanim.
MuscleCountThe number of human muscle types defined by Mecanim.
MuscleNameArray of the names of all human muscle types defined by Mecanim.
RequiredBoneCountThe number of bone types that are required by Mecanim for any human model.

Static Methods

BoneFromMuscleReturn the bone to which a particular muscle is connected.
GetBoneDefaultHierarchyMassGets the bone hierarchy mass.
GetMuscleDefaultMaxGet the default maximum value of rotation for a muscle in degrees.
GetMuscleDefaultMinGet the default minimum value of rotation for a muscle in degrees.
GetParentBoneReturns parent humanoid bone index of a bone.
MuscleFromBoneObtain the muscle index for a particular bone index and "degree of freedom".
RequiredBoneIs the bone a member of the minimal set of bones that Mecanim requires for a human model?