Open Rails

SignalAspect Members

SignalAspect overview

Public Instance Constructors

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

Public Instance Fields

AspectThe signal aspect or rather signal indication state itself
DrawStateNameThe name of the Draw State for this signal aspect
NoSpeedReductionSet to true if no speed reduction is required for RESTRICTED or STOP_AND_PROCEED aspects (ORTS only)
ResetSet to true if SignalFlags RESET option specified (ORTS only)

Public Instance Properties

AsapSet to true if SignalFlags ASAP option specified, meaning train needs to go to speed As Soon As Possible
SpeedMpSSpeed limit (meters per second) for this aspect. -1 if track speed is to be used

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

SignalAspect Class | Orts.Formats.Msts Namespace