Skip to content

presetWeather beta ​

Function of @v12-engine/client

ts
export declare function presetWeather(kinds?: readonly string[]): Record<string, WeatherLook>;

Ready-made weather, for a game to take into its view (GameView.world.weather): rain and snow, or those named, with the game's own over them ({ ...presetWeather(), ash }). Nothing falls of a kind the view does not have: the client draws no weather of its own (C16)