WoWInterface (
-   Graphics Help (
-   -   BLP image atlas question (

Mitur 10-15-20 03:20 AM

BLP image atlas question
Hey folks!
Can't really tell if my question is more graphics or code related, sorry :D
I've seen many addons use BLP files that contain multiple images (e. g. arrows pointing in different directions).
But I can't find any examples of best practice on how to use a part of such atlas in Lua code.
Would highly appreciate any guidance on this matter, cheers!

Seerah 10-15-20 10:10 AM

You assign that .blp to a texture, then use :SetTexCoords()

Mitur 10-15-20 02:36 PM

@Seerah thank you very much! <3

All times are GMT -6. The time now is 10:50 AM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI