Version: 2017.3

BoneWeight

struct in UnityEngine

Cambiar al Manual

Descripción

Skinning bone weights of a vertex in the mesh.

Each vertex is skinned with up to four bones. All weights should sum up to one. Weights and bone indices should be defined in the order of decreasing weight. If a vertex is affected by less than four bones, the remaining weights should be zeroes.

See Also: Mesh.boneWeights variable.

Variables

boneIndex0Index of first bone.
boneIndex1Index of second bone.
boneIndex2Index of third bone.
boneIndex3Index of fourth bone.
weight0Skinning weight for first bone.
weight1Skinning weight for second bone.
weight2Skinning weight for third bone.
weight3Skinning weight for fourth bone.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961