Navigation
Unreal Engine C++ API Reference > Editor > Kismet
Inheritance Hierarchy
References
Module | Kismet |
Header | /Engine/Source/Editor/Kismet/Public/BlueprintActionMenuBuilder.h |
Include | #include "BlueprintActionMenuBuilder.h" |
Syntax
struct FBlueprintActionMenuBuilder : public [FGraphActionListBuilderBase](API\Runtime\Engine\EdGraph\FGraphActionListBuilderBase)
Remarks
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.
Constructors
Type | Name | Description |
---|---|---|
FBlueprintActionMenuBuilder ( EConfigFlags Flags ) | Default constructor. | |
FBlueprintActionMenuBuilder ( TWeakPtr< FBlueprintEditor > Bluepr... ) | The action filter now stores a reference to the authoritative editor context. Please use the default constructor instead. |
Functions
Type | Name | Description |
---|---|---|
void | AddMenuSection ( FBlueprintActionFilter const& Filt..., FText const& Heading, int32 MenuOrder, uint32 const Flags ) | Some action menus require multiple sections. |
void | BuildCompleted () | Called when all menu items have been constructed. |
int32 | GetNumPendingActions () | Returns the current number of actions that are still pending |
float | GetPendingActionsProgress () | Returns the normalized completion state when processing pending actions (e.g. for a status indicator) |
void | MakeMenuItems ( FBlueprintActionInfo& InAction ) | Adds menu items for the given database action. |
bool | ProcessPendingActions () | Processes any actions that may be added asynchronously or across multiple frames. |
void | RebuildActionList () | Regenerates the entire menu list from the cached menu sections. |
Overridden from FGraphActionListBuilderBase
Type | Name | Description |
---|---|---|
void | Empty () | Clears the action entries |
Enums
Type | Name | Description |
---|---|---|
Public enum | EConfigFlags | Flags used to configure the builder. |
Public enum | ESectionFlag | Flags used to customize specific sections of the menu. |
Deprecated Functions
Type | Name | Description |
---|---|---|
FBlueprintActionMenuBuilder ( TWeakPtr< FBlueprintEditor > Bluepr... ) | The action filter now stores a reference to the authoritative editor context. Please use the default constructor instead. |