Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
Description
Moves all connections from the old node to the new one. Returns true and destroys OldNode on success. Fails if it cannot find a mapping from an old pin.
| Name | ReplaceOldNodeWithNew |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
| Include Path | #include "EdGraphSchema_K2.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
bool ReplaceOldNodeWithNew
(
UEdGraphNode * OldNode,
UEdGraphNode * NewNode,
const TMap < FName , FName > & OldPinToNewPinMap
) const