Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FEdGraphUtilities |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h |
| Include Path | #include "EdGraphUtilities.h" |
Syntax
class FEdGraphUtilities
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEdGraphUtilities() |
Should never create an instance of this class. | EdGraphUtilities.h |
Structs
| Name | Remarks |
|---|---|
| FNodeVisitor |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| VisualNodeFactories | TArray< TSharedPtr< FGraphPanelNodeFactory > > | EdGraphUtilities.h | |
| VisualPinConnectionFactories | TArray< TSharedPtr< FGraphPanelPinConnectionFactory > > | EdGraphUtilities.h | |
| VisualPinFactories | TArray< TSharedPtr< FGraphPanelPinFactory > > | EdGraphUtilities.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FIntRect CalculateApproximateNodeBoundaries
(
const TArray< UEdGraphNode* >& Nodes |
Calculates an approximate bounding box for the specified nodes. | EdGraphUtilities.h | |
| Can we import nodes from this text ? | EdGraphUtilities.h | ||
static 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 | EdGraphUtilities.h | |
static 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 | EdGraphUtilities.h | |
static void CopyCommonState
(
UEdGraphNode* OldNode, |
Copy Common State of data from OldNode to NewNode | EdGraphUtilities.h | |
static void CopyPinDefaults
(
const UEdGraphNode* NodeFrom, |
Copy pin default values between nodes for any pins with matching names | EdGraphUtilities.h | |
| Exports a set of nodes to text | EdGraphUtilities.h | ||
static UEdGraphPin * FindArrayParamPin
(
const UFunction* Function, |
Returns the first pin marked as an ArrayParam, usually returning nullptr | EdGraphUtilities.h | |
static UEdGraphPin * FindMapParamPin
(
const UFunction* Function, |
Returns the first pin marked as an MapParam, usually returning nullptr | EdGraphUtilities.h | |
static UEdGraphPin * FindPinFromMetaData
(
const UFunction* Function, |
Returns the first pin referred to in a , and | delineated list of pin names | EdGraphUtilities.h | |
static UEdGraphPin * FindSetParamPin
(
const UFunction* Function, |
Returns the first pin marked as an SetParam, usually returning nullptr | EdGraphUtilities.h | |
static UEdGraphPin * GetNetFromPin
(
UEdGraphPin* Pin |
Finds the net associated with a particular pin | EdGraphUtilities.h | |
static void GetPinConnectionMap
(
const UEdGraphNode* Node, |
Output a map of pin names to a set of connections given a function entry pin | EdGraphUtilities.h | |
static void ImportNodesFromText
(
UEdGraph* DestinationGraph, |
Imports a set of previously exported nodes into a graph | EdGraphUtilities.h | |
| Returns true if the ParameterName is marked as ArrayTypeDependentParams | EdGraphUtilities.h | ||
| Returns true if the ParamaterName is marked as a Set, Map, or array param in the relevant function | EdGraphUtilities.h | ||
| Returns true if the ParameterName is marked as a MapParam, MapKeyParam, or MapValueParam in the relevant Function | EdGraphUtilities.h | ||
| Returns true if the ParameterName is marked as a SetParam in the relevant Function | EdGraphUtilities.h | ||
static void MergeChildrenGraphsIn
(
UEdGraph* MergeTarget, |
Moves the contents of all of the children graphs of ParentGraph (recursively) into the MergeTarget graph. | EdGraphUtilities.h | |
static void PostProcessPastedNodes
(
TSet< class UEdGraphNode* >& SpawnedNodes |
After pasting nodes, need to perform some fixup for pins etc. | EdGraphUtilities.h | |
static void ReconnectPinMap
(
UEdGraphNode* Node, |
Reconnect the pin map to the given node | EdGraphUtilities.h | |
static void RegisterVisualNodeFactory
(
TSharedPtr< FGraphPanelNodeFactory > NewFactory |
EdGraphUtilities.h | ||
static void RegisterVisualPinConnectionFactory
(
TSharedPtr< FGraphPanelPinConnectionFactory > NewFactory |
EdGraphUtilities.h | ||
static void RegisterVisualPinFactory
(
TSharedPtr< FGraphPanelPinFactory > NewFactory |
EdGraphUtilities.h | ||
| Tries to rename the graph to have a name similar to BaseName | EdGraphUtilities.h | ||
| EdGraphUtilities.h | |||
static void UnregisterVisualNodeFactory
(
TSharedPtr< FGraphPanelNodeFactory > OldFactory |
EdGraphUtilities.h | ||
static void UnregisterVisualPinConnectionFactory
(
TSharedPtr< FGraphPanelPinConnectionFactory > OldFactory |
EdGraphUtilities.h | ||
static void UnregisterVisualPinFactory
(
TSharedPtr< FGraphPanelPinFactory > OldFactory |
EdGraphUtilities.h |