FBlueprintEditor

Main Kismet asset editor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/BlueprintEditor.h

Include

#include "BlueprintEditor.h"

Syntax

class FBlueprintEditor :
    public IBlueprintEditor,
    public FGCObject,
    public FNotifyHook,
    public FTickableEditorObject,
    public FEditorUndoClient

Remarks

Main Kismet asset editor

Variables

Name Description

Protected variable

bool

 

bBlueprintModifiedOnOpen

Did we update the blueprint when it opened

Protected variable

bool

 

bEditorMarkedAsClosed

Whether we are already in the process of closing this editor

Protected variable

bool

 

bHideUnrelatedNodes

If true, fade out nodes which are unrelated to the selected nodes automatically.

Protected variable

bool

 

bIsActionMenuContextSensitive

Whether the graph action menu should be sensitive to the pins dragged off of

Protected variable

bool

 

bIsReparentingBlueprint

True if the current blueprint is in the process of being reparented

Protected variable

bool

 

bLockNodeFadeState

Lock the current fade state of each node

Protected variable

TSharedPtr< cla...

 

BookmarksWidget

Blueprint bookmark editing widget

Protected variable

bool

 

bPendingDeferredClose

Flags if this blueprint editor should close on its next tick.

Protected variable

bool

 

bRequestedSavingOpenDocumentState

Has someone requested a deferred update of the saved document state?

Protected variable

bool

 

bSaveIntermediateBuildProducts

Should intermediate build products be saved when recompiling?

Protected variable

bool

 

bSelectRegularNode

If a regular node (not a comment node) has been selected

Protected variable

TSharedPtr< cla...

 

CompilerResults

Compiler results log, with the log listing that it reflects

Protected variable

TSharedPtr< cla...

 

CompilerResultsListing

Protected variable

FName

 

CurrentUISelection

The current UI selection state of this editor

Protected variable

TSharedPtr< cla...

 

DebuggingView

Debugging window (watches, breakpoints, etc...)

Protected variable

TSharedPtr< cla...

 

DefaultEditor

Defaults inspector widget

Public variable

TSharedPtr< FDo...

 

DocumentManager

Protected variable

TSharedPtr< cla...

 

FindResults

Find results log as well as the search filter

Protected variable

TWeakPtr< class...

 

FocusedGraphEdPtr

Currently focused graph editor

Protected variable

TWeakPtr< FDocu...

 

GraphEditorTabFactoryPtr

Factory that spawns graph editors; used to look up all tabs spawned by it.

Protected variable

TSharedPtr< cla...

 

Inspector

Node inspector widget

Protected variable

TWeakPtr< class...

 

MergeTool

Merge tool - WeakPtr because it's owned by the GlobalTabManager

Protected variable

TSharedPtr< cla...

 

MyBlueprintWidget

All of this blueprints' functions and variables

Protected variable

TWeakPtr< class...

 

NameEntryPopupWindow

Reference to owner of the current popup

Protected variable

TSharedPtr< cla...

 

NameEntryValidator

Reference to helper object to validate names in popup

Protected variable

FOnMergeResolve...

 

OnMergeResolved

Merge tool - Delegate to call when the merge tool is closed.

Protected variable

FOnSetPinVisibi...

 

OnSetPinVisibility

Protected variable

TSharedPtr< cla...

 

Palette

Palette of all classes with funcs/vars

Protected variable

TWeakPtr< class...

 

PinTypeChangeMenu

Reference to owner of the pin type change popup

Protected variable

SGraphEditor::E...

 

PinVisibility

Whether to hide unused pins or not

Protected variable

TWeakObjectPtr<...

 

PreviewActorPtr

The preview actor representing the current preview

Protected variable

FPreviewScene

 

PreviewScene

Blueprint preview scene

Protected variable

TSharedPtr< cla...

 

ReplaceReferencesWidget

Widget for replacing node references

Protected variable

TSharedPtr< cla...

 

SCSEditor

SCS editor

Protected variable

TSharedPtr< cla...

 

SCSViewport

Viewport widget

Protected variable

TArray< UBluepr...

 

StandardLibraries

Macro/function libraries to keep loaded

Protected variable

TSharedPtr< cla...

 

Toolbar

The toolbar builder class

Protected variable

TSet< TWeakObje...

 

UserDefinedEnumerators

User-defined enumerators to keep loaded

Protected variable

TSet< TWeakObje...

 

UserDefinedStructures

User-defined structures to keep loaded

Constructors

Name Description

Public function

FBlueprintEditor()

Destructors

Name Description

Public function Virtual

~FBlueprintEditor()

Functions

Name Description

Public function

FBPEditorBoo...

 

AddBookmark

(
    const FText& DisplayName,
    const FEditedDocumentInfo& Bookmar...,
    bool bSharedBookmark
)

Adds a new bookmark node to the Blueprint that's being edited.

Public function Const

bool

 

AddNewDelegateIsVisible()

Public function Const

void

 

AnalyticsTrackCompileEvent

(
    UBlueprint* Blueprint,
    int32 NumErrors,
    int32 NumWarnings
)

Public function Const

bool

 

CanAccessComponentsMode()

Returns whether the edited blueprint has components

Protected function Const

bool

 

CanAddBreakpoint()

Protected function Const

bool

 

CanAddExecutionPin()

Public function Virtual Const

bool

 

CanAddNewLocalVariable()

Checks if adding a local variable is allowed in the focused graph

Protected function Const

bool

 

CanAddOptionPin()

Protected function Const

bool

 

CanAddParentNode()

Protected function Virtual Const

bool

 

CanAddPosePin()

Protected function Const

bool

 

CanAssignReferencedActor()

Protected function Const

bool

 

CanChangePinType()

Protected function Const

bool

 

CanCollapseNodes()

Protected function Const

bool

 

CanCollapseSelectionToFunction

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

Called when a selection of nodes is being collapsed into a function

Protected function Const

bool

 

CanCollapseSelectionToFunction()

Protected function Const

bool

 

CanCollapseSelectionToMacro()

Protected function Const

bool

 

CanCollapseSelectionToMacro

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

Called when a selection of nodes is being collapsed into a macro

Protected function Const

bool

 

CanConvertEventToFunction()

Protected function Const

bool

 

CanConvertFunctionToEvent()

Callback function for the context menu on a node to determine if a function could possibly be converted to an event

Protected function Virtual Const

bool

 

CanCopyNodes()

Protected function Const

bool

 

CanCreateMatchingFunction()

Protected function Virtual Const

bool

 

CanCutNodes()

Protected function Virtual Const

bool

 

CanDeleteNodes()

Protected function Const

bool

 

CanDisableBreakpoint()

Protected function Const

bool

 

CanDuplicateNodes()

Protected function Const

bool

 

CanEnableBreakpoint()

Protected function Const

bool

 

CanExpandNodes()

Public function Const

bool

 

CanGenerateNativeCode()

Can generate native code for current blueprint

Protected function Const

bool

 

CanInsertExecutionPin()

Protected function Virtual Const

bool

 

CanMergeAnimStateTransitions()

Protected function Const

bool

 

CanNavigateToChildGraph()

Protected function Const

bool

 

CanNavigateToParentGraph()

Protected function Virtual Const

bool

 

CanPasteGeneric()

Paste Variable Definition or Nodes

Protected function Const

bool

 

CanPromoteSelectionToFunction()

Protected function Const

bool

 

CanPromoteSelectionToMacro()

Protected function Const

bool

 

CanPromoteToVariable

(
    bool bInToMemberVariable
)

Protected function Const

bool

 

CanRecombineStructPin()

Protected function Const

bool

 

CanRedoGraphAction()

Whether or not we can redo an undone action

Protected function Const

bool

 

CanRemoveBreakpoint()

Protected function Const

bool

 

CanRemoveExecutionPin()

Protected function Const

bool

 

CanRemoveOptionPin()

Protected function Const

bool

 

CanRemoveOtherStructVarPins()

Protected function Virtual Const

bool

 

CanRemovePosePin()

Protected function Const

bool

 

CanRemoveThisStructVarPin()

Protected function Const

bool

 

CanRenameNodes()

Protected function Const

bool

 

CanResetPinToDefaultValue()

Protected function Const

bool

 

CanRestoreAllStructVarPins()

Protected function Const

bool

 

CanSelectAllNodes()

Protected function Virtual Const

bool

 

CanSelectBone()

Protected function Const

bool

 

CanSelectReferenceInLevel()

Protected function Const

bool

 

CanSplitStructPin()

Protected function Virtual Const

bool

 

CanStartWatchingPin()

Protected function Virtual Const

bool

 

CanStopWatchingPin()

Protected function Const

bool

 

CanToggleBreakpoint()

Protected function Const

bool

 

CanUndoGraphAction()

Whether or not we can perform an undo of the last transacted action

Protected function Const

bool

 

CanZoomToSelection()

Protected function Const

bool

 

CanZoomToWindow()

Protected function

void

 

ClearAllBreakpoints()

Deletes all breakpoints for the blueprint being edited

Protected function

void

 

ClearAllGraphEditorQuickJumps()

Unbinds all graph editor "quick jump" commands

Protected function

void

 

ClearAllWatches()

Clears all watches associated with the blueprint being edited

Protected function

void

 

ClearGraphEditorQuickJump

(
    int32 BookmarkIndex
)

Unbinds a graph editor "quick jump" from the command at the given index

Public function Virtual

void

 

ClearSelectionStateFor

(
    FName SelectionOwner
)

Public function

void

 

CloseDocumentTab

(
    const UObject* DocumentID
)

Finds the tab associated with the specified asset, and closes if it is open

Public function

void

 

CloseMergeTool()

Closes the merge tool, rather than simply hiding it

Protected function

void

 

CollapseNodes

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

Called when a selection of nodes are being collapsed into a sub-graph

Protected function

void

 

CollapseNodesIntoGraph

(
    UEdGraphNode* InGatewayNode,
    UK2Node_EditablePinBase* InEnt...,
    UK2Node_EditablePinBase* InRes...,
    UEdGraph* InSourceGraph,
    UEdGraph* InDestinationGraph,
    TSet< UEdGraphNode* >& InColl...,
    bool bCanDiscardEmptyReturnNode,
    bool bCanHaveWeakObjPtrParam
)

Collapses a selection of nodes into a graph for composite, function, or macro nodes.

Protected function

UEdGraph ...

 

CollapseSelectionToFunction

(
    TSharedPtr< SGraphEditor > InRootGr...,
    TSet< class UEdGraphNode* >& ...,
    UEdGraphNode*& OutFunctionNode
)

Called when a selection of nodes are being collapsed into a function

Protected function

UEdGraph ...

 

CollapseSelectionToMacro

(
    TSharedPtr< SGraphEditor > InRootGr...,
    TSet< class UEdGraphNode* >& ...,
    UEdGraphNode*& OutMacroNode
)

Called when a selection of nodes are being collapsed into a macro

Protected function

void

 

CollectExecDownstreamNodes

(
    UEdGraphNode* CurrentNode,
    TArray< UEdGraphNode* >& Coll...
)

Protected function

void

 

CollectExecUpstreamNodes

(
    UEdGraphNode* CurrentNode,
    TArray< UEdGraphNode* >& Coll...
)

Protected function

void

 

CollectPureDownstreamNodes

(
    UEdGraphNode* CurrentNode,
    TArray< UEdGraphNode* >& Coll...
)

Protected function

void

 

CollectPureUpstreamNodes

(
    UEdGraphNode* CurrentNode,
    TArray< UEdGraphNode* >& Coll...
)

Public function

void

 

CommonInitialization

(
    const TArray< UBlueprint* >& ...,
    bool bShouldOpenInDefaultsMode
)

Should be called when initializing any editor built off this foundation.

Public function Virtual

void

 

Compile()

Called when Compile button is clicked

Public function Virtual

FReply

 

Compile_OnClickWithReply()

Calls the above function, but returns an FReply::Handled().

Public function

bool

 

ConvertEventIfValid

(
    UK2Node_Event* EventToConv
)

Converts the given event node to a function graph on this blueprint if it passes validation

Protected function

void

 

ConvertEventToFunction

(
    UK2Node_Event* SelectedEventNo...
)

Public function

bool

 

ConvertFunctionIfValid

(
    UK2Node_FunctionEntry* FuncEnt...
)

Converts the given function entry node to an event if it passes validation

Protected function

void

 

ConvertFunctionToEvent

(
    UK2Node_FunctionEntry* Selecte...
)

Given a function node, move all nodes from the function out of the function graph, create an event with the same function name, and connect nodes to that event.

Protected function Virtual

void

 

CopySelectedNodes()

Protected function Virtual

void

 

CreateDefaultCommands()

Create Default Commands

Protected function Virtual

void

 

CreateDefaultTabContents

(
    const TArray< UBlueprint* >& ...
)

Creates the widgets that go into the tabs (

does not create the tabs themselves)

Public function

void

 

CreateMergeToolTab()

Forces the merge tool to be shown

Public function

void

 

CreateMergeToolTab

(
    const UBlueprint* BaseBlueprin...,
    const UBlueprint* RemoteBluepr...,
    const FOnMergeResolved& Resolution...
)

Forces the merge tool to be shown

Public function Const

TSharedPtr< ...

 

CustomizeSCSEditor

(
    USceneComponent* InComponentTo...
)

Check to see if we can customize the SCS editor for the passed-in scene component

Protected function Virtual

void

 

CutSelectedNodes()

Protected function

void

 

DeleteSelectedDuplicatableNodes()

Protected function Virtual

void

 

DeleteSelectedNodes()

Protected function

void

 

DeleteUnusedVariables_OnClicked()

Called when DeleteUnusedVariables button is clicked

Public function

void

 

DestroyPreview()

Destroy the Blueprint preview.

Protected function

void

 

DisableAllBreakpoints()

Disables all breakpoints for the blueprint being edited

Public function

void

 

DoPromoteToVariable

(
    UBlueprint* InBlueprint,
    UEdGraphPin* InTargetPin,
    bool bInToMemberVariable
)

Perform the actual promote to variable action on the given pin in the given blueprint.

Public function

void

 

DumpMessagesToCompilerLog

(
    const TArray< TSharedRef< class FTo...,
    bool bForceMessageDisplay
)

Dumps messages to the compiler log, with an option to force it to display/come to front

Protected function

void

 

DuplicateNodes()

Protected function

void

 

EditClassDefaults_Clicked()

Edit the class defaults

Protected function

void

 

EditGlobalOptions_Clicked()

Edit the class settings aka Blueprint global options

Protected function

void

 

EnableAllBreakpoints()

Enables all breakpoints for the blueprint being edited

Public function

void

 

EnableSCSPreview

(
    bool bEnable
)

Enable/disable the SCS editor preview viewport

Public function

void

 

EnsureBlueprintIsUpToDate

(
    UBlueprint* BlueprintObj
)

Ensures the blueprint is up to date.

Protected function Static

void

 

ExpandNode

(
    UEdGraphNode* InNodeToExpand,
    UEdGraph* InSourceGraph,
    TSet< UEdGraphNode* >& OutExp...
)

Expands passed in node

Protected function

void

 

ExtractEventTemplateForFunction

(
    UK2Node_CustomEvent* InCustomE...,
    UEdGraphNode* InGatewayNode,
    UK2Node_EditablePinBase* InEnt...,
    UK2Node_EditablePinBase* InRes...,
    TSet< UEdGraphNode* >& InColl...
)

Pulls out the pins to use as a template when collapsing a selection to a function with a custom event involved.

Public function Virtual

TSharedPtr< ...

 

FindAndSelectSCSEditorTreeNode

(
    const UActorComponent* InCompo...,
    bool IsCntrlDown
)

Protected function

void

 

FindInBlueprint_Clicked()

Called to start a quick find (focus the search box in the explorer tab)

Protected function

void

 

FindInBlueprints_OnClicked()

Called when Find In Blueprints menu is opened is clicked

Public function

bool

 

FindOpenTabsContainingDocument

(
    const UObject* DocumentID,
    TArray< TSharedPtr< SDockTab > >& ...
)

Finds any open tabs containing the specified document and adds them to the specified array; returns true if at least one is found.

Public function

void

 

FocusInspectorOnGraphSelection

(
    const TSet< class UObject* >&...,
    bool bForceRefresh
)

Protected function Const

TArray< UEdG...

 

GetAllConnectedNodes

(
    UEdGraphNode*const Node
)

Get all connected nodes and add them to a set of out nodes

Public function Virtual Const

UBlueprint &...

 

GetBlueprintObj()

Returns a pointer to the Blueprint object we are currently editing, as long as we are editing exactly one

Public function Const

TSharedRef< ...

 

GetBookmarksWidget()

Public function Const

void

 

GetBoundsForNode

(
    const UEdGraphNode* InNode,
    FSlateRect& OutRect,
    float InPadding
)

Get the visible bounds of the given graph node

Public function Const

TSharedRef< ...

 

GetCompilerResults()

Public function Static

FName

 

GetContextFromBlueprintType

(
    EBlueprintType InType
)

Get the context to use from the Blueprint type

Protected function Const

FGraphAppear...

 

GetCurrentGraphAppearance()

Get the graph appearance of the currently focused graph

Protected function Const

UEdGraphPin ...

 

GetCurrentlySelectedPin()

Utility helper to get the currently hovered pin in the currently visible graph, or NULL if there isn't one.

Public function Virtual Const

FString

 

GetCustomDebugObjectLabel

(
    UObject* ObjectBeingDebugged
)

Can be overloaded to customize the labels in the debug filter

Public function Virtual Const

void

 

GetCustomDebugObjects

(
    TArray< FCustomDebugObject >& Debu...
)

Adds to a list of custom objects for debugging beyond what will automatically be found/used

Public function Const

TSharedRef< ...

 

GetDebuggingView()

Public function Const

TSharedRef< ...

 

GetDefaultEditor()

Public function Const

TSubclassOf<...

 

GetDefaultSchema()

Gets the default schema for this editor

Protected function Virtual Const

TSubclassOf<...

 

GetDefaultSchemaClass()

Whenever new graphs need to be created it will use this schema by default.

Protected function Const

EVisibility

 

GetEditParentClassVisibility()

Determines visibility of the edit parent class button on the menu bar overlay

Protected function Const

EVisibility

 

GetFindParentClassVisibility()

Determines visibility of the find parent class in content browser button on the menu bar overlay

Public function Const

TSharedRef< ...

 

GetFindResults()

Public function Const

UEdGraph ...

 

GetFocusedGraph()

Returns the currently focused graph in the Blueprint editor

Public function Static

const FSlate...

 

GetGlyphForGraph

(
    const UEdGraph* Graph,
    bool bInLargeIcon
)

Util for finding a glyph for a graph

Util for finding a glyph for a graph

Protected function Virtual Const

FGraphAppear...

 

GetGraphAppearance

(
    UEdGraph* InGraph
)

Get the graph appearance of a specific graph, GetCurrentGraphAppearance() uses the currently focused graph.

Public function Virtual Const

FText

 

GetGraphDecorationString

(
    UEdGraph* InGraph
)

Called by a graph title bar to get any extra information the editor would like to display

Public function Const

TSharedRef< ...

 

GetInspector()

Getters for the various Kismet2 widgets

Public function Const

float

 

GetInstructionTextOpacity

(
    UEdGraph* InGraph
)

Used to determine the visibility of the graph's instruction text.

Public function

bool &

 

GetIsContextSensitive()

Gets or sets the flag for context sensitivity in the graph action menu

Public function Const

TSharedPtr< ...

 

GetMyBlueprintWidget()

Public function Const

EVisibility

 

GetNativeParentClassButtonsVisibility()

Determines visibility of the native parent class manipulation buttons on the menu bar overlay

Public function Const

TSharedRef< ...

 

GetPalette()

Protected function Const

FText

 

GetParentClassNameText()

Returns the name of the Blueprint's parent class

Public function Const

EVisibility

 

GetParentClassNameVisibility()

Determines visibility of the standard parent class label on the menu bar overlay

Public function Const

FText

 

GetPIEStatus()

Returns our PIE Status - SIMULATING / SERVER / CLIENT

Public function Const

bool

 

GetPinVisibility

(
    SGraphEditor::EPinVisibility Visibi...
)

Public function Const

AActor *

 

GetPreviewActor()

Provides access to the preview actor.

Public function

FPreviewScen...

 

GetPreviewScene()

Provides access to the preview scene.

Public function Const

TSharedPtr< ...

 

GetReplaceReferencesWidget()

Protected function Const

bool

 

GetSaveIntermediateBuildProducts()

Public function Const

TSharedPtr< ...

 

GetSCSEditor()

Getters for the various optional Kismet2 widgets

Public function Const

AActor *

 

GetSCSEditorActorContext()

Delegate invoked when the SCS editor needs to obtain the Actor context for editing

Public function Const

TSharedPtr< ...

 

GetSCSViewport()

Public function Const

FGraphPanelS...

 

GetSelectedNodes()

Get the currently selected set of nodes

Public function Const

UEdGraphNode...

 

GetSingleSelectedNode()

Returns the currently selected node if there is a single node selected (if there are multiple nodes selected or none selected, it will return nullptr)

Public function Const

FText

 

GetTextForNativeParentClassHeaderLink()

Returns: "(.h)"

Public function

TSharedPtr< ...

 

GetToolbarBuilder()

Public function Const

FName

 

GetUISelectionState()

Gets the UI selection state of this editor

Public function Static

FSlateBrush ...

 

GetVarIconAndColor

(
    const UStruct* VarScope,
    FName VarName,
    FSlateColor& IconColorOut,
    FSlateBrush const*& SecondaryB...,
    FSlateColor& SecondaryColorOut
)

Util for finding a glyph and color for a variable.

Public function Static

FSlateBrush ...

 

GetVarIconAndColorFromProperty

(
    const FProperty* Property,
    FSlateColor& IconColorOut,
    FSlateBrush const*& SecondaryB...,
    FSlateColor& SecondaryColorOut
)

Util for finding a glyph and color for a variable.

Public function

void

 

GetViewBookmark

(
    FGuid& BookmarkId
)

Gets the focused graph current view bookmark ID

Public function

void

 

GetViewLocation

(
    FVector2D& Location,
    float& ZoomAmount
)

Gets the focused graph view location/zoom amount

Public function Virtual

void

 

HandleSetObjectBeingDebugged

(
    UObject* InObject
)

Handle when the debug object is changed in the UI

Public function

void

 

HandleUnrelatedNodesOpacityBoxChanged

(
    float NewOpacity
)

Public function Const

TOptional< f...

 

HandleUnrelatedNodesOpacityBoxValue()

Protected function Const

bool

 

HasAnyBreakpoints()

Protected function Const

bool

 

HasAnyDisabledBreakpoints()

Protected function Const

bool

 

HasAnyEnabledBreakpoints()

Protected function Const

bool

 

HasAnyWatches()

Protected function

void

 

HideUnrelatedNodes()

Public function Const

bool

 

InDebuggingMode()

Returns true if in debugging mode

Public function Const

bool

 

InEditingMode()

Returns true if in editing mode

Protected function Virtual

void

 

InitalizeExtenders()

Called during initialization of the blueprint editor to register commands and extenders.

Public function

void

 

InitBlueprintEditor

(
    const EToolkitMode::Type Mode,
    const TSharedPtr< class IToolkitHos...,
    const TArray< class UBlueprint*...,
    bool bShouldOpenInDefaultsMode
)

Edits the specified blueprint

Public function Virtual Const

bool

 

IsCompilingEnabled()

Returns true if able to compile

Public function Const

EVisibility

 

IsDebuggerVisible()

Protected function Const

bool

 

IsDetailsPanelEditingClassDefaults()

Is the main details panel currently showing 'Class defaults' (.

Protected function Const

bool

 

IsDetailsPanelEditingGlobalOptions()

Is the main details panel currently showing 'Global options' (e.g., class metadata)?

Public function Virtual Const

bool

 

IsEditable

(
    UEdGraph* InGraph
)

Returns whether a graph is editable or not

Public function Const

bool

 

IsEditingSingleBlueprint()

Returns whether the editor is currently editing a single blueprint object

Public function Const

bool

 

IsGraphInCurrentBlueprint

(
    UEdGraph* InGraph
)

Checks to see if the provided graph is contained within the current blueprint

Public function Const

bool

 

IsGraphReadOnly

(
    UEdGraph* InGraph
)

Determines if the graph is ReadOnly, this differs from editable in that it is never expected to be edited and is in a read-only state

Public function Virtual Const

bool

 

IsInAScriptingMode()

Overridable function for determining if the current mode can script

Public function Const

bool

 

IsNativeParentClassCodeLinkEnabled()

Returns true if the parent class is native and the link to it's header can be shown

Public function

bool

 

IsNodeTitleVisible

(
    const UEdGraphNode* Node,
    bool bRequestRename
)

Check the Node Title is visible

Public function Const

bool

 

IsParentClassABlueprint()

Returns true if the parent class of the Blueprint being edited is also a Blueprint

Public function Const

bool

 

IsParentClassAnEditableBlueprint()

Returns true if the parent class of the Blueprint being edited is an editable Blueprint

Public function Const

bool

 

IsParentClassNative()

Returns true if the parent class of the Blueprint being edited is native

Public function Const

bool

 

IsSaveOnCompileEnabled()

Helper functions used to construct/operate-on the "Save on Compile" command

Public function Virtual Const

bool

 

IsSectionVisible

(
    NodeSectionID::Type InSectionID
)

Called to see if the new document menu items is visible for this type.

Public function Const

bool

 

IsToggleHideUnrelatedNodesChecked()

Make nodes which are unrelated to the selected nodes fade out

Public function

void

 

JumpToNode

(
    const UEdGraphNode* Node,
    bool bRequestRename
)

Pan the view to center on a particular node

Public function Virtual

void

 

JumpToPin

(
    const UEdGraphPin* Pin
)

Protected function

void

 

LoadLibrariesFromAssetRegistry()

Load macro & function blueprint libraries from asset registry

Public function

void

 

LogSimpleMessage

(
    const FText& MessageText
)

Throw a simple message into the log

Public function

void

 

LogToken_OnClicked

(
    const IMessageToken& Token
)

Called when a token in a log message is clicked

Public function

TSharedRef< ...

 

MakeHideUnrelatedNodesOptionsMenu()

Make a drop down menu to control the opacity of unrelated nodes

Protected function Const

void

 

MoveNodesToAveragePos

(
    TSet< UEdGraphNode* >& Averag...,
    FVector2D SourcePos,
    bool bExpandedNodesNeedUniqueGuid
)

Move the given set of nodes to an average spot near the Source position

Protected function Static

void

 

MoveNodesToGraph

(
    TArray< UEdGraphNode* >& Sour...,
    UEdGraph* DestinationGraph,
    TSet< UEdGraphNode* >& OutExp...,
    UEdGraphNode** OutEntry,
    UEdGraphNode** OutResult,
    const bool bIsCollapsedGraph
)

Move every node from the source graph to the destination graph.

Protected function

void

 

NavigateToChildGraph_Clicked()

Protected function

void

 

NavigateToParentGraph_Clicked()

Navigating into/out of graphs.

Public function Const

EVisibility

 

NewDocument_GetVisibilityForType

(
    ECreatedDocumentType GraphType
)

Public function Virtual Const

bool

 

NewDocument_IsVisibleForType

(
    ECreatedDocumentType GraphType
)

Public function

FReply

 

NewDocument_OnClick

(
    ECreatedDocumentType GraphType
)

Public function

void

 

NewDocument_OnClicked

(
    ECreatedDocumentType GraphType
)

Called when New Function button is clicked

Public function Virtual

void

 

OnActiveTabChanged

(
    TSharedPtr< SDockTab > PreviouslyAc...,
    TSharedPtr< SDockTab > NewlyActivat...
)

Protected function

void

 

OnAddBreakpoint()

Protected function

void

 

OnAddExecutionPin()

Public function

void

 

OnAddNewDelegate()

Called when New Delegate button is clicked

Public function

void

 

OnAddNewLocalVariable()

Adds a new local variable to the focused function graph

Public function

void

 

OnAddNewVariable()

Adds a new variable to this blueprint

Public function

FReply

 

OnAddNewVariable_OnClick()

Protected function

void

 

OnAddOptionPin()

Protected function

void

 

OnAddParentNode()

Protected function Virtual

void

 

OnAddPosePin()

Protected function

void

 

OnAlignBottom()

Protected function

void

 

OnAlignCenter()

Protected function

void

 

OnAlignLeft()

Protected function

void

 

OnAlignMiddle()

Protected function

void

 

OnAlignRight()

Protected function

void

 

OnAlignTop()

Protected function

void

 

OnAssignReferencedActor()

Protected function

void

 

OnBlueprintChanged

(
    UBlueprint* InBlueprint
)

Called when the Blueprint we are editing has changed, forwards to impl

Protected function Virtual

void

 

OnBlueprintChangedImpl

(
    UBlueprint* InBlueprint,
    bool bIsJustBeingCompiled
)

Called when the Blueprint we are editing has changed

Protected function

void

 

OnBlueprintCompiled

(
    UBlueprint* InBlueprint
)

Protected function

void

 

OnBlueprintUnloaded

(
    UBlueprint* InBlueprint
)

Handles the unloading of Blueprints (by closing the editor, if it operating on the Blueprint being unloaded)

Protected function

void

 

OnChangePinType()

Protected function

void

 

OnChangePinTypeFinished

(
    const FEdGraphPinType& PinType,
    UEdGraphPin* SelectedPin
)

Protected function

void

 

OnCollapseNodes()

Protected function

void

 

OnCollapseSelectionToFunction()

Protected function

void

 

OnCollapseSelectionToMacro()

Public function Virtual

void

 

OnComponentDoubleClicked

(
    TSharedPtr< class FSCSEditorTreeNod...
)

Delegate invoked when an item is double clicked in the SCS editor widget

Protected function

void

 

OnConvertEventToFunction()

Protected function

void

 

OnConvertFunctionToEvent()

Protected function Virtual

void

 

OnConvertToAimOffsetLookAt()

Protected function Virtual

void

 

OnConvertToAimOffsetSimple()

Protected function Virtual

void

 

OnConvertToBlendSpaceEvaluator()

Protected function Virtual

void

 

OnConvertToBlendSpacePlayer()

Protected function Virtual

void

 

OnConvertToPoseBlender()

Protected function Virtual

void

 

OnConvertToPoseByName()

Protected function Virtual

void

 

OnConvertToSequenceEvaluator()

Convert functions between evaluator and player

Protected function Virtual

void

 

OnConvertToSequencePlayer()

Protected function

FActionMenuC...

 

OnCreateGraphActionMenu

(
    UEdGraph* InGraph,
    const FVector2D& InNodePosition,
    const TArray< UEdGraphPin* >&...,
    bool bAutoExpand,
    SGraphEditor::FActionMenuClosed InO...
)

Called to create context menu when right-clicking on graph

Protected function

void

 

OnCreateMatchingFunction()

Protected function

void

 

OnDisableBreakpoint()

Protected function

void

 

OnDistributeNodesH()

Protected function

void

 

OnDistributeNodesV()

Public function

void

 

OnDumpCachedIndexDataForBlueprint()

Dumps the currently-cached index data for the blueprint to a file for debugging

Protected function

FReply

 

OnEditParentClassClicked()

Handler for "Edit parent class" button

Public function

void

 

OnEditParentClassNativeCodeClicked()

Handles opening the header file of native parent class

Protected function Virtual

void

 

OnEditTabClosed

(
    TSharedRef< SDockTab > Tab
)

Protected function

void

 

OnEnableBreakpoint()

Protected function

void

 

OnExpandNodes()

Protected function

FReply

 

OnFindParentClassInContentBrowserClicked()

Handler for "Find parent class in CB" button

Protected function Virtual

void

 

OnFinishedChangingProperties

(
    const FPropertyChangedEvent& Prope...
)

Callback when properties have finished being handled

Public function

void

 

OnGenerateSearchIndexForDebugging()

Dumps the current blueprint search index to a JSON file for debugging purposes

Protected function Const

FEdGraphPinT...

 

OnGetPinType

(
    UEdGraphPin* SelectedPin
)

Functions for handling the changing of the pin's type (PinCategory, PinSubCategory, etc)

Protected function

void

 

OnGraphActionMenuClosed

(
    bool bActionExecuted,
    bool bContextSensitiveChecked,
    bool bGraphPinContext
)

Called from graph context menus when they close to tell the editor why they closed

Public function Virtual

void

 

OnGraphEditorBackgrounded

(
    const TSharedRef< SGraphEditor >& ...
)

Called when the graph editor tab is backgrounded

Protected function

void

 

OnGraphEditorDropActor

(
    const TArray< TWeakObjectPtr< AActo...,
    UEdGraph* Graph,
    const FVector2D& DropLocation
)

Called when an actor is dropped onto the graph editor

Protected function

void

 

OnGraphEditorDropStreamingLevel

(
    const TArray< TWeakObjectPtr< ULeve...,
    UEdGraph* Graph,
    const FVector2D& DropLocation
)

Called when a streaming level is dropped onto the graph editor

Public function Virtual

void

 

OnGraphEditorFocused

(
    const TSharedRef< class SGraphEdito...
)

Called when graph editor focus is changed

Protected function

void

 

OnGraphEditorQuickJump

(
    int32 BookmarkIndex
)

Handles activation of a graph editor "quick jump" command

Protected function

void

 

OnInsertExecutionPin

(
    EPinInsertPosition Position
)

Protected function

void

 

OnInsertExecutionPinAfter()

Protected function

void

 

OnInsertExecutionPinBefore()

Protected function

void

 

OnListObjectsReferencedByBlueprint()

Protected function

void

 

OnListObjectsReferencedByClass()

Public function

void

 

OnLockNodeStateCheckStateChanged

(
    ECheckBoxState NewCheckedState
)

Public function Virtual Const

bool

 

OnlyShowCustomDebugObjects()

If returns true only the custom debug list will be used

Protected function Virtual

void

 

OnMergeAnimStateTransitions()

Public function

FOnModeSet &

 

OnModeSet()

Protected function

void

 

OnNodeDoubleClicked

(
    UEdGraphNode* Node
)

Public function

void

 

OnNodeSpawnedByKeymap()

Called when node is spawned by keymap

Public function

void

 

OnNodeTitleCommitted

(
    const FText& NewText,
    ETextCommit::Type CommitInfo,
    UEdGraphNode* NodeBeingChanged
)

Called when a node's title is committed for a rename

Protected function

bool

 

OnNodeVerifyTitleCommit

(
    const FText& NewText,
    UEdGraphNode* NodeBeingChanged,
    FText& OutErrorMessage
)

Called when a node's title is being committed for a rename so it can be verified

Protected function Virtual

void

 

OnOpenRelatedAsset()

Opens the associated asset of the selected nodes.

Protected function

void

 

OnPromoteSelectionToFunction()

Protected function

void

 

OnPromoteSelectionToMacro()

Protected function

void

 

OnPromoteToVariable

(
    bool bInToMemberVariable
)

UI Action functionality.

Protected function

void

 

OnRecombineStructPin()

Public function

FOnRefreshEv...

 

OnRefresh()

Protected function

void

 

OnRemoveBreakpoint()

Protected function

void

 

OnRemoveExecutionPin()

Protected function

void

 

OnRemoveOptionPin()

Protected function

void

 

OnRemoveOtherStructVarPins()

Protected function Virtual

void

 

OnRemovePosePin()

Protected function

void

 

OnRemoveThisStructVarPin()

Protected function

void

 

OnRenameNode()

On starting to rename node

Protected function

void

 

OnRepairCorruptedBlueprint()

Protected function

void

 

OnResetPinToDefaultValue()

Protected function

void

 

OnRestoreAllStructVarPins()

Protected function Virtual

void

 

OnSelectBone()

BEGIN PERSONA related callback functions

Protected function

void

 

OnSelectedNodesChanged

(
    const TSet< class UObject* >&...
)

Called when the selection changes in the GraphEditor

Protected function Virtual

void

 

OnSelectedNodesChangedImpl

(
    const TSet< class UObject* >&...
)

Called when the selection changes in the GraphEditor

Public function Virtual

void

 

OnSelectionUpdated

(
    const TArray< TSharedPtr< class FSC...
)

Delegate invoked when the selection is changed in the SCS editor widget

Protected function

void

 

OnSelectReferenceInLevel()

Public function

FReply

 

OnSpawnGraphNodeByShortcut

(
    FInputChord InChord,
    const FVector2D& InPosition,
    UEdGraph* InGraph
)

Handles spawning a graph node in the current graph using the passed in chord

Protected function

void

 

OnSplitStructPin()

Protected function

void

 

OnStartEditingDefaultsClicked()

Start editing the defaults for this blueprint

Protected function Virtual

void

 

OnStartWatchingPin()

Protected function Virtual

void

 

OnStopWatchingPin()

Protected function

void

 

OnStraightenConnections()

Protected function

void

 

OnToggleBreakpoint()

Public function

TSharedPtr< ...

 

OpenDocument

(
    const UObject* DocumentID,
    FDocumentTracker::EOpenDocumentCaus...
)

Public function

void

 

OpenNativeCodeGenerationTool()

Opens a native code generation modal window

Protected function Virtual

void

 

PasteGeneric()

Paste Variable Definition or Nodes

Protected function Virtual

void

 

PasteNodes()

Public function

void

 

PostLayoutBlueprintEditorInitialization()

Should be called when initializing an editor that has a blueprint, after layout (tab spawning) is done.

Protected function

void

 

ReconnectExecPins

(
    UK2Node* Node
)

Given a node, make connections from anything connected to it's input pin to anything connected to it's "then" pins.

Protected function

void

 

RedoGraphAction()

Called to redo the last undone action

Public function

void

 

RefreshAllNodes_OnClicked()

Called when the refresh all nodes button is clicked

Protected function

void

 

RefreshStandAloneDefaultsEditor()

Updates the selected object used by the stand lone defaults editor widget.

Protected function Virtual

void

 

RegisterApplicationModes

(
    const TArray< UBlueprint* >& ...,
    bool bShouldOpenInDefaultsMode,
    bool bNewlyCreated
)

Called during initialization of the blueprint editor to register any application modes.

Protected function

void

 

RegisterMenus()

Register Menus

Public function

void

 

RegisterSCSEditorCustomization

(
    const FName& InComponentName,
    TSharedPtr< class ISCSEditorCustomi...
)

Register a customization for interacting with the SCS editor

Public function

void

 

RegisterToolbarTab

(
    const TSharedRef< class FTabManager...
)

Public function

void

 

RemoveBookmark

(
    const FGuid& BookmarkNodeId,
    bool bRefreshUI
)

Removes the bookmark node with the given ID.

Public function

void

 

RenameBookmark

(
    const FGuid& BookmarkNodeId,
    const FText& NewName
)

Renames the bookmark node with the given ID.

Public function

void

 

RenameNewlyAddedAction

(
    FName InActionName
)

Utility function to handle all steps required to rename a newly added action

Public function

void

 

ReparentBlueprint_Clicked()

Reparent the current blueprint

Public function Const

bool

 

ReparentBlueprint_IsVisible()

Public function

void

 

ReparentBlueprint_NewParentChosen

(
    UClass* ChosenClass
)

Public function

void

 

RequestSaveEditedObjectState()

Request a save of the edited object state This is used to delay it by one frame when triggered by a tab being closed, so it can finish closing before remembering the new state

Protected function

void

 

ResetAllNodesUnrelatedStates()

Focus nodes which are related to the selected nodes

Public function

void

 

RestoreEditedObjectState()

Create new tab for each element of LastEditedObjects array

Public function

void

 

SaveEditedObjectState()

Save the current set of edited objects in the LastEditedObjects array so it will be opened next time we open K2

Protected function

void

 

SelectAllNodes()

Public function

void

 

SelectGraphActionItemByName

(
    const FName& ItemName,
    ESelectInfo::Type SelectInfo,
    int32 SectionId,
    bool bIsCategory
)

Selects an item in "My Blueprint" by name.

Public function

void

 

SetDetailsCustomization

(
    TSharedPtr< class FDetailsViewObjec...,
    TSharedPtr< class IDetailRootObject...
)

Sets customizations for the BP editor details panel.

Protected function

void

 

SetGraphEditorQuickJump

(
    int32 BookmarkIndex
)

Binds a graph editor "quick jump" to the command at the given index

Public function

void

 

SetPinVisibility

(
    SGraphEditor::EPinVisibility Visibi...
)

Pin visibility accessors

Public function

void

 

SetSCSEditorUICustomization

(
    TSharedPtr< class ISCSEditorUICusto...
)

Sets SCS editor UI customization

Public function

void

 

SetUISelectionState

(
    FName SelectionOwner
)

Protected function Virtual

void

 

SetupGraphEditorEvents

(
    UEdGraph* InGraph,
    SGraphEditor::FGraphEditorEvents& ...
)

Setup all the events that the graph editor can handle

Public function

void

 

SetupViewForBlueprintEditingMode()

Called by the blueprint editing app mode to focus the appropriate tabs, etc...

Public function

void

 

SetViewLocation

(
    const FVector2D& Location,
    float ZoomAmount,
    const FGuid& BookmarkId
)

Sets the focused graph view location/zoom amount

Public function Const

bool

 

ShouldShowToggleHideUnrelatedNodes

(
    bool bIsToolbar
)

Make nodes which are unrelated to the selected nodes fade out

Public function Virtual

void

 

StartEditingDefaults

(
    bool bAutoFocus,
    bool bForceRefresh
)

Virtual override point for editing defaults; allowing more derived editors to edit something else

Public function

void

 

ToggleHideUnrelatedNodes()

Make nodes which are unrelated to the selected nodes fade out

Protected function

void

 

ToggleSaveIntermediateBuildProducts()

END PERSONA related callback functions

Public function Virtual

bool

 

TransactionObjectAffectsBlueprint

(
    UObject* InTransactedObject
)

Protected function

void

 

TryInvokingDetailsTab

(
    bool bFlash
)

Attempts to invoke the details tab if it's currently possible to.

Protected function

void

 

UndoGraphAction()

Called to undo the last action

Public function

void

 

UnregisterSCSEditorCustomization

(
    const FName& InComponentName
)

Unregister a previously registered customization for interacting with the SCS editor

Public function

void

 

UpdateNodeCreationStats

(
    const ENodeCreateAction::Type Creat...
)

Update Node Creation mechanisms for analytics

Public function

void

 

UpdateNodesUnrelatedStatesAfterGraphChange()

Update all nodes' unrelated states when the graph has changed

Public function

void

 

UpdatePreviewActor

(
    UBlueprint* InBlueprint,
    bool bInForceFullUpdate
)

Creates/updates the preview actor for the given blueprint.

Public function

void

 

UpdateSCSPreview

(
    bool bUpdateNow
)

Refresh the preview viewport to reflect changes in the SCS

Public function

void

 

VariableListWasUpdated()

Variable list window calls this after it is updated

Protected function

void

 

ZoomToSelection_Clicked()

Zooming to fit the current selection.

Protected function

void

 

ZoomToWindow_Clicked()

Zooming to fit the entire graph.

Overridden from IBlueprintEditor

Name Description

Public function Virtual

void

 

AddToSelection

(
    UEdGraphNode* InNode
)

Public function Virtual Const

void

 

AnalyticsTrackNodeEvent

(
    UBlueprint* Blueprint,
    UEdGraphNode* GraphNode,
    bool bNodeDelete
)

Used to track node create/delete events for Analytics

Protected function Virtual Const

bool

 

CanPasteNodes()

Protected function Virtual

bool

 

GetBoundsForSelectedNodes

(
    FSlateRect& Rect,
    float Padding
)

Public function Virtual Const

int32

 

GetNumberOfSelectedNodes()

Get number of currently selected nodes in the SCS editor tree

Public function Virtual Const

TArray< TSha...

 

GetSelectedSCSEditorTreeNodes()

Util to get the currently selected SCS editor tree Nodes

Public function Virtual

void

 

JumpToHyperlink

(
    const UObject* ObjectReference,
    bool bRequestRename
)

Public function Virtual

TSharedPtr< ...

 

OpenGraphAndBringToFront

(
    UEdGraph* Graph,
    bool bSetFocus
)

Tries to open the specified graph and bring it's document to the front (

this can return NULL)

Protected function Virtual

void

 

PasteNodesHere

(
    UEdGraph* DestinationGraph,
    const FVector2D& GraphLocation
)

Paste on graph at specific location

Public function Virtual

void

 

RefreshEditors

Public function Virtual

void

 

RefreshInspector()

Public function Virtual

void

 

RefreshMyBlueprint()

Public function Virtual

void

 

SummonFindAndReplaceUI()

Invokes the Find and Replace UI

Public function Virtual

void

 

SummonSearchUI

(
    bool bSetFindWithinBlueprint,
    FString NewSearchTerms,
    bool bSelectFirstResult
)

Invokes the search UI and sets the mode and search terms optionally

Overridden from FWorkflowCentricApplication

Name Description

Public function Virtual

void

 

SetCurrentMode

(
    FName NewMode
)

Attempt to set the current mode. If this mode is illegal or unknown, the mode will remain unchanged.

Overridden from FAssetEditorToolkit

Name Description

Public function Virtual Const

FString

 

GetDocumentationLink()

Public function Virtual

void

 

InitToolMenuContext

(
    FToolMenuContext& MenuContext
)

Add context objects for menus and toolbars

Public function Virtual

bool

 

OnRequestClose()

Called when this toolkit would close

Protected function Virtual

void

 

PostRegenerateMenusAndToolbars()

Recreates the overlay on the menu bar

Overridden from IToolkit

Name Description

Public function Virtual Const

FText

 

GetBaseToolkitName()

Returns the localized name of this toolkit type (typically just " editor")

Public function Virtual Const

FName

 

GetToolkitContextFName()

Returns the invariant name of this toolkit type, used for establishing the context for help, documentation and tutorials

Public function Virtual Const

FName

 

GetToolkitFName()

Returns the invariant name of this toolkit type

Public function Virtual Const

FText

 

GetToolkitName()

Returns the localized name of this toolkit

Public function Virtual Const

FText

 

GetToolkitToolTipText()

Returns the localized tooltip text of this toolkit

Public function Virtual Const

FLinearColor

 

GetWorldCentricTabColorScale()

Public function Virtual Const

FString

 

GetWorldCentricTabPrefix()

Returns the localize prefix string to use for tab labels in world-centric mode.

Public function Virtual Const

bool

 

IsBlueprintEditor()

Returns if this is a IBlueprintEditor derivation

Public function Virtual

void

 

RegisterTabSpawners

(
    const TSharedRef< class FTabManager...
)

IToolkit interface

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Pure virtual that must be overloaded by the inheriting class.

Public function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.

Overridden from FNotifyHook

Name Description

Protected function Virtual

void

 

NotifyPostChange

(
    const FPropertyChangedEvent& Prope...,
    FProperty* PropertyThatChanged
)

Protected function Virtual

void

 

NotifyPreChange

(
    FProperty* PropertyAboutToChan...
)

Overridden from FTickableObjectBase

Name Description

Public function Virtual Const

TStatId

 

GetStatId()

Return the stat id to use for this tickable

Public function Virtual Const

ETickableTic...

 

GetTickableTickType()

Virtual that can be overloaded by the inheriting class.

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Pure virtual that must be overloaded by the inheriting class.

Overridden from FEditorUndoClient

Name Description

Protected function Virtual

void

 

PostRedo

(
    bool bSuccess
)

Signal that client should run any PostRedo code

Protected function Virtual

void

 

PostUndo

(
    bool bSuccess
)

Signal that client should run any PostUndo code

Classes

Name

Description

Public class

FOnRefreshEvent

Broadcasts a notification whenever the editor needs associated controls to refresh

Enums

Name

Description

Public enum

ECreatedDocumentType

Type of new document/graph being created by a menu item.

Typedefs

Name

Description

FOnModeSet

FOnSetPinVisibility

Constants

Deprecated Functions

Name Description

Protected function Virtual

void

 

AppendExtraCompilerResults

(
    TSharedPtr< class IMessageLogListin...
)

Please do any validation inside the UBlueprint class during compilation, extra errors during compiling only supplied by the designer can lead to design time only errors being reported and being missed during cooks/content validation.

Public function Const

bool

 

IsParentClassOfObjectABlueprint

(
    const UBlueprint* Blueprint
)

Please use FBlueprintEditorUtils::IsParentClassABlueprint instead

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