Navigation
API > API/Editor > API/Editor/Kismet
Inheritance Hierarchy
- IBlueprintEditor
- FGCObject
- FNotifyHook
- FTickableEditorObject
- FEditorUndoClient
- FNoncopyable
- FBlueprintEditor
- FGameplayAbilitiesEditor
- FRigVMEditor
- IControlRigEditor
- FWidgetBlueprintEditor
- IAnimationBlueprintEditor
- IDisplayClusterConfiguratorBlueprintEditor
- IRenderGridEditor
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,
public FNoncopyable
Remarks
Main Kismet asset editor
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBlueprintModifiedOnOpen | Did we update the blueprint when it opened | |
| bool | bEditorMarkedAsClosed | Whether we are already in the process of closing this editor | |
| bool | bHideUnrelatedNodes | If true, fade out nodes which are unrelated to the selected nodes automatically. | |
| bool | bIsActionMenuContextSensitive | Whether the graph action menu should be sensitive to the pins dragged off of | |
| bool | bIsReparentingBlueprint | True if the current blueprint is in the process of being reparented | |
| bool | bLockNodeFadeState | Lock the current fade state of each node | |
| TSharedPtr< class SBlueprintBookmarks > | BookmarksWidget | Blueprint bookmark editing widget | |
| bool | bPendingDeferredClose | Flags if this blueprint editor should close on its next tick. | |
| bool | bRequestedSavingOpenDocumentState | Has someone requested a deferred update of the saved document state? | |
| bool | bSaveIntermediateBuildProducts | Should intermediate build products be saved when recompiling? | |
| bool | bSelectRegularNode | If a regular node (not a comment node) has been selected | |
| int32 | CachedNumErrors | ||
| int32 | CachedNumWarnings | Limited cache of last compile results | |
| TSharedPtr< class SWidget > | CompilerResults | Compiler results log, with the log listing that it reflects | |
| TSharedPtr< class IMessageLogListing > | CompilerResultsListing | ||
| TSharedPtr< class IPinTypeSelectorFilter > | CompositePinTypeSelectorFilter | Filter used to compose multiple pin type filters together | |
| FName | CurrentUISelection | The current UI selection state of this editor | |
| TSharedPtr< class SKismetInspector > | DefaultEditor | Defaults inspector widget | |
| TSet< FString > | DeferredNamespaceImports | Pending set of namespaces to be auto-imported on the next tick | |
| TSharedPtr< FDocumentTracker > | DocumentManager | ||
| TSharedPtr< class SFindInBlueprints > | FindResults | Find results log as well as the search filter | |
| TWeakPtr< class SGraphEditor > | FocusedGraphEdPtr | Currently focused graph editor | |
| TWeakPtr< FDocumentTabFactory > | GraphEditorTabFactoryPtr | Factory that spawns graph editors; used to look up all tabs spawned by it. | |
| TSharedPtr< class IClassViewerFilter > | ImportedClassViewerFilter | Filter used to restrict class viewer widgets in the editor context to imported namespaces only | |
| TSharedPtr< FBlueprintNamespaceHelper > | ImportedNamespaceHelper | Imported namespace helper utility object | |
| TSharedPtr< class IPinTypeSelectorFilter > | ImportedPinTypeSelectorFilter | Filter used to restrict pin type selector widgets in the editor context to imported namespaces only | |
| TSharedPtr< class SKismetInspector > | Inspector | Node inspector widget | |
| TWeakPtr< class SDockTab > | MergeTool | Merge tool - WeakPtr because it's owned by the GlobalTabManager | |
| TSharedPtr< class SMyBlueprint > | MyBlueprintWidget | All of this blueprints' functions and variables | |
| TWeakPtr< class SWindow > | NameEntryPopupWindow | Reference to owner of the current popup | |
| TSharedPtr< class INameValidatorInterface > | NameEntryValidator | Reference to helper object to validate names in popup | |
| FOnMergeResolved | OnMergeResolved | Merge tool - Delegate to call when the merge tool is closed. | |
| FOnSetPinVisibility | OnSetPinVisibility | ||
| TSharedPtr< class SBlueprintPalette > | Palette | Palette of all classes with funcs/vars | |
| TSharedPtr< class IPinTypeSelectorFilter > | PermissionsPinTypeSelectorFilter | Filter used to restrict pin type selector widgets to those which permissions allow | |
| TWeakPtr< class IMenu > | PinTypeChangeMenu | Reference to owner of the pin type change popup | |
| SGraphEditor::EPinVisibility | PinVisibility | Whether to hide unused pins or not | |
| TWeakObjectPtr< AActor > | PreviewActorPtr | The preview actor representing the current preview | |
| FPreviewScene | PreviewScene | Blueprint preview scene | |
| TSharedPtr< class SReplaceNodeReferences > | ReplaceReferencesWidget | Widget for replacing node references | |
| TArray< TObjectPtr< UBlueprint > > | StandardLibraries | Macro/function libraries to keep loaded | |
| TSharedPtr< SSubobjectEditor > | SubobjectEditor | Subobject Editor | |
| TSharedPtr< SSCSEditorViewport > | SubobjectViewport | Viewport widget | |
| TSharedPtr< class FBlueprintEditorToolbar > | Toolbar | The toolbar builder class | |
| TSet< TWeakObjectPtr< UUserDefinedEnum > > | UserDefinedEnumerators | User-defined enumerators to keep loaded | |
| TSet< TWeakObjectPtr< UUserDefinedStruct > > | UserDefinedStructures | User-defined structures to keep loaded |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBPEditorBookmarkNode * | AddBookmark
(
const FText& DisplayName, |
Adds a new bookmark node to the Blueprint that's being edited. | |
| bool | |||
| void | AnalyticsTrackCompileEvent
(
UBlueprint* Blueprint, |
||
| bool | Whether delegates are allowed to be displayed/created in a blueprint | ||
| bool | Whether event graphs are allowed to be displayed/created in a blueprint | ||
| bool | Whether macros are allowed to be displayed/created in a blueprint | ||
| bool | Returns whether the edited blueprint has components | ||
| bool | |||
| bool | |||
| bool | Checks if adding a local variable is allowed in the focused graph | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | CanCollapseSelectionToFunction
(
TSet< class UEdGraphNode* >& InSelection |
Called when a selection of nodes is being collapsed into a function | |
| bool | |||
| bool | CanCollapseSelectionToMacro
(
TSet< class UEdGraphNode* >& InSelection |
Called when a selection of nodes is being collapsed into a macro | |
| bool | |||
| bool | |||
| bool | Callback function for the context menu on a node to determine if a function could possibly be converted to an event | ||
| bool | CanCopyNodes () |
||
| bool | |||
| bool | CanCutNodes () |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | Navigating into/out of graphs. | ||
| bool | Spawns a new blueprint debugger tab | ||
| bool | Paste Variable Definition or Nodes | ||
| bool | |||
| bool | |||
| bool | CanPromoteToVariable
(
bool bInToMemberVariable |
||
| bool | |||
| bool | Whether or not we can redo an undone action | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | Whether or not we can perform an undo of the last transacted action | ||
| bool | |||
| bool | |||
| void | Deletes all breakpoints for the blueprint being edited | ||
| void | Unbinds all graph editor "quick jump" commands | ||
| void | Clears all watches associated with the blueprint being edited | ||
| void | ClearGraphEditorQuickJump
(
int32 BookmarkIndex |
Unbinds a graph editor "quick jump" from the command at the given index | |
| void | ClearSelectionStateFor
(
FName SelectionOwner |
||
| void | CloseDocumentTab
(
const UObject* DocumentID |
Finds the tab associated with the specified asset, and closes if it is open | |
| void | Closes the merge tool, rather than simply hiding it | ||
| void | CollapseNodes
(
TSet< class UEdGraphNode* >& InCollapsableNodes |
Called when a selection of nodes are being collapsed into a sub-graph | |
| void | CollapseNodesIntoGraph
(
UEdGraphNode* InGatewayNode, |
Collapses a selection of nodes into a graph for composite, function, or macro nodes. | |
| UEdGraph * | CollapseSelectionToFunction
(
TSharedPtr< SGraphEditor > InRootGraph, |
Called when a selection of nodes are being collapsed into a function | |
| UEdGraph * | CollapseSelectionToMacro
(
TSharedPtr< SGraphEditor > InRootGraph, |
Called when a selection of nodes are being collapsed into a macro | |
| void | CollectExecDownstreamNodes
(
UEdGraphNode* CurrentNode, |
||
| void | CollectExecUpstreamNodes
(
UEdGraphNode* CurrentNode, |
||
| void | CollectPureDownstreamNodes
(
UEdGraphNode* CurrentNode, |
||
| void | CollectPureUpstreamNodes
(
UEdGraphNode* CurrentNode, |
||
| void | CommonInitialization
(
const TArray< UBlueprint* >& InitBlueprints, |
Should be called when initializing any editor built off this foundation. | |
| void | Compile () |
Called when Compile button is clicked | |
| FReply | Calls the above function, but returns an FReply::Handled(). | ||
| bool | ConvertEventIfValid
(
UK2Node_Event* EventToConv |
Converts the given event node to a function graph on this blueprint if it passes validation | |
| void | ConvertEventToFunction
(
UK2Node_Event* SelectedEventNode |
||
| bool | ConvertFunctionIfValid
(
UK2Node_FunctionEntry* FuncEntryNode |
Converts the given function entry node to an event if it passes validation | |
| void | ConvertFunctionToEvent
(
UK2Node_FunctionEntry* SelectedCallFunctionNode |
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. | |
| void | |||
| void | Create Default Commands | ||
| void | CreateDefaultTabContents
(
const TArray< UBlueprint* >& InBlueprints |
Creates the widgets that go into the tabs (note: does not create the tabs themselves) | |
| TSharedRef< SGraphEditor > | CreateGraphEditorWidget
(
TSharedRef< class FTabInfo > InTabInfo, |
Create new graph editor widget for the supplied document container. | |
| TSharedRef< SWidget > | CreateGraphTitleBarWidget
(
TSharedRef< FTabInfo > InTabInfo, |
Create a graph title bar widget | |
| void | Forces the merge tool to be shown | ||
| void | CreateMergeToolTab
(
const UBlueprint* BaseBlueprint, |
Forces the merge tool to be shown | |
| TSharedPtr< class ISCSEditorCustomization > | CustomizeSubobjectEditor
(
const USceneComponent* InComponentToCustomize |
Check to see if we can customize the subobject editor for the passed-in scene component | |
| void | |||
| void | |||
| void | |||
| void | Called when DeleteUnusedVariables button is clicked | ||
| void | Destroy the Blueprint preview. | ||
| void | Disables all breakpoints for the blueprint being edited | ||
| void | DoPromoteToVariable
(
UBlueprint* InBlueprint, |
Perform the actual promote to variable action on the given pin in the given blueprint. | |
| void | DumpMessagesToCompilerLog
(
const TArray< TSharedRef< class FTokenizedMessage >>& Messages, |
Dumps messages to the compiler log, with an option to force it to display/come to front | |
| void | |||
| void | Edit the class defaults | ||
| void | Edit the class settings aka Blueprint global options | ||
| void | Enables all breakpoints for the blueprint being edited | ||
| void | EnableSubobjectPreview
(
bool bEnable |
Enable/disable the subobject editor preview viewport | |
| void | EnsureBlueprintIsUpToDate
(
UBlueprint* BlueprintObj |
Ensures the blueprint is up to date. | |
| void | ExpandNode
(
UEdGraphNode* InNodeToExpand, |
Expands passed in node | |
| void | ExtractEventTemplateForFunction
(
UK2Node_CustomEvent* InCustomEvent, |
Pulls out the pins to use as a template when collapsing a selection to a function with a custom event involved. | |
| TSharedPtr< FSubobjectEditorTreeNode > | FindAndSelectSubobjectEditorTreeNode
(
const UActorComponent* InComponent, |
||
| void | Called to start a quick find (focus the search box in the explorer tab) | ||
| void | Called when Find In Blueprints menu is opened is clicked | ||
| bool | FindOpenTabsContainingDocument
(
const UObject* DocumentID, |
Finds any open tabs containing the specified document and adds them to the specified array; returns true if at least one is found. | |
| void | FocusInspectorOnGraphSelection
(
const TSet< class UObject* >& NewSelection, |
||
| TArray< UEdGraphNode * > | GetAllConnectedNodes
(
UEdGraphNode*const Node |
Get all connected nodes and add them to a set of out nodes | |
| UBlueprint * | Returns a pointer to the Blueprint object we are currently editing, as long as we are editing exactly one | ||
| TSharedRef< SBlueprintBookmarks > | |||
| void | GetBoundsForNode
(
const UEdGraphNode* InNode, |
Get the visible bounds of the given graph node | |
| TSharedRef< SWidget > | |||
| FName | GetContextFromBlueprintType
(
EBlueprintType InType |
Get the context to use from the Blueprint type | |
| FGraphAppearanceInfo | Get the graph appearance of the currently focused graph | ||
| UEdGraphPin * | Utility helper to get the currently hovered pin in the currently visible graph, or nullptr if there isn't one. | ||
| FString | GetCustomDebugObjectLabel
(
UObject* ObjectBeingDebugged |
Can be overloaded to customize the labels in the debug filter | |
| void | GetCustomDebugObjects
(
TArray< FCustomDebugObject >& DebugList |
Adds to a list of custom objects for debugging beyond what will automatically be found/used | |
| TSharedRef< SKismetInspector > | |||
| TSubclassOf< UEdGraphSchema > | Gets the default schema for this editor | ||
| TSubclassOf< UEdGraphSchema > | Whenever new graphs need to be created it will use this schema by default. | ||
| EVisibility | Determines visibility of the edit parent class button on the menu bar overlay | ||
| EVisibility | Determines visibility of the find parent class in content browser button on the menu bar overlay | ||
| TSharedRef< SFindInBlueprints > | |||
| const FSlateBrush * | GetGlyphForGraph
(
const UEdGraph* Graph, |
Util for finding a glyph for a graphUtil for finding a glyph for a graph | |
| FGraphAppearanceInfo | GetGraphAppearance
(
UEdGraph* InGraph |
Get the graph appearance of a specific graph, GetCurrentGraphAppearance() uses the currently focused graph. | |
| FText | GetGraphDecorationString
(
UEdGraph* InGraph |
Called by a graph title bar to get any extra information the editor would like to display | |
| FText | GetGraphDisplayName
(
const UEdGraph* Graph |
Gets the display name of a graph | |
| TSharedRef< SKismetInspector > | GetInspector () |
Getters for the various Kismet2 widgets | |
| float | GetInstructionTextOpacity
(
UEdGraph* InGraph |
Used to determine the visibility of the graph's instruction text. | |
| bool & | Gets or sets the flag for context sensitivity in the graph action menu | ||
| TSharedPtr< SMyBlueprint > | |||
| EVisibility | Determines visibility of the native parent class manipulation buttons on the menu bar overlay | ||
| TSharedRef< SBlueprintPalette > | GetPalette () |
||
| FText | Returns the name of the Blueprint's parent class | ||
| EVisibility | Determines visibility of the standard parent class label on the menu bar overlay | ||
| FText | GetPIEStatus () |
Returns our PIE Status - SIMULATING / SERVER / CLIENT | |
| bool | GetPinVisibility
(
SGraphEditor::EPinVisibility Visibility |
||
| AActor * | Provides access to the preview actor. | ||
| FPreviewScene * | Provides access to the preview scene. | ||
| TSharedPtr< SReplaceNodeReferences > | |||
| bool | |||
| FGraphPanelSelectionSet | Get the currently selected set of nodes | ||
| UEdGraphNode * | 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) | ||
| TSharedPtr< SSubobjectEditor > | |||
| UObject * | Subobject Editor Callbacks. | ||
| TSharedPtr< SSCSEditorViewport > | |||
| FText | Returns: "( |
||
| TSharedPtr< class FBlueprintEditorToolbar > | |||
| FName | Gets the UI selection state of this editor | ||
| FSlateBrush const * | GetVarIconAndColor
(
const UStruct* VarScope, |
Util for finding a glyph and color for a variable. | |
| FSlateBrush const * | GetVarIconAndColorFromPinType
(
const FEdGraphPinType& PinType, |
Util for finding a glyph and color for a variable. | |
| FSlateBrush const * | GetVarIconAndColorFromProperty
(
const FProperty* Property, |
Util for finding a glyph and color for a variable. | |
| void | GetViewBookmark
(
FGuid& BookmarkId |
Gets the focused graph current view bookmark ID | |
| void | GetViewLocation
(
FVector2D& Location, |
Gets the focused graph view location/zoom amount | |
| void | HandleSetObjectBeingDebugged
(
UObject* InObject |
Handle when the debug object is changed in the UI | |
| void | HandleUnrelatedNodesOpacityBoxChanged
(
float NewOpacity |
||
| TOptional< float > | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | |||
| void | ImportNamespace
(
const FString& InNamespace |
Imports the given namespace into the editor. | |
| void | ImportNamespaceEx
(
const FImportNamespaceExParameters& InParams |
Imports a set of namespace(s) into the editor. | |
| bool | Returns true if in editing mode | ||
| void | Called during initialization of the blueprint editor to register commands and extenders. | ||
| void | InitBlueprintEditor
(
const EToolkitMode::Type Mode, |
Edits the specified blueprint | |
| bool | Returns true if able to compile | ||
| EVisibility | |||
| bool | Is the main details panel currently showing 'Class defaults' (Note: Has nothing to do with the standalone class defaults panel)? | ||
| bool | Is the main details panel currently showing 'Global options' (e.g., class metadata)? | ||
| bool | IsEditable
(
UEdGraph* InGraph |
Returns whether a graph is editable or not | |
| bool | Returns whether the editor is currently editing a single blueprint object | ||
| bool | Returns if we are currently closing the editor | ||
| bool | IsGraphInCurrentBlueprint
(
const UEdGraph* InGraph |
Checks to see if the provided graph is contained within the current blueprint | |
| 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 | |
| bool | Overridable function for determining if the current mode can script | ||
| bool | Returns true if the parent class is native and the link to it's header can be shown | ||
| bool | IsNodeTitleVisible
(
const UEdGraphNode* Node, |
Check the Node Title is visible | |
| bool | Returns true if the parent class of the Blueprint being edited is also a Blueprint | ||
| bool | Returns true if the parent class of the Blueprint being edited is an editable Blueprint | ||
| bool | Returns true if the parent class of the Blueprint being edited is native | ||
| bool | Returns true if PIE is active | ||
| bool | Helper functions used to construct/operate-on the "Save on Compile" command | ||
| bool | IsSectionVisible
(
NodeSectionID::Type InSectionID |
Called to see if the new document menu items is visible for this type. | |
| bool | Make nodes which are unrelated to the selected nodes fade out | ||
| void | JumpToNode
(
const UEdGraphNode* Node, |
Pan the view to center on a particular node | |
| void | JumpToPin
(
const UEdGraphPin* Pin |
||
| void | Load macro & function blueprint libraries from asset registry | ||
| void | LogSimpleMessage
(
const FText& MessageText |
Throw a simple message into the log | |
| void | LogToken_OnClicked
(
const IMessageToken& Token |
Called when a token in a log message is clicked | |
| TSharedRef< SWidget > | Make a drop down menu to control the opacity of unrelated nodes | ||
| void | MoveNodesToAveragePos
(
TSet< UEdGraphNode* >& AverageNodes, |
Move the given set of nodes to an average spot near the Source position | |
| void | MoveNodesToGraph
(
TArray< UEdGraphNode* >& SourceNodes, |
Move every node from the source graph to the destination graph. | |
| void | |||
| void | Navigating into/out of graphs. | ||
| void | Navigating into/out of graphs. | ||
| EVisibility | NewDocument_GetVisibilityForType
(
ECreatedDocumentType GraphType |
||
| bool | NewDocument_IsVisibleForType
(
ECreatedDocumentType GraphType |
||
| FReply | NewDocument_OnClick
(
ECreatedDocumentType GraphType |
||
| void | NewDocument_OnClicked
(
ECreatedDocumentType GraphType |
Called when New Function button is clicked | |
| bool | OnActionMatchesName
(
FEdGraphSchemaAction* InAction, |
Function used by the SMyBlueprint to determine if an action matches a name. | |
| void | OnActiveTabChanged
(
TSharedPtr< SDockTab > PreviouslyActive, |
||
| void | |||
| void | |||
| void | Called when New Delegate button is clicked | ||
| void | Adds a new local variable to the focused function graph | ||
| void | Adds a new variable to this blueprint | ||
| FReply | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnAlignLeft () |
||
| void | |||
| void | OnAlignRight () |
||
| void | OnAlignTop () |
||
| void | |||
| void | OnBlueprintChanged
(
UBlueprint* InBlueprint |
Called when the Blueprint we are editing has changed, forwards to impl | |
| void | OnBlueprintChangedImpl
(
UBlueprint* InBlueprint, |
Called when the Blueprint we are editing has changed | |
| void | OnBlueprintCompiled
(
UBlueprint* InBlueprint |
||
| void | OnBlueprintUnloaded
(
UBlueprint* InBlueprint |
Handles the unloading of Blueprints (by closing the editor, if it operating on the Blueprint being unloaded) | |
| void | |||
| void | OnChangePinTypeFinished
(
const FEdGraphPinType& PinType, |
||
| void | |||
| void | |||
| void | |||
| void | OnComponentAddedToBlueprint
(
const FSubobjectData& NewSubobjectData |
Delegate invoked when a new subobject is added in the subobject editor widget | |
| void | OnComponentDoubleClicked
(
TSharedPtr< class FSubobjectEditorTreeNode > Node |
Delegate invoked when an item is double clicked in the subobject editor widget | |
| void | |||
| void | |||
| void | Create comment node on graph | ||
| FActionMenuContent | OnCreateGraphActionMenu
(
UEdGraph* InGraph, |
Called to create context menu when right-clicking on graph | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | Dumps the currently-cached index data for the blueprint to a file for debugging | ||
| FReply | Handler for "Edit parent class" button | ||
| void | Handles opening the header file of native parent class | ||
| void | OnEditTabClosed
(
TSharedRef< SDockTab > Tab |
||
| void | |||
| void | |||
| FReply | Handler for "Find parent class in CB" button | ||
| void | OnFinishedChangingProperties
(
const FPropertyChangedEvent& PropertyChangedEvent |
Callback when properties have finished being handled | |
| void | Dumps the current blueprint search index to a JSON file for debugging purposes | ||
| FEdGraphPinType | OnGetPinType
(
UEdGraphPin* SelectedPin |
Functions for handling the changing of the pin's type (PinCategory, PinSubCategory, etc) | |
| void | OnGraphActionMenuClosed
(
bool bActionExecuted, |
Called from graph context menus when they close to tell the editor why they closed | |
| void | OnGraphEditorBackgrounded
(
const TSharedRef< SGraphEditor >& InGraphEditor |
Called when the graph editor tab is backgrounded | |
| void | OnGraphEditorDropActor
(
const TArray< TWeakObjectPtr< AActor > >& Actors, |
Called when an actor is dropped onto the graph editor | |
| void | OnGraphEditorDropStreamingLevel
(
const TArray< TWeakObjectPtr< ULevelStreaming > >& Levels, |
Called when a streaming level is dropped onto the graph editor | |
| void | OnGraphEditorFocused
(
const TSharedRef< class SGraphEditor >& InGraphEditor |
Called when graph editor focus is changed | |
| void | OnGraphEditorQuickJump
(
int32 BookmarkIndex |
Handles activation of a graph editor "quick jump" command | |
| void | OnInsertExecutionPin
(
EPinInsertPosition Position |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnLockNodeStateCheckStateChanged
(
ECheckBoxState NewCheckedState |
||
| bool | If returns true only the custom debug list will be used | ||
| FOnModeSet & | OnModeSet () |
||
| void | OnNodeDoubleClicked
(
UEdGraphNode* Node |
||
| void | Called when node is spawned by keymap | ||
| void | OnNodeTitleCommitted
(
const FText& NewText, |
Called when a node's title is committed for a rename | |
| bool | OnNodeVerifyTitleCommit
(
const FText& NewText, |
Called when a node's title is being committed for a rename so it can be verified | |
| void | OnPasteNewLocalVariable
(
const FBPVariableDescription& VariableDescription |
Pastes a new local variable to the focused function graph | |
| void | OnPostObjectPropertyChanged
(
UObject* InObject, |
Called after a property change has been propagated to instances of the Blueprint | |
| void | OnPreObjectPropertyChanged
(
UObject* InObject, |
Called when a property change is about to be propagated to instances of the Blueprint | |
| void | |||
| void | |||
| void | OnPromoteToVariable
(
bool bInToMemberVariable |
UI Action functionality. | |
| void | |||
| FOnRefreshEvent & | OnRefresh () |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnRenameNode () |
On starting to rename node | |
| void | |||
| void | |||
| void | |||
| void | OnSelectedNodesChanged
(
const TSet< class UObject* >& NewSelection |
Called when the selection changes in the GraphEditor | |
| void | OnSelectedNodesChangedImpl
(
const TSet< class UObject* >& NewSelection |
Called when the selection changes in the GraphEditor | |
| void | OnSelectionUpdated
(
const TArray< TSharedPtr< class FSubobjectEditorTreeNode >>& SelectedNodes |
Delegate invoked when the selection is changed in the subobject editor widget | |
| void | |||
| FReply | OnSpawnGraphNodeByShortcut
(
FInputChord InChord, |
Handles spawning a graph node in the current graph using the passed in chord | |
| void | |||
| void | Start editing the defaults for this blueprint | ||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Spawns a new blueprint debugger tab | ||
| TSharedPtr< SDockTab > | OpenDocument
(
const UObject* DocumentID, |
||
| void | PasteGeneric () |
Paste Variable Definition or Nodes | |
| void | PasteNodes () |
||
| void | Should be called when initializing an editor that has a blueprint, after layout (tab spawning) is done. | ||
| 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. | |
| void | Called to redo the last undone action | ||
| void | Called when the refresh all nodes button is clicked | ||
| void | Updates the selected object used by the stand lone defaults editor widget. | ||
| void | RegisterApplicationModes
(
const TArray< UBlueprint* >& InBlueprints, |
Called during initialization of the blueprint editor to register any application modes. | |
| void | Register Menus | ||
| void | RegisterSCSEditorCustomization
(
const FName& InComponentName, |
Register a customization for interacting with the subobject editor | |
| void | RegisterToolbarTab
(
const TSharedRef< class FTabManager >& TabManager |
||
| void | RemoveBookmark
(
const FGuid& BookmarkNodeId, |
Removes the bookmark node with the given ID. | |
| void | RemoveNamespace
(
const FString& InNamespace |
Removes the given namespace from the editor's current import context. | |
| void | RenameBookmark
(
const FGuid& BookmarkNodeId, |
Renames the bookmark node with the given ID. | |
| void | RenameNewlyAddedAction
(
FName InActionName |
Utility function to handle all steps required to rename a newly added action | |
| void | Reparent the current blueprint | ||
| bool | |||
| void | ReparentBlueprint_NewParentChosen
(
UClass* ChosenClass |
||
| void | 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 | ||
| void | Focus nodes which are related to the selected nodes | ||
| void | Create new tab for each element of LastEditedObjects array | ||
| void | Save the current set of edited objects in the LastEditedObjects array so it will be opened next time we open K2 | ||
| void | |||
| void | SelectAndDuplicateNode
(
UEdGraphNode* InNode |
Duplicates an EdGraphNode using selection and copy / paste functionality | |
| void | SelectGraphActionItemByName
(
const FName& ItemName, |
Selects an item in "My Blueprint" by name. | |
| bool | SelectLocalVariable
(
const UEdGraph* Graph, |
Selects a local variable to load in the details panel. | |
| void | SetDetailsCustomization
(
TSharedPtr< class FDetailsViewObjectFilter > DetailsObjectFilter, |
Sets customizations for the BP editor details panel. | |
| void | SetGraphEditorQuickJump
(
int32 BookmarkIndex |
Binds a graph editor "quick jump" to the command at the given index | |
| void | Ensures the blueprint has keyboard focus. | ||
| void | SetPinVisibility
(
SGraphEditor::EPinVisibility Visibility |
Pin visibility accessors | |
| void | SetSubobjectEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > SCSEditorUICustomization |
Sets subobject editor UI customization | |
| void | SetUISelectionState
(
FName SelectionOwner |
||
| void | SetupGraphEditorEvents
(
UEdGraph* InGraph, |
Setup all the events that the graph editor can handle | |
| void | Called by the blueprint editing app mode to focus the appropriate tabs, etc... | ||
| void | SetViewLocation
(
const FVector2D& Location, |
Sets the focused graph view location/zoom amount | |
| bool | Other types of BP editors that don't use BP VM/function libs can choose to not load BP function libraries, for example: Control Rig Blueprints. | ||
| void | StartEditingDefaults
(
bool bAutoFocus, |
Virtual override point for editing defaults; allowing more derived editors to edit something else | |
| void | Make nodes which are unrelated to the selected nodes fade out | ||
| void | |||
| bool | TransactionObjectAffectsBlueprint
(
UObject* InTransactedObject |
||
| void | TryInvokingDetailsTab
(
bool bFlash |
Attempts to invoke the details tab if it's currently possible to. | |
| void | Called to undo the last action | ||
| void | UnregisterSCSEditorCustomization
(
const FName& InComponentName |
Unregister a previously registered customization for interacting with the subobject editor | |
| void | UpdateNodeCreationStats
(
const ENodeCreateAction::Type CreateAction |
Update Node Creation mechanisms for analytics | |
| void | Update all nodes' unrelated states when the graph has changed | ||
| void | UpdatePreviewActor
(
UBlueprint* InBlueprint, |
Creates/updates the preview actor for the given blueprint. | |
| void | UpdateSubobjectPreview
(
bool bUpdateNow |
Refresh the preview viewport to reflect changes in the subobject | |
| void | Variable list window calls this after it is updated | ||
| void | Zooming to fit the current selection. | ||
| void | Zooming to fit the entire graph. |
Overridden from IBlueprintEditor
| Type | Name | Description | |
|---|---|---|---|
| void | AddToSelection
(
UEdGraphNode* InNode |
||
| void | AnalyticsTrackNodeEvent
(
UBlueprint* Blueprint, |
Used to track node create/delete events for Analytics | |
| bool | |||
| bool | GetBoundsForSelectedNodes
(
FSlateRect& Rect, |
||
| UEdGraph * | Returns the currently focused graph context, or NULL if no graph is available. | ||
| TSharedPtr< class IClassViewerFilter > | Return the class viewer filter associated with the current set of imported namespaces within this editor context. | ||
| int32 | Get number of currently selected nodes in the SCS editor tree | ||
| void | GetPinTypeSelectorFilters
(
TArray< TSharedPtr< class IPinTypeSelectorFilter >>& OutFilters |
Get all the the pin type selector filters within this editor context. | |
| TArray< TSharedPtr< FSubobjectEditorTreeNode > > | Util to get the currently selected Subobject editor tree Nodes | ||
| bool | IsNonImportedObject
(
const UObject* InObject |
Return whether the given object falls outside the scope of the current set of imported namespaces within this editor context. | |
| bool | IsNonImportedObject
(
const FSoftObjectPath& InObject |
Return whether the given object falls outside the scope of the current set of imported namespaces within this editor context. | |
| void | JumpToHyperlink
(
const UObject* ObjectReference, |
||
| TSharedPtr< SGraphEditor > | OpenGraphAndBringToFront
(
UEdGraph* Graph, |
Tries to open the specified graph and bring it's document to the front (note: this can return NULL) | |
| void | PasteNodesHere
(
UEdGraph* DestinationGraph, |
Paste on graph at specific location | |
| void | |||
| void | |||
| void | |||
| void | Invokes the Find and Replace UI | ||
| void | SummonSearchUI
(
bool bSetFindWithinBlueprint, |
Invokes the search UI and sets the mode and search terms optionally |
Overridden from FWorkflowCentricApplication
| Type | Name | Description | |
|---|---|---|---|
| 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
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| void | InitToolMenuContext
(
FToolMenuContext& MenuContext |
Add context objects for menus and toolbars | |
| void | OnClose () |
Called when this toolkit is being closed | |
| bool | OnRequestClose
(
EAssetEditorCloseReason InCloseReason |
Called when this toolkit is requested to close. Returns false if closing should be prevented. | |
| void | Recreates the overlay on the menu bar |
Overridden from IToolkit
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns the localized name of this toolkit type (typically just " |
||
| FName | Returns the invariant name of this toolkit type, used for establishing the context for help, documentation and tutorials | ||
| FName | Returns the invariant name of this toolkit type | ||
| FText | Returns the localized name of this toolkit | ||
| FText | Returns the localized tooltip text of this toolkit | ||
| FLinearColor | |||
| FString | Returns the localize prefix string to use for tab labels in world-centric mode. | ||
| bool | Returns if this is a IBlueprintEditor derivation | ||
| void | RegisterTabSpawners
(
const TSharedRef< class FTabManager >& TabManager |
IToolkit interface |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |
Overridden from FNotifyHook
| Type | Name | Description | |
|---|---|---|---|
| void | NotifyPostChange
(
const FPropertyChangedEvent& PropertyChangedEvent, |
||
| void | NotifyPreChange
(
FProperty* PropertyAboutToChange |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id to use for this tickable | |
| ETickableTickType | Virtual that can be overloaded by the inheriting class. | ||
| void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |
Overridden from FEditorUndoClient
| Type | Name | Description | |
|---|---|---|---|
| void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code | |
| void | PostUndo
(
bool bSuccess |
Signal that client should run any PostUndo code |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FImportNamespaceExParameters | Parameters for the extended ImportNamespaceEx() method | ||
| FOnRefreshEvent | Broadcasts a notification whenever the editor needs associated controls to refresh |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECreatedDocumentType | Type of new document/graph being created by a menu item. | ||
| ESafeToModifyDuringPIEStatus |
Typedefs
| Name | Description |
|---|---|
| FOnModeSet | |
| FOnSetPinVisibility |
Constants
| Name | Description |
|---|---|
| SelectionState_ClassDefaults | |
| SelectionState_ClassSettings | |
| SelectionState_Components | |
| SelectionState_Graph | |
| SelectionState_MyBlueprint |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< class ISCSEditorCustomization > | CustomizeSCSEditor
(
USceneComponent* InComponentToCustomize |
CustomizeSCSEditor has been deprecated. Use CustomizeSubobjectEditor instead. | |
| TSharedPtr< class FSCSEditorTreeNode > | FindAndSelectSCSEditorTreeNode
(
const UActorComponent* InComponent, |
FindAndSelectSCSEditorTreeNode has been deprecated. Use FindAndSelectSubobjectEditorTreeNode instead. | |
| TSharedPtr< class IPinTypeSelectorFilter > | Please use GetPinTypeSelectorFilters | ||
| TSharedPtr< SSCSEditor > | GetSCSEditor () |
GetSCSEditor has been deprecated. Use GetSubobjectEditor instead. | |
| TArray< TSharedPtr< class FSCSEditorTreeNode > > | GetSelectedSCSEditorTreeNodes has been deprecated. Use GetSelectedSubobjectEditorTreeNodes instead. | ||
| void | OnComponentDoubleClicked
(
TSharedPtr< class FSCSEditorTreeNode > Node |
OnComponentDoubleClicked(TSharedPtr |
|
| void | OnSelectionUpdated
(
const TArray< TSharedPtr< class FSCSEditorTreeNode >>& SelectedNodes |
OnSelectionUpdated(const TArray |
|
| void | SetSCSEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > SCSEditorUICustomization |
SetSCSEditorUICustomization has been deprecated. Use SetSubobjectEditorUICustomization instead. | |
| bool | ShouldShowToggleHideUnrelatedNodes
(
bool bIsToolbar |
The Toggle Hide Unrelated Nodes button is always shown now |