setSkyColor
Client
Paints the sky with a gradient from the top to the horizon, over the time cycle, until resetSkyColor restores it.
bool setSkyColor(color top [, color bottom = top])
Parameters
| Name | Type | Description |
|---|---|---|
| top | color | The colour at the top of the sky: three numbers r, g, b (integers from 0 to 255) or a tocolor value. |
| bottom | color | The colour near the horizon, in the same form.default top |
Returns
true once the colours are set.
Example
setSkyColor(20, 30, 80, 200, 120, 60)