C# Class UnityEditor.Sprites.AtlasSettings

Describes the final atlas texture.

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
allowsAlphaSplitting bool
anisoLevel int
colorSpace ColorSpace
compressionQuality int
enableRotation bool
filterMode FilterMode
format TextureFormat
generateMipMaps bool
maxHeight int
maxWidth int
paddingPower uint

Property Details

allowsAlphaSplitting public_oe property

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
return bool

anisoLevel public_oe property

Anisotropic filtering level of the atlas texture.

public int anisoLevel
return int

colorSpace public_oe property

Desired color space of the atlas.

public ColorSpace colorSpace
return ColorSpace

compressionQuality public_oe property

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

public int compressionQuality
return int

enableRotation public_oe property

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

public bool enableRotation
return bool

filterMode public_oe property

Filtering mode of the atlas texture.

public FilterMode filterMode
return FilterMode

format public_oe property

The format of the atlas texture.

public TextureFormat format
return TextureFormat

generateMipMaps public_oe property

Should sprite atlas textures generate mip maps?

public bool generateMipMaps
return bool

maxHeight public_oe property

Maximum height of the atlas texture.

public int maxHeight
return int

maxWidth public_oe property

Maximum width of the atlas texture.

public int maxWidth
return int

paddingPower public_oe property

The amount of extra padding between packed sprites.

public uint paddingPower
return uint