unreal.ToolMenuInsert

class unreal.ToolMenuInsert(name: Name = 'None', position: ToolMenuInsertType = Ellipsis, fallback: ToolMenuInsertFallback = 0)

Bases: StructBase

Tool Menu Insert

C++ Source:

  • Module: ToolMenus

  • File: ToolMenuMisc.h

Editor Properties: (see get_editor_property/set_editor_property)

  • fallback (ToolMenuInsertFallback): [Read-Write] How to handle an item when the target insertion position is not found. Defaults to inserting the item while logging that the target was not found.

  • name (Name): [Read-Write] Where to insert

  • position (ToolMenuInsertType): [Read-Write] How to insert

property fallback: ToolMenuInsertFallback

[Read-Write] How to handle an item when the target insertion position is not found. Defaults to inserting the item while logging that the target was not found.

Type:

(ToolMenuInsertFallback)

property name: Name

[Read-Write] Where to insert

Type:

(Name)

property position: ToolMenuInsertType

[Read-Write] How to insert

Type:

(ToolMenuInsertType)