AtlasTexture
Category: Core
Packs multiple small textures in a single, bigger one. Helps to optimize video memory costs and render calls.
and a region that defines the actual area of the AtlasTexture.
- atlas
The texture that contains the atlas. Can be any Texture subtype.
- margin
The margin around the region. The Rect2’s ‘size’ parameter (‘w’ and ‘h’ in the editor) resizes the texture so it fits within the margin.
- region
The AtlasTexture’s used region.