threejs-worldgen
    Preparing search index...

    Function RoadPath

    • A road, sidewalk or path ribbon following a polyline over the terrain.

      Parameters

      Returns Element

      <RoadPath points={[[0, 0], [60, 20], [140, 10]]} height={world.height} width={4} surface={{ surface: 'gravel', states: { wetness } }} />