Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2 > GetReplaceVariableMenu
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include | #include "EdGraphSchema_K2.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
void GetReplaceVariableMenu
&40;
FToolMenuSection & Section,
const UEdGraphNode &42; InGraphNode,
UBlueprint &42; InOwnerBlueprint,
bool bInReplaceExistingVariable
&41; const
Remarks
Create menu for variable get/set nodes which allows for the replacement of variables
Parameters
Name | Description |
---|---|
InGraphNode | Variable node to replace |
InOwnerBlueprint | The owning Blueprint of the variable |
InMenuBuilder | MenuBuilder to place the menu items into |
bInReplaceExistingVariable | TRUE if replacing an existing variable, will keep the variable from appearing on the list |