threejs-worldgen
    Preparing search index...

    Interface VehicleKind

    A vehicle type: what it is, its parameters and its generator.

    interface VehicleKind {
        build: (params: VehicleParams, rand: Rand) => VehicleModel;
        domain: VehicleDomain;
        name: string;
        params: Record<string, ParamDef>;
        tags: string[];
    }
    Index
    build: (params: VehicleParams, rand: Rand) => VehicleModel

    Builds one model from resolved parameters and a seeded random source.

    Where it moves.

    name: string

    Display name.

    params: Record<string, ParamDef>

    Parameters with defaults and ranges.

    tags: string[]

    Search tags.