Language:
Discover
By Skill Level
By Category

FEdGraphUtilities

Choose your OS:

Syntax

class FEdGraphUtilities

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

FIntRect

 

CalculateApproximateNodeBoundaries

(
    const TArray < UEdGraphNode * > ...
)

Calculates an approximate bounding box for the specified nodes.

Public function Static

bool

 

CanImportNodesFromText

(
    const UEdGraph * DestinationGra...,
    const FString & TextToImport
)

Can we import nodes from this text ?

Public function Static

void

 

CloneAndMergeGraphIn

(
    UEdGraph * MergeTarget,
    UEdGraph * SourceGraph,
    FCompilerResultsLog & MessageLog,
    bool bRequireSchemaMatch,
    bool bInIsCompiling,
    TArray < UEdGraphNode * >* ...
)

Clones the content from SourceGraph and merges it into MergeTarget; including merging/flattening all of the children from the SourceGraph into MergeTarget.

Public function Static

UEdGraph ...

 

CloneGraph

(
    UEdGraph * Source,
    UObject * NewOuter,
    FCompilerResultsLog * MessageLo...,
    bool bCloningForCompile
)

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

Public function Static

void

 

CopyCommonState

(
    UEdGraphNode * OldNode,
    UEdGraphNode * NewNode
)

Copy Common State of data from OldNode to NewNode

Public function Static

void

 

ExportNodesToText

(
    TSet < UObject * > NodesToExport,
    FString & ExportedText
)

Exports a set of nodes to text.

Public function Static

UEdGraphPin ...

 

FindArrayParamPin

(
    const UFunction * Function,
    const UEdGraphNode * Node
)

Returns the first pin marked as an ArrayParam, usually returning nullptr

Public function Static

UEdGraphPin ...

 

FindMapParamPin

(
    const UFunction * Function,
    const UEdGraphNode * Node
)

Returns the first pin marked as an MapParam, usually returning nullptr

Public function Static

UEdGraphPin ...

 

FindPinFromMetaData

(
    const UFunction * Function,
    const UEdGraphNode * Node,
    FName MetaData
)

Returns the first pin referred to in a , and | deliniated list of pin names

Public function Static

UEdGraphPin ...

 

FindSetParamPin

(
    const UFunction * Function,
    const UEdGraphNode * Node
)

Returns the first pin marked as an SetParam, usually returning nullptr

Public function Static

UEdGraphPin ...

 

GetNetFromPin

(
    UEdGraphPin * Pin
)

Finds the net associated with a particular pin

Public function Static

void

 

ImportNodesFromText

(
    UEdGraph * DestinationGraph,
    const FString & TextToImport,
    TSet < UEdGraphNode * >& Import...
)

Imports a set of previously exported nodes into a graph.

Public function Static

bool

 

IsArrayDependentParam

(
    const UFunction * Function,
    const FName ParameterName
)

Returns true if the ParameterName is marked as ArrayTypeDependentParams

Public function Static

bool

 

IsMapParam

(
    const UFunction * Function,
    const FName ParameterName
)

Returns true if the ParameterName is marked as a MapParam, MapKeyParam, or MapValueParam in the relevant Function

Public function Static

bool

 

IsSetParam

(
    const UFunction * Function,
    const FName ParameterName
)

Returns true if the ParameterName is marked as a SetParam in the relevant Function

Public function Static

void

 

MergeChildrenGraphsIn

(
    UEdGraph * MergeTarget,
    UEdGraph * ParentGraph,
    bool bRequireSchemaMatch,
    bool bInIsCompiling,
    FCompilerResultsLog * MessageLo...
)

Moves the contents of all of the children graphs (recursively) into the target graph. This does not clone, it's destructive to the source.

Public function Static

void

 

PostProcessPastedNodes

(
    TSet < class UEdGraphNode * >& ...
)

After pasting nodes, need to perform some fixup for pins etc.

Public function Static

void

 

RegisterVisualNodeFactory

Public function Static

void

 

RegisterVisualPinConnectionFactory

Public function Static

void

 

RegisterVisualPinFactory

Public function Static

void

 

RenameGraphCloseToName

(
    UEdGraph * Graph,
    const FString & BaseName,
    int32 StartIndex
)

Tries to rename the graph to have a name similar to BaseName.

Public function Static

void

 

RenameGraphToNameOrCloseToName

(
    UEdGraph * Graph,
    const FString & DesiredName
)

Public function Static

void

 

UnregisterVisualNodeFactory

Public function Static

void

 

UnregisterVisualPinConnectionFactory

Public function Static

void

 

UnregisterVisualPinFactory

Classes

Name

Description

Public struct

FNodeVisitor

Constants

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EdGraphUtilities.h