Property | Type | Description | |
---|---|---|---|
Origin | int |
Method | Description | |
---|---|---|
Apply ( |
||
Ets2Item ( ulong uid, |
||
GenerateRoadCurve ( int steps, bool leftlane, int lane ) : IEnumerable |
Generate road curves for a specific lane. The curve is generated with [steps] nodes and positioned left or right from the road's middle point. Additionally, each extra lane is shifted 4.5 game units outward.
|
|
GenerateRoadPolygon ( int steps ) : void | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
AddNodeUID ( ulong nodeUid ) : bool |
public Ets2Item ( ulong uid, |
||
uid | ulong | |
sector | ||
offset | int | |
return | System |
public GenerateRoadCurve ( int steps, bool leftlane, int lane ) : IEnumerable |
||
steps | int | |
leftlane | bool | |
lane | int | |
return | IEnumerable |
public GenerateRoadPolygon ( int steps ) : void | ||
steps | int | |
return | void |