threejs-worldgen
    Preparing search index...

    Interface BiomeDef

    One biome. All fields are plain data.

    interface BiomeDef {
        color: string;
        grass: BiomeGrass;
        ground: Partial<Record<GroundMaterial, number>>;
        groundTint: string;
        id: string;
        moisture: number;
        name: string;
        placement: BiomePlacement;
        scatter: ScatterEntry[];
        shape: TerrainShape;
        shapeAmount: number;
        temperature: number;
    }
    Index
    color: string

    Colour on the biome debug map (#rrggbb).

    grass: BiomeGrass

    Grass grown here.

    ground: Partial<Record<GroundMaterial, number>>

    Ground material mix (relative weights; normalised).

    groundTint: string

    Tint multiplied into this biome's ground colour (#rrggbb).

    id: string

    Unique key, e.g. 'savanna'.

    moisture: number

    Moisture 0 (arid) … 1 (saturated) at the biome's centre in climate space (used by climate placement).

    name: string

    Display name.

    placement: BiomePlacement

    How the biome earns weight; see BiomePlacement.

    scatter: ScatterEntry[]

    Trees, plants and rocks scattered here.

    Extra terrain shaping.

    shapeAmount: number

    Strength of the shaping, metres.

    temperature: number

    Mean annual temperature (°C) at the biome's centre in climate space (used by climate placement).