BP.ContextMenu.ShorterWeight
BP.ContextMenu.ShorterWeight
#Overview
name: BP.ContextMenu.ShorterWeight
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Increasing this weight will make shorter words preferred
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/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp:7763
Scope (from outer to inner):
file
namespace BPContextMenuConsoleVariables
Source code excerpt:
static float ShorterWeight = 10.0f;
static FAutoConsoleVariableRef CVarShorterWeight(
TEXT("BP.ContextMenu.ShorterWeight"), ShorterWeight,
TEXT("Increasing this weight will make shorter words preferred"),
ECVF_Default);
/** When calculating shorter weight, this is the maximum length to make it relative to */
static int32 MaxWordLength = 30;
static FAutoConsoleVariableRef CVarMaxWordLength(