ドキュメント

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

minMaxHeights

Array of minimum and maximum terrain patch height values.