Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEditor.Sprites
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.
CloseDescribes 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.
allowsAlphaSplitting | Marks this atlas so that it contains textures that have been flagged for Alpha splitting when needed (for example ETC1 compression for textures with transparency). |
anisoLevel | Anisotropic filtering level of the atlas texture. |
colorSpace | Desired color space of the atlas. |
compressionQuality | Quality of atlas texture compression in the range [0..100]. |
enableRotation | Allows Sprite Packer to rotate/flip the Sprite to ensure optimal Packing. |
filterMode | Filtering mode of the atlas texture. |
format | The format of the atlas texture. |
generateMipMaps | Should sprite atlas textures generate mip maps? |
maxHeight | Maximum height of the atlas texture. |
maxWidth | Maximum width of the atlas texture. |
paddingPower | The amount of extra padding between packed sprites. |