voxolith

Atmosphere

A description of the sky and the ground's weather state, all in 0..1 unless stated. Plain data: blend it, store it, send it. Presets are in ATMOSPHERES.

Defined in: engine/src/atmosphere/weather.ts:27

Properties

PropertyTypeDescriptionDefined in
cloudnumber0 clear .. 1 overcast.engine/src/atmosphere/weather.ts:29
covernumber0 .. 1: how much snow has settled. Ground state, like wetness.engine/src/atmosphere/weather.ts:39
fognumber0 .. 1: mist on top of whatever the precipitation brings.engine/src/atmosphere/weather.ts:35
precipitationobjectKind and 0..1 intensity; intensity is ignored for "none".engine/src/atmosphere/weather.ts:31
precipitation.intensitynumber-engine/src/atmosphere/weather.ts:31
precipitation.kindPrecipitationKind-engine/src/atmosphere/weather.ts:31
wetnessnumber0 .. 1: how wet the ground is. Ground state, accumulated by the game (see approach).engine/src/atmosphere/weather.ts:37
windobjectDirection the wind blows towards, degrees (0 = +Z, 90 = +X); strength 0..1.engine/src/atmosphere/weather.ts:33
wind.directionnumber-engine/src/atmosphere/weather.ts:33
wind.strengthnumber-engine/src/atmosphere/weather.ts:33

On this page