# MaterialIndex

> The index at which you should place the material tools in the Terrain Tools overlay.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.6/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public enum MaterialIndex
```

## Fields

| Value                                                                                                  | Description                                                                                       |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- |
| [PaintTexture](/engine/6000.6/script-reference/unityeditor/terraintools/materialindex/painttexture.md) | The index at which you should place the Paint Texture material tool in the Terrain Tools overlay. |
