Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/TPreAnimatedStateStorage
Description
Restore a specified index within this storage container. Usually called when all the things contributing to this storage index have finished evaluating.
Virtual Inheritance
- IPreAnimatedStorage::RestorePreAnimatedStateStorage → TPreAnimatedStateStorage::RestorePreAnimatedStateStorage
| Name | RestorePreAnimatedStateStorage |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h |
| Include Path | #include "Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h" |
virtual EPreAnimatedStorageRequirement RestorePreAnimatedStateStorage
(
FPreAnimatedStorageIndex StorageIndex,
EPreAnimatedStorageRequirement SourceRequirement,
EPreAnimatedStorageRequirement TargetRequirement,
const FRestoreStateParams & Params
)
The resulting storage requirement for the supplied index
Parameters
| Name | Remarks |
|---|---|
| StorageIndex | The unique index for the stored state - either an index within PreAnimatedStorage or TransientPreAnimatedStorage. |
| SourceRequirement | The source requirement that is requesting to restore state: Persistent - indicates that the storage should be completely restored as a result of a sequence finishing or explicitly restoring state Transient - indicates that all 'Restore State' tracks have finished evaluating for this index, but persistent state may still be cached |
| TargetRequirement | The target requirement for storage - None implies that no state needs to remain cached for this index, Persistent implies that keep state entities have finished, but the state still needs to be cached. |
| Params | Additional restore parameters defining the instigator context |