lyra.Weapon.DrawBulletTraceDuration
lyra.Weapon.DrawBulletTraceDuration
#Overview
name: lyra.Weapon.DrawBulletTraceDuration
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Should we do debug drawing for bullet traces (if above zero, sets how long (in seconds))
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>/Projects/Lyra/Source/LyraGame/Weapons/LyraGameplayAbility_RangedWeapon.cpp:17
Scope (from outer to inner):
file
namespace LyraConsoleVariables
Source code excerpt:
static float DrawBulletTracesDuration = 0.0f;
static FAutoConsoleVariableRef CVarDrawBulletTraceDuraton(
TEXT("lyra.Weapon.DrawBulletTraceDuration"),
DrawBulletTracesDuration,
TEXT("Should we do debug drawing for bullet traces (if above zero, sets how long (in seconds))"),
ECVF_Default);
static float DrawBulletHitDuration = 0.0f;
static FAutoConsoleVariableRef CVarDrawBulletHits(
#Loc: <Workspace>/Projects/Lyra/Source/LyraGame/Weapons/LyraWeaponDebugSettings.h:25
Scope (from outer to inner):
file
class class ULyraWeaponDebugSettings : public UDeveloperSettingsBackedByCVars
Source code excerpt:
public:
// Should we do debug drawing for bullet traces (if above zero, sets how long (in seconds)
UPROPERTY(config, EditAnywhere, Category=General, meta=(ConsoleVariable="lyra.Weapon.DrawBulletTraceDuration", ForceUnits=s))
float DrawBulletTraceDuration;
// Should we do debug drawing for bullet impacts (if above zero, sets how long (in seconds)
UPROPERTY(config, EditAnywhere, Category = General, meta = (ConsoleVariable = "lyra.Weapon.DrawBulletHitDuration", ForceUnits = s))
float DrawBulletHitDuration;