WoW:API LayeredRegion SetVertexColor (source)
Revision as of 17:34, 2 November 2010
, 2 November 2010no edit summary
mNo edit summary |
mNo edit summary |
||
| Line 39: | Line 39: | ||
: You have a background layer with a texture (named 'myModBackground') set as a filled color of (decimal RGB triplet) '0.5,0,0.5'. | : You have a background layer with a texture (named 'myModBackground') set as a filled color of (decimal RGB triplet) '0.5,0,0.5'. | ||
: You execute the following in one of your functions: | : You execute the following in one of your functions: | ||
: <code>_G["myModBackground"]:SetVertexColor(0.5,1,0.5);</code> | |||
: The result would be that the color for 'myModBackground' is set to (0.25,0,0.25), not (0.5,1,0.5). | : The result would be that the color for 'myModBackground' is set to (0.25,0,0.25), not (0.5,1,0.5). | ||