Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
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.
CloseDetails of all the human bone and muscle types defined by Mecanim.
BoneCount | The number of human bone types defined by Mecanim. |
BoneName | Array of the names of all human bone types defined by Mecanim. |
MuscleCount | The number of human muscle types defined by Mecanim. |
MuscleName | Array of the names of all human muscle types defined by Mecanim. |
RequiredBoneCount | The number of bone types that are required by Mecanim for any human model. |
BoneFromMuscle | Return the bone to which a particular muscle is connected. |
GetMuscleDefaultMax | Get the default maximum value of rotation for a muscle in degrees. |
GetMuscleDefaultMin | Get the default minimum value of rotation for a muscle in degrees. |
GetParentBone | Returns parent humanoid bone index of a bone. |
MuscleFromBone | Obtain the muscle index for a particular bone index and "degree of freedom". |
RequiredBone | Is the bone a member of the minimal set of bones that Mecanim requires for a human model? |