Navigation
API > API/Editor > API/Editor/LevelEditor
Context menu construction class
| Name | FLevelEditorContextMenu |
| Type | class |
| Header File | /Engine/Source/Editor/LevelEditor/Public/LevelEditorContextMenu.h |
| Include Path | #include "LevelEditorContextMenu.h" |
Syntax
class FLevelEditorContextMenu
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddPlayFromHereSubMenu
(
FToolMenuSection& Section |
LevelEditorContextMenu.h | ||
static void BuildGroupMenu
(
FToolMenuSection& Section, |
Builds the actor group menu | LevelEditorContextMenu.h | |
static TSharedRef< SWidget > BuildMenuWidget
(
TWeakPtr< ILevelEditor > LevelEditor, |
Creates a widget for the context menu that can be inserted into a pop-up window | LevelEditorContextMenu.h | |
static UToolMenu * GenerateMenu
(
TWeakPtr< ILevelEditor > LevelEditor, |
Populates the specified menu builder for the context menu that can be inserted into a pop-up window | LevelEditorContextMenu.h | |
static FName GetContextMenuName
(
ELevelEditorMenuContext ContextType, |
Returns name of menu to display based on current selection | LevelEditorContextMenu.h | |
static FText GetContextMenuTitle
(
ELevelEditorMenuContext ContextType, |
Returns a user-readable title for the menu to display; the title can be displayed in UI like the menu bar | LevelEditorContextMenu.h | |
static FText GetContextMenuToolTip
(
ELevelEditorMenuContext ContextType, |
Returns a user-readable tooltip describing the menu to display | LevelEditorContextMenu.h | |
static FName InitMenuContext
(
FToolMenuContext& Context, |
Adds required information to Context for build menu based on current selection | LevelEditorContextMenu.h | |
static void RegisterActorContextMenu() |
LevelEditorContextMenu.h | ||
static void RegisterComponentContextMenu() |
LevelEditorContextMenu.h | ||
static void RegisterElementContextMenu() |
LevelEditorContextMenu.h | ||
static void RegisterEmptySelectionContextMenu() |
LevelEditorContextMenu.h | ||
static void RegisterMenuBarEmptyContextMenu() |
LevelEditorContextMenu.h | ||
static void RegisterSceneOutlinerContextMenu() |
LevelEditorContextMenu.h | ||
static void SummonMenu
(
const TSharedRef< class SLevelEditor >& LevelEditor, |
Summons the level viewport context menu | LevelEditorContextMenu.h | |
static void SummonViewOptionMenu
(
const TSharedRef< class SLevelEditor >& LevelEditor, |
Summons the viewport view option menu | LevelEditorContextMenu.h |