Reply
Thread Tools Display Modes
Unread 03-30-14, 04:28 PM   #1
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 67
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.
__________________
Digital_Utopia is offline   Reply With Quote
Unread 03-30-14, 05:19 PM   #2
Lombra
A Cobalt Mageweaver
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 216
Perhaps using a scroll frame? Set the texture as the scroll child or so.
__________________
Grab your sword and fight the Horde!
Lombra is offline   Reply With Quote
Unread 03-30-14, 08:37 PM   #3
Digital_Utopia
A Theradrim Guardian
 
Digital_Utopia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 67
Originally Posted by Lombra View Post
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!
__________________
Digital_Utopia is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » General Authoring Discussion » Texture Masking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off