Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HumanDescription

struct in UnityEngine

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

Sumbission failed

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

Close

Cancel

Switch to Manual

Description

Class that holds humanoid avatar parameters to pass to the AvatarBuilder.BuildHumanAvatar function.

See Also: AvatarBuilder.BuildHumanAvatar.

Variables

armStretchAmount by which the arm's length is allowed to stretch when using IK.
feetSpacingModification to the minimum distance between the feet of a humanoid model.
humanMapping between Mecanim bone names and bone names in the rig.
legStretchAmount by which the leg's length is allowed to stretch when using IK.
lowerArmTwistDefines how the lower arm's roll/twisting is distributed between the elbow and wrist joints.
lowerLegTwistDefines how the lower leg's roll/twisting is distributed between the knee and ankle.
skeletonList of bone Transforms to include in the model.
upperArmTwistDefines how the lower arm's roll/twisting is distributed between the shoulder and elbow joints.
upperLegTwistDefines how the upper leg's roll/twisting is distributed between the thigh and knee joints.