bUseLocalGraphVariables
bUseLocalGraphVariables
#Overview
name: bUseLocalGraphVariables
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:2039, section: [Kismet]
- INI Section:
Kismet
- Raw value:
false
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/KismetCompiler/Private/KismetCompilerMisc.cpp:2917
Scope (from outer to inner):
file
function FBPTerminal* FKismetFunctionContext::CreateLocalTerminalFromPinAutoChooseScope
Source code excerpt:
check(Net);
bool bSharedTerm = IsEventGraph();
static FBoolConfigValueHelper UseLocalGraphVariables(TEXT("Kismet"), TEXT("bUseLocalGraphVariables"), GEngineIni);
const bool bUseLocalGraphVariables = UseLocalGraphVariables;
const bool OutputPin = EEdGraphPinDirection::EGPD_Output == Net->Direction;
if (bSharedTerm && bUseLocalGraphVariables && OutputPin)
{
BP_SCOPED_COMPILER_EVENT_STAT(EKismetCompilerStats_ChooseTerminalScope);
// Pin's connections are checked, to tell if created terminal is shared, or if it could be a local variable.
bSharedTerm = FEventGraphUtils::PinRepresentsSharedTerminal(*Net, MessageLog);
}