Legacy Documentation: Version 2018.2 (Go to current version)
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: