# detailPatchCount

> The number of patches along a terrain tile edge. This is squared to make a grid of patches.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public int detailPatchCount { get; }
```
