Documentation

Unity Engine


User Manual

Script Reference

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 4 days ago

Definition

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

Parameters

textureName

The name of the Terrain texture to synchronize.