Open Rails

AETraveller Properties

The properties of the AETraveller class are listed below. For a complete list of AETraveller class members, see the AETraveller Members topic.

Public Instance Properties

Direction
IsEnd Returns whether this traveller is currently on a end of line node.
IsJunction Returns whether this traveller is currently on a junction node.
IsTrack Returns whether this traveller is currently on a (section of) track node (opposed to junction, end of line).
IsTrackCurved Returns whether this traveller is currently on a section of track which is curved.
IsTrackStraight Returns whether this traveller is currently on a section of track which is straight.
JunctionEntryPinIndex Returns the pin index number, for the current track node, identifying the route travelled into this track node.
JunctionExitPinIndex
Location
RotY
TileX
TileZ
TN
TrackNodeIndex Returns the index of the current track node in the database.
TrackNodeLength Returns the length of the current track node in meters.
TrackNodeOffset Returns the distance down the current track node in meters, based on direction of travel.
TrackVectorSectionIndex Returns the index of the current track vector section (individual straight or curved section of track) in the current track node.
WorldLocation
X
Y
Z

See Also

AETraveller Class | Orts.Formats.OR Namespace