Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEdGraphUtilities
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h |
Include | #include "EdGraphUtilities.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/EdGraphUtilities.cpp |
static void CloneAndMergeGraphIn
&40;
UEdGraph &42; MergeTarget,
UEdGraph &42; SourceGraph,
FCompilerResultsLog & MessageLog,
bool bRequireSchemaMatch,
bool bInIsCompiling,
TArray< UEdGraphNode &42; > &42; OutClonedNodes
&41;
Remarks
Clones the content from SourceGraph and merges it into MergeTarget; including merging/flattening all of the children from the SourceGraph into MergeTarget
Also optionally populates *OutClonedNodes with the list of cloned objects.
Parameters
Name | Description |
---|---|
MergeTarget | The graph to merge the source graph into |
SourceGraph | Graph to merge from |
MessageLog | MessageLog to report errors and warnings to |
bRequireSchemaMatch | TRUE if the graphs must have the same schema for the merge to occur |
OutClonedNodes | Will populate with a full list of cloned nodes if provided |
bInIsCompiling | TRUE if the function is being called during compilation, this will eliminate some nodes that will not be compiled |