public void setColor ( float r , float g , float b , float a ) { if ( color == Color . white ) { color = new Color ( r , g , b , a ) ; } else { color . r = r ; color . g = g ; color . b = b ; color . a = a ; } }
Set the color of the particle