threejs-worldgen
    Preparing search index...

    Interface Strike

    One lightning strike (see Weather.strikes).

    interface Strike {
        intensity: number;
        seed: number;
        time: number;
        x: number;
        z: number;
    }
    Index
    intensity: number

    Strength 0…1 of the storm that made it.

    seed: number

    A stable 32-bit seed for this strike (bolt shape, ignition rolls, …).

    time: number

    Time of the strike, seconds.

    x: number

    Ground position x (frame coordinates), metres.

    z: number

    Ground position z (frame coordinates), metres.