Texture:SetColorTexture()

From Wowpedia
Revision as of 04:07, 25 July 2016 by Burstroc (talk | contribs) (Created page with "{{widgetmethod}} Changes the color of a texture. texture:SetColorTexture(r, g, b[, a]); ==Arguments== :; r : Number (0.0 to 1.0) - Red component. :; g : Number (0.0 to 1.0)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Changes the color of a texture.

texture:SetColorTexture(r, g, b[, a]);

Arguments

Number (0.0 to 1.0) - Red component.
Number (0.0 to 1.0) - Green component.
b
Number (0.0 to 1.0) - Blue component.
Number (0.0 to 1.0) - Alpha component (1.0 is opaque, 0.0 is transparent). The default value is 1.0.

See also