API Texture SetColorTexture

From Wowpedia
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