unreal.LevelEditorContextMenuContext
¶
- class unreal.LevelEditorContextMenuContext(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Object
Level Editor Context Menu Context
C++ Source:
Module: LevelEditor
File: LevelEditorMenuContext.h
Editor Properties: (see get_editor_property/set_editor_property)
context_type
(LevelEditorMenuContext): [Read-Only]current_selection
(TypedElementSelectionSet): [Read-Only]cursor_world_location
(Vector): [Read-Only]hit_proxy_actor
(Actor): [Read-Only] If the ContextType is Viewport this property can be set to the HitProxy actor that triggered the ContextMenu.selected_components
(Array[ActorComponent]): [Read-Only]
- property context_type: LevelEditorMenuContext¶
[Read-Only]
- Type:
- property current_selection: TypedElementSelectionSet¶
[Read-Only]
- Type:
- get_hit_proxy_element() → ScriptTypedElementHandle¶
Get Script Hit Proxy Element
- Return type:
- property hit_proxy_actor: Actor¶
[Read-Only] If the ContextType is Viewport this property can be set to the HitProxy actor that triggered the ContextMenu.
- Type:
(Actor)