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.

Windows
MacOS
Linux

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

TWrappedToolCommandChange

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss