# ShowBrushesGUI(int, BrushGUIEditFlags, int)

> Displays the default controls for the brush in the tool inspector.

## Definition

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

```csharp
void ShowBrushesGUI(int spacing = 5, BrushGUIEditFlags flags = BrushGUIEditFlags.All, int textureResolutionPerTile = 0)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Pixel spacing for the brush GUI controls.**** (\[BrushGUIEditFlags]\(/engine/6000.7/script-reference/unityeditor/terraintools/brushguieditflags)): Specifies which brush controls to display in the Terrain tool UI.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The resolution per Terrain tile of the Texture, which the tool is editing.  Unity uses this value to calculate Brush size limits.

### Remarks

If the tool is editing multiple Textures on a Terrain, textureResolutionPerTile is the largest resolution among them. Additional Resources: [IOnPaint.brushSize](/engine/6000.7/script-reference/unityeditor/terraintools/ionpaint/brushsize.md) and [IOnPaint.brushStrength](/engine/6000.7/script-reference/unityeditor/terraintools/ionpaint/brushstrength.md).
