Navigation
Unreal Engine C++ API Reference > 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, const FSelectedActorInfo& Selected... ) | Builds the actor group menu |
TSharedRef< ... | BuildMenuWidget ( TWeakPtr< ILevelEditor > LevelEdito..., ELevelEditorMenuContext ContextType, TSharedPtr< FExtender > Extender, const FTypedElementHandle& HitProx... ) | Creates a widget for the context menu that can be inserted into a pop-up window |
UToolMenu &#... | GenerateMenu ( TWeakPtr< ILevelEditor > LevelEdito..., ELevelEditorMenuContext ContextType, TSharedPtr< FExtender > Extender, const FTypedElementHandle& HitProx... ) | Populates the specified menu builder for the context menu that can be inserted into a pop-up window |
FName | GetContextMenuName ( ELevelEditorMenuContext ContextType, const UTypedElementSelectionSet... ) | Returns name of menu to display based on current selection |
FText | GetContextMenuTitle ( ELevelEditorMenuContext ContextType, const UTypedElementSelectionSet... ) | 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, const UTypedElementSelectionSet... ) | Returns a user-readable tooltip describing the menu to display |
FName | InitMenuContext ( FToolMenuContext& Context, TWeakPtr< ILevelEditor > LevelEdito..., ELevelEditorMenuContext ContextType, const FTypedElementHandle& HitProx... ) | Adds required information to Context for build menu based on current selection |
void | RegisterActorContextMenu () | |
void | RegisterComponentContextMenu () | |
void | RegisterElementContextMenu () | |
void | RegisterEmptySelectionContextMenu () | |
void | RegisterMenuBarEmptyContextMenu () | |
void | RegisterSceneOutlinerContextMenu () | |
void | SummonMenu ( const TSharedRef< class SLevelEdito..., ELevelEditorMenuContext ContextType, const FTypedElementHandle& HitProx... ) | Summons the level viewport context menu |
void | SummonViewOptionMenu ( const TSharedRef< class SLevelEdito..., const ELevelViewportType ViewOption ) | Summons the viewport view option menu |