FToolCommandChangeSequence

This class may be unnecessary, as multiple [FChange](API\Runtime\Core\Misc\FChange) can be combined in a single transaction.

Choose your operating system:

Windows

macOS

Linux

Warnings

  • if the target weak UObject pointers become invalid, those changes are skipped. Possibly leaves things in an undefined state...

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

FToolCommandChangeSequence

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/Changes/ToolCommandChangeSequence.h

Include

#include "Changes/ToolCommandChangeSequence.h"

Syntax

class FToolCommandChangeSequence : public FToolCommandChange

Remarks

This class may be unnecessary, as multiple FChange can be combined in a single transaction. Revisit usage in MeshSelectionTool. FCommandChangeSequence contains a list of FCommandChanges and associated target UObjects. The sequence of changes is applied atomically.

if the target weak UObject pointers become invalid, those changes are skipped. Possibly leaves things in an undefined state...

Variables

Name Description

Protected variable

TArray< TShared...

 

Sequence

Constructors

Name Description

Public function

FToolCommandChangeSequence()

Functions

Name Description

Public function

void

 

AppendChange

(
    UObject* Target,
    TUniquePtr< FToolCommandChange > Ch...
)

Add a change to the sequence

Overridden from FChange

Name Description

Public function Virtual

void

 

Apply

(
    UObject* Object
)

Apply sequence of changes in-order

Public function Virtual

void

 

Revert

(
    UObject* Object
)

Reverts sequence of changes in reverse-order

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)

Classes

Name

Description

Protected struct

FChangeElem