Module |
|
Header |
/Engine/Source/Editor/Kismet/Public/BlueprintActionMenuBuilder.h |
Include |
#include "BlueprintActionMenuBuilder.h" |
Source |
/Engine/Source/Editor/Kismet/Private/BlueprintActionMenuBuilder.cpp |
void AddMenuSection
(
FBlueprintActionFilter const & Filter,
FText const & Heading,
int32 MenuOrder,
uint32 const Flags
)
Some action menus require multiple sections. One option is to create multiple FBlueprintActionMenuBuilders and append them together, but that can be unperformant (each builder will run through the entire database separately)... This method provides an alternative, where you can specify a separate filter/heading/ordering for a sub-section of the menu.
Parameter |
Description |
---|---|
Filter |
The filter you want applied to this section of the menu. |
Heading |
The root category for this section of the menu (can be left blank). |
MenuOrder |
The sort order to assign this section of the menu (higher numbers come first). |
Flags |
Set of ESectionFlags to customize this menu section. |