Open Rails

SignalLight Members

SignalLight overview

Public Static Methods

Comparer Comparator function for ordering signal lights

Public Instance Constructors

SignalLight Constructor Default constructor used during file parsing.

Public Instance Fields

IndexIndex in the list of signal lights
NameName of the reference light from the lights table

Public Instance Properties

RadiusRadius of the light
SemaphoreChangeis the SIGLIGHT flag SEMAPHORE_CHANGE set?
XX-offset from the sub-object origin
YY-offset from the sub-object origin
ZZ-offset from the sub-object origin

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

SignalLight Class | Orts.Formats.Msts Namespace