Version: 2023.1

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.

See Also: 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影响每个顶点的骨骼不限数量。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961