Select your preferred scripting language. All code snippets will be displayed in this language.
struct 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.
CloseFor 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.
CloseClass that holds humanoid avatar parameters to pass to the AvatarBuilder.BuildHumanAvatar function.
armStretch | Amount by which the arm's length is allowed to stretch when using IK. |
feetSpacing | Modification to the minimum distance between the feet of a humanoid model. |
hasTranslationDoF | True for any human that has a translation Degree of Freedom (DoF). It is set to false by default. |
human | Mapping between Mecanim bone names and bone names in the rig. |
legStretch | Amount by which the leg's length is allowed to stretch when using IK. |
lowerArmTwist | Defines how the lower arm's roll/twisting is distributed between the elbow and wrist joints. |
lowerLegTwist | Defines how the lower leg's roll/twisting is distributed between the knee and ankle. |
skeleton | List of bone Transforms to include in the model. |
upperArmTwist | Defines how the lower arm's roll/twisting is distributed between the shoulder and elbow joints. |
upperLegTwist | Defines how the upper leg's roll/twisting is distributed between the thigh and knee joints. |