C_Texture. GetAtlasInfo
functionimplementedavailable in: camelot
Returns atlas info.
function C_Texture.GetAtlasInfo( atlas: string): AtlasInfo?Parameters
| name | type | description |
|---|---|---|
atlas | string | Name of the atlas |
Returns
info · AtlasInfo?
| field | type |
|---|---|
elementName | string |
width | number |
height | number |
rawSize | Vector2DMixin |
leftTexCoord | number |
rightTexCoord | number |
topTexCoord | number |
bottomTexCoord | number |
tilesHorizontally | boolean |
tilesVertically | boolean |
file | number? |
filename | string? |
sliceData | UITextureSliceData? |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TextureUtils system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.