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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public void OverrideMinMaxPatchHeights(PatchExtents[] minMaxHeights)
Parameters
Array of minimum and maximum terrain patch height values.