Version: 2023.2

SkinWeights

enumeration

切换到手册

描述

蒙皮权重。

How many bones affect each vertex. This can be used when accessing the Bone Weight Buffer with Mesh.GetBoneWeightBuffer to determine what way the data will be ordered.

Additional resources: QualitySettings.skinWeights, SkinnedMeshRenderer.quality, Mesh.GetBoneWeightBuffer.

变量

NoneThe mesh does not contain any bone weight data.
OneBoneOne bone affects each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain only indices to the bones, as the weight will be set to 1.
TwoBonesTwo bones affect each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain two indices and two floats per vertex.
FourBonesFour bones affect each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain one BoneWeight per vertex.
Unlimited影响每个顶点的骨骼不限数量。