setWeather
Set the weather in the world.
Syntax
engine.world.setWeather(weather);
Parameters
Name | Type | Description |
---|---|---|
weather | WeatherType | The weather to set. |
Example
// Set the weather to cloudy
engine.world.setWeather('cloudy');
Available on: Client