np2.PredictiveInterpolation.EarlyOutDistanceSqr
np2.PredictiveInterpolation.EarlyOutDistanceSqr
#Overview
name: np2.PredictiveInterpolation.EarlyOutDistanceSqr
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Squared value. If object is within this distance from the source target, early out from replication and apply sleep if replicated.
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:180
Scope (from outer to inner):
file
namespace PhysicsReplicationCVars
namespace PredictiveInterpolationCVars
Source code excerpt:
float EarlyOutDistanceSqr = 1.0f;
static FAutoConsoleVariableRef CVarEarlyOutDistanceSqr(TEXT("np2.PredictiveInterpolation.EarlyOutDistanceSqr"), EarlyOutDistanceSqr, TEXT("Squared value. If object is within this distance from the source target, early out from replication and apply sleep if replicated."));
float EarlyOutAngle = 1.5f;
static FAutoConsoleVariableRef CVarEarlyOutAngle(TEXT("np2.PredictiveInterpolation.EarlyOutAngle"), EarlyOutAngle, TEXT("If object is within this rotational angle (in degrees) from the source target, early out from replication and apply sleep if replicated."));
bool bEarlyOutWithVelocity = true;
static FAutoConsoleVariableRef CVarEarlyOutWithVelocity(TEXT("np2.PredictiveInterpolation.EarlyOutWithVelocity"), bEarlyOutWithVelocity, TEXT("If true, allow replication logic to early out if current velocities are driving replication well enough. If false, only early out if target velocity is zero."));