Open Rails

TrItem Members

TrItem overview

Public Instance Properties

ItemName The name of the item (used for the label shown by F6)
ItemTypeType of track item
PXAppears to be a copy of X in Sdata, but only for X and Z
PZAppears to be a copy of X in Sdata, but only for X and Z
SData1Extra data 1, related to location along section
SData2Extra data 2
TilePXAppears to be a copy of tileX in Sdata, but only for X and Z
TilePZAppears to be a copy of tileZ in Sdata, but only for X and Z
TileXX-value of world tile
TileZZ-value of world tile
TrItemIdId if track item
XX-location within world tile (tracknode, not shape)
YX-location within world tile (tracknode, not shape)
ZX-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 Constructors

TrItem Constructor Base constructor

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 Reads the ID from filestream
TrItemPData Reads the PData from filestream
TrItemRData Reads the Rdata from filestream
TrItemSData Reads the SData from filestream

See Also

TrItem Class | Orts.Formats.Msts Namespace