Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

heightmapChangedThis event is triggered after there are changes to Terrain height data.
textureChangedThis event is triggered after there are changes to Terrain textures.

Delegates

Delegate

Description

TerrainCallbacks.HeightmapChangedCallbackUse this delegate type with TerrainCallbacks.heightmapChanged to monitor all changes to the Terrain heightmap.
TerrainCallbacks.TextureChangedCallbackUse this delegate type with TerrainCallbacks.textureChanged to monitor all the changes to Terrain textures.