Open Rails

TrItem Properties

The properties of the TrItem class are listed below. For a complete list of TrItem class members, see the TrItem Members topic.

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)

See Also

TrItem Class | Orts.Formats.Msts Namespace