Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

TerrainData.GetPatchMinMaxHeights

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.

Did you find this page useful? Please give it a rating: