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 ( [FToolMenuSection](API\Developer\ToolMenus\FToolMenuSection) & Section, const [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * InGraphNode, [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * InOwnerBlueprint, bool bInReplaceExistingVariable ) 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 |