np2.PredictiveInterpolation.AverageReceiveIntervalSmoothing
np2.PredictiveInterpolation.AverageReceiveIntervalSmoothing
#Overview
name: np2.PredictiveInterpolation.AverageReceiveIntervalSmoothing
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Recommended range: 1.0 - 5.0. Higher value makes the average receive interval adjust itself slower, reducing spikes in InterpolationTime.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsReplication.cpp:144
Scope (from outer to inner):
file
namespace PhysicsReplicationCVars
namespace PredictiveInterpolationCVars
Source code excerpt:
float AverageReceiveIntervalSmoothing = 3.0f;
static FAutoConsoleVariableRef CVarAverageReceiveIntervalSmoothing(TEXT("np2.PredictiveInterpolation.AverageReceiveIntervalSmoothing"), AverageReceiveIntervalSmoothing, TEXT("Recommended range: 1.0 - 5.0. Higher value makes the average receive interval adjust itself slower, reducing spikes in InterpolationTime."));
float ExtrapolationTimeMultiplier = 3.0f;
static FAutoConsoleVariableRef CVarExtrapolationTimeMultiplier(TEXT("np2.PredictiveInterpolation.ExtrapolationTimeMultiplier"), ExtrapolationTimeMultiplier, TEXT("Multiplier to adjust the time to extrapolate the target forward over, the time is based on current send-rate."));
float ExtrapolationMinTime = 0.75f;
static FAutoConsoleVariableRef CVarExtrapolationMinTime(TEXT("np2.PredictiveInterpolation.ExtrapolationMinTime"), ExtrapolationMinTime, TEXT("Clamps minimum extrapolation time. Value in seconds. Disable minimum clamp by setting to 0."));