# density

> Controls detail density for this detail prototype, relative to it's size.

## Definition

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

```csharp
public float density { get; set; }
```
