Version: 2022.3

MeshUtility

class in UnityEditor

切换到手册

描述

用于网格操作的各种实用程序。

静态函数

AcquireReadOnlyMeshDataGets a snapshot of Mesh data for read-only access in the Unity Editor.
GetMeshCompression返回网格的网格压缩设置。
Optimize优化网格数据以提高渲染性能。
SetMeshCompression更改网格的网格压缩设置。
SetPerTriangleUV2将在网格中插入每个三角形的 uv2,并处理顶点拆分等。