WoW:API LayeredRegion SetVertexColor: Difference between revisions

Added optional alpha value.
({{widgetmethod}})
(Added optional alpha value.)
Line 7: Line 7:
Sets the color of an object.
Sets the color of an object.


  obj:SetVertexColor(red, green, blue);
  obj:SetVertexColor(red, green, blue[, alpha]);


----
----
Line 15: Line 15:
; green : The green color value to set the object to.  The range is 0 to 1.
; green : The green color value to set the object to.  The range is 0 to 1.
; blue : The blue color value to set the object to.  The range is 0 to 1.
; blue : The blue color value to set the object to.  The range is 0 to 1.
; alpha : The alpha value to set the object to.  The range is 0 to 1.


----
----
Anonymous user