Version: 2019.2

BoneWeight

struct in UnityEngine

Switch to Manual

Description

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

boneIndex0Индекс первой кости.
boneIndex1Индекс второй кости.
boneIndex2Индекс третьей кости.
boneIndex3Индекс четвертой кости.
weight0Skinning weight for first bone.
weight1Skinning weight for second bone.
weight2Skinning weight for third bone.
weight3Skinning weight for fourth bone.