Navigation
API > API/Editor > API/Editor/LevelEditor
| Name | ULevelEditorContextMenuContext |
| Type | class |
| Header File | /Engine/Source/Editor/LevelEditor/Public/LevelEditorMenuContext.h |
| Include Path | #include "LevelEditorMenuContext.h" |
Syntax
UCLASS (MinimalAPI)
class ULevelEditorContextMenuContext : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULevelEditorContextMenuContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContextType | ELevelEditorMenuContext | LevelEditorMenuContext.h |
|
|
| CurrentSelection | TObjectPtr< const UTypedElementSelectionSet > | LevelEditorMenuContext.h |
|
|
| CursorWorldLocation | FVector | LevelEditorMenuContext.h |
|
|
| HitProxyActor | TWeakObjectPtr< AActor > | If the ContextType is Viewport this property can be set to the HitProxy actor that triggered the ContextMenu. | LevelEditorMenuContext.h |
|
| HitProxyElement | FTypedElementHandle | If the ContextType is Viewport this property can be set to the HitProxy element that triggered the ContextMenu. | LevelEditorMenuContext.h | |
| LevelEditor | TWeakPtr< ILevelEditor > | LevelEditorMenuContext.h | ||
| SelectedComponents | TArray< TObjectPtr< UActorComponent > > | LevelEditorMenuContext.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScriptTypedElementHandle GetScriptHitProxyElement() |
LevelEditorMenuContext.h |
|