threejs-worldgen
    Preparing search index...

    Interface RibbonOptions

    Shape of a road ribbon. Plain JSON.

    interface RibbonOptions {
        curbHeight: number;
        offset: number;
        sidewalk: number;
        smoothing: number;
        step: number;
        verge: number;
        width: number;
    }

    Hierarchy (View Summary)

    Index
    curbHeight: number

    Curb height, metres.

    offset: number

    Surface height above the ground, metres.

    sidewalk: number

    Sidewalk width per side, metres (0 = rural: a sloped verge instead of curbs).

    smoothing: number

    Smoothing passes over the centreline height (removes bumps of the ground).

    step: number

    Resampling step along the path, metres.

    verge: number

    Width of the verge (rural) or sidewalk skirt sloping down to the ground, metres.

    width: number

    Carriageway width, metres.