Navigation
API > API/Plugins > API/Plugins/LevelSnapshots > API/Plugins/LevelSnapshots/Data > API/Plugins/LevelSnapshots/Data/ULevelSnapshot > API/Plugins/LevelSnapshots/Data/ULevelSnapshot/DiffWorld
Deprecated * Use DiffWorld that accepts FActorConsumer for HandleMatchedActor instead.
References
| Module | LevelSnapshots |
| Header | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Data/LevelSnapshot.h |
| Include | #include "Data/LevelSnapshot.h" |
| Source | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Private/Data/LevelSnapshot.cpp |
void DiffWorld
&40;
UWorld &42; World,
FActorPathConsumer HandleMatchedActor,
FActorPathConsumer HandleRemovedActor,
FActorConsumer HandleAddedActor
&41;
Remarks
Compares this snapshot to the world and calls the appropriate callbacks:
Parameters
| Name | Description |
|---|---|
| World | to check in |
| HandleMatchedActor | Actor exists both in world and snapshot. Receives the original actor path. |
| HandleRemovedActor | Actor exists in snapshot but not in world. Receives the original actor path. |
| HandleAddedActor | Actor exists in world but not in snapshot. Receives reference to world actor. |