FBlueprintActionMenuBuilder::AddMenuSection

Some action menus require multiple sections.

Windows
MacOS
Linux

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/BlueprintActionMenuBuilder.h

Include

#include "BlueprintActionMenuBuilder.h"

Source

/Engine/Source/Editor/Kismet/Private/BlueprintActionMenuBuilder.cpp

Syntax

void AddMenuSection
(
    FBlueprintActionFilter const & Filter,
    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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss