Navigation
API > API/Plugins > API/Plugins/LevelSnapshots
Utility for saving / restoring properties of an object.
| Name | ICustomSnapshotSerializationData |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Restorability/Params/ObjectSnapshotSerializationData.h |
| Include Path | #include "Restorability/Params/ObjectSnapshotSerializationData.h" |
Syntax
class ICustomSnapshotSerializationData
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ICustomSnapshotSerializationData() |
Restorability/Params/ObjectSnapshotSerializationData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddSubobjectSnapshot
(
UObject* Subobject |
Causes the properties of the subobject to be saved. | Restorability/Params/ObjectSnapshotSerializationData.h | |
int32 GetNumSubobjects() |
Gets all saved subobject handles. | Restorability/Params/ObjectSnapshotSerializationData.h | |
TSharedPtr< ISnapshotSubobjectMetaData > GetSubobjectMetaData
(
int32 Index |
Gets the meta data stored for a subobject previously added using AddSubobjectDependency. | Restorability/Params/ObjectSnapshotSerializationData.h | |
const TSharedPtr< ISnapshotSubobjectMetaData > GetSubobjectMetaData
(
int32 Index |
Restorability/Params/ObjectSnapshotSerializationData.h | ||
void ReadObjectAnnotation
(
const FObjectAnnotator& Reader |
Read data needed for restoring the object | Restorability/Params/ObjectSnapshotSerializationData.h | |
void WriteObjectAnnotation
(
const FObjectAnnotator& Writer |
Add data needed for restoring the object. | Restorability/Params/ObjectSnapshotSerializationData.h |