Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h |
Include | #include "EdGraphUtilities.h" |
Syntax
class FEdGraphUtilities
Constructors
No constructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FIntRect | CalculateApproximateNodeBoundaries
(
const TArray< UEdGraphNode* >& Nodes |
Calculates an approximate bounding box for the specified nodes. |
![]() ![]() |
bool | CanImportNodesFromText
(
const UEdGraph* DestinationGraph, |
Can we import nodes from this text ? |
![]() ![]() |
void | CloneAndMergeGraphIn
(
UEdGraph* MergeTarget, |
Clones the content from SourceGraph and merges it into MergeTarget; including merging/flattening all of the children from the SourceGraph into MergeTarget |
![]() ![]() |
UEdGraph * | CloneGraph
(
UEdGraph* Source, |
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 |
![]() ![]() |
void | CopyCommonState
(
UEdGraphNode* OldNode, |
Copy Common State of data from OldNode to NewNode |
![]() ![]() |
void | CopyPinDefaults
(
const UEdGraphNode* NodeFrom, |
Copy pin default values between nodes for any pins with matching names |
![]() ![]() |
void | ExportNodesToText
(
TSet< UObject* > NodesToExport, |
Exports a set of nodes to text |
![]() ![]() |
UEdGraphPin * | FindArrayParamPin
(
const UFunction* Function, |
Returns the first pin marked as an ArrayParam, usually returning nullptr |
![]() ![]() |
UEdGraphPin * | FindMapParamPin
(
const UFunction* Function, |
Returns the first pin marked as an MapParam, usually returning nullptr |
![]() ![]() |
UEdGraphPin * | FindPinFromMetaData
(
const UFunction* Function, |
Returns the first pin referred to in a , and | delineated list of pin names |
![]() ![]() |
UEdGraphPin * | FindSetParamPin
(
const UFunction* Function, |
Returns the first pin marked as an SetParam, usually returning nullptr |
![]() ![]() |
UEdGraphPin * | GetNetFromPin
(
UEdGraphPin* Pin |
Finds the net associated with a particular pin |
![]() ![]() |
void | GetPinConnectionMap
(
const UEdGraphNode* Node, |
Output a map of pin names to a set of connections given a function entry pin |
![]() ![]() |
void | ImportNodesFromText
(
UEdGraph* DestinationGraph, |
Imports a set of previously exported nodes into a graph |
![]() ![]() |
bool | IsArrayDependentParam
(
const UFunction* Function, |
Returns true if the ParameterName is marked as ArrayTypeDependentParams |
![]() ![]() |
bool | IsDynamicContainerParam
(
const UFunction* Function, |
Returns true if the ParamaterName is marked as a Set, Map, or array param in the relevant function |
![]() ![]() |
bool | IsMapParam
(
const UFunction* Function, |
Returns true if the ParameterName is marked as a MapParam, MapKeyParam, or MapValueParam in the relevant Function |
![]() ![]() |
bool | IsSetParam
(
const UFunction* Function, |
Returns true if the ParameterName is marked as a SetParam in the relevant Function |
![]() ![]() |
void | MergeChildrenGraphsIn
(
UEdGraph* MergeTarget, |
Moves the contents of all of the children graphs of ParentGraph (recursively) into the MergeTarget graph. |
![]() ![]() |
void | PostProcessPastedNodes
(
TSet< class UEdGraphNode* >& SpawnedNodes |
After pasting nodes, need to perform some fixup for pins etc. |
![]() ![]() |
void | ReconnectPinMap
(
UEdGraphNode* Node, |
Reconnect the pin map to the given node |
![]() ![]() |
void | RegisterVisualNodeFactory
(
TSharedPtr< FGraphPanelNodeFactory > NewFactory |
|
![]() ![]() |
void | RegisterVisualPinConnectionFactory
(
TSharedPtr< FGraphPanelPinConnectionFactory > NewFactory |
|
![]() ![]() |
void | RegisterVisualPinFactory
(
TSharedPtr< FGraphPanelPinFactory > NewFactory |
|
![]() ![]() |
void | RenameGraphCloseToName
(
UEdGraph* Graph, |
Tries to rename the graph to have a name similar to BaseName |
![]() ![]() |
void | RenameGraphToNameOrCloseToName
(
UEdGraph* Graph, |
|
![]() ![]() |
void | UnregisterVisualNodeFactory
(
TSharedPtr< FGraphPanelNodeFactory > OldFactory |
|
![]() ![]() |
void | UnregisterVisualPinConnectionFactory
(
TSharedPtr< FGraphPanelPinConnectionFactory > OldFactory |
|
![]() ![]() |
void | UnregisterVisualPinFactory
(
TSharedPtr< FGraphPanelPinFactory > OldFactory |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FNodeVisitor |
Constants
Name | Description |
---|---|
VisualNodeFactories | |
VisualPinConnectionFactories | |
VisualPinFactories |