Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
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 |
bool ReplaceOldNodeWithNew
(
UEdGraphNode * OldNode,
UEdGraphNode * NewNode,
const TMap< FName, FName > & OldPinToNewPinMap
) const
Remarks
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.