Navigation
Unreal Engine C++ API Reference > 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](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > BuildMenuWidget ( [TWeakPtr](API\Runtime\Core\Templates\TWeakPtr)< [ILevelEditor](API\Editor\LevelEditor\ILevelEditor) > LevelEditor, ELevelEditorMenuContext ContextType, [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FExtender](API\Runtime\Slate\Framework\MultiBox\FExtender) > Extender, const [FTypedElementHandle](API\Runtime\TypedElementFramework\Elements\Framework\FTypedElementHandle) & HitProxyElement )
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 |