Exports the current interaction snapshot into a storage object.
Use this in the interaction save and restore pipeline to move interaction state between the world subsystem and project-owned save storage.
UFUNCTION(BlueprintCallable, Category = "InteractionRuntime|Save", meta = (WorldContext = "WorldContextObject")
) static bool ExportInteractionSaveSnapshotToStorage( UObject* WorldContextObject, UObject* SnapshotStorage, FInteractionRuntimeSaveSnapshot& OutSnapshot);
Parameters
Inputs
WorldContextObject
Object used to resolve the world context.
SnapshotStorage
Object that stores interaction save snapshots.
Outputs
OutSnapshot
Receives the interaction save snapshot.
Return Value
bool
True when the current interaction save snapshot was exported to the supplied storage or output snapshot.
Use Cases
- Move interaction persistence data between runtime state and project save storage.