WoW:API LayeredRegion SetVertexColor
Jump to navigation
Jump to search
Usage: texture:SetVertexColor(r, g, b, a) where r, g, b and a are values from 0 to 1. r is red, g is green, b is blue and a is alpha.
Sets the color of the texture. For instance if the texture used is a white bar, using Texture:SetVertexColor(0, 1, 0, 1) will turn it into a green bar. Note that this does NOT set the Color element when there is a file="" attribute set for the texture.