Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UInteractiveToolManager
Description
Set the behavior for how to deactivate an already-active tool if ActivateTool is called while HasActiveTool is true.
Note: a higher level system could choose to enforce its preferences for this behavior by querying HasActiveTool and making sure to shut down the previous tool before calling ActivateTool. However it is convenient to be able to set the behavior at the tool manager level.
| Name | SetToolSwitchMode |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolManager.h |
| Include Path | #include "InteractiveToolManager.h" |
virtual void SetToolSwitchMode
(
EToolManagerToolSwitchMode ToolSwitchModeIn
)