API ColorMixin SetRGBA

Changes a ColorMixin to a new color. color:SetRGBA(r, g, b [, a]) color:SetRGB(r, g, b)

Arguments

 * r, g, b : - Values between 0 and 1.
 * a : - Value between 0 and 1, or nil to leave undefined (some methods will default to 100%).

Details

 * SetRGB eliminates any previous alpha value.