Open Rails

TrackNode Members

TrackNode overview

Public Instance Constructors

TrackNode Overloaded. Initializes a new instance of the TrackNode class.

Public Instance Fields

TCCrossReference List of references to Track Circuit sections
TrPinsThe array containing the TrPins (Track pins), which are connections to other tracknodes

Public Instance Properties

IndexThe index in the array of tracknodes.
InpinsNumber of outgoing pins (connections to other tracknodes)
OutpinsNumber of outgoing pins (connections to other tracknodes)
Reduced??? (needed for ActivityEditor, but not used here, so why is it defined here?)
TrEndNode True when this TrackNode has nothing else connected to it (that is, it is a buffer end or an unfinished track) and trains cannot proceed beyond here.
TrJunctionNode If this is a junction, this contains a link to a TrJunctionNode that contains the details about the junction. null otherwise.
TrVectorNode If this is a vector nodes, this contains a link to a TrVectorNode that contains the details about the vector null otherwise.
UiD'Universal Id', containing location information. Only provided for TrJunctionNode and TrEndNode type of TrackNodes

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TrackNode Class | Orts.Formats.Msts Namespace