Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/IMovieScenePreAnimatedTokenProdu-
Description
Produce a token that can be used to return the specified object back to its current state
Under some circumstances, the object may already be animated (for instance, after something has animated the object, but didn't restore state)
Derived Overrides
- FMovieSceneRemoveInitialValueTokenProducer::CacheExistingState
- FStatelessPreAnimatedTokenProducer::CacheExistingState
- FTokenProducer::CacheExistingState
- TForwardingPreAnimatedTokenProducer::CacheExistingState
- TStatelessPreAnimatedTokenProducer::CacheExistingState
| Name | CacheExistingState |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/MovieSceneExecutionToken.h |
| Include Path | #include "MovieSceneExecutionToken.h" |
IMovieScenePreAnimatedTokenPtr CacheExistingState
(
UObject & Object
) const
A valid pre animated token that will restore this object back to its current state
Parameters
| Name | Remarks |
|---|---|
| Object | The object to initialize |