Download
(1Kb)
Download
Updated: 04-11-16 08:22 AM
Compatibility:
Minor patch (6.2.4)
Updated:04-11-16 08:22 AM
Created:04-11-16 08:22 AM
Downloads:1,150
Favorites:1
MD5:

AtlasScanner

Version: 1.0
by: MunkDev [More]

AtlasScanner by MunkDev
This is a simple addon that scans the interface for textures with atlas info and dumps the information into a saved variable.
The more official addons that are loaded simultaneously, the more entries the scanner will generate.
The scanner will always append new entries to the old table, but refresh existing entries.
Existing entries that are not loaded in the current game session will remain untouched.

Usage:
/scanatlas [verbose]
/atlasscanner [verbose]
Data format:
["atlasName"] = {"fileName", width, height, texCoordLeft, texCoordRight, texCoordTop, texCoordBottom, tilesHoriz, tilesVert}
How to use the texture atlas:
fileName, width, height, left, right, top, bottom, tilesHoriz, tilesVert = GetAtlasInfo("name")
someTexture:SetAtlas("_Garr_InfoBox-Top")
atlas = someTexture:GetAtlas()

Data can be found in:
[WoW]\WTF\Account\[ACCOUNT]\SavedVariables\AtlasScanner.lua
Pastebin: build 21414 complete atlas

Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: