Navigation
API > API/Plugins > API/Plugins/LevelSnapshots > API/Plugins/LevelSnapshots/ULevelSnapshotsFunctionLibrary
References
| Module | LevelSnapshots |
| Header | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/LevelSnapshotsFunctionLibrary.h |
| Include | #include "LevelSnapshotsFunctionLibrary.h" |
| Source | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Private/LevelSnapshotsFunctionLibrary.cpp |
static void ForEachMatchingCustomSubobjectPair
&40;
ULevelSnapshot &42; Snapshot,
UObject &42; SnapshotRootObject,
UObject &42; WorldRootObject,
TFunctionRef< void(UObject &42;SnapshotSubobject, UObject &42;EditorWorldSubobject)> HandleCustomSubobjectPair,
TFunctionRef< void(UObject &42;UnmatchedSnapshotSubobject)> HandleUnmatchedSnapshotSubobject
&41;
Remarks
Recursively gets all subobjects which should be serialized using an ICustomObjectSnapshotSerializer implementation from an external module.
Parameters
| Name | Description |
|---|---|
| Snapshot | The snapshot in which to look |
| SnapshotRootObject | Snapshot version of the object to look in. Either an actor, component, or a custom serialized subobject. |
| WorldRootObject | Editor version of the object to look in. Either an actor, component, or a custom serialized subobject. |
| HandleCustomSubobjectPair | Called when two custom subobjects are matched |
| HandleUnmatchedSnapshotSubobject | Called when a custom snapshot subobject exists but no corresponding editor subobject exists |