r.MaterialEditor.ContextMenu.ShorterMatchWeight

r.MaterialEditor.ContextMenu.ShorterMatchWeight

#Overview

name: r.MaterialEditor.ContextMenu.ShorterMatchWeight

This variable is created as a Console Variable (cvar).

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/UnrealEd/Private/MaterialGraphSchema.cpp:1301

Scope (from outer to inner):

file
namespace    MaterialEditorContextMenuConsoleVariables

Source code excerpt:

	static float ShorterMatchWeight = 10.0f;
	static FAutoConsoleVariableRef CVarShorterWeight(
		TEXT("r.MaterialEditor.ContextMenu.ShorterMatchWeight"), ShorterMatchWeight,
		TEXT("Increasing this weight will make shorter words preferred"),
		ECVF_Default);
}

FGraphSchemaSearchWeightModifiers UMaterialGraphSchema::GetSearchWeightModifiers() const
{