# ShowDefaultPreviewBrush(Terrain, Texture, float)

> Helper function to display a default preview brush with no rotation or custom materials.

## Definition

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

```csharp
public static void ShowDefaultPreviewBrush(Terrain terrain, Texture brushTexture, float brushSize)
```

### Parameters

**** (\[Terrain]\(/engine/6000.6/script-reference/unityengine/terrain)): Terrain object.**** (\[Texture]\(/engine/6000.6/script-reference/unityengine/texture)): Brush texture.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Brush size.

### Remarks

This method determines the position on the Terrain object under the mouse and draws a brush preview at that position using the specified texture and brush size. Additional Resources: [TerrainPaintUtilityEditor.DrawBrushPreview](/engine/6000.6/script-reference/unityeditor/terraintools/terrainpaintutilityeditor/drawbrushpreview.md)
