unreal.ToolMenuStringCommand

class unreal.ToolMenuStringCommand(type=ToolMenuStringCommandType.COMMAND, custom_type='None', string='')

Bases: unreal.StructBase

Tool Menu String Command

C++ Source:

  • Module: ToolMenus

  • File: ToolMenuMisc.h

Editor Properties: (see get_editor_property/set_editor_property)

  • custom_type (Name): [Read-Write] Which command handler to use when type is custom

  • string (str): [Read-Write] String to pass to command handler

  • type (ToolMenuStringCommandType): [Read-Write] Which command handler to use

property custom_type

[Read-Write] Which command handler to use when type is custom

Type

(Name)

property string

[Read-Write] String to pass to command handler

Type

(str)

property type

[Read-Write] Which command handler to use

Type

(ToolMenuStringCommandType)