FEdGraphUtilities::CloneGraph

Clones (deep copies) a [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph), including all of it's nodes and pins and their links, maintaining a mapping from the clone to the source nodes (even across multiple clonings) A NewOuter of NULL indicates the transient package

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h

Include

#include "EdGraphUtilities.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EdGraphUtilities.cpp

Syntax

static UEdGraph * CloneGraph
(
    UEdGraph * Source,
    UObject * NewOuter,
    FCompilerResultsLog * MessageLog,
    bool bCloningForCompile
)

Remarks

Clones (deep copies) a UEdGraph, including all of it's nodes and pins and their links, maintaining a mapping from the clone to the source nodes (even across multiple clonings) A NewOuter of NULL indicates the transient package

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss