Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextureImporterNPOTScale

Scaling mode for non power of two textures in TextureImporter.
Read time 1 minuteLast updated 8 days ago

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.