GetPatchMinMaxHeights()
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 TerrainData.OverrideMinMaxPatchHeights.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public PatchExtents[] GetPatchMinMaxHeights()
Returns
Type | Description |
|---|---|
| PatchExtents[] | Minimum and maximum height values for each patch. |