Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HumanDescription

Class that holds humanoid avatar parameters to pass to the AvatarBuilder.BuildHumanAvatar function.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public struct HumanDescription

Fields

Value

Description

humanMapping between Mecanim bone names and bone names in the rig.
skeletonList of bone Transforms to include in the model.

Properties

Property

Description

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.
hasTranslationDoFTrue for any human that has a translation Degree of Freedom (DoF). It is set to false by default.
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.
rootMotionBoneNameThe name of the Transform to use as the root.
upperArmTwistDefines how the upper 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.