threejs-worldgen
    Preparing search index...

    Variable ROAD_VERTEXConst

    ROAD_VERTEX: { normal: 3; position: 3; road: 4; uv: 2 } = ...

    Vertex attributes of road geometry. road = (half carriageway width, class, surface, part).

    Type Declaration

    • Readonlynormal: 3

      Normal.

    • Readonlyposition: 3

      Position relative to the settlement centre.

    • Readonlyroad: 4

      Half carriageway width, class 0..2, surface 0..3, part.

    • Readonlyuv: 2

      Metres across from the centreline (or up a vertical face), metres along the road.