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

TerrainCallbacks.HeightmapChangedCallback

Cambiar al Manual
public delegatevoid HeightmapChangedCallback (Terrain terrain, RectInt heightRegion, bool synched);

Parámetros

terrainThe Terrain object that references a changed TerrainData asset.
heightRegionThe heightmap region that changed, in samples.
synchedIndicates whether the changes were fully synchronized back to CPU memory.

Descripción

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