Open Rails

MSTSItems.GetTrackSegment Method

[This is preliminary documentation and subject to change.]

Search through 'segments', 'switches' or 'buffer' for the item in relation with the given TrackNode and sectionIdx

Overload List

Search through 'segments', 'switches' or 'buffer' for the item in relation with the given TrackNode and sectionIdx

public GlobalItem GetTrackSegment(TrackNode,int)

Search through 'segments' for the item in relation with the given TrackNodeIdx and sectionIdx This methof return only a TrackSegment

public TrackSegment GetTrackSegment(int,int)

Search through 'segments', 'switches' or 'buffer' for the item in relation with the TrackNode index

public GlobalItem GetTrackSegment(uint)

See Also

MSTSItems Class | Orts.Formats.OR Namespace