Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useDensityScaling

Indicates the global density scale set in the terrain settings affects this detail prototype.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
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.