Struct Road.ControlPoint
A single control point of a road.
Namespace: Holoride.ElasticSDK.Overpass
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
public struct Road.ControlPoint
Constructors
ControlPoint(GlobalPosition, float, float)
Creates a new ControlPoint.
Declaration
public ControlPoint(GlobalPosition position, float roadWidth, float maxSpeed)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalPosition | position | The position of the ControlPoint. |
| float | roadWidth | The road width at the ControlPoint. |
| float | maxSpeed | The maximum speed at the control point. |
Fields
MaxSpeed
The maximum speed at the ControlPoint.
Declaration
public readonly float MaxSpeed
Field Value
| Type | Description |
|---|---|
| float |
Position
The position of the ControlPoint.
Declaration
public readonly GlobalPosition Position
Field Value
| Type | Description |
|---|---|
| GlobalPosition |
RoadWidth
The road width at the ControlPoint.
Declaration
public readonly float RoadWidth
Field Value
| Type | Description |
|---|---|
| float |