Version: 2019.1

TerrainData.GetPatchMinMaxHeights

Switch to Manual
public PatchExtents[] GetPatchMinMaxHeights ();

Returns

PatchExtents[] Minimum and maximum height values for each patch.

Description

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 OverrideMinMaxPatchHeights.