Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > IMovieScenePlayer > SavePreAnimatedState
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/IMovieScenePlayer.h |
Include | #include "IMovieScenePlayer.h" |
void SavePreAnimatedState
&40;
UObject & InObject,
FMovieSceneAnimTypeID InTokenType,
const IMovieScenePreAnimatedTokenProducer & InProducer
&41;
Remarks
- Attempt to save specific state for the specified token state before it animates an object.
-
Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
Parameters
Name | Description |
---|---|
InObject | The object to cache state for |
InTokenType | Unique marker that identifies the originating token type |
InProducer | Producer implementation that defines how to create the preanimated token, if it doesn't already exist |