WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   BLP image atlas question (https://www.wowinterface.com/forums/showthread.php?t=58289)

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 06:51 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI