Navigation
Unreal Engine C++ API Reference > Developer > ToolMenus
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UToolMenuBase
- UToolMenu
References
Module | ToolMenus |
Header | /Engine/Source/Developer/ToolMenus/Public/ToolMenu.h |
Include | #include "ToolMenu.h" |
Syntax
class UToolMenu : public UToolMenuBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bCloseSelfOnly | |
![]() |
bool | bPreventCustomization | Prevent menu from being customized |
![]() |
bool | bSearchable | |
![]() |
bool | bShouldCleanupContextOnDestroy | |
![]() |
bool | bShouldCloseWindowAfterMenuSelection | |
![]() |
bool | bToolBarForceSmallIcons | |
![]() |
bool | bToolBarIsFocusable | |
![]() |
FToolMenuContext | Context | |
![]() |
FName | MenuName | |
![]() |
FToolMenuOwner | MenuOwner | |
![]() |
FName | MenuParent | |
![]() |
EMultiBoxType | MenuType | |
![]() |
FMultiBox::FOnModifyBlockWidgetAfterMake | ModifyBlockWidgetAfterMake | |
![]() |
TArray< FToolMenuSection > | Sections | |
![]() |
FName | StyleName | |
![]() |
TObjectPtr< const UToolMenu > | SubMenuParent | |
![]() |
FName | SubMenuSourceEntryName | |
![]() |
FName | TutorialHighlightName |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UToolMenu () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FToolMenuSection & | AddDynamicSection
(
const FName SectionName, |
Callback is passed sandboxed empty menu to add as many sections as desired. |
![]() |
void | AddDynamicSectionScript
(
const FName SectionName, |
|
![]() |
void | AddMenuEntry
(
const FName SectionName, |
|
![]() |
void | AddMenuEntryObject
(
UToolMenuEntryScript* InObject |
|
![]() |
FToolMenuSection & | AddSection
(
const FName SectionName, |
|
![]() |
void | AddSectionScript
(
const FName SectionName, |
|
![]() |
UToolMenu * | AddSubMenu
(
const FToolMenuOwner Owner, |
|
![]() |
UToolMenu * | ||
![]() ![]() |
TContextType * | FindContext () |
|
![]() |
FToolMenuSection & | FindOrAddSection
(
const FName SectionName |
|
![]() |
FToolMenuSection * | FindSection
(
const FName SectionName |
|
![]() ![]() |
TArray< FName > | GetMenuHierarchyNames
(
bool bIncludeSubMenuRoot |
|
![]() ![]() |
FName | GetMenuName () |
|
![]() ![]() |
TArray< const UToolMenu * > | Returns array [Menu, Menu.SubMenuA, Menu.SubMenuB] for Menu.SubMenuB.SubMenuB | |
![]() ![]() |
FString | Returns "SubMenuC.SubMenuD" for menu "ModuleA.MenuB.SubMenuC.SubMenuD" | |
![]() |
void | InitMenu
(
const FToolMenuOwner Owner, |
|
![]() ![]() |
bool | IsRegistered () |
|
![]() |
FReply | ||
![]() |
void | RemoveSection
(
const FName SectionName |
|
![]() |
void | SetExtendersEnabled
(
bool bEnabled |
Set support for extenders |
![]() |
void | SetMaxHeight
(
uint32 InMaxHeight |
Overridden from UToolMenuBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FCustomizedToolMenu * | ||
![]() ![]() ![]() |
bool | ContainsEntry
(
const FName InName |
|
![]() ![]() ![]() |
bool | ContainsSection
(
const FName InName |
|
![]() ![]() ![]() |
FCustomizedToolMenu * | ||
![]() ![]() ![]() |
FCustomizedToolMenuHierarchy | ||
![]() ![]() ![]() |
FName | GetSectionName
(
const FName InEntryName |
|
![]() ![]() ![]() |
bool | IsEditing () |
|
![]() ![]() |
void | ||
![]() ![]() |
void | UpdateMenuCustomizationFromMultibox
(
const TSharedRef< const FMultiBox >& InMultiBox |