文档

Unity Engine

Unity Engine

TextureImporterNPOTScale

Scaling mode for non power of two textures in TextureImporter.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum TextureImporterNPOTScale

Remarks

Additional Resources: TextureImporter.npotScale.

Fields

Value

Description

NoneKeep non power of two textures as is.
ToLargerScale to larger power of two.
ToNearestScale to nearest power of two.
ToSmallerScale to smaller power of two.