# SetMesh(Mesh)

> Sets the Mesh used by this renderer. Note the Mesh must be read/write enabled.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public void SetMesh(Mesh mesh)
```

### Parameters

**** (\[Mesh]\(/engine/6000.6/script-reference/unityengine/mesh)):&#x20;
