Table of Contents

Struct TransformErrorCorrector

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

Fields

Error

public float Error

Field Value

float

PosCurrentValue

public Vector3 PosCurrentValue

Field Value

Vector3

PosPreRollbackValue

public Vector3 PosPreRollbackValue

Field Value

Vector3

RotCurrentValue

public Quaternion RotCurrentValue

Field Value

Quaternion

RotPreRollbackValue

public Quaternion RotPreRollbackValue

Field Value

Quaternion

Methods

Init(Vector3, Quaternion)

public void Init(Vector3 posVal, Quaternion rotVal)

Parameters

posVal Vector3
rotVal Quaternion

OnPostResimulation(Vector3, Quaternion, bool, bool)

public void OnPostResimulation(Vector3 posCurrentValue, Quaternion rotCurrentValue, bool calcPositionalError, bool calcRotationError)

Parameters

posCurrentValue Vector3
rotCurrentValue Quaternion
calcPositionalError bool
calcRotationError bool

OnPreRollback(Vector3, Quaternion)

public void OnPreRollback(Vector3 posVal, Quaternion rotVal)

Parameters

posVal Vector3
rotVal Quaternion

Render(ref Vector3, ref Quaternion, float, float, float, float, float)

public void Render(ref Vector3 posInterpolatedValue, ref Quaternion rotInterpolationValue, float correctionMultiplier, float interpolationMultiplier, float correctionMaxBlendAlpha, float teleportThreshold, float deltaTime)

Parameters

posInterpolatedValue Vector3
rotInterpolationValue Quaternion
correctionMultiplier float
interpolationMultiplier float
correctionMaxBlendAlpha float
teleportThreshold float
deltaTime float