ParticleSystem:setColor( r1, g1, b1, a1, r2, g2, b2, a2 )
Sets the color of the image (color modulation needs to be activated for it to have any effect).
Synopsis
ParticleSystem:setColor( r1, g1, b1, a1, r2, g2, b2, a2 )
Parameters
r1 |
number |
Start color, red component (0-255). |
g1 |
number |
Start color, green component (0-255). |
b1 |
number |
Start color, blue component (0-255). |
a1 |
number |
Start color, alpha component (0-255). |
r2 = r1 |
number |
End color, red component (0-255). |
g2 = g1 |
number |
End color, green component (0-255). |
b2 = b1 |
number |
End color, blue component (0-255). |
a2 = a1 |
number |
End color, alpha component (0-255). |