# PaintDetailsToolUtility

> Provides utility methods for painting details.

## Definition

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

```csharp
public static class PaintDetailsToolUtility
```

## Static Methods

| Method                                                                                                                                             | Description                                                                        |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [ClampedDetailPatchesGUI](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/clampeddetailpatchesgui.md)             | Gets data on the clamped detail patches for displaying their GUI within a terrain. |
| [CopyDetailPrototype](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/copydetailprototype.md)                     | Copies a detail prototype between two terrains.                                    |
| [DrawClampedDetailPatchGUI](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/drawclampeddetailpatchgui.md)         | Displays the clamped detail patches.                                               |
| [FindDetailPrototype](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/finddetailprototype.md)                     | Gets the index position of similar details between two terrains.                   |
| [GetMaxDetailInstancesPerPatch](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/getmaxdetailinstancesperpatch.md) | Gets the max amount of detail instances per patch allowed on a terrain.            |
| [LoadDetailIcons](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/loaddetailicons.md)                             | Gets the icons of the detail prototypes.                                           |
| [ResetDetailsUtilityData](/engine/6000.5/script-reference/unityeditor/terraintools/paintdetailstoolutility/resetdetailsutilitydata.md)             | Resets the paint detail tools utility parameters.                                  |
