C# Класс UnityEditor.Sprites.AtlasSettings

Describes the final atlas texture.

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
allowsAlphaSplitting bool
anisoLevel int
colorSpace ColorSpace
compressionQuality int
enableRotation bool
filterMode FilterMode
format TextureFormat
generateMipMaps bool
maxHeight int
maxWidth int
paddingPower uint

Описание свойств

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).

public bool allowsAlphaSplitting
Результат bool

anisoLevel публичное свойство

Anisotropic filtering level of the atlas texture.

public int anisoLevel
Результат int

colorSpace публичное свойство

Desired color space of the atlas.

public ColorSpace colorSpace
Результат ColorSpace

compressionQuality публичное свойство

Quality of atlas texture compression in the range [0..100].

public int compressionQuality
Результат int

enableRotation публичное свойство

Allows Sprite Packer to rotate/flip the Sprite to ensure optimal Packing.

public bool enableRotation
Результат bool

filterMode публичное свойство

Filtering mode of the atlas texture.

public FilterMode filterMode
Результат FilterMode

format публичное свойство

The format of the atlas texture.

public TextureFormat format
Результат TextureFormat

generateMipMaps публичное свойство

Should sprite atlas textures generate mip maps?

public bool generateMipMaps
Результат bool

maxHeight публичное свойство

Maximum height of the atlas texture.

public int maxHeight
Результат int

maxWidth публичное свойство

Maximum width of the atlas texture.

public int maxWidth
Результат int

paddingPower публичное свойство

The amount of extra padding between packed sprites.

public uint paddingPower
Результат uint