Class RoadLink
A connection between a road and a junction.
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
Fields
Junction
Gets the junction this link connects.
Declaration
Field Value
Pool
Declaration
public static readonly ObjectPool<RoadLink> Pool
Field Value
Road
Gets the road this link connects.
Declaration
Field Value
Width
Gets the road width at this link.
Declaration
Field Value
Properties
ExitDirection
Gets the direction in which the road leaves the junction.
Declaration
public Vector2 ExitDirection { get; }
Property Value
IsAtStart
Gets a value indicating whether the road link is at the start of the road. If not, it's at the end.
Declaration
public bool IsAtStart { get; }
Property Value
Methods
CreatePooled(Road, Junction)
Declaration
public static RoadLink CreatePooled(Road road, Junction junction)
Parameters
Returns
Initialize(Road, Junction)
Declaration
public void Initialize(Road road, Junction junction)
Parameters