MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / DestroyNode

Method DestroyNode

Source/FlowEditor/Private/Graph/Nodes/FlowGraphNode.cpp:1636–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1634}
1635
1636void UFlowGraphNode::DestroyNode()
1637{
1638 bIsDestroyingNode = true;
1639
1640 if (ParentNode)
1641 {
1642 ParentNode->RemoveSubNode(this);
1643
1644 ParentNode->RebuildRuntimeAddOnsFromEditorSubNodes();
1645 }
1646 else
1647 {
1648 RebuildRuntimeAddOnsFromEditorSubNodes();
1649 }
1650
1651 UEdGraphNode::DestroyNode();
1652
1653 bIsDestroyingNode = false;
1654}
1655
1656bool UFlowGraphNode::UsesBlueprint() const
1657{

Callers 5

RecreateNodeMethod · 0.80
DeleteSelectedNodesMethod · 0.80
PasteNodesHereMethod · 0.80
CanPasteNodesMethod · 0.80
ImportBlueprintGraphMethod · 0.80

Calls 2

RemoveSubNodeMethod · 0.80

Tested by

no test coverage detected