用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:boneweight:boneweight

BoneWeight 骨骼权重

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.

每个蒙皮的顶点大于4个骨骼。所有的权重应该合计到1。权重和骨骼的索引应该以权重递减顺序定义。如果定义一个顶点被影响少于4个骨骼,这意味着权重应该为0。

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.
用于第四个骨骼的蒙皮权重。
script/unityengine/classes/boneweight/boneweight.txt · 最后更改: 2016/08/02 05:33 (外部编辑)