Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Evaluation > PreAnimatedState > TPreAnimatedStateStorage
- IPreAnimatedStorage::RestorePreAnimatedStateStorage()
- TPreAnimatedStateStorage::RestorePreAnimatedStateStorage()
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h |
Include | #include "Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h" |
virtual EPreAnimatedStorageRequirement RestorePreAnimatedStateStorage
&40;
FPreAnimatedStorageIndex StorageIndex,
EPreAnimatedStorageRequirement SourceRequirement,
EPreAnimatedStorageRequirement TargetRequirement,
const FRestoreStateParams & Params
&41;
Remarks
Restore a specified index within this storage container. Usually called when all the things contributing to this storage index have finished evaluating. The resulting storage requirement for the supplied index
Parameters
Name | Description |
---|---|
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 |