Texture:SetColorTexture()
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) - Green component.
- b
- Number (0.0 to 1.0) - Blue component.
- a
- Number (0.0 to 1.0) - Alpha component (1.0 is opaque, 0.0 is transparent). The default value is 1.0.