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 TSharedRef< SWidget > BuildMenuWidget
&40;
TWeakPtr< ILevelEditor > LevelEditor,
ELevelEditorMenuContext ContextType,
TSharedPtr< FExtender > Extender,
const FTypedElementHandle & HitProxyElement
&41;
Remarks
Creates a widget for the context menu that can be inserted into a pop-up window Widget for this context menu
Parameters
| Name | Description |
|---|---|
| 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 |