threejs-worldgen
    Preparing search index...

    Interface PrecipitationOptions

    Every precipitation setting. Plain JSON.

    interface PrecipitationOptions {
        heavyRate: number;
        height: number;
        maxRain: number;
        maxSnow: number;
        override: PrecipitationOverride | null;
        radius: number;
        rain: RainLook;
        seed: string | number;
        snow: SnowLook;
        splashes: SplashLook;
    }
    Index
    heavyRate: number

    Precipitation rate (mm/h) that shows every particle.

    height: number

    Height of the particle box, metres.

    maxRain: number

    Raindrops at full rain.

    maxSnow: number

    Snowflakes at full snow.

    override: PrecipitationOverride | null

    Fixed conditions instead of the weather (demos, cutscenes): rate in mm/h, snow share 0…1 and wind [x, z] m/s. null reads the weather at the camera.

    radius: number

    Half-width of the particle box around the camera, metres.

    rain: RainLook

    Rain look.

    seed: string | number

    Seed for particle placement.

    snow: SnowLook

    Snow look.

    splashes: SplashLook

    Splash look.