Texture:SetColorTexture()

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

Community content is available under CC BY-SA 3.0 unless otherwise noted.