Navigation
API > API/Plugins > API/Plugins/LevelSnapshots > API/Plugins/LevelSnapshots/ILevelSnapshotsModule
References
| Module | LevelSnapshots |
| Header | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/ILevelSnapshotsModule.h |
| Include | #include "ILevelSnapshotsModule.h" |
void RegisterCustomObjectSerializer
&40;
UClass &42; Class,
TSharedRef< ICustomObjectSnapshotSerializer > CustomSerializer,
bool bIncludeBlueprintChildClasses
&41;
Remarks
Registers callbacks for snapshotting / restoring certain classes. There can only be one per class. The typical use case using Level Snapshots for restoring subobjects you want recreate / find manually.
Parameters
| Name | Description |
|---|---|
| Class | The class to register. This must be a native class (because Blueprint classes may be reinstanced when recompiled - not supported atm). |
| CustomSerializer | Your callbacks |
| bIncludeBlueprintChildClasses | Whether to use 'CustomSerializer' for Blueprint child classes of 'Class' |