Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Holds another Change and forwards Apply/Revert to it, with calls to Before/After lambas, allowing client classes to respond to a change without having to intercept it explicitly. (Be very careful with these lambdas!)
| Name | TWrappedToolCommandChange |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolChange.h |
| Include Path | #include "InteractiveToolChange.h" |
Syntax
template<typename ChangeType>
class TWrappedToolCommandChange : public FToolCommandChange
Inheritance Hierarchy
- FChange → FCommandChange → FToolCommandChange → TWrappedToolCommandChange
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AfterModify | TUniqueFunction< void(bool bRevert)> | InteractiveToolChange.h | ||
| BeforeModify | TUniqueFunction< void(bool bRevert)> | InteractiveToolChange.h | ||
| WrappedChange | TUniquePtr< ChangeType > | InteractiveToolChange.h |
Functions
Public
Overridden from FChange
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply
(
UObject* Object |
InteractiveToolChange.h | ||
virtual void Revert
(
UObject* Object |
InteractiveToolChange.h | ||
virtual FString ToString() |
InteractiveToolChange.h |