Unwrapping
Utility class for computing mesh UVs.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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 |
|---|---|
| GeneratePerTriangleUV | Will generate per-triangle uv (3 UVs for each triangle) with default settings. |
| GenerateSecondaryUVSet | Compute a unique UV layout for a Mesh, and store it in Mesh.uv2. |