FBlueprintActionMenuBuilder::AddMenuSection

Some action menus require multiple sections.

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintActionMenuBuilder

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintActionMenuBuilder.h
Include #include "BlueprintActionMenuBuilder.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintActionMenuBuilder.cpp
void AddMenuSection
(
    [FBlueprintActionFilter](API\Editor\BlueprintGraph\FBlueprintActionFilter) const & Filter,
    [FText](API\Runtime\Core\Internationalization\FText) const & Heading,
    int32 MenuOrder,
    uint32 const Flags
)

Remarks

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.

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library