Version: 2019.1

HumanTrait

class in UnityEngine

Switch to Manual

Description

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

Static Variables

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 Functions

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?
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961