Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Determines how a currently active tool is shutdown when switching to another tool.
| Name | EToolManagerToolSwitchMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolManager.h |
| Include Path | #include "InteractiveToolManager.h" |
Syntax
enum EToolManagerToolSwitchMode
{
AcceptIfAble,
CancelIfAble,
CustomizableAcceptIfAble,
CustomizableCancelIfAble,
}
Values
| Name | Remarks |
|---|---|
| AcceptIfAble | Accept if able, cancel if not (and complete if neither is possible) |
| CancelIfAble | Cancel if able, complete if not |
| CustomizableAcceptIfAble | Like AcceptIfAble, except a tool can change the shutdown type by implementing IInteractiveToolShutdownQueryAPI |
| CustomizableCancelIfAble | Like CancelIfAble, except a tool can change the shutdown type by implementing IInteractiveToolShutdownQueryAPI |