文档

Unity Engine

Download Unity

Unity Engine

HolesTextureName

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
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.