Navigation
API > API/Editor > API/Editor/Kismet
Responsible for constructing a list of viable blueprint actions. Runs the blueprint actions database through a filter and spawns a series of FBlueprintActionMenuItems for actions that pass. Takes care of generating the each menu item's category/name/etc.
| Name | FBlueprintActionMenuBuilder |
| Type | struct |
| Header File | /Engine/Source/Editor/Kismet/Public/BlueprintActionMenuBuilder.h |
| Include Path | #include "BlueprintActionMenuBuilder.h" |
Syntax
struct FBlueprintActionMenuBuilder : public FGraphActionListBuilderBase
Inheritance Hierarchy
- FGraphActionListBuilderBase → FBlueprintActionMenuBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBlueprintActionMenuBuilder
(
EConfigFlags Flags |
Default constructor. | BlueprintActionMenuBuilder.h | |
FBlueprintActionMenuBuilder
(
TWeakPtr< FBlueprintEditor > BlueprintEditorPtr |
BlueprintActionMenuBuilder.h |
Enums
Public
| Name | Remarks |
|---|---|
| EConfigFlags | Flags used to configure the builder. |
| ESectionFlag | Flags used to customize specific sections of the menu. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUsePendingActionList | bool | If enabled, actions will be added to the pending list rather than processed immediately. | BlueprintActionMenuBuilder.h | |
| MenuItemListAddHelper | TSharedPtr< FBlueprintActionMenuBuilderImpl::FMenuItemListAddHelper > | Defines a utility that assists with building the list of action menu items for each menu section based on a set of Blueprint action descriptor records. | BlueprintActionMenuBuilder.h | |
| MenuSections | TArray< TSharedRef< FBlueprintActionMenuBuilderImpl::FMenuSectionDefinition > > | Defines all the separate sections of the menu (filter, sort order, etc.). | BlueprintActionMenuBuilder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMenuSection
(
FBlueprintActionFilter const& Filter, |
Some action menus require multiple sections. | BlueprintActionMenuBuilder.h | |
virtual void Empty() |
BlueprintActionMenuBuilder.h | ||
int32 GetNumPendingActions() |
Returns the current number of actions that are still pending | BlueprintActionMenuBuilder.h | |
float GetPendingActionsProgress() |
Returns the normalized completion state when processing pending actions (e.g. for a status indicator) | BlueprintActionMenuBuilder.h | |
bool ProcessPendingActions () |
Processes any actions that may be added asynchronously or across multiple frames. | BlueprintActionMenuBuilder.h | |
void RebuildActionList () |
Regenerates the entire menu list from the cached menu sections. | BlueprintActionMenuBuilder.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildCompleted() |
Called when all menu items have been constructed. | BlueprintActionMenuBuilder.h | |
void MakeMenuItems
(
FBlueprintActionInfo& InAction |
Adds menu items for the given database action. | BlueprintActionMenuBuilder.h |