Version: 2022.3

Unwrapping

class in UnityEditor

切换到手册

描述

Utility class for computing mesh UVs.

This class allows you to compute UVs for procedurally generated meshes. Computing UVs is also called "unwrapping".

See Also: Mesh class, Generating Lightmap UVs.

静态函数

GeneratePerTriangleUV将生成带有默认设置的每个三角形的 UV(每个三角形 3 个 UV)。
GenerateSecondaryUVSetCompute a unique UV layout for a Mesh, and store it in Mesh.uv2.