文档

Unity Engine

Unity Engine

HolesTextureName

The name for the Terrain holes Texture.
阅读时间1 分钟最后更新于 1 天前

Definition

public static string HolesTextureName { get; }

Remarks

Use this name when you call TerrainData.CopyActiveRenderTextureToTexture, TerrainData.DirtyTextureRegion, TerrainData.SyncTexture, or onTextureChanged to identify the Terrain holes Texture.