文档

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.
阅读时间1 分钟最后更新于 1 天前

Definition

public void SyncTexture(string textureName)

Parameters

textureName

The name of the Terrain texture to synchronize.