Controller.InvalidControlRotationMagnitude
Controller.InvalidControlRotationMagnitude
#Overview
name: Controller.InvalidControlRotationMagnitude
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
If any component of an FRotator passed to SetControlRotation is larger than this magnitude, ignore the value. Huge values are usually from uninitialized variables and can cause NaN/Inf to propagate later.
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/Controller.cpp:32
Scope (from outer to inner):
file
namespace ControllerStatics
Source code excerpt:
static float InvalidControlRotationMagnitude = 8388608.f; // 2^23, largest float when fractions are lost, and where FMod loses meaningful precision.
static FAutoConsoleVariableRef CVarInvalidControlRotationMagnitude(
TEXT("Controller.InvalidControlRotationMagnitude"), InvalidControlRotationMagnitude,
TEXT("If any component of an FRotator passed to SetControlRotation is larger than this magnitude, ignore the value. Huge values are usually from uninitialized variables and can cause NaN/Inf to propagate later."),
ECVF_Default);
}