threejs-worldgen
    Preparing search index...

    Interface StormDamageOptions

    Storm damage settings. Plain JSON.

    interface StormDamageOptions {
        fieldBlock: number;
        full: number;
        interval: number;
        maxTicks: number;
        rate: number;
        seed: string | number;
        susceptibility: number;
        threshold: number;
    }
    Index
    fieldBlock: number

    Texels per side of the blocks the field is evaluated in (weather is coarse; this keeps ticks cheap).

    full: number

    Wind speed of full damage rate, m/s (hurricane ≈ 45).

    interval: number

    Seconds between damage ticks.

    maxTicks: number

    Most ticks processed per update (a long jump forward skips the rest).

    rate: number

    Damage per hour at full wind.

    seed: string | number

    Seed for per-instance susceptibility.

    susceptibility: number

    0…1: spread of per-instance susceptibility (some trees snap, others don't).

    threshold: number

    Wind speed (gusts included) where damage starts, m/s (gale ≈ 20).