BoneWeight Manual     Reference     Scripting  
Scripting > Runtime Classes > BoneWeight
BoneWeight Struct

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
weight0

Skinning weight for first bone.

weight1

Skinning weight for second bone.

weight2

Skinning weight for third bone.

weight3

Skinning weight for fourth bone.

boneIndex0

Index of first bone.

boneIndex1

Index of second bone.

boneIndex2

Index of third bone.

boneIndex3

Index of fourth bone.