# useDensityScaling

> Indicates the global density scale set in the terrain settings affects this detail prototype.

## Definition

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

```csharp
public bool useDensityScaling { get; set; }
```

### Remarks

When you set this value to `true`, Unity multiplies this detail prototype's density by the value set for the global density scale in Terrain settings.
