> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.UserPreferences.Acceleration Class Reference

Represents the acceleration vector that can be set in the global dwg user preferences.

Inheritance diagram for OpenTD.UserPreferences.Acceleration:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_user_preferences_1_1_acceleration.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=c6e5db57f3e6ffdb4803e712c078689e)

## Public Member Functions

| Type | Name |
| - | - |
| | [Acceleration](#a07d62e58e2b88b94a94dda2e3387e649) () |
| | [Acceleration](#a3653829760bf2f246f215ad695ff43f2) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) \_td) |
| void | [Update](#a50c8a44ce6adc9d6bd5a5009cd272df8) () Updates the TD entity with the latest client data. |
| void | [UpdateFromTD](#a5cdbe3b1154db9fd6b8b9346713f34a0) () Updates the client-side instance with the latest data from the TD entity. |

## Properties

| Type | Name |
| - | - |
| Dimensional\< [Gravity](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_dimension_1_1_gravity.md) > | [Magnitude](#a939252a6717d9ad8eae5e089ae1f40c9)`[get, set]` |
| [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_expression_data.md) | [MagnitudeExp](#a8e273a7fb8150781d722a909bb9089c0)`[get, set]` |
| double | [XDir](#aa435eca9a5d96084b946fb06e38351ae)`[get, set]` |
| double | [YDir](#a4ad53397748ac32c163b01854eb5e705)`[get, set]` |
| double | [ZDir](#a46c4047106bf2fc14e5f12db7fec3b6c)`[get, set]` |
| [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_expression_data.md) | [XDirExp](#ab65eae5d4f4f7427265baa882017d3d3)`[get, set]` |
| [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_expression_data.md) | [YDirExp](#ac92a2890fa1a7005dbf552e4194be630)`[get, set]` |
| [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_expression_data.md) | [ZDirExp](#a03952d31623f63054703e6609bb16a13)`[get, set]` |
| bool | [NeedsUpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_user_preferences_1_1_preferences.md#a012bb0c5f39ee504be222b4292f5ffc3) = 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]

```csharp theme={null}
OpenTD.UserPreferences.Acceleration.Acceleration()
```

`inline`

### Acceleration() \[2/2]

```csharp theme={null}
OpenTD.UserPreferences.Acceleration.Acceleration(ThermalDesktop _td)
```

`inline`

## Member Function Documentation

### Update()

```csharp theme={null}
void OpenTD.UserPreferences.Acceleration.Update()
```

`inline`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
void OpenTD.UserPreferences.Acceleration.UpdateFromTD()
```

`inline`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

## Property Documentation

### Magnitude

```csharp theme={null}
Dimensional< Gravity > OpenTD.UserPreferences.Acceleration.Magnitude
```

`get` `set`

### MagnitudeExp

```csharp theme={null}
ExpressionData OpenTD.UserPreferences.Acceleration.MagnitudeExp
```

`get` `set`

### NeedsUpdateFromTD

```csharp theme={null}
bool OpenTD.UserPreferences.Preferences.NeedsUpdateFromTD = true
```

`get` `protected set` `inherited`

### XDir

```csharp theme={null}
double OpenTD.UserPreferences.Acceleration.XDir
```

`get` `set`

### XDirExp

```csharp theme={null}
ExpressionData OpenTD.UserPreferences.Acceleration.XDirExp
```

`get` `set`

### YDir

```csharp theme={null}
double OpenTD.UserPreferences.Acceleration.YDir
```

`get` `set`

### YDirExp

```csharp theme={null}
ExpressionData OpenTD.UserPreferences.Acceleration.YDirExp
```

`get` `set`

### ZDir

```csharp theme={null}
double OpenTD.UserPreferences.Acceleration.ZDir
```

`get` `set`

### ZDirExp

```csharp theme={null}
ExpressionData OpenTD.UserPreferences.Acceleration.ZDirExp
```

`get` `set`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/UserPreferences/**Acceleration.cs**
