# InstanceCountMode

> The detail map holds values that represent the number of detail instances to render at each sample.

## Definition

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

```csharp
InstanceCountMode = 1
```

### Remarks

The detail map holds values between 0 and 16. The values specify how many instances  appear at a given sample.
