unreal.ToolMenuSection
¶
- class unreal.ToolMenuSection(name: Name = 'None', owner: ToolMenuOwner = Ellipsis, blocks: Array[ToolMenuEntry] = [], insert_position: ToolMenuInsert = Ellipsis, context: ToolMenuContext = [], tool_menu_section_dynamic: ToolMenuSectionDynamic = Ellipsis)¶
Bases:
StructBase
Tool Menu Section
C++ Source:
Module: ToolMenus
File: ToolMenuSection.h
Editor Properties: (see get_editor_property/set_editor_property)
blocks
(Array[ToolMenuEntry]): [Read-Write] Blockscontext
(ToolMenuContext): [Read-Write] Contextinsert_position
(ToolMenuInsert): [Read-Write] Insert Positionname
(Name): [Read-Write] Nameowner
(ToolMenuOwner): [Read-Write] Ownertool_menu_section_dynamic
(ToolMenuSectionDynamic): [Read-Write] Tool Menu Section Dynamic
- add_entry(args) → None¶
Add Entry
- Parameters:
args (ToolMenuEntry) –
- add_entry_object(object) → None¶
Add Entry Object
- Parameters:
object (ToolMenuEntryScript) –
- property blocks: Array[ToolMenuEntry]¶
[Read-Write] Blocks
- Type:
- property context: ToolMenuContext¶
[Read-Write] Context
- Type:
- property insert_position: ToolMenuInsert¶
[Read-Write] Insert Position
- Type:
- property owner: ToolMenuOwner¶
[Read-Write] Owner
- Type:
- property tool_menu_section_dynamic: ToolMenuSectionDynamic¶
[Read-Write] Tool Menu Section Dynamic
- Type: