Navigation
API > API/Plugins > API/Plugins/LevelSnapshots
External modules can implement this interface to customise how specific classes are snapshot and restored. Implementations of this interface can be registered with the Level Snapshots module.
One instance handles on type of class.
ISnapshotObjectSerializer handles the serialisation of the object you're registered to. You can use it to add custom annotation data you need to restoring object info. You can also save & restore subobjects you wish to manually restore, provided they're not automatically restored by Level Snapshots. The following subobjects are handled by default:
- Actor components
| Name | ICustomObjectSnapshotSerializer |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Restorability/Interfaces/ICustomObjectSnapshotSerializer.h |
| Include Path | #include "Restorability/Interfaces/ICustomObjectSnapshotSerializer.h" |
Syntax
class ICustomObjectSnapshotSerializer
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ICustomObjectSnapshotSerializer() |
Restorability/Interfaces/ICustomObjectSnapshotSerializer.h |