文档

Unity Engine

Unity Engine

compressionQuality

The quality of the texture after Crunch compresses it. The range is 0 through 100. A higher value means a larger, better-quality texture, but a longer compression time because Crunch needs more time to try different texture encodings.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public int compressionQuality { get; set; }

Remarks

This will only affect the default platform setting. Additional Resources: TextureImporterPlatformSettings, TextureCompressionQuality, TextureImporter.SetPlatformTextureSettings.