UEdGraphSchema_K2

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h

Include

#include "EdGraphSchema_K2.h"

Syntax

class UEdGraphSchema_K2 : public UEdGraphSchema

Variables

Constructors

Name Description

Public function

UEdGraphSchema_K2

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

void

 

AddExtraFunctionFlags

(
    const UEdGraph* CurrentGraph,
    int32 ExtraFlags
)

Add the specified flags to the function entry node of the graph, to make sure they get compiled in to the generated function

Public function Const

void

 

AddSelectedReplaceableNodes

(
    FToolMenuSection& Section,
    UBlueprint* Blueprint,
    const UEdGraphNode* InGraphNod...
)

Generate a list of replaceable nodes for context menu based on the editor's current selection

Public function Virtual Const

bool

 

ArePinTypesCompatible

(
    const FEdGraphPinType& Output,
    const FEdGraphPinType& Input,
    const UClass* CallingContext,
    bool bIgnoreArray
)

Returns true if the two pin types are schema compatible.

Public function Const

void

 

AutowireConversionNode

(
    UEdGraphPin* InputPin,
    UEdGraphPin* OutputPin,
    UEdGraphNode* ConversionNode
)

Tries to connect any pins with matching types and directions from the conversion node to the specified input and output pins.

Public function Static

FVector2D

 

CalculateAveragePositionBetweenNodes

(
    UEdGraphPin* InputPin,
    UEdGraphPin* OutputPin
)

Calculates an average position between the nodes owning the two specified pins.

Public function Const

bool

 

CanFunctionBeUsedInGraph

(
    const UClass* InClass,
    const UFunction* InFunction,
    const UEdGraph* InDestGraph,
    uint32 InFunctionTypes,
    bool bInCalledForEach,
    FText* OutReason
)

Checks to see if the passed in function is valid in the graph for the current class

Public function Static

bool

 

CanKismetOverrideFunction

(
    const UFunction* Function
)

Can this function be overridden by kismet (either placed as event or new function graph created)

Public function Const

bool

 

CanPromotePinToVariable

(
    const UEdGraphPin& Pin,
    bool bInToMemberVariable
)

Can Pin be promoted to a variable?

Public function Const

bool

 

CanRecombineStructPin

(
    const UEdGraphPin& Pin
)

Can Pin be recombined back to its original form

Public function Const

bool

 

CanSplitStructPin

(
    const UEdGraphPin& Pin
)

Can Pin be split in to its component elements

Public function Static

bool

 

CanUserKismetAccessVariable

(
    const FProperty* Property,
    const UClass* InClass,
    EDelegateFilterMode FilterMode
)

Can this variable be accessed by kismet code

Public function Static

bool

 

CanUserKismetCallFunction

(
    const UFunction* Function
)

Can this function be called by kismet code

Public function Const

bool

 

ClassHasBlueprintAccessibleMembers

(
    const UClass* InClass
)

See if a class has any members that are accessible by a blueprint

Public function Const

bool

 

CollapseGatewayNode

(
    UK2Node* InNode,
    UEdGraphNode* InEntryNode,
    UEdGraphNode* InResultNode,
    FKismetCompilerContext* Compil...,
    TSet< UEdGraphNode* >* Ou...
)

Makes connections into/or out of the gateway node, connect directly to the associated networks on the opposite side of the tunnel When done, none of the pins on the gateway node will be connected to anything.

Public function Const

void

 

CombineTwoPinNetsAndRemoveOldPins

(
    UEdGraphPin* InPinA,
    UEdGraphPin* InPinB
)

Connects all of the linked pins from PinA to all of the linked pins from PinB, removing both PinA and PinB from being linked to anything else Requires the nodes that own the pins to be in the same graph already (post-merging)

Public function Static

void

 

ConfigureVarNode

(
    UK2Node_Variable* InVarNode,
    FName InVariableName,
    UStruct* InVariableSource,
    UBlueprint* InTargetBlueprint
)

Configure the supplied variable node based on the supplied info

Public function Virtual Const

void

 

ConstructBasicPinTooltip

(
    const UEdGraphPin& Pin,
    const FText& PinDescription,
    FString& TooltipOut
)

Public function Const

UK2Node *...

 

ConvertDeprecatedNodeToFunctionCall

(
    UK2Node* OldNode,
    UFunction* NewFunction,
    TMap< FName, FName >& OldPinToNewP...,
    UEdGraph* Graph
)

Convert a deprecated node into a function call node, called from per-node ConvertDeprecatedNode

Public function Const

bool

 

ConvertPropertyToPinType

(
    const FProperty* Property,
    FEdGraphPinType& TypeOut
)

Convert the type of a FProperty to the corresponding pin type.

Public function Virtual Const

void

 

CreateFunctionGraphTerminators

(
    UEdGraph& Graph,
    UFunction* FunctionSignature
)

Populate new function graph with entry and possibly return node

Public function Virtual Const

void

 

CreateFunctionGraphTerminators

(
    UEdGraph& Graph,
    UClass* Class
)

Populate new function graph with entry and possibly return node

Public function Virtual Const

void

 

CreateMacroGraphTerminators

(
    UEdGraph& Graph,
    UClass* Class
)

Populate new macro graph with entry and possibly return node

Public function Const

UK2Node *...

 

CreateSplitPinNode

(
    UEdGraphPin* Pin,
    const FCreateSplitPinNodeParams& P...
)

Helper function to create the expansion node.

Public function Virtual Const

bool

 

DefaultValueSimpleValidation

(
    const FEdGraphPinType& PinType,
    const FName PinName,
    const FString& NewDefaultValue,
    UObject* NewDefaultObject,
    const FText& InText,
    FString* OutMsg
)

Do validation, that doesn't require a knowledge about actual pin

Public function Virtual Const

const FPinCo...

 

DetermineConnectionResponseOfCompatibleTypedPins

(
    const UEdGraphPin* PinA,
    const UEdGraphPin* PinB,
    const UEdGraphPin* InputPin,
    const UEdGraphPin* OutputPin
)

Returns the connection response for connecting PinA to PinB, which have already been determined to be compatible types with a compatible direction.

Public function Const

bool

 

DoesGraphSupportImpureFunctions

(
    const UEdGraph* InGraph
)

Checks if the graph supports impure functions

Public function Virtual Const

bool

 

DoesSupportAnimNotifyActions()

Some inherited schemas don't want anim-notify actions listed, so this is an easy way to check that

Public function Virtual Const

bool

 

DoesSupportEventDispatcher()

Determine if this graph supports event dispatcher

Public function Const

bool

 

DoesTypeHaveSubtypes

(
    const FName Category
)

Returns whether or not the specified type has valid subtypes available

Public function Static

float

 

EstimateNodeHeight

(
    UEdGraphNode* Node
)

Calculates an estimated height for the specified node

Public function Const

UEdGraphPin ...

 

FindExecutionPin

(
    const UEdGraphNode& Node,
    EEdGraphPinDirection PinDirection
)

Searches for the first execution pin with the specified direction on the node

Public function Static

bool

 

FindFunctionParameterDefaultValue

(
    const UFunction* Function,
    const FProperty* Param,
    FString& OutString
)

Given a function and property, return the default value

Public function Const

UEdGraphPin ...

 

FindSelfPin

(
    const UEdGraphNode& Node,
    EEdGraphPinDirection PinDirection
)

Searches for the first Self pin with the specified direction on the node

Public function Static

UFunction &#...

 

FindSetVariableByNameFunction

(
    const FEdGraphPinType& PinType
)

Find a 'set value by name' function for the specified pin, if it exists

Public function Virtual Const

bool

 

FindSpecializedConversionNode

(
    const UEdGraphPin* OutputPin,
    const UEdGraphPin* InputPin,
    bool bCreateNode,
    UK2Node*& TargetNode
)

Find an appropriate node that can convert from one pin type to another (not a cast; e.g. "MakeLiteralArray" node)

Public function Static

bool

 

FunctionCanBePlacedAsEvent

(
    const UFunction* InFunction
)

Returns whether a function is marked 'override' and doesn't have any out parameters

Public function Static

bool

 

FunctionCanBeUsedInDelegate

(
    const UFunction* InFunction
)

Can this function be called by kismet delegate

Public function Const

bool

 

FunctionHasParamOfType

(
    const UFunction* InFunction,
    UEdGraph const* InGraph,
    const FEdGraphPinType& DesiredPinT...,
    bool bWantOutput
)

Determine if a function has a parameter of a specific type.

Public function Static

UEdGraphPin ...

 

GetAndResetStraightenDestinationPin()

Get the destination pin for a straighten operation

Public function Static

void

 

GetAutoEmitTermParameters

(
    const UFunction* Function,
    TArray< FString >& AutoEmitParamet...
)

Returns a list of parameters for the function that are specified as automatically emitting terms for unconnected ref parameters in the compiler (MD_AutoCreateRefTerm)

Public function

void

 

GetBreakLinkToSubMenuActions

(
    UToolMenu* Menu,
    UEdGraphPin* InGraphPin
)

Get menu for breaking links to specific nodes

Public function Static

UFunction &#...

 

GetCallableParentFunction

(
    UFunction* Function
)

Finds the parent function for the specified function, if any

Public function Static

FText

 

GetCategoryText

(
    const FName Category,
    const bool bForMenu
)

Returns the FText to use for a given schema category

Public function Static

FText

 

GetFriendlySignatureName

(
    const UFunction* Function
)

Returns friendly signature name if possible or Removes any mangling to get the unmangled signature name of the function

Public function

void

 

GetJumpToConnectionSubMenuActions

(
    UToolMenu* Menu,
    UEdGraphPin* InGraphPin
)

Get menu for jumping to specific pin links

Public function Const

void

 

GetNonExistentVariableMenu

(
    FToolMenuSection& Section,
    const UEdGraphNode* InGraphNod...,
    UBlueprint* OwnerBlueprint
)

Create menu for variable get/set nodes which refer to a variable which does not exist.

Public function Virtual Const

void

 

GetPinDefaultValuesFromString

(
    const FEdGraphPinType& PinType,
    UObject* OwningObject,
    const FString& NewValue,
    FString& UseDefaultValue,
    UObject*& UseDefaultObject,
    FText& UseDefaultText,
    bool bPreserveTextIdentity
)

Reads in a FString and gets the values of the pin defaults for that type.

Public function Static

bool

 

GetPropertyCategoryInfo

(
    const FProperty* TestProperty,
    FName& OutCategory,
    FName& OutSubCategory,
    UObject*& OutSubCategoryObject,
    bool& bOutIsWeakPointer
)

Helper function for filling out Category, SubCategory, and SubCategoryObject based on a FProperty

Public function Static

void

 

GetReplaceVariableMenu

(
    UToolMenu* Menu,
    UK2Node_Variable* Variable,
    UBlueprint* OwnerBlueprint,
    bool bReplaceExistingVariable
)

Create sub menu that shows all possible variables that can be used to replace the existing variable reference

Public function Const

void

 

GetReplaceVariableMenu

(
    FToolMenuSection& Section,
    const UEdGraphNode* InGraphNod...,
    UBlueprint* InOwnerBlueprint,
    bool bInReplaceExistingVariable
)

Create menu for variable get/set nodes which allows for the replacement of variables

Public function Const

FLinearColor

 

GetSecondaryPinTypeColor

(
    const FEdGraphPinType& PinType
)

Public function Const

void

 

GetStraightenConnectionToSubMenuActions

(
    UToolMenu* Menu,
    UEdGraphPin* InGraphPin
)

Get menu for straightening links to specific nodes

Public function Const

void

 

GetVariableTypeTree

(
    TArray< TSharedPtr< FPinTypeTreeInf...,
    ETypeTreeFilter TypeTreeFilter
)

Get the type tree for all of the property types valid for this schema

Public function Virtual Const

void

 

HandleParameterDefaultValueChanged

(
    UK2Node* TargetNode
)

Call to let blueprint and UI know that parameters have changed for a function/macro/etc

Public function Static

bool

 

HasFunctionAnyOutputParameter

(
    const UFunction* Function
)

Returns if function has output parameter(s)

Public function Static

bool

 

HasWildcardParams

(
    const UFunction* Function
)

Returns true if the function has wildcard parameters, e.g. uses runtime type information that may require safe failure handling

Public function Const

bool

 

IsActorValidForLevelScriptRefs

(
    const AActor* TestActor,
    const UBlueprint* Blueprint
)

Whether or not the specified actor is a valid target for bound events and literal references (in the right level, not a builder brush, etc

Public function Static

bool

 

IsAllowableBlueprintVariableType

(
    const UScriptStruct* InStruct,
    bool bForInternalUse
)

Public function Static

bool

 

IsAllowableBlueprintVariableType

(
    const UClass* InClass
)

Public function Static

bool

 

IsAllowableBlueprintVariableType

(
    const UEnum* InEnum
)

Public function Static

bool

 

IsAutoCreateRefTerm

(
    const UEdGraphPin* Pin
)

Returns true if the owning node is a function with AutoCreateRefTerm meta data

Public function Const

bool

 

IsCompositeGraph

(
    const UEdGraph* TestEdGraph
)

Checks to see if the specified graph is a composite graph

Public function Const

bool

 

IsConstFunctionGraph

(
    const UEdGraph* TestEdGraph,
    bool* bOutIsEnforcingConstCorr...
)

Checks to see if the specified graph is a const function graph

Public function Static

bool

 

IsConstructionScript

(
    const UEdGraph* TestEdGraph
)

Checks to see if the specified graph is a construction script

Public function Static

bool

 

IsExecPin

(
    const UEdGraphPin& Pin
)

Checks to see if a pin is an execution pin.

Public function Const

bool

 

IsIndexWildcardCompatible

(
    const FEdGraphPinType& PinType
)

Returns whether a pin category is compatible with an Index Wildcard (PC_Wildcard and PSC_Index)

Public function Const

bool

 

IsMetaPin

(
    const UEdGraphPin& Pin
)

Checks to see if a pin is a meta-pin (either a Self or Exec pin)

Public function Static

bool

 

IsPropertyExposedOnSpawn

(
    const FProperty* Property
)

Public function Const

bool

 

IsStaticFunctionGraph

(
    const UEdGraph* TestEdGraph
)

Checks to see if the specified graph is a static function graph

Public function Static

bool

 

IsWildcardProperty

(
    const FProperty* ParamProperty
)

Determines if the specified param property is intended to be used as a wildcard (for custom thunk functions, like in our array library, etc.)

Public function Const

void

 

LinkDataPinFromOutputToInput

(
    UEdGraphNode* InOutputNode,
    UEdGraphNode* InInputNode
)

Make links from all data pins from InOutputNode output to InInputNode input.

Public function Const

void

 

MarkFunctionEntryAsEditable

(
    const UEdGraph* CurrentGraph,
    bool bNewEditable
)

Marks the function entry of a graph as editable via function editor or not-editable

Public function Static

void

 

OnCreateNonExistentLocalVariable

(
    UK2Node_Variable* Variable,
    UBlueprint* OwnerBlueprint
)

Create the local variable that the broken node refers to

Public function Static

void

 

OnCreateNonExistentVariable

(
    UK2Node_Variable* Variable,
    UBlueprint* OwnerBlueprint
)

Create the variable that the broken node refers to

Public function Static

void

 

OnReplaceVariableForVariableNode

(
    UK2Node_Variable* Variable,
    UBlueprint* OwnerBlueprint,
    FName VariableName,
    bool bIsSelfMember
)

Replace the variable that a variable node refers to when the variable it refers to does not exist

Public function Const

bool

 

PinDefaultValueIsEditable

(
    const UEdGraphPin& InGraphPin
)

Returns true if the pin has a value field that can be edited inline

Public function Const

bool

 

PinHasCustomDefaultFormat

(
    const UEdGraphPin& InGraphPin
)

Returns true if the pin has a custom default string format and it is not safe to use ExportText

Public function Const

bool

 

PinHasSplittableStructType

(
    const UEdGraphPin* InGraphPin
)

Returns whether the supplied Pin is a splittable struct.

Public function Const

bool

 

ReplaceOldNodeWithNew

(
    UK2Node* OldNode,
    UK2Node* NewNode,
    const TMap< FName, FName >& OldPin...
)

Moves all connections from the old node to the new one.

Public function

void

 

ReplaceSelectedNode

(
    UEdGraphNode* SourceNode,
    AActor* TargetActor
)

Function to replace current graph node reference object with a new object

Public function Virtual Const

bool

 

SearchForAutocastFunction

(
    const UEdGraphPin* OutputPin,
    const UEdGraphPin* InputPin,
    FName& TargetFunction,
    UClass*& FunctionOwner
)

Find an appropriate function to call to perform an automatic cast operation

Public function

void

 

SelectAllNodesInDirection

(
    TEnumAsByte< enum EEdGraphPinDirect...,
    UEdGraph* Graph,
    UEdGraphPin* InGraphPin
)

Public function Virtual Const

void

 

SetPinAutogeneratedDefaultValue

(
    UEdGraphPin* Pin,
    const FString& NewValue
)

Sets the autogenerated default value for a pin, optionally using the passed in function and parameter.

Public function Virtual Const

void

 

SetPinAutogeneratedDefaultValueBasedOnType

(
    UEdGraphPin* Pin
)

Sets the autogenerated default value for a pin using the default for that type.

Public function Virtual Const

void

 

SetPinDefaultValueAtConstruction

(
    UEdGraphPin* Pin,
    const FString& DefaultValueString
)

Sets the pin defaults, but not autogenerated defaults, at pin construction time.

Public function Static

void

 

Shutdown()

Function called when the owning module is shut down

Public function Virtual Const

UK2Node_Vari...

 

SpawnVariableGetNode

(
    const FVector2D GraphPosition,
    UEdGraph* ParentGraph,
    FName VariableName,
    UStruct* Source
)

Creates a new variable getter node and adds it to ParentGraph

Public function Virtual Const

UK2Node_Vari...

 

SpawnVariableSetNode

(
    const FVector2D GraphPosition,
    UEdGraph* ParentGraph,
    FName VariableName,
    UStruct* Source
)

Creates a new variable setter node and adds it to ParentGraph

Public function Static

FText

 

TerminalTypeToText

(
    const FName Category,
    const FName SubCategory,
    UObject* SubCategoryObject,
    bool bIsWeakPtr
)

Converts a terminal type into a fully qualified FText (e.g., object'ObjectName').

Public function Static

FText

 

TypeToText

(
    FProperty*const Property
)

Converts the type of a property into a fully qualified string (e.g., object'ObjectName').

Public function Static

FText

 

TypeToText

(
    const FEdGraphPinType& Type
)

Converts a pin type into a fully qualified FText (e.g., object'ObjectName').

Public function Static

void

 

ValidateExistingConnections

(
    UEdGraphPin* Pin
)

Utility that makes sure existing connections are valid, breaking any that are now illegal.

Overridden from UEdGraphSchema

Name Description

Public function Virtual Const

bool

 

ArePinsCompatible

(
    const UEdGraphPin* PinA,
    const UEdGraphPin* PinB,
    const UClass* CallingContext,
    bool bIgnoreArray
)

Returns true if the types and directions of two pins are schema compatible.

Public function Virtual Const

void

 

BackwardCompatibilityNodeConversion

(
    UEdGraph* Graph,
    bool bOnlySafeChanges
)

Public function Virtual Const

void

 

BreakNodeLinks

(
    UEdGraphNode& TargetNode
)

Breaks all links from/to a single node

Public function Virtual Const

void

 

BreakPinLinks

(
    UEdGraphPin& TargetPin,
    bool bSendsNodeNotifcation
)

Breaks all links from/to a single pin

Public function Virtual Const

void

 

BreakSinglePinLink

(
    UEdGraphPin* SourcePin,
    UEdGraphPin* TargetPin
)

Breaks the link between two nodes.

Public function Virtual Const

const FPinCo...

 

CanCreateConnection

(
    const UEdGraphPin* A,
    const UEdGraphPin* B
)

Determine if a connection can be created between two pins.

Public function Virtual Const

bool

 

CanDuplicateGraph

(
    UEdGraph* InSourceGraph
)

Can this graph type be duplicated?

Public function Virtual Const

bool

 

CanEncapuslateNode

(
    UEdGraphNode const& TestNode
)

Can TestNode be encapsulated into a child graph?

Public function Virtual Const

void

 

ClearPinWatch

(
    UEdGraphPin const* Pin
)

If the specified pin is currently being watched, then this will clear the watch from the graph's debug system.

Public function Virtual Const

bool

 

CreateAutomaticConversionNodeAndConnections

(
    UEdGraphPin* A,
    UEdGraphPin* B
)

Try to create an automatic cast or other conversion node node to facilitate a connection between two pins.

Public function Virtual Const

UEdGraphNode...

 

CreateSubstituteNode

(
    UEdGraphNode* Node,
    const UEdGraph* Graph,
    FObjectInstancingGraph* Instan...,
    TSet< FName >& InOutExtraNames
)

Attempts to construct a substitute node that is unique within its graph.

Public function Virtual Const

bool

 

DoesDefaultValueMatchAutogenerated

(
    const UEdGraphPin& InPin
)

Returns if the pin's value matches what the true (autogenerated) default value for that pin would be

Public function Virtual Const

bool

 

DoesSupportPinWatching()

An easy way to check to see if the current graph system supports pin watching.

Public function Virtual Const

void

 

DroppedAssetsOnGraph

(
    const TArray< FAssetData >& Assets,
    const FVector2D& GraphPosition,
    UEdGraph* Graph
)

Called when asset(s) are dropped onto a graph background.

Public function Virtual Const

void

 

DroppedAssetsOnNode

(
    const TArray< FAssetData >& Assets,
    const FVector2D& GraphPosition,
    UEdGraphNode* Node
)

Called when asset(s) are dropped onto the specified node

Public function Virtual Const

void

 

DroppedAssetsOnPin

(
    const TArray< FAssetData >& Assets,
    const FVector2D& GraphPosition,
    UEdGraphPin* Pin
)

Called when asset(s) are dropped onto the specified pin

Public function Virtual Const

UEdGraphPin ...

 

DropPinOnNode

(
    UEdGraphNode* InTargetNode,
    const FName& InSourcePinName,
    const FEdGraphPinType& InSourcePin...,
    EEdGraphPinDirection InSourcePinDir...
)

Some schemas have nodes that support the user dynamically adding pins when dropping a connection on the node

Public function Virtual Const

UEdGraph ...

 

DuplicateGraph

(
    UEdGraph* GraphToDuplicate
)

Duplicate a given graph return the duplicate graph

Public function Virtual Const

bool

 

FadeNodeWhenDraggingOffPin

(
    const UEdGraphNode* Node,
    const UEdGraphPin* Pin
)

When dragging off a pin, we want to duck the alpha of some nodes

Public function Virtual Const

void

 

ForceVisualizationCacheClear()

Forces cached visualization data to refresh

Public function Virtual Const

void

 

GetAssetsGraphHoverMessage

(
    const TArray< FAssetData >& Assets,
    const UEdGraph* HoverGraph,
    FString& OutTooltipText,
    bool& OutOkIcon
)

Allows schema to generate a tooltip (icon & message) when the specified asset(s) are dragged over the specified graph

Public function Virtual Const

void

 

GetAssetsNodeHoverMessage

(
    const TArray< FAssetData >& Assets,
    const UEdGraphNode* HoverNode,
    FString& OutTooltipText,
    bool& OutOkIcon
)

Allows schema to generate a tooltip (icon & message) when the specified asset(s) are dragged over the specified node

Public function Virtual Const

void

 

GetAssetsPinHoverMessage

(
    const TArray< FAssetData >& Assets,
    const UEdGraphPin* HoverPin,
    FString& OutTooltipText,
    bool& OutOkIcon
)

Allows schema to generate a tooltip (icon & message) when the specified asset(s) are dragged over the specified pin

Public function Virtual Const

void

 

GetContextMenuActions

(
    UToolMenu* Menu,
    UGraphNodeContextMenuContext* ...
)

Gets actions that should be added to the right-click context menu for a node or pin

Public function Virtual Const

TSharedPtr< ...

 

GetCreateCommentAction()

Returns schema action to create comment from implemention

Public function Virtual Const

int32

 

GetCurrentVisualizationCacheID()

Returns the current cache title refresh ID that is appropriate for the passed node

Public function Virtual Const

void

 

GetGraphDisplayInformation

(
    const UEdGraph& Graph,
    FGraphDisplayInfo& DisplayInfo
)

Gets display information for a graph

Public function Virtual Const

EGraphType

 

GetGraphType

(
    const UEdGraph* TestEdGraph
)

Public function Virtual Const

int32

 

GetNodeSelectionCount

(
    const UEdGraph* Graph
)

Returns the currently selected graph node count

Public function Virtual Const

FText

 

GetPinDisplayName

(
    const UEdGraphPin* Pin
)

Get the name to show in the editor

Public function Virtual Const

FLinearColor

 

GetPinTypeColor

(
    const FEdGraphPinType& PinType
)

Gets the draw color of a pin based on it's type.

Public function Virtual Const

void

 

HandleGraphBeingDeleted

(
    UEdGraph& GraphBeingRemoved
)

Handle a graph being removed by the user (potentially removing associated bound nodes, etc...)

Public function Virtual Const

bool

 

IsCacheVisualizationOutOfDate

(
    int32 InVisualizationCacheID
)

Checks if a CacheRefreshID is out of date

Public function Virtual Const

bool

 

IsDelegateCategory

(
    const FName Category
)

Is given string a delegate category name ?

Public function Virtual Const

bool

 

IsPinBeingWatched

(
    UEdGraphPin const* Pin
)

Checks to see if the specified pin is being watched by the graph's debug system.

Public function Virtual Const

FString

 

IsPinDefaultValid

(
    const UEdGraphPin* Pin,
    const FString& NewDefaultValue,
    UObject* NewDefaultObject,
    const FText& InNewDefaultText
)

Determine if the supplied pin default values would be valid.

Public function Virtual Const

bool

 

IsSelfPin

(
    const UEdGraphPin& Pin
)

Checks to see if a pin is a Self pin (indicating the calling context for the node)

Public function Virtual Const

bool

 

IsTitleBarPin

(
    const UEdGraphPin& Pin
)

Query if the passed in pin is a title bar pin.

Public function Virtual Const

void

 

OnPinConnectionDoubleCicked

(
    UEdGraphPin* PinA,
    UEdGraphPin* PinB,
    const FVector2D& GraphPosition
)

Handles double-clicking on a pin<->pin connection

Public function Virtual Const

void

 

RecombinePin

(
    UEdGraphPin* Pin
)

Collapses a pin and its siblings back in to the original pin

Public function Virtual Const

void

 

ReconstructNode

(
    UEdGraphNode& TargetNode,
    bool bIsBatchRequest
)

Reconstructs a node

Public function Virtual Const

void

 

ResetPinToAutogeneratedDefaultValue

(
    UEdGraphPin* Pin,
    bool bCallModifyCallbacks
)

Resets a pin back to it's autogenerated default value, optionally calling the default value change callbacks

Public function Virtual Const

bool

 

SafeDeleteNodeFromGraph

(
    UEdGraph* Graph,
    UEdGraphNode* Node
)

Perform any logic necessary to safely remove this node from the graph.

Public function Virtual Const

bool

 

ShouldAlwaysPurgeOnModification()

When a node is removed, this method determines whether we should remove it immediately or use the old (slower) code path that results in all node being recreated:

Public function Virtual Const

bool

 

ShouldHidePinDefaultValue

(
    UEdGraphPin* Pin
)

If we should disallow viewing and editing of the supplied pin

Public function Virtual Const

bool

 

ShouldShowAssetPickerForPin

(
    UEdGraphPin* Pin
)

Should the Pin in question display an asset picker

Public function Virtual Const

void

 

SplitPin

(
    UEdGraphPin* Pin,
    bool bNotify
)

Split a pin in to subelements

Public function Virtual Const

bool

 

SupportsDropPinOnNode

(
    UEdGraphNode* InTargetNode,
    const FEdGraphPinType& InSourcePin...,
    EEdGraphPinDirection InSourcePinDir...,
    FText& OutErrorMessage
)

Checks if the node supports dropping a pin on it

Public function Virtual Const

bool

 

TryCreateConnection

(
    UEdGraphPin* A,
    UEdGraphPin* B
)

Try to make a connection between two pins.

Public function Virtual Const

void

 

TrySetDefaultObject

(
    UEdGraphPin& Pin,
    UObject* NewDefaultObject,
    bool bMarkAsModified
)

Sets the object to the specified pin

Public function Virtual Const

void

 

TrySetDefaultText

(
    UEdGraphPin& InPin,
    const FText& InNewDefaultText,
    bool bMarkAsModified
)

Sets the text to the specified pin

Public function Virtual Const

void

 

TrySetDefaultValue

(
    UEdGraphPin& Pin,
    const FString& NewDefaultValue,
    bool bMarkAsModified
)

Sets the string to the specified pin; even if it is invalid it is still set.

Classes

Name

Description

Public struct

FCreateSplitPinNodeParams

Public class

FPinTypeTreeInfo

FPinTypeInfo.

Enums

Name

Description

Public enum

EDelegateFilterMode

Public enum

EFunctionType

Flags to indicate different types of blueprint callable functions

Constants

Name

Description

AG_LevelReference

Action grouping values

AllObjectTypes

Pin Selector category for all object types.

bGeneratingDocumentation

Somewhat hacky mechanism to prevent tooltips created for pins from including the display name and type when generating BP API documentation.

ColorStruct

CurrentCacheRefreshID

ID for checking dirty status of node titles against, increases every compile.

FN_ExecuteUbergraphBase

FN_UserConstructionScript

Construction script function names

GN_AnimGraph

GN_EventGraph

Graph names

LinearColorStruct

PC_Boolean

PC_Byte

PC_Class

PC_Delegate

PC_Enum

PC_Exec

Allowable PinType.PinCategory values.

PC_FieldPath

PC_Float

PC_Int

PC_Int64

PC_Interface

PC_MCDelegate

PC_Name

PC_Object

PC_SoftClass

PC_SoftObject

PC_String

PC_Struct

PC_Text

PC_Wildcard

PN_After

PN_CastedValuePrefix

PN_CastFailed

PN_CastSucceeded

PN_Completed

PN_Condition

PN_DelegateEntry

PN_Else

PN_EntryPoint

PN_Execute

Pin names that have special meaning and required types in some contexts (depending on the node type)

PN_Index

PN_Item

PN_Loop

PN_MatineeFinished

PN_ObjectToCast

PN_ReturnValue

PN_Self

PN_Start

PN_Stop

PN_Then

PSC_Bitmask

PSC_Index

PSC_Self

Common PinType.PinSubCategory values.

RotatorStruct

TransformStruct

VectorStruct

VR_DefaultCategory

Variable names

Deprecated Functions

Name Description

Public function Virtual Const

void

 

SetPinDefaultValue

(
    UEdGraphPin* Pin,
    const UFunction* Function,
    const FProperty* Param
)

SetPinDefaultValue is deprecated due to confusing name, call SetPinAutogeneratedDefaultValue

Public function Virtual Const

void

 

SetPinDefaultValueBasedOnType

(
    UEdGraphPin* Pin
)

SetPinDefaultValueBasedOnType is deprecated due to confusing name, call SetPinAutogeneratedDefaultValue

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