Skip to content

five-on-it / packages/sim/src/weather / SkyNow

Interface: SkyNow ​

Defined in: packages/sim/src/weather.ts:17

The weather as the simulation reads it this tick, each 0..1 in steps of 1/64.

Properties ​

fog ​

fog: number

Defined in: packages/sim/src/weather.ts:25

How thick the fog is.


rain ​

rain: number

Defined in: packages/sim/src/weather.ts:23

How hard it rains.


snowCover ​

snowCover: number

Defined in: packages/sim/src/weather.ts:21

How much snow lies.


wetness ​

wetness: number

Defined in: packages/sim/src/weather.ts:19

How wet the roads are.