threejs-worldgen
    Preparing search index...

    Interface RibbonData

    Ribbon geometry as typed arrays, plus the roadPart code per vertex.

    interface RibbonData {
        index: Uint32Array;
        length: number;
        normal: Float32Array;
        part: Float32Array;
        position: Float32Array;
        uv: Float32Array;
    }

    Hierarchy (View Summary)

    Index
    index: Uint32Array

    Triangle indices (counter-clockwise from outside).

    length: number

    Path length, metres.

    normal: Float32Array

    Unit normal per vertex.

    part: Float32Array

    ROAD_PART code per vertex.

    position: Float32Array

    xyz per vertex.

    uv: Float32Array

    uv per vertex.