UOptimusActionStack

Base action class.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UOptimusActionStack

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/OptimusActionStack.h

Include

#include "OptimusActionStack.h"

Syntax

UCLASS()
class UOptimusActionStack : public UObject

Remarks

Base action class.

Constructors

Name Description

Public function

UOptimusActionStack()

Functions

Name Description

Protected function

bool

 

CloseActionScope()

Close the current action scope.

Public function Const

IOptimusPath...

 

GetGraphCollectionRoot()

Protected function

void

 

OpenActionScope

(
    const FString& InTitle
)

Open a new action scope.

Public function

bool

 

Redo()

Public function

bool

 

RunAction

(
    FOptimusAction* InAction
)

Run a heap-constructed action created with operator new.

Public function

TEnableIf< T...

 

RunAction

(
    ArgsType&&... Args
)

Public function

void

 

SetTransactionScopeFunctions

(
    TFunction< int32*Trans...,
    TFunction< void InTransaction...
)

Public function

bool

 

Undo()

Overridden from UObject

Name Description

Public function Virtual

void

 

PostTransacted

(
    const FTransactionObjectEvent& Tra...
)

Called after the object has been transacted in some way.