Navigation
API > API/Editor > API/Editor/LevelEditor > API/Editor/LevelEditor/FLevelEditorContextMenu
References
| Module | LevelEditor |
| Header | /Engine/Source/Editor/LevelEditor/Public/LevelEditorContextMenu.h |
| Include | #include "LevelEditorContextMenu.h" |
| Source | /Engine/Source/Editor/LevelEditor/Private/LevelEditorContextMenu.cpp |
static UToolMenu * GenerateMenu
(
TWeakPtr< ILevelEditor > LevelEditor,
ELevelEditorMenuContext ContextType,
TSharedPtr< FExtender > Extender,
const FTypedElementHandle & HitProxyElement
)
Remarks
Populates the specified menu builder for the context menu that can be inserted into a pop-up window
Parameters
| Name | Description |
|---|---|
| Menu | The menu to fill |
| LevelEditor | The level editor using this menu. |
| ContextType | The context we should use to specialize this menu |
| Extender | Allows extension of this menu based on context. |
| HitProxyActor | The hitproxy actor in the case the ContextType is Viewport |