> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md).

# Class ksLinearPredictor.ConfigData

Namespace: [KS.Reactor.Client](/reactor/api-reference/ks.reactor.client.md)\
Assembly: KSUnity.dll

Contains parameters for tuning transform and property smoothing. If a smoothed property does not have a correction rate set, [PositionCorrectionRate](#KS_Reactor_Client_ksLinearPredictor_ConfigData_PositionCorrectionRate) will be used if it is linearly interpolated, and [RotationCorrectionRate](#KS_Reactor_Client_ksLinearPredictor_ConfigData_RotationCorrectionRate) will be used if it is spherically interpolated. If the property uses wrap float interpolation and has no rate set, it will use the difference between the min and the max range values.

```csharp
public class ksLinearPredictor.ConfigData
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) â† [ksLinearPredictor.ConfigData](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.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)

## Fields

### PositionCorrectionRate <a href="#ks_reactor_client_kslinearpredictor_configdata_positioncorrectionrate" id="ks_reactor_client_kslinearpredictor_configdata_positioncorrectionrate"></a>

Position-correction interpolation rate per second.

```csharp
public float PositionCorrectionRate
```

#### Field Value

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

### RotationCorrectionRate <a href="#ks_reactor_client_kslinearpredictor_configdata_rotationcorrectionrate" id="ks_reactor_client_kslinearpredictor_configdata_rotationcorrectionrate"></a>

Rotation-correction interpolation rate in degrees per second.

```csharp
public float RotationCorrectionRate
```

#### Field Value

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

### ScaleCorrectionRate <a href="#ks_reactor_client_kslinearpredictor_configdata_scalecorrectionrate" id="ks_reactor_client_kslinearpredictor_configdata_scalecorrectionrate"></a>

Scale-correction interpolation rate per second.

```csharp
public float ScaleCorrectionRate
```

#### Field Value

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

## Properties

### Default <a href="#ks_reactor_client_kslinearpredictor_configdata_default" id="ks_reactor_client_kslinearpredictor_configdata_default"></a>

Default configuration values. Values can be changed to change the defaults.

```csharp
public static ksLinearPredictor.ConfigData Default { get; }
```

#### Property Value

[ksLinearPredictor](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor.md).[ConfigData](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md)

### PredictedProperties <a href="#ks_reactor_client_kslinearpredictor_configdata_predictedproperties" id="ks_reactor_client_kslinearpredictor_configdata_predictedproperties"></a>

Keys are which properties to predict, and values describe how to predict them.

```csharp
public Dictionary<uint, ksLinearPredictor.PropertyBehaviour> PredictedProperties { get; set; }
```

#### Property Value

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)<[uint](https://learn.microsoft.com/dotnet/api/system.uint32), [ksLinearPredictor](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor.md).[PropertyBehaviour](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.propertybehaviour.md)>

## Methods

### Clone() <a href="#ks_reactor_client_kslinearpredictor_configdata_clone" id="ks_reactor_client_kslinearpredictor_configdata_clone"></a>

Creates a copy of this [ConfigData](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md).

```csharp
public ksLinearPredictor.ConfigData Clone()
```

#### Returns

[ksLinearPredictor](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor.md).[ConfigData](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md)

Copy of the config.
