Table of Contents

Struct Vector3ErrorCorrector

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

Fields

CurrentValue

public Vector3 CurrentValue

Field Value

Vector3

Error

public float Error

Field Value

float

PreRollbackValue

public Vector3 PreRollbackValue

Field Value

Vector3

Methods

Init(Vector3)

public void Init(Vector3 val)

Parameters

val Vector3

OnPostResimulation(Vector3)

public void OnPostResimulation(Vector3 currentValue)

Parameters

currentValue Vector3

OnPreRollback(Vector3)

public void OnPreRollback(Vector3 val)

Parameters

val Vector3

Render(Vector3, float, float, float, float, float)

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

Parameters

interpolatedValue Vector3
correctionMultiplier float
interpolationMultiplier float
correctionMaxBlendAlpha float
teleportThreshold float
deltaTime float

Returns

Vector3