GetPatchMinMaxHeights()
Returns an array of min max height values for all the renderable patches in a terrain. The returned array can be modified and then passed to TerrainData.OverrideMinMaxPatchHeights.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public PatchExtents[] GetPatchMinMaxHeights()
Returns
Type | Description |
|---|---|
| PatchExtents[] | Minimum and maximum height values for each patch. |