Struct Vector3ErrorCorrector
public struct Vector3ErrorCorrector
- Inherited Members
Fields
CurrentValue
public Vector3 CurrentValue
Field Value
- Vector3
Error
public float Error
Field Value
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
Vector3correctionMultiplier
floatinterpolationMultiplier
floatcorrectionMaxBlendAlpha
floatteleportThreshold
floatdeltaTime
float
Returns
- Vector3