Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/IMovieScenePlayer.h |
Include |
#include "IMovieScenePlayer.h" |
void SavePreAnimatedState
(
UObject & InObject,
FMovieSceneAnimTypeID InTokenType,
const IMovieScenePreAnimatedTokenProducer & InProducer
)
Attempt to save specific state for the specified token state before it animates an object. @note Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
Parameter |
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 |