# Unwrapping

> Utility class for computing mesh UVs.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.5/script-reference/unityengine/mesh.md) class, [Generating Lightmap UVs](/engine/6000.5/manual/lighting-overview/direct-and-indirect-lighting/lightmapping/lighting-gi-uvs/generating-lightmapping-uvs.md).

## Static Methods

| Method                                                                                                     | Description                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [GeneratePerTriangleUV](/engine/6000.5/script-reference/unityeditor/unwrapping/generatepertriangleuv.md)   | Will generate per-triangle uv (3 UVs for each triangle) with default settings.                                              |
| [GenerateSecondaryUVSet](/engine/6000.5/script-reference/unityeditor/unwrapping/generatesecondaryuvset.md) | Compute a unique UV layout for a Mesh, and store it in [Mesh.uv2](/engine/6000.5/script-reference/unityengine/mesh/uv2.md). |
