文档

Unity Engine

Unity Engine

Unwrapping

Utility class for computing mesh UVs.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static class Unwrapping

Remarks

This class allows you to compute UVs for procedurally generated meshes. Computing UVs is also called "unwrapping".
Additional Resources: Mesh class, Generating Lightmap UVs.

Static Methods

Method

Description

GeneratePerTriangleUVWill generate per-triangle uv (3 UVs for each triangle) with default settings.
GenerateSecondaryUVSetCompute a unique UV layout for a Mesh, and store it in Mesh.uv2.