Open Rails

TrJunctionNode Members

TrJunctionNode overview

Public Instance Constructors

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

Public Instance Properties

Idx ??? This is probably intended to be the index in the list of TrackNodes, but it is not used anywhere Perhaps in ActivityEditor? but is it consistent?
SelectedRoute The route of a switch that is currently in use.
ShapeIndex Index to the shape that actually describes the looks of this switch
TN Reference to the parent trackNode

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAngle Calculate the angle (direction in 2D) of the current junction (result will be cached).
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

TrJunctionNode Class | Orts.Formats.Msts Namespace