> 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.propertybehaviour.md).

# Struct ksLinearPredictor.PropertyBehaviour

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

Describes how to predict a property.

```csharp
public struct ksLinearPredictor.PropertyBehaviour
```

#### 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.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### PropertyBehaviour(ksPredictionBehaviour, float) <a href="#ks_reactor_client_kslinearpredictor_propertybehaviour__ctor_ks_reactor_client_kspredictionbehaviour" id="ks_reactor_client_kslinearpredictor_propertybehaviour__ctor_ks_reactor_client_kspredictionbehaviour"></a>

Constructor

```csharp
public PropertyBehaviour(ksPredictionBehaviour type, float correctionRate)
```

#### Parameters

`type` [ksPredictionBehaviour](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kspredictionbehaviour.md)

Prediction behaviour

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

[CorrectionRate](#KS_Reactor_Client_ksLinearPredictor_PropertyBehaviour_CorrectionRate)

## Fields

### CorrectionRate <a href="#ks_reactor_client_kslinearpredictor_propertybehaviour_correctionrate" id="ks_reactor_client_kslinearpredictor_propertybehaviour_correctionrate"></a>

Correction interpolation rate. If less than or equal to zero, [PositionCorrectionRate](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md#KS_Reactor_Client_ksLinearPredictor_ConfigData_PositionCorrectionRate) will be used if it is linearly interpolated, and [RotationCorrectionRate](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kslinearpredictor/ks.reactor.client.kslinearpredictor.configdata.md#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 float CorrectionRate
```

#### Field Value

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

### Type <a href="#ks_reactor_client_kslinearpredictor_propertybehaviour_type" id="ks_reactor_client_kslinearpredictor_propertybehaviour_type"></a>

Prediction behaviour.

```csharp
public ksPredictionBehaviour Type
```

#### Field Value

[ksPredictionBehaviour](/reactor/api-reference/ks.reactor.client/ks.reactor.client.kspredictionbehaviour.md)
