Navigation
API > API/Plugins > API/Plugins/USDStage
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.
| Name | UUsdTransactor |
| Type | class |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDTransactor.h |
| Include Path | #include "USDTransactor.h" |
Syntax
UCLASS (MinimalAPI)
class UUsdTransactor : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUsdTransactor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Boilerplate for Pimpl usage with UObject. | USDTransactor.h | ||
UUsdTransactor
(
FVTableHelper& Helper |
USDTransactor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UUsdTransactor() |
USDTransactor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TUniquePtr< UsdUtils::FUsdTransactorImpl > | USDTransactor.h | ||
| StageActor | TWeakObjectPtr< AUsdStageActor > | USDTransactor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
AUsdStageActor* InStageActor |
USDTransactor.h | ||
void Update
(
const UsdUtils::FObjectChangesByPath& NewInfoChanges, |
USDTransactor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditUndo() |
USDTransactor.h | ||
virtual void PreEditUndo() |
USDTransactor.h | ||
virtual void Serialize
(
FArchive& Ar |
USDTransactor.h |