Optionalcoords(metres across from the centreline, metres along). Default: uv().
OptionalcurbCurb height, metres.
OptionalhalfHalf carriageway width node. Default: width / 2. threejs-city: attribute('road', 'vec4').x.
OptionalheightGround height (x, z) => y to drape on, e.g. world.height.
OptionallookWeathering look.
OptionaloffsetSurface height above the ground, metres.
OptionalpartPart code node (ROAD_PART). Default: the roadPart vertex attribute. threejs-city: attribute('road', 'vec4').w.
OptionalpointsThe centreline (frame-local [x, z] or [x, y, z]).
OptionalreceiveReceive shadows.
OptionalrefReceives the underlying RoadPath.
OptionalsidewalkSidewalk width per side, metres (0 = rural: a sloped verge instead of curbs).
OptionalsmoothingSmoothing passes over the centreline height (removes bumps of the ground).
OptionalstatesPer-pixel weather, e.g. a threejs-weathering StateField.node(). Combined with options.states by max.
OptionalstepResampling step along the path, metres.
OptionalsurfaceSurface look (its width follows the ribbon's).
OptionalsurfaceSurface index node (ROAD_SURFACE_KINDS). Default: options.surface. threejs-city: attribute('road', 'vec4').z.
OptionaltimeSeconds for animated weather.
OptionalvergeWidth of the verge (rural) or sidewalk skirt sloping down to the ground, metres.
OptionalwidthCarriageway width, metres.
Props of
<RoadPath>: every RoadPathOptions setting plus live inputs.