UToolMenu::AddDynamicSection

Callback is passed sandboxed empty menu to add as many sections as desired.

Windows
MacOS
Linux

References

Module

ToolMenus

Header

/Engine/Source/Developer/ToolMenus/Public/ToolMenu.h

Include

#include "ToolMenu.h"

Source

/Engine/Source/Developer/ToolMenus/Private/ToolMenu.cpp

Syntax

FToolMenuSection & AddDynamicSection
(
    const FName SectionName,
    const FNewSectionConstructChoice & InConstruct,
    const FToolMenuInsert InPosition
)

Remarks

Callback is passed sandboxed empty menu to add as many sections as desired. Sections merged into the final menu afterwards.

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