Documentation

Unity Engine

Download Unity

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 2 months ago

Definition

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

Parameters

textureName

The name of the Terrain texture to synchronize.