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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback