Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UInteractiveTool
Description
Helper function to update a standard warning when we need to explain why "Accept" is disabled Note that calling this base implementation will clear any unrelated warnings. Note that this function is not automatically called by the base class.
| Name | UpdateAcceptWarnings |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveTool.h |
| Include Path | #include "InteractiveTool.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveTool.cpp |
virtual void UpdateAcceptWarnings
(
EAcceptWarning Warning
)
Parameters
| Name | Remarks |
|---|---|
| Warning | Reason that tool cannot be accepted (or EAcceptWarning::NoWarning if no warning need be displayed) |