文档

Unity Engine

Unity Engine

enableHolesTextureCompression

Enable the Terrain holes Texture compression.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public bool enableHolesTextureCompression { get; set; }

Remarks

Set to true to compress the Terrain holes Texture. This property takes effect only at runtime, and is true by default. Terrain holes Textures are never compressed in the Editor. See TerrainData.holesTexture for details.