![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns atlas info.
info = C_Texture.GetAtlasInfo(atlas)
Arguments[]
- atlas
- string - Name of the atlas
Returns[]
MainPet-PetFamilyFrame, part of FileID 878877
- info
- AtlasInfo
| Field | Type | Description |
|---|---|---|
| width | number | |
| height | number | |
| leftTexCoord | number | |
| rightTexCoord | number | |
| topTexCoord | number | |
| bottomTexCoord | number | |
| tilesHorizontally | boolean | |
| tilesVertically | boolean | |
| file | number? | FileID of parent texture |
| filename | string? |
Patch changes[]
Patch 8.1.0 (2018-12-11): Changed to C_Texture.GetAtlasInfo() and returns structured data.[1]
Patch 6.0.2 (2014-10-14): Added as GetAtlasInfo().
See also[]
- Texture:GetAtlas()
- Texture:SetAtlas()
- UI CreateAtlasMarkup - Returns an inline fontstring texture from an atlas
- Helix/AtlasInfo.lua - Lua table containing atlas info
- UiTextureAtlasMember.db2 - DBC for atlases
- Texture Atlas Viewer - Addon for browsing atlases in-game
