WoW:API LayeredRegion SetVertexColor: Difference between revisions

m
no 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:
  getglobal("myModBackground"):SetVertexColor(0.5,1,0.5);
: <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).


Anonymous user