Table of Contents

Struct QuaternionErrorCorrector

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public struct QuaternionErrorCorrector
Inherited Members

Fields

CurrentValue

public Quaternion CurrentValue

Field Value

Quaternion

Error

public float Error

Field Value

float

PreRollbackValue

public Quaternion PreRollbackValue

Field Value

Quaternion

Methods

Init(Quaternion)

public void Init(Quaternion val)

Parameters

val Quaternion

OnPostResimulation(Quaternion)

public void OnPostResimulation(Quaternion currentValue)

Parameters

currentValue Quaternion

OnPreRollback(Quaternion)

public void OnPreRollback(Quaternion val)

Parameters

val Quaternion

Render(Quaternion, float, float, float, float, float)

public Quaternion Render(Quaternion interpolatedValue, float correctionMultiplier, float interpolationMultiplier, float correctionMaxBlendAlpha, float teleportThreshold, float deltaTime)

Parameters

interpolatedValue Quaternion
correctionMultiplier float
interpolationMultiplier float
correctionMaxBlendAlpha float
teleportThreshold float
deltaTime float

Returns

Quaternion