Skip to content

five-on-it / apps/client/src/renderer/weather-view / WeatherView

Interface: WeatherView ​

Defined in: apps/client/src/renderer/weather-view.ts:92

The weather view of a scene.

Properties ​

stats ​

readonly stats: WeatherStats

Defined in: apps/client/src/renderer/weather-view.ts:106

What it drew on the last frame.

Methods ​

update() ​

update(seconds, minutes, now, target, nightBrightness): SkyLight

Defined in: apps/client/src/renderer/weather-view.ts:98

Draws the weather now at minutes into the day round target (the camera's), seconds into the page, the night no darker than nightBrightness; returns the light it set.

Parameters ​

seconds ​

number

minutes ​

number

now ​

WeatherNow

target ​
x ​

number

y ​

number

z ​

number

nightBrightness ​

number

Returns ​

SkyLight