Documentation

Unity Engine


Unity Engine


SyncTexture(string)

Performs synchronization queued by previous calls to TerrainData.CopyActiveRenderTextureToTexture and TerrainData.DirtyTextureRegion, which makes CPU data of the Terrain textures up to date.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public void SyncTexture(string textureName)

Parameters

textureName

The name of the Terrain texture to synchronize.