FBlueprintEditor::MoveNodesToGraph

Move every node from the source graph to the destination graph.

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintEditor

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Include #include "BlueprintEditor.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintEditor.cpp
static void MoveNodesToGraph
(
    [TArray](API\Runtime\Core\Containers\TArray)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * > & SourceNodes,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * DestinationGraph,
    [TSet](API\Runtime\Core\Containers\TSet)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * > & OutExpandedNodes,
    [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) ** OutEntry,
    [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) ** OutResult,
    const bool bIsCollapsedGraph
)

Remarks

Move every node from the source graph to the destination graph. Add Each node that is moved to the OutExpandedNodes set. If the source graph is a function graph, keep track of the entry and result nodes in the given Out Parameters.

Parameters

Name Description
SourceNodes Nodes to move
DestinationGraph Graph to move nodes to
OutExpandedNodes Set of each node that was moved from the source to destination graph
OutEntry Pointer to the function entry node
OutResult Pointer to the function result node
bIsCollapsedGraph Whether or not the source graph is collapsed

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library