Version: 2019.2

TerrainData.OverrideMinMaxPatchHeights

Switch to Manual
public void OverrideMinMaxPatchHeights (PatchExtents[] minMaxHeights);

Parameters

minMaxHeightsArray of minimum and maximum terrain patch height values.

Description

Override the minimum and maximum patch heights for every renderable terrain patch. Note that the overriden values get reset when the terrain resolution is changed and stays unchanged when the terrain heightmap is painted or changed via script.