Open Rails

TempSpeedPostItem Members

TempSpeedPostItem overview

Public Instance Constructors

TempSpeedPostItem Constructor

Public Instance Fields

WorldPosition Constructor for creating a speedpost from activity speed restriction zone

Public Instance Properties

Angle (inherited from SpeedPostItem)speedpost (normalized) angle
Direction (inherited from SpeedPostItem)derived direction relative to track
DisplayNumber (inherited from SpeedPostItem)number to be displayed if ShowNumber is true
IsFreight (inherited from SpeedPostItem)is freight speed limit
IsLimit (inherited from SpeedPostItem)speed limit
IsMilePost (inherited from SpeedPostItem)true to be milepost
IsMPH (inherited from SpeedPostItem)is the digit in MPH or KPH
IsPassenger (inherited from SpeedPostItem)is passenger speed limit
IsResume (inherited from SpeedPostItem)speed resume sign (has no speed defined!)
IsWarning (inherited from SpeedPostItem)speed warning
ItemName (inherited from TrItem) The name of the item (used for the label shown by F6)
ItemType (inherited from TrItem)Type of track item
PX (inherited from TrItem)Appears to be a copy of X in Sdata, but only for X and Z
PZ (inherited from TrItem)Appears to be a copy of X in Sdata, but only for X and Z
ReverseDirection (inherited from SpeedPostItem)Get the direction the signal is NOT facing
SData1 (inherited from TrItem)Extra data 1, related to location along section
SData2 (inherited from TrItem)Extra data 2
ShowDot (inherited from SpeedPostItem)if ShowNumber is true and this is set, will show 1.5 as for 15KMH
ShowNumber (inherited from SpeedPostItem)show numbers instead of KPH, like 5 means 50KMH
SigObj (inherited from SpeedPostItem)index to Signal Object Table
SpeedInd (inherited from SpeedPostItem)Or distance if mile post.
TilePX (inherited from TrItem)Appears to be a copy of tileX in Sdata, but only for X and Z
TilePZ (inherited from TrItem)Appears to be a copy of tileZ in Sdata, but only for X and Z
TileX (inherited from TrItem)X-value of world tile
TileZ (inherited from TrItem)Z-value of world tile
TrItemId (inherited from TrItem)Id if track item
X (inherited from TrItem)X-location within world tile (tracknode, not shape)
Y (inherited from TrItem)X-location within world tile (tracknode, not shape)
Z (inherited from TrItem)X-location within world tile (tracknode, not shape)

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.
ParseTrItemID (inherited from TrItem) Reads the ID from filestream
TrItemPData (inherited from TrItem) Reads the PData from filestream
TrItemRData (inherited from TrItem) Reads the Rdata from filestream
TrItemSData (inherited from TrItem) Reads the SData from filestream

See Also

TempSpeedPostItem Class | Orts.Formats.Msts Namespace