holeEdgePadding
Controls how far away detail objects are from the edge of the hole area.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public float holeEdgePadding { get; set; }
Remarks
Specify a non-negative value, which is a scale of the detail mesh's width in world space. (DetailRenderMode.GrassBillboard details have a width of 1.) Unity multiplies this value by the detail mesh's width, and uses the result to determine the radius of a circular area around detail objects, which it then applies for testing against holes.