public int maxBonesPerVertex ;

Description

The maximum number of bones per vertex stored in this mesh data.

Range: 1 - 255, inclusive. Note that higher bone counts may have a performance cost, especially above 4 bones per vertex.

This setting affects the underlying mesh data; vertices with more than this number will have the lowest weighted bones discarded.

You can limit the number of bones that Unity takes into account when performing skinning using the QualitySettings.skinWeights and SkinnedMeshRenderer.quality APIs. Note that these settings do not affect the underlying mesh data.

See Also: ModelImporter.minBoneWeight, QualitySettings.skinWeights, SkinnedMeshRenderer.quality.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961