Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
IInteractiveToolNestedAcceptCancelAPI provides an API for a Tool to publish intent and ability to Accept or Cancel sub-operations. For example in a Tool that has an editable active Selection, we might want the Escape hotkey to Clear any active selection, and then on a second press, to Cancel the Tool. This API allows a Tool to say "I can consume a Cancel action", and similarly for Accept (although this is much less common).
| Name | IInteractiveToolNestedAcceptCancelAPI |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolQueryInterfaces.h |
| Include Path | #include "InteractiveToolQueryInterfaces.h" |
Syntax
class IInteractiveToolNestedAcceptCancelAPI
Derived Classes
IInteractiveToolNestedAcceptCancelAPI derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCurrentlyNestedAccept() |
InteractiveToolQueryInterfaces.h | ||
virtual bool CanCurrentlyNestedCancel() |
InteractiveToolQueryInterfaces.h | ||
virtual bool ExecuteNestedAcceptCommand() |
Called by Editor levels to tell the implementor (eg Tool) to execute a nested Accept action | InteractiveToolQueryInterfaces.h | |
virtual bool ExecuteNestedCancelCommand() |
Called by Editor levels to tell the implementor (eg Tool) to execute a nested Cancel action | InteractiveToolQueryInterfaces.h | |
virtual bool SupportsNestedAcceptCommand() |
InteractiveToolQueryInterfaces.h | ||
virtual bool SupportsNestedCancelCommand() |
InteractiveToolQueryInterfaces.h |