Open Rails

MSTSItems.AddSiding Method

[This is preliminary documentation and subject to change.]

Used to add a new siding (start or end) to the list of siding managed by the editor.

public SideItem AddSiding(
   TrackSegment trSegment,
   TrItem info,
   AETraveller travel
);

Parameters

trSegment
The TrackSegment associated to the siding as TrackSegment instance.
info
travel

Return Value

Return a new SideItem instance

See Also

MSTSItems Class | Orts.Formats.OR Namespace