Skip to main content
Dimensionals represent dimensional quantities, like endTime or initialTemperature. When set or get, dimensional values reflect the current Units.WorkingUnits system. For example, if you set WorkingUnits.temp to C, then set a Dimensional{Temperature} to 0, then set WorkingUnits.temp to F, the Dimensional would now return 32. Dimensionals implicitly convert to/from doubles. Inheritance diagram for OpenTD.Dimension.Dimensional< T >:

Public Member Functions

Static Public Member Functions

Detailed Description

Dimensionals represent dimensional quantities, like endTime or initialTemperature. When set or get, dimensional values reflect the current Units.WorkingUnits system. For example, if you set WorkingUnits.temp to C, then set a Dimensional{Temperature} to 0, then set WorkingUnits.temp to F, the Dimensional would now return 32. Dimensionals implicitly convert to/from doubles. Type Constraints

Member Function Documentation

Dimensional() [1/2]

inline

Dimensional() [2/2]

inline

GetValueSI() [1/2]

inline Implements OpenTD.Dimension.IGetSetSI.

GetValueSI() [2/2]

inline Implements OpenTD.Dimension.IGetSetSI.

operator Dimensional< T >()

inline static

operator double()

inline static

SetValueSI()

inline Implements OpenTD.Dimension.IGetSetSI.

ToString()

inline The documentation for this struct was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Dimension/Dimensional.cs