> ## 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.

# Class Acceleration

Namespace: [OpenTD.UserPreferences](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.UserPreferences)\
Assembly: OpenTD.dll

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

```csharp theme={null}
[MessagePackObject(true)]
public class Acceleration : Preferences, IUpdatable
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
TdConnected ←
Preferences ←
[Acceleration](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.UserPreferences.Acceleration.md)

## Implements

[IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.IUpdatable.md)

## Inherited Members

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### Acceleration()

```csharp theme={null}
public Acceleration()
```

### Acceleration(ThermalDesktop)

```csharp theme={null}
public Acceleration(ThermalDesktop _td)
```

#### Parameters

`_td` [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.ThermalDesktop.md)

## Properties

### Magnitude

```csharp theme={null}
public Dimensional<Gravity> Magnitude { get; set; }
```

#### Property Value

[Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.Dimensional-1.md)\<[Gravity](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.Gravity.md)>

### MagnitudeExp

```csharp theme={null}
public ExpressionData MagnitudeExp { get; set; }
```

#### Property Value

[ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.ExpressionData.md)

### XDir

```csharp theme={null}
public double XDir { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### XDirExp

```csharp theme={null}
public ExpressionData XDirExp { get; set; }
```

#### Property Value

[ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.ExpressionData.md)

### YDir

```csharp theme={null}
public double YDir { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### YDirExp

```csharp theme={null}
public ExpressionData YDirExp { get; set; }
```

#### Property Value

[ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.ExpressionData.md)

### ZDir

```csharp theme={null}
public double ZDir { get; set; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### ZDirExp

```csharp theme={null}
public ExpressionData ZDirExp { get; set; }
```

#### Property Value

[ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.ExpressionData.md)

## Methods

### Update()

Updates the TD entity with the latest client data.

```csharp theme={null}
public void Update()
```

### UpdateFromTD()

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

```csharp theme={null}
public void UpdateFromTD()
```
