Open Rails

TrackNode Constructor

[This is preliminary documentation and subject to change.]

Default constructor used during file parsing.

TrackNode(
   STFReader stf,
   int idx,
   int numberOfTrackNodes
);

Parameters

stf
The STFreader containing the file stream
idx
The index of this node in the list of TrackNodes
numberOfTrackNodes
The number of Tracknodes that we should have, to make sure we do not overstep bounds

See Also

TrackNode Class | Orts.Formats.Msts Namespace | TrackNode Constructor Overload List