Version: 2020.3
LanguageEnglish
  • C#

AtlasSettings

struct in UnityEditor.Sprites

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Describes the final atlas texture.

Note that if not all Sprites can be fit to an area defined by maxWidth and maxHeight, multiple atlas pages will be generated.

Properties

allowsAlphaSplittingMarks this atlas so that it contains textures that have been flagged for Alpha splitting when needed (for example ETC1 compression for textures with transparency).
anisoLevelAnisotropic filtering level of the atlas texture.
colorSpaceDesired color space of the atlas.
compressionQualityQuality of atlas texture compression in the range [0..100].
enableRotationAllows Sprite Packer to rotate/flip the Sprite to ensure optimal Packing.
filterModeFiltering mode of the atlas texture.
formatThe format of the atlas texture.
generateMipMapsDetemines if sprite atlas textures generate mipmaps.
maxHeightMaximum height of the atlas texture.
maxWidthMaximum width of the atlas texture.
paddingPowerThe amount of extra padding between packed sprites.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961