threejs-worldgen
    Preparing search index...

    Interface FleetSettings

    All fleet settings. Plain JSON.

    interface FleetSettings {
        castShadow: boolean;
        crumple: number;
        exhaust: boolean;
        exposure: ExposureSettings;
        flames: boolean;
        groups: FleetGroup[];
        leftHand: boolean;
        lights: number;
        receiveShadow: boolean;
        rocket: RocketFlight;
        seed: string | number;
        states: MaterialStates & { heat: number };
        tilt: number;
        timeScale: number;
        wakes: boolean;
        waves: WaveOptions | null;
    }
    Index
    castShadow: boolean

    Cast shadows.

    crumple: number

    How much damage crumples bodies (metres of dent at full damage).

    exhaust: boolean

    Draw rocket plumes and afterburners.

    Weather exposure.

    flames: boolean

    Draw flames on burning vehicles.

    groups: FleetGroup[]

    Vehicle groups. Changing them rebuilds the fleet.

    leftHand: boolean

    Drive on the left on road networks.

    lights: number

    Headlights and lit windows, 0…1 (drive it from the sky's night).

    receiveShadow: boolean

    Receive shadows.

    rocket: RocketFlight

    Rocket flight profile.

    seed: string | number

    Seed: same seed and groups, same fleet.

    states: MaterialStates & { heat: number }

    Applied to every vehicle whenever set (wetness, snow, burn, damage, and heat = on fire).

    tilt: number

    Body roll and sink from damage, 0…1.

    timeScale: number

    Simulation speed multiplier.

    wakes: boolean

    Draw wakes behind boats.

    waves: WaveOptions | null

    Waves boats bob on (match your threejs-water Ocean's waves), or null for flat water.