UUsdTransactor

Class that allows us to log prim attribute changes into the unreal transaction buffer.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

USDStage

Header

/Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDTransactor.h

Include

#include "USDTransactor.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UUsdTransactor : public UObject

Remarks

Class that allows us to log prim attribute changes into the unreal transaction buffer. The AUsdStageActor owns one of these, and whenever a USD notice is fired this class transacts and serializes the notice data with itself. When undo/redoing it applies its values to the AUsdStageActors' current stage.

Additionally this class naturally allows multi-user (ConcertSync) support for USD stage interactions, by letting these notice data to be mirrored on other clients.

Constructors

Name Description

Public function

UUsdTransactor()

Boilerplate for Pimpl usage with UObject.

Public function

UUsdTransactor

(
    FVTableHelper& Helper
)

Destructors

Name Description

Public function

~UUsdTransactor()

Functions

Name Description

Public function

void

 

Initialize

(
    AUsdStageActor* InStageActor
)

Public function

void

 

Update

(
    const UsdUtils::FObjectChangesByPat...,
    const UsdUtils::FObjectChangesByPat...
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

PreEditUndo()

Called before applying a transaction to the object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

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