Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OverrideMinMaxPatchHeights(PatchExtents[])

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.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public void OverrideMinMaxPatchHeights(PatchExtents[] minMaxHeights)

Parameters

minMaxHeights

Array of minimum and maximum terrain patch height values.