Version: 2020.1
Experimental: this API is experimental and might be changed or removed in the future.

TerrainCallbacks.HeightmapChangedCallback

切换到手册
public delegatevoid HeightmapChangedCallback (Terrain terrain, RectInt heightRegion, bool synched);

参数

terrain 引用更改后的 TerrainData 资源的地形对象。
heightRegion 发生更改的高度贴图区域(以样本表示)。
synched 指示更改是否已完全同步回 CPU 内存。

描述

Use this delegate type with heightmapChanged to monitor all changes to the Terrain heightmap.