WeatherLook beta
Interface of @v12-engine/client
export interface WeatherLookWeather that falls, as particles about the camera (GameView.world.weather): how many a second at its most, how fast, how long each lasts, how big, its colour, and whether each is a streak along the way it falls (rain) or drifts (snow). The rest are what the map's weather has when it says nothing of them (MapWeather)
Members
color
color: readonly [number, number, number, number];RGBA, 0 to 1 each
direction
direction?: WeatherDirection;Which way it falls: with the wind when left out
lifetime
lifetime: number;How long each lasts, in seconds
rate
rate: number;Particles a second at its most, over the whole box around the camera
settle
settle?: number;How much it tints the ground its colour as it falls, 0 to 1: none when left out
size
size: readonly [number, number];The smallest and the largest size of a particle, in cells; each gets one in between
sound
sound?: string;A sound that loops while it falls, by name, and how loud at its most
speed
speed: number;How fast each falls, in cells a second
splashes
splashes?: number;Splashes where it meets the ground, 0 to 1: none when left out
streaks
streaks?: boolean;Whether each is a streak stretched along the way it falls (rain) instead of a drifting flake (snow)
swing
swing?: number;How much each swings side to side as it falls, 0 to 1: none when left out
volume
volume?: number;How loud the sound is at its most, 0 to 1