setSunColor
Client
Changes the colour of the sun, over the time cycle, until resetSunColor restores it.
bool setSunColor(color color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | color | Three numbers r, g, b (integers from 0 to 255) or a tocolor value. Alpha is ignored. |
Returns
true once the colour is set.
Example
setSunColor(255, 120, 40)