Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DynamicAtlasSettings

Contains the settings used by the dynamic atlas system.
Read time 1 minuteLast updated 4 days ago

Definition

public class DynamicAtlasSettings

Properties

Property

Description

activeFiltersDefines the filters that the dynamic atlas system uses to exclude textures from the texture atlas.
customFilterWhen a delegate is assigned, the dynamic atlas system calls it to determine whether or not a texture can be added to the atlas.
maxAtlasSizeSpecifies the maximum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than or equal to DynamicAtlasSettings.minAtlasSize.
maxSubTextureSizeSpecifies the maximum size (width/height) of a texture that can be added to the atlas. When DynamicAtlasSettings.activeFilters contains DynamicAtlasFilters.Size, textures larger than this size are excluded from the atlas. Otherwise, this value is not used.
minAtlasSizeSpecifies the minimum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than 0 and less than or equal to DynamicAtlasSettings.maxAtlasSize.

Static Properties

Property

Description

defaultFiltersDefault filters for a dynamic atlas.
defaultsSpecifies default values used to initialize the structure.