Navigation
API > API/Editor > API/Editor/CommonMenuExtensions
| Name | FShowFlagMenuCommands |
| Type | class |
| Header File | /Engine/Source/Editor/CommonMenuExtensions/Public/ShowFlagMenuCommands.h |
| Include Path | #include "ShowFlagMenuCommands.h" |
Syntax
class FShowFlagMenuCommands : public TCommands< FShowFlagMenuCommands >
Inheritance Hierarchy
- TCommands< FShowFlagMenuCommands > → FShowFlagMenuCommands
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShowFlagMenuCommands() |
ShowFlagMenuCommands.h |
Structs
| Name | Remarks |
|---|---|
| FShowFlagCommand |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCommandsInitialised | bool | ShowFlagMenuCommands.h | ||
| ShowFlagCommands | TArray< FShowFlagCommand > | ShowFlagMenuCommands.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindCommands
(
FUICommandList& CommandList, |
ShowFlagMenuCommands.h | ||
void BuildShowFlagsMenu
(
UToolMenu* Menu, |
ShowFlagMenuCommands.h | ||
TSharedPtr< const FUICommandInfo > FindCommandForFlag
(
FEngineShowFlags::EShowFlag FlagIndex |
ShowFlagMenuCommands.h | ||
const TArray< FShowFlagCommand > & GetCommands() |
ShowFlagMenuCommands.h | ||
void PopulateAllShowFlagsSection
(
FToolMenuSection& Section, |
ShowFlagMenuCommands.h | ||
void PopulateCommonShowFlagsSection
(
FToolMenuSection& Section, |
ShowFlagMenuCommands.h | ||
virtual void RegisterCommands() |
ShowFlagMenuCommands.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsShowFlagEnabled
(
TWeakPtr< FEditorViewportClient > WeakClient, |
ShowFlagMenuCommands.h | ||
static void StaticCreateShowFlagsSubMenu
(
UToolMenu* Menu, |
ShowFlagMenuCommands.h | ||
static void ToggleShowFlag
(
TWeakPtr< FEditorViewportClient > WeakClient, |
ShowFlagMenuCommands.h |