# GetMeshCompression(Mesh)

> Returns the mesh compression setting for a Mesh.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static ModelImporterMeshCompression GetMeshCompression(Mesh mesh)
```

### Parameters

**** (\[Mesh]\(/engine/6000.0/script-reference/unityengine/mesh)): The mesh to get information on.

### Returns

| Type                                                                                                        | Description |
| ----------------------------------------------------------------------------------------------------------- | ----------- |
| [ModelImporterMeshCompression](/engine/6000.0/script-reference/unityeditor/modelimportermeshcompression.md) |             |
