Widget API: Texture:SetTexture

From AddOn Studio
Revision as of 13:30, 10 June 2006 by WoWWiki>Mikk ({{widgetmethod}})
Jump to navigation Jump to search

Widget API ← Texture < SetTexture

Can be used to either set the texture file, or to change the RGB fill of a texture. Pass it one string to change the texture file, or pass it three numbers to set the RGB. The only place I've seen this used to change the color is within the inline script of a ColorSelect object.

If no Alpha value is specified for the color, it is defaulted to be "1.0".