ドキュメント

Unity Engine

Unity Engine

TerrainCallbacks

This static class provides events that Unity triggers when Terrain data changes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.