API TextureBase SetColorTexture

Sets the texture to a solid color.
 TextureBase:SetColorTexture(colorR, colorG, colorB [, a])
==Arguments==
:;colorR: - Red component.
:;colorG: - Green component.
:;colorB: - Blue component.
:;a: - Alpha component (1.0 is opaque, 0.0 is transparent).
==Example==
Shows a half transparent yellow square.
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetSize(64, 64)
tex:SetColorTexture(1, 1, 0, .5)
API_TextureBase_SetColorTexture_01.png|link=
==Patch changes==
==See also==
*