np2.PredictiveInterpolation.PostResimWaitForUpdate
np2.PredictiveInterpolation.PostResimWaitForUpdate
#Overview
name: np2.PredictiveInterpolation.PostResimWaitForUpdate
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
After a resimulation, wait for replicated states that correspond to post-resim state before processing replication again.
It is referenced in 2
C++ source files.
#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:192
Scope (from outer to inner):
file
namespace PhysicsReplicationCVars
namespace PredictiveInterpolationCVars
Source code excerpt:
bool bPostResimWaitForUpdate = false;
static FAutoConsoleVariableRef CVarPostResimWaitForUpdate(TEXT("np2.PredictiveInterpolation.PostResimWaitForUpdate"), bPostResimWaitForUpdate, TEXT("After a resimulation, wait for replicated states that correspond to post-resim state before processing replication again."));
bool bVelocityBased = true;
static FAutoConsoleVariableRef CVarVelocityBased(TEXT("np2.PredictiveInterpolation.VelocityBased"), bVelocityBased, TEXT("When true, predictive interpolation replication mode will only apply linear velocity and angular velocity"));
bool bPosCorrectionAsVelocity = false;
static FAutoConsoleVariableRef CVarPosCorrectionAsVelocity(TEXT("np2.PredictiveInterpolation.PosCorrectionAsVelocity"), bPosCorrectionAsVelocity, TEXT("When true, predictive interpolation will apply positional offset correction as a velocity instead of as a positional change each tick."));
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h:157
Scope: file
Source code excerpt:
bool GetSkipVelocityRepOnPosEarlyOut() { return bOverrideSkipVelocityRepOnPosEarlyOut ? bSkipVelocityRepOnPosEarlyOut : PhysicsReplicationCVars::PredictiveInterpolationCVars::bSkipVelocityRepOnPosEarlyOut; }
// np2.PredictiveInterpolation.PostResimWaitForUpdate
UPROPERTY(config, EditDefaultsOnly, Category = "Overrides", Meta = (InlineEditConditionToggle))
uint32 bOverridePostResimWaitForUpdate : 1;
UPROPERTY(config, EditDefaultsOnly, Category = "Overrides", Meta = (EditCondition = "bOverridePostResimWaitForUpdate"))
bool bPostResimWaitForUpdate = PhysicsReplicationCVars::PredictiveInterpolationCVars::bPostResimWaitForUpdate;
bool GetPostResimWaitForUpdate() { return bOverridePostResimWaitForUpdate ? bPostResimWaitForUpdate : PhysicsReplicationCVars::PredictiveInterpolationCVars::bPostResimWaitForUpdate; }