RoutePoint
public readonly struct RoutePointNamespace MapExpansions
One point on the centre line of a connection’s road surface.
Fields
Section titled “Fields”public readonly PathPoint PointType: PathPoint
public readonly RouteStyle StyleType: RouteStyle
Style of the stretch from this point to the next one.
RoadWidth
Section titled “RoadWidth”public readonly float RoadWidthRoad width at this point; 0 takes ConnectionDefinition.RoadWidth. Changes ease in along the leg.
MedianWidth
Section titled “MedianWidth”public readonly float MedianWidthWidth of the barrier between the two directions at this point, 0 for none. Where it narrows to nothing, the barrier ramps down into the road.
Constructors
Section titled “Constructors”RoutePoint
Section titled “RoutePoint”public RoutePoint( PathPoint point, RouteStyle style, float roadWidth = 0f, float medianWidth = 0f)Types: PathPoint, RouteStyle