threejs-worldgen
    Preparing search index...

    Interface FlattenPath

    Flattens strips along polylines (e.g. roads), with a height per vertex.

    interface FlattenPath {
        falloff: number;
        points: [number, number, number, number][];
        type: "path";
        width: number;
    }
    Index
    falloff: number

    Blend distance beyond width, metres.

    points: [number, number, number, number][]

    Polyline points on the base surface with target height: [x, y, z, height].

    type: "path"

    Modifier type.

    width: number

    Flat half-width, metres.