UEdGraphNode

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UEdGraphNode

UAIGraphNode

UBehaviorTreeGraphNode

UBehaviorTreeGraphNode_Composite

UBehaviorTreeGraphNode_SimpleParallel

UBehaviorTreeGraphNode_CompositeDecorator

UBehaviorTreeGraphNode_Decorator

UBehaviorTreeGraphNode_Root

UBehaviorTreeGraphNode_Service

UBehaviorTreeGraphNode_Task

UBehaviorTreeGraphNode_SubtreeTask

UEnvironmentQueryGraphNode

UEnvironmentQueryGraphNode_Option

UEnvironmentQueryGraphNode_Root

UEnvironmentQueryGraphNode_Test

UAnimStateEntryNode

UAnimStateNodeBase

UAnimStateConduitNode

UAnimStateNode

UAnimStateTransitionNode

UBehaviorTreeDecoratorGraphNode

UBehaviorTreeDecoratorGraphNode_Decorator

UBehaviorTreeDecoratorGraphNode_Logic

UControlRigGraphNode

UEdGraphNode_Comment

UMaterialGraphNode_Comment

UEdGraphNode_Documentation

UEdGraphNode_Reference

UK2Node

UAnimGraphNode_Base

UAnimGraphNode_ApplyAdditive

UAnimGraphNode_ApplyMeshSpaceAdditive

UAnimGraphNode_AssetPlayerBase

UAnimGraphNode_BlendSpaceBase

UAnimGraphNode_AimOffsetLookAt

UAnimGraphNode_BlendSpaceEvaluator

UAnimGraphNode_BlendSpacePlayer

UAnimGraphNode_RotationOffsetBlendSpace

UAnimGraphNode_PoseByName

UAnimGraphNode_PoseHandler

UAnimGraphNode_PoseBlendNode

UAnimGraphNode_PoseDriver

UAnimGraphNode_SequenceEvaluator

UAnimGraphNode_SequencePlayer

UAnimGraphNode_BlendBoneByChannel

UAnimGraphNode_BlendListBase

UAnimGraphNode_BlendListByBool

UAnimGraphNode_BlendListByEnum

UAnimGraphNode_BlendListByInt

UAnimGraphNode_LayeredBoneBlend

UAnimGraphNode_ComponentToLocalSpace

UAnimGraphNode_CopyPoseFromMesh

UAnimGraphNode_CurveSource

UAnimGraphNode_CustomProperty

UAnimGraphNode_SubInstanceBase

UAnimGraphNode_Layer

UAnimGraphNode_SubInstance

UAnimGraphNode_LocalToComponentSpace

UAnimGraphNode_MakeDynamicAdditive

UAnimGraphNode_MeshRefPose

UAnimGraphNode_ModifyCurve

UAnimGraphNode_MultiWayBlend

UAnimGraphNode_PoseSnapshot

UAnimGraphNode_RandomPlayer

UAnimGraphNode_RefPoseBase

UAnimGraphNode_IdentityPose

UAnimGraphNode_LocalRefPose

UAnimGraphNode_Root

UAnimGraphNode_RotateRootBone

UAnimGraphNode_SaveCachedPose

UAnimGraphNode_ScaleChainLength

UAnimGraphNode_SkeletalControlBase

UAnimGraphNode_AnimDynamics

UAnimGraphNode_ApplyLimits

UAnimGraphNode_BoneDrivenController

UAnimGraphNode_CCDIK

UAnimGraphNode_Constraint

UAnimGraphNode_CopyBone

UAnimGraphNode_CopyBoneDelta

UAnimGraphNode_Fabrik

UAnimGraphNode_HandIKRetargeting

UAnimGraphNode_LegIK

UAnimGraphNode_LookAt

UAnimGraphNode_ModifyBodyStateMappedBones

UAnimGraphNode_ModifyBone

UAnimGraphNode_ObserveBone

UAnimGraphNode_ResetRoot

UAnimGraphNode_RigidBody

UAnimGraphNode_RigidBody_Chaos

UAnimGraphNode_RotationMultiplier

UAnimGraphNode_SplineIK

UAnimGraphNode_SpringBone

UAnimGraphNode_Trail

UAnimGraphNode_TwistCorrectiveNode

UAnimGraphNode_TwoBoneIK

UAnimGraphNode_WheelHandler

UAnimGraphNode_Slot

UAnimGraphNode_StateMachineBase

UAnimGraphNode_StateMachine

UAnimGraphNode_StateResult

UAnimGraphNode_CustomTransitionResult

UAnimGraphNode_SubInput

UAnimGraphNode_TransitionPoseEvaluator

UAnimGraphNode_TransitionResult

UAnimGraphNode_TwoWayBlend

UAnimGraphNode_UseCachedPose

UGameplayTagsK2Node_LiteralGameplayTag

UGameplayTagsK2Node_MultiCompareBase

UGameplayTagsK2Node_MultiCompareGameplayTagAssetInterface

UGameplayTagsK2Node_MultiCompareGameplayTagAssetInterfaceSingleTags

UGameplayTagsK2Node_MultiCompareGameplayTagContainer

UGameplayTagsK2Node_MultiCompareGameplayTagContainerSingleTags

UK2Node_AssignmentStatement

UK2Node_BaseAsyncTask

UK2Node_AIMoveTo

UK2Node_AsyncAction

UK2Node_ConvertToHEIF

UK2Node_ConvertToJPEG

UK2Node_ConvertToPNG

UK2Node_ConvertToTIFF

UK2Node_DetectFaces

UK2Node_InAppPurchase

UK2Node_InAppPurchaseQuery

UK2Node_InAppPurchaseRestore

UK2Node_LatentGameplayTaskCall

UK2Node_LatentAbilityCall

UK2Node_LatentOnlineCall

UK2Node_LeaderboardFlush

UK2Node_LeaderboardQuery

UK2Node_PlayMontage

UK2Node_BaseMCDelegate

UK2Node_AddDelegate

UK2Node_AssignDelegate

UK2Node_CallDelegate

UK2Node_ClearDelegate

UK2Node_RemoveDelegate

UK2Node_BitmaskLiteral

UK2Node_CallFunction

UK2Node_AddComponent

UK2Node_AnimGetter

UK2Node_CallArrayFunction

UK2Node_CallDataTableFunction

UK2Node_CallFunctionOnMember

UK2Node_CallMaterialParameterCollectionFunction

UK2Node_CallParentFunction

UK2Node_CommutativeAssociativeBinaryOperator

UK2Node_GetInputAxisKeyValue

UK2Node_GetInputVectorAxisValue

UK2Node_GetInputAxisValue

UK2Node_Message

UK2Node_CastByteToEnum

UK2Node_ConstructObjectFromClass

UK2Node_GenericCreateObject

UK2Node_SpawnActorFromClass

UK2Node_ConvertAsset

UK2Node_Copy

UK2Node_CreateDelegate

UK2Node_DeadClass

UK2Node_DelegateSet

UK2Node_DoOnceMultiInput

UK2Node_DynamicCast

UK2Node_ClassDynamicCast

UK2Node_EaseFunction

UK2Node_EditablePinBase

UK2Node_Event

UK2Node_ActorBoundEvent

UK2Node_ComponentBoundEvent

UK2Node_CustomEvent

UK2Node_GameplayCueEvent

UK2Node_InputActionEvent

UK2Node_InputAxisEvent

UK2Node_InputAxisKeyEvent

UK2Node_InputVectorAxisEvent

UK2Node_InputKeyEvent

UK2Node_InputTouchEvent

UK2Node_WidgetAnimationEvent

UK2Node_FunctionTerminator

UK2Node_FunctionEntry

UK2Node_FunctionResult

UK2Node_Tunnel

UK2Node_Composite

UK2Node_MathExpression

UK2Node_MacroInstance

UK2Node_EnumEquality

UK2Node_EnumInequality

UK2Node_EnumLiteral

UK2Node_EvaluateLiveLinkFrame

UK2Node_ExecutionSequence

UK2Node_MultiGate

UK2Node_ForEachElementInEnum

UK2Node_FormatText

UK2Node_GetArrayItem

UK2Node_GetClassDefaults

UK2Node_GetDataTableRow

UK2Node_GetEnumeratorName

UK2Node_GetEnumeratorNameAsString

UK2Node_GetNumEnumEntries

UK2Node_GetSequenceBinding

UK2Node_GetSubsystem

UK2Node_GetEditorSubsystem

UK2Node_GetEngineSubsystem

UK2Node_GetSubsystemFromPC

UK2Node_IfThenElse

UK2Node_InputAction

UK2Node_InputKey

UK2Node_InputTouch

UK2Node_Knot

UK2Node_Literal

UK2Node_LoadAsset

UK2Node_LoadAssetClass

UK2Node_MakeContainer

UK2Node_MakeArray

UK2Node_MakeMap

UK2Node_MakeSet

UK2Node_MakeVariable

UK2Node_MatineeController

UK2Node_PureAssignmentStatement

UK2Node_Select

UK2Node_Self

UK2Node_SetVariableOnPersistentFrame

UK2Node_SpawnActor

UK2Node_Switch

UGameplayTagsK2Node_SwitchGameplayTag

UGameplayTagsK2Node_SwitchGameplayTagContainer

UK2Node_SwitchEnum

UK2Node_SwitchInteger

UK2Node_SwitchName

UK2Node_SwitchString

UK2Node_TemporaryVariable

UDEPRECATED_K2Node_LocalVariable

UK2Node_Timeline

UK2Node_TransitionRuleGetter

UK2Node_TunnelBoundary

UK2Node_Variable

UK2Node_StructOperation

UK2Node_StructMemberGet

UK2Node_BreakStruct

UK2Node_StructMemberSet

UK2Node_MakeStruct

UK2Node_SetFieldsInStruct

UK2Node_VariableGet

UK2Node_VariableSet

UK2Node_VariableSetRef

UMaterialGraphNode_Base

UMaterialGraphNode

UMaterialGraphNode_Knot

UMaterialGraphNode_Root

UNiagaraNode

UNiagaraNodeDataSetBase

UNiagaraNodeReadDataSet

UNiagaraNodeWriteDataSet

UNiagaraNodeInput

UNiagaraNodeOutput

UNiagaraNodeWithDynamicPins

UNiagaraNodeFunctionCall

UNiagaraNodeAssignment

UNiagaraNodeCustomHlsl

UNiagaraNodeOp

USoundClassGraphNode

USoundCueGraphNode_Base

USoundCueGraphNode

USoundCueGraphNode_Root

USoundSubmixGraphNode

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphNode.h

Include

#include "EdGraph/EdGraphNode.h"

Syntax

class UEdGraphNode : public UObject

Variables

Name Description

Public variable

TEnumAsByte< EN...

 

AdvancedPinDisplay

Enum to indicate if a node has advanced-display-pins, and if they are shown

Public variable

uint8: 1

 

bCanRenameNode

If true, this node can be renamed in the editor

Public variable

uint8: 1

 

bCanResizeNode

If true, this node can be resized and should be drawn with a resize handle

Public variable

uint8: 1

 

bCommentBubbleMakeVisible

Make comment bubble visible

Public variable

uint8: 1

 

bCommentBubblePinned

Comment bubble pinned state

Public variable

uint8: 1

 

bCommentBubbleVisible

Comment bubble visibility

Public variable

uint8: 1

 

bDisableOrphanPinSaving

When true, overrides whatever OrphanedPinSaveMode specifies and behaves as if it were SaveNone.

Public variable

uint8: 1

 

bHasCompilerMessage

Flag to check for compile error/warning

Public variable

TWeakPtr< SGrap...

 

DEPRECATED_NodeWidget

Widget representing this node if it exists; Note: This is not safe to use in general and will be removed in the future, as there is no guarantee that only one graph editor/panel is viewing a given graph

Public variable

TArray< class U...

 

DeprecatedPins

List of connector pins

Public variable

FString

 

ErrorMsg

Error/Warning description

Public variable

int32

 

ErrorType

Flag to store node specific compile error/warning

Public variable

FString

 

NodeComment

Comment string that is drawn on the node

Public variable

FGuid

 

NodeGuid

GUID to uniquely identify this node, to facilitate diffing versions of this graph

Public variable

int32

 

NodeHeight

Height of node in the editor; only used when the node can be resized

Public variable

int32

 

NodePosX

X position of node in the editor

Public variable

int32

 

NodePosY

Y position of node in the editor

Public variable

FText

 

NodeUpgradeMessage

Note for a node that lingers until saved

Public variable

int32

 

NodeWidth

Width of node in the editor; only used when the node can be resized

Protected variable

ESaveOrphanPinM...

 

OrphanedPinSaveMode

When reconstructing a node should the orphaned pins be retained and transfered to the new pin list.

Public variable

TArray< UEdGrap...

 

Pins

Constructors

Name Description

Public function

UEdGraphNode

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddNodeUpgradeNote

(
    FText InUpgradeNote
)

Adds an upgrade note to this node

Public function Static

void

 

AddReferencedObjects

(
    UObject* InThis,
    FReferenceCollector& Collector
)

Public function Virtual Const

void

 

AddSearchMetaDataInfo

(
    TArray< struct FSearchTagDataPair >...
)

Add's node data to the search metadata, override to collect more data that may be desirable to search for

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual

void

 

AutowireNewNode

(
    UEdGraphPin* FromPin
)

Autowire a newly created node.

Public function

void

 

BreakAllNodeLinks()

Break all links on this node

Public function Virtual Const

bool

 

CanCreateUnderSpecifiedSchema

(
    const UEdGraphSchema* Schema
)

Determine if this node can be created under the specified schema

Public function Virtual Const

bool

 

CanDuplicateNode()

Whether or not this node can be safely duplicated (via copy/paste, etc...) in the graph

Public function Virtual Const

bool

 

CanJumpToDefinition()

Returns true if it is possible to jump to the definition of this node (e.g., if it's a variable get or a function call)

Public function Virtual Const

bool

 

CanPasteHere

(
    const UEdGraph* TargetGraph
)

Determine if this node can live in the specified graph

Public function Virtual Const

bool

 

CanSplitPin

(
    const UEdGraphPin* Pin
)

Whether or not struct pins belonging to this node should be allowed to be split or not.

Public function Virtual Const

bool

 

CanUserDeleteNode()

Whether or not this node can be deleted by user action

Public function Virtual Const

bool

 

CanUserEditPinAdvancedViewFlag()

Whether or not this node allows users to edit the advanced view flag of pins (actually edit the property, not the same as show/hide advanced pins).

Public function

void

 

ClearCompilerMessage()

Clear error flag

Public function

void

 

CreateNewGuid()

Create a new unique Guid for this node

Public function Virtual Const

TSharedPtr< ...

 

CreateNodeImage()

Create the background image for the widget representing this node

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FName PinCategory,
    const FName PinName,
    const FCreatePinParams& PinParams
)

Create a new pin on this node using the supplied info, and return the new pin

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FEdGraphPinType& InPinType,
    const FName PinName,
    int32 Index
)

Create a new pin on this node using the supplied pin type, and return the new pin

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FName PinCategory,
    const FName PinSubCategory,
    const FName PinName,
    const FCreatePinParams& PinParams
)

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FName PinCategory,
    UObject* PinSubCategoryObject,
    const FName PinName,
    const FCreatePinParams& PinParams
)

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FName PinCategory,
    const FName PinSubCategory,
    UObject* PinSubCategoryObject,
    const FName PinName,
    const FCreatePinParams& PinParams
)

Public function Virtual Const

FName

 

CreateUniquePinName

(
    FName SourcePinName
)

Generate a unique pin name, trying to stick close to a passed in name

Public function Virtual

TSharedPtr< ...

 

CreateVisualWidget()

Create a visual widget to represent this node in a graph editor or graph panel.

Public function Virtual

void

 

DestroyNode()

Destroy the specified node

Public function Static

void

 

DestroyPin

(
    UEdGraphPin* Pin
)

Destroys the specified pin, does not modify its owning pin's Pins list

Protected function Virtual Const

void

 

DiffProperties

(
    UStruct* StructA,
    UStruct* StructB,
    uint8* DataA,
    uint8* DataB,
    FDiffResults& Results,
    FDiffSingleResult& Diff
)

Finds the difference in properties of node instance, for arbitrary UStructs

Protected function Virtual Const

void

 

DiffProperties

(
    UClass* StructA,
    UClass* StructB,
    UObject* DataA,
    UObject* DataB,
    FDiffResults& Results,
    FDiffSingleResult& Diff
)

Finds the difference in properties of node instance, for subobjects

Public function Virtual

void

 

FindDiffs

(
    UEdGraphNode* OtherNode,
    FDiffResults& Results
)

Gives the node the option to customize how diffs are discovered within it.

Public function Const

UEdGraphPin ...

 

FindPin

(
    const FString& PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction

Public function Const

UEdGraphPin ...

 

FindPin

(
    const TCHAR* PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction

Public function Const

UEdGraphPin ...

 

FindPin

(
    const FName PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction

Public function Const

UEdGraphPin ...

 

FindPinById

(
    const FGuid PinId
)

Find the pin on this node with the supplied guid

Public function Const

UEdGraphPin ...

 

FindPinByIdChecked

(
    const FGuid PinId
)

Find the pin on this node with the supplied guid and assert if it is not present

Public function Const

UEdGraphPin ...

 

FindPinChecked

(
    const FName PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction and assert if it is not present

Public function Const

UEdGraphPin ...

 

FindPinChecked

(
    const FString& PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction and assert if it is not present

Public function Const

UEdGraphPin ...

 

FindPinChecked

(
    const TCHAR* PinName,
    const EEdGraphPinDirection Directio...
)

Find a pin on this node with the supplied name and optional direction and assert if it is not present

Public function

void

 

ForEachNodeDirectlyConnected

(
    TFunctionRef< void(UEdGraphNode...
)

Execute a provided function once for each node that is directly connected to this node, will not include the node itself

Public function

void

 

ForEachNodeDirectlyConnectedIf

(
    TFunctionRef< bool(const UEdGraphPi...,
    TFunctionRef< void(UEdGraphNode...
)

Often we are only interested in a subset of our connections (e.g. only output pins, or only output pins except our exec pin) This function provides the ability to execute a provided function once for each node that is directly connected to this node, but first filters out which of this node's pins to consider:

Public function

void

 

ForEachNodeDirectlyConnectedToInputs

(
    TFunctionRef< void(UEdGraphNode...
)

Execute a provided function once for each node that is directly connected to this node's input pins, will not include the node itself Implementation provides an example usage of ForEachNodeDirectlyConnectedIf.

Public function

void

 

ForEachNodeDirectlyConnectedToOutputs

(
    TFunctionRef< void(UEdGraphNode...
)

Execute a provided function once for each node that is directly connected to this node's output pins, will not include the node itself Implementation provides an example usage of ForEachNodeDirectlyConnectedIf.

Public function Const

const TArray...

 

GetAllPins()

Get all pins this node owns

Public function Virtual Const

void

 

GetContextMenuActions

(
    const FGraphNodeContextMenuBuilder ...
)

Gets a list of actions that can be done to this particular node

Public function Virtual Const

FEdGraphNode...

 

GetDeprecationResponse

(
    EEdGraphNodeDeprecationType Depreca...
)

Returns the response to use when reporting a deprecation.

Public function Virtual Const

FString

 

GetDescriptiveCompiledName()

Tries to come up with a descriptive name for the compiled output

Public function Const

ENodeEnabled...

 

GetDesiredEnabledState()

Returns the specific sort of enable state this node wants

Public function Virtual Const

FString

 

GetDocumentationExcerptName()

Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix)

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual Const

FString

 

GetFindReferenceSearchString()

Gets the search string to find references to this node

Public function Const

UEdGraph ...

 

GetGraph()

Returns the graph that contains this node

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

UObject *...

 

GetJumpTargetForDoubleClick()

Returns the object that should be focused when double-clicking on this node (the object can be an actor, which selects it in the world, or a node/graph/pin)

Public function Virtual Const

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this node

Public function Virtual Const

void

 

GetMenuEntries

(
    FGraphContextMenuBuilder& ContextM...
)

This function gets menu items that can be created using this node given the specified context.

Public function Virtual Const

FLinearColor

 

GetNodeBodyTintColor()

Gets the draw color of a node's body tine

Public function Virtual Const

FLinearColor

 

GetNodeCommentColor()

Get the draw color for a node's comment popup

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FLinearColor

 

GetNodeTitleColor()

Gets the draw color of a node's title bar

Public function Virtual Const

UEdGraphPin ...

 

GetPassThroughPin

(
    const UEdGraphPin* FromPin
)

Return the matching "pass-through" pin for the given pin (if supported by this node)

Public function Const

UEdGraphPin ...

 

GetPinAt

(
    int32 Index
)

Gets the pin at a given index

Public function Virtual Const

FText

 

GetPinDisplayName

(
    const UEdGraphPin* Pin
)

Gets the display name for a pin

Public function Virtual Const

void

 

GetPinHoverText

(
    const UEdGraphPin& Pin,
    FString& HoverTextOut
)

Fetch the hover text for a pin when the graph is being edited.

Public function Const

int32

 

GetPinIndex

(
    UEdGraphPin* Pin
)

Gets the index for a pin

Public function Virtual

FString

 

GetPinMetaData

(
    FName InPinName,
    FName InKey
)

Return the requested metadata for the pin if there is any

Public function Virtual Const

FText

 

GetPinNameOverride

(
    const UEdGraphPin& Pin
)

Gets the overridden name for the specified pin, if any

Protected function Virtual Const

FString

 

GetPropertyNameAndValueForDiff

(
    const UProperty* Prop,
    const uint8* PropertyAddr
)

Returns a human-friendly description of the property in the form "PropertyName: Value".

Public function Const

const UEdGra...

 

GetSchema()

Shorthand way to access the schema of the graph that owns this node

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual Const

bool

 

HasDeprecatedReference()

Returns true if this node references a deprecated type or member.

Public function Const

bool

 

HasUserSetTheEnabledState()

Has the user set the enabled state or is it still using the automatic settings?

Public function Const

bool

 

IsAutomaticallyPlacedGhostNode()

Returns true if this is a disabled automatically placed ghost node (see the DefaultEventNodes ini section)

Public function Virtual Const

bool

 

IsCompatibleWithGraph

(
    UEdGraph const* Graph
)

Determine if a node of this type can be created for the specified graph.

Public function Virtual Const

bool

 

IsCompilerRelevant()

Return false if the node and any expansion will isolate itself during compile

Public function Virtual Const

bool

 

IsDeprecated()

Returns true if this node is deprecated.

Public function Const

bool

 

IsDisplayAsDisabledForced()

Public function Virtual Const

bool

 

IsInDevelopmentMode()

Determines whether or not the node will compile in development mode.

Public function Const

bool

 

IsIntermediateNode()

Returns whether the node was created by UEdGraph::CreateIntermediateNode.

Public function Const

bool

 

IsNodeEnabled()

Is the node actually enabled

Public function Const

bool

 

IsNodeUnrelated()

Determines whether this node is unrelated to the selected nodes or not.

Public function Virtual Const

void

 

JumpToDefinition()

Jump to the definition of this node (should only be called if CanJumpToDefinition() return true)

Public function

void

 

MakeAutomaticallyPlacedGhostNode()

Marks this node as an automatically placed ghost node (see the DefaultEventNodes ini section)

Public function Virtual Const

TSharedPtr< ...

 

MakeNameValidator()

Create a name validator for this node

Public function Virtual

void

 

NodeConnectionListChanged()

Called when something external to this node has changed the connection list of any of the pins in the node

Public function Virtual

void

 

OnCommentBubbleToggled

(
    bool bInCommentBubbleVisible
)

Called when the node's comment bubble is toggled

Public function Virtual

void

 

OnPinRemoved

(
    UEdGraphPin* InRemovedPin
)

Called when a pin is removed

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Public function Virtual

void

 

OnUpdateCommentText

(
    const FString& NewComment
)

Called to replace this nodes comment text

Public function Virtual

void

 

PinConnectionListChanged

(
    UEdGraphPin* Pin
)

Called when the connection list of one of the pins of this node is changed in the editor

Public function Virtual

void

 

PinDefaultValueChanged

(
    UEdGraphPin* Pin
)

Called when the DefaultValue of one of the pins of this node is changed in the editor

Public function Virtual

void

 

PinTypeChanged

(
    UEdGraphPin* Pin
)

Called when one of the pins of this node has had its' pin type changed from an external source (like the SPinTypeSelector in the case of kismet)

Public function Virtual

void

 

PostPasteNode()

Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor

Public function Virtual

void

 

PostPlacedNewNode()

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called.

Public function Virtual

void

 

PrepareForCopying()

Perform any steps necessary prior to copying a node into the paste buffer

Public function Virtual

void

 

ReconstructNode()

Refresh the connectors on a node, preserving as many connections as it can.

Public function

bool

 

RemovePin

(
    UEdGraphPin* Pin
)

Find a pin on this node with the supplied name and remove it, returns TRUE if successful

Public function Virtual

void

 

RemovePinAt

(
    const int32 PinIndex,
    const EEdGraphPinDirection PinDirec...
)

Removes the specified pin from the node, preserving remaining pin ordering.

Public function Virtual

void

 

ResizeNode

(
    const FVector2D& NewSize
)

Update node size to new value

Public function

void

 

SetEnabledState

(
    ENodeEnabledState NewState,
    bool bUserAction
)

Set the enabled state of the node to a new value

Public function

void

 

SetForceDisplayAsDisabled

(
    const bool bInNewDisplayState
)

Set whether or not this node should be forced to display as disabled

Public function

void

 

SetMakeCommentBubbleVisible

(
    bool MakeVisible
)

Sets a flag if the comment bubble needs to be made visible immediately

Public function

void

 

SetNodeUnrelated

(
    bool bNodeUnrelated
)

Set this node unrelated or not.

Public function Virtual Const

bool

 

ShouldDrawNodeAsControlPointOnly

(
    int32& OutInputPinIndex,
    int32& OutOutputPinIndex
)

Returns whether to draw this node as a control point only (knot/reroute node).

Public function Const

bool

 

ShouldMakeCommentBubbleVisible()

If the comment bubble needs to be made visible immediately

Public function Virtual Const

bool

 

ShouldMergeChildGraphs()

If the node has a subgraph, should they be merged into the main graph?

Public function Virtual Const

bool

 

ShouldOverridePinNames()

Whether or not this node should be given the chance to override pin names.

Public function Virtual Const

bool

 

ShowPaletteIconOnNode()

Should we show the Palette Icon for this node on the node title

Public function

void

 

SnapToGrid

(
    float GridSnapSize
)

Snap this node to a specified grid size

Public function Virtual Const

void

 

ValidateNodeDuringCompilation

(
    FCompilerResultsLog& MessageLog
)

Gives each visual node a chance to do final validation before it's node is harvested for use at runtime.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

void

 

ExportCustomProperties

(
    FOutputDevice& Out,
    uint32 Indent
)

Exports the property values for the specified object as text to the output device.

Public function Virtual

void

 

ImportCustomProperties

(
    const TCHAR* SourceText,
    FFeedbackContext* Warn
)

Exports the property values for the specified object as text to the output device.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

PreSave

(
    const ITargetPlatform* TargetP...
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Classes

Name

Description

Public struct

FCreatePinParams

Parameter struct of less common options for CreatePin

Public struct

FNameParameterHelper

Constants

Name

Description

PooledPins

Deprecated Variables

Name Description

Protected variable

uint8: 1

 

bAllowSplitPins_DEPRECATED

(DEPRECATED) Value used for AllowSplitPins().

Deprecated Functions

Name Description

Public function Virtual Const

bool

 

AllowSplitPins()

Please call CanSplitPin and provide the specific Pin to split.

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FEdGraphPinType& InPinType,
    const FString& PinName,
    int32 Index
)

Use version that passes PinName as FName instead.

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FEdGraphPinType& InPinType,
    const TCHAR* PinName,
    int32 Index
)

Remove when removing FString version. Exists just to resolve ambiguity

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FNameParameterHelper PinCateg...,
    const FNameParameterHelper PinSubCa...,
    UObject* PinSubCategoryObject,
    const FNameParameterHelper PinName,
    EPinContainerType PinContainerType,
    bool bIsReference,
    bool bIsConst,
    int32 Index,
    const FEdGraphTerminalType& ValueT...
)

Use version that supplies Pin Category, SubCategory, and Name as an FName and uses a parameter structure for optional paramaters.

Public function

UEdGraphPin ...

 

CreatePin

(
    EEdGraphPinDirection Dir,
    const FNameParameterHelper PinCateg...,
    const FNameParameterHelper PinSubCa...,
    UObject* PinSubCategoryObject,
    bool bIsArray,
    bool bIsReference,
    const FNameParameterHelper PinName,
    bool bIsConst,
    int32 Index,
    bool bIsSet,
    bool bIsMap,
    const FEdGraphTerminalType& ValueT...
)

Use version that supplies Pin Category, SubCategory, and Name as an FName and uses PinContainerType instead of separate booleans for array, set, and map.

Public function Virtual Const

FString

 

GetDeprecationMessage()

Use GetDeprecationResponse instead.

Public function Virtual Const

FName

 

GetPaletteIcon

(
    FLinearColor& OutColor
)

Please override 'virtual FSlateIconGetIconAndTint(FLinearColor& OutColor) const;' instead.

Public function Virtual Const

bool

 

ShouldWarnOnDeprecation()

Use GetDeprecationResponse instead.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback