Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework > API/Editor/EditorInteractiveToolsFramework/UViewportInteraction
Description
Checks if the provided Mode is supported by this interaction. Used to know whether this interaction should be added or not to the current Mode. Should be called on the class CDO to avoid instantiating interactions which might not be used.
| Name | IsCurrentModeSupported |
| Type | function |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportInteraction.h" |
| Source | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/ViewportInteractions/ViewportInteraction.cpp |
bool IsCurrentModeSupported
(
const FEditorModeTools * InModeTools
) const