TerrainCallbacks
This static class provides events that Unity triggers when Terrain data changes.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public static class TerrainCallbacks
Static Events
Member | Description |
|---|---|
| heightmapChanged | This event is triggered after there are changes to Terrain height data. |
| textureChanged | This event is triggered after there are changes to Terrain textures. |
Delegates
Delegate | Description |
|---|---|
| TerrainCallbacks.HeightmapChangedCallback | Use this delegate type with TerrainCallbacks.heightmapChanged to monitor all changes to the Terrain heightmap. |
| TerrainCallbacks.TextureChangedCallback | Use this delegate type with TerrainCallbacks.textureChanged to monitor all the changes to Terrain textures. |