WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Texture Masking (https://www.wowinterface.com/forums/showthread.php?t=49159)

Digital_Utopia 03-30-14 04:28 PM

Texture Masking
 
My goal is to only draw a texture within the confines of its (wider) frame. The texture will be moving within this frame quite frequently; but I don't want the edges appearing outside of the boundaries. I realize I can achieve this affect with a combination of SetTexCoords and SetWidth/SetHeight; but, considering how cumbersome this is, I was hoping there'd be an easier way to achieve this.

Any help would be appreciated.

Lombra 03-30-14 05:19 PM

Perhaps using a scroll frame? Set the texture as the scroll child or so.

Digital_Utopia 03-30-14 08:37 PM

Quote:

Originally Posted by Lombra (Post 291836)
Perhaps using a scroll frame? Set the texture as the scroll child or so.

Why didn't I think of that? lol



Thanks a lot!


All times are GMT -6. The time now is 06:08 AM.

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