Table of Contents

Enum WeatherChannel

Namespace
FishMMO.Shared.Weather
Assembly
FishMMO.Shared.dll

Everything a weather layer can say about the world. A frame is one value per channel, each 0..1 unless noted, and blending layers means combining these channels.

public enum WeatherChannel : byte

Fields

AshCoverRate = 20
AshWeight = 8
Aurora = 17
CloudBase = 2

0 low … 1 high cloud base.

CloudCover = 0
CloudDensity = 1
DropSize = 4

0 fine … 1 large drops/flakes.

FogDensity = 13

How much fog, 0..1: the light its drops take out of the air, by AirPhysics.FogExtinction.

FogHeight = 14

How deep the fog lies: its top above the ground, 0..1 of FogLayer.ChannelMetres.

HailWeight = 7
HumidityOffset = 23

−1..1, added to the scene's climate humidity.

LightningRate = 16

0 none … 1 = a strike about every eight seconds, which is a severe storm. See SkySchedule.StrikesPerSecondAtFullRate, which is where the number lives; this said "every couple of seconds" until that was deliberately calmed down, and was then wrong.

Precipitation = 3

How much is falling.

RainWeight = 5
SandCoverRate = 21
SandWeight = 9
SnowCoverRate = 19
SnowWeight = 6
TemperatureOffset = 22

−1..1, added to the scene's climate temperature.

VolumetricFog = 15

How far the fog has lifted off the ground, 0 lying on it … 1 a sheet of stratus (FogLayer.Lift). The name is older than the physics: the whole fog is drawn as a volume, and this is where its base is.

WetnessTarget = 18

How wet exposed surfaces get. Derived from rain unless a layer says more.

WindGust = 11
WindHeading = 12

Degrees the wind blows toward, 0..360. Blended as a vector with WindSpeed.

WindSpeed = 10

0 calm … 1 = 30 m/s.