Navigation
API > API/Editor > API/Editor/LevelEditor
References
| Module | LevelEditor |
| Header | /Engine/Source/Editor/LevelEditor/Public/LevelEditorContextMenu.h |
| Include | #include "LevelEditorContextMenu.h" |
Syntax
class FLevelEditorContextMenu
Remarks
Context menu construction class
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPlayFromHereSubMenu
(
FToolMenuSection& Section |
||
| void | BuildGroupMenu
(
FToolMenuSection& Section, |
Builds the actor group menu | |
| TSharedRef< SWidget > | BuildMenuWidget
(
TWeakPtr< ILevelEditor > LevelEditor, |
Creates a widget for the context menu that can be inserted into a pop-up window | |
| UToolMenu * | GenerateMenu
(
TWeakPtr< ILevelEditor > LevelEditor, |
Populates the specified menu builder for the context menu that can be inserted into a pop-up window | |
| FName | GetContextMenuName
(
ELevelEditorMenuContext ContextType, |
Returns name of menu to display based on current selection | |
| 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 | |
| FText | GetContextMenuToolTip
(
ELevelEditorMenuContext ContextType, |
Returns a user-readable tooltip describing the menu to display | |
| FName | InitMenuContext
(
FToolMenuContext& Context, |
Adds required information to Context for build menu based on current selection | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SummonMenu
(
const TSharedRef< class SLevelEditor >& LevelEditor, |
Summons the level viewport context menu | |
| void | SummonViewOptionMenu
(
const TSharedRef< class SLevelEditor >& LevelEditor, |
Summons the viewport view option menu |