FCommandChange

To use [FCommandChange](API\Runtime\Core\Misc\FCommandChange) you must implement [Apply()](API\Runtime\Core\Misc\FChange\Apply) and [Revert()](API\Runtime\Core\Misc\FChange\Revert)[Revert()](API\Runtime\Core\Misc\FChange\Revert) is called to "Undo" and [Apply()](API\Runtime\Core\Misc\FChange\Apply) is called to "Redo"

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Change.h

Include

#include "Misc/Change.h"

Syntax

class FCommandChange : public FChange

Remarks

To use FCommandChange you must implement Apply() and Revert()Revert() is called to "Undo" and Apply() is called to "Redo"

Overridden from FChange

Name Description

Public function Virtual

TUniquePtr< ...

 

Execute

(
    UObject* Object
)

Makes the change to the object, returning a new change that can be used to perfectly roll back this change

Public function Virtual

EChangeStyle

 

GetChangeType()

What style of change is this

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