threejs-worldgen
    Preparing search index...

    Interface WeatherSample

    The weather at one place and time. Reuse one object across calls (pass it as out).

    interface WeatherSample {
        cloudCover: number;
        fog: number;
        gust: number;
        humidity: number;
        lightning: number;
        precipitation: number;
        snowFraction: number;
        storm: number;
        temperature: number;
        type: PrecipitationType;
        windSpeed: number;
        windX: number;
        windZ: number;
    }
    Index
    cloudCover: number

    Cloud cover 0 (clear) … 1 (overcast).

    fog: number

    Fog 0 (clear) … 1 (thick).

    gust: number

    The gust part of windSpeed, m/s.

    humidity: number

    Relative humidity 0…1.

    lightning: number

    Expected lightning strikes per minute per km².

    precipitation: number

    Precipitation rate, mm/h water equivalent.

    snowFraction: number

    Share of the precipitation that is snow, 0 (rain) … 1 (snow).

    storm: number

    Thunderstorm intensity 0…1 (convective cells).

    temperature: number

    Air temperature at the ground, °C (world climate at this altitude, storms cool it).

    What is falling.

    windSpeed: number

    Wind speed, m/s (gusts included).

    windX: number

    Wind velocity towards +x, m/s (gusts included).

    windZ: number

    Wind velocity towards +z, m/s (gusts included).