Open Rails

MSTSItems.AddSegment Method

[This is preliminary documentation and subject to change.]

Used to add a new segment to the list of segments managed by the editor.

public void AddSegment(
   TrackSegment line
);

Parameters

line
A TrackSegment instance to be added.

See Also

MSTSItems Class | Orts.Formats.OR Namespace