Navigation
API > API/Plugins > API/Plugins/LevelSnapshots
Caches data for re-use.
| Name | FSnapshotDataCache |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Data/SnapshotDataCache.h |
| Include Path | #include "Data/SnapshotDataCache.h" |
Syntax
USTRUCT ()
struct FSnapshotDataCache
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorCache | TMap< FSoftObjectPath, FActorSnapshotCache > | Data/SnapshotDataCache.h | ||
| ArchetypeObjects | TArray< TObjectPtr< UObject > > | Caches each archetype object for faster lookup. | Data/SnapshotDataCache.h | |
| FallbackArchetypeData | TArray< TOptional< FClassSnapshotData > > | Fallback for ClassData. | Data/SnapshotDataCache.h | |
| SubobjectCache | TMap< FSoftObjectPath, FSubobjectSnapshotCache > | Data/SnapshotDataCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitFor
(
const FWorldSnapshotData& SnapshotData |
Data/SnapshotDataCache.h | ||
void Reset() |
Data/SnapshotDataCache.h |