unreal.LevelEditorContextMenuContext
¶
- class unreal.LevelEditorContextMenuContext(outer=None, name='None')¶
Bases:
unreal.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] Context Typecurrent_selection
(TypedElementSelectionSet): [Read-Only] Current Selectioncursor_world_location
(Vector): [Read-Only] Cursor World Locationhit_proxy_actor
(Actor): [Read-Only] Hit Proxy Actor: If the ContextType is Viewport this property can be set to the HitProxy actor that triggered the ContextMenu.selected_components
(Array(ActorComponent)): [Read-Only] Selected Components
- property context_type¶
[Read-Only] Context Type
- Type
- property current_selection¶
[Read-Only] Current Selection
- Type
- get_hit_proxy_element() → ScriptTypedElementHandle¶
Get Script Hit Proxy Element
- Return type
- property hit_proxy_actor¶
[Read-Only] Hit Proxy Actor: If the ContextType is Viewport this property can be set to the HitProxy actor that triggered the ContextMenu.
- Type
(Actor)
- property selected_components¶
[Read-Only] Selected Components
- Type