TWrappedToolCommandChange

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.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

TWrappedToolCommandChange

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolChange.h

Include

#include "InteractiveToolChange.h"

Syntax

template<typename ChangeType>
class TWrappedToolCommandChange : public FToolCommandChange

Remarks

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!)

Variables

Overridden from FChange

Name Description

Public function Virtual

void

 

Apply

(
    UObject* Object
)

Makes the change to the object

Public function Virtual

void

 

Revert

(
    UObject* Object
)

Reverts change to the object

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)