OpenTD.UserPreferences.Acceleration Class Reference
Last update: 16.07.2025Represents the acceleration vector that can be set in the global dwg user preferences. More...
Inheritance diagram for OpenTD.UserPreferences.Acceleration:

Public Member Functions | |
| Acceleration () | |
| Acceleration (ThermalDesktop _td) | |
| void | Update () |
| Updates the TD entity with the latest client data. | |
| void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
Properties | |
| Dimensional< Gravity > | Magnitude [get, set] |
| ExpressionData | MagnitudeExp [get, set] |
| double | XDir [get, set] |
| double | YDir [get, set] |
| double | ZDir [get, set] |
| ExpressionData | XDirExp [get, set] |
| ExpressionData | YDirExp [get, set] |
| ExpressionData | ZDirExp [get, set] |
| bool | NeedsUpdateFromTD = true [get, protected set] |
Detailed Description
Represents the acceleration vector that can be set in the global dwg user preferences.
Constructor & Destructor Documentation
◆ Acceleration() [1/2]
|
inline |
◆ Acceleration() [2/2]
|
inline |
Member Function Documentation
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
Property Documentation
◆ Magnitude
|
getset |
◆ MagnitudeExp
|
getset |
◆ NeedsUpdateFromTD
|
getprotected setinherited |
◆ XDir
|
getset |
◆ XDirExp
|
getset |
◆ YDir
|
getset |
◆ YDirExp
|
getset |
◆ ZDir
|
getset |
◆ ZDirExp
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/UserPreferences/Acceleration.cs