unreal.ToolShutdownType

class unreal.ToolShutdownType

Bases: EnumBase

Passed to UInteractiveTool::Shutdown to indicate how Tool should shut itself down

C++ Source:

  • Module: InteractiveToolsFramework

  • File: InteractiveTool.h

ACCEPT: ToolShutdownType

Tool commits current preview to scene

Type:

1

CANCEL: ToolShutdownType

Tool discards current preview without modifying scene

Type:

2

COMPLETED: ToolShutdownType

Tool cleans up and exits. Pass this to tools that do not have Accept/Cancel options.

Type:

0