![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieScenePreAnimatedState.h>
Class that caches pre-animated state for objects that were manipulated by sequencer
| FMovieSceneInstancePreAnimatedState::FMovieSceneInstancePreAnimatedState | ( | UMovieSceneEntitySystemLinker * | InLinker, |
| UE::MovieScene::FRootInstanceHandle | InInstanceHandle | ||
| ) |
|
delete |
| FMovieSceneInstancePreAnimatedState::~FMovieSceneInstancePreAnimatedState | ( | ) |
| bool FMovieSceneInstancePreAnimatedState::ContainsAnyStateForSequence | ( | ) | const |
Search the global pre-animated state extension for any captured state that originated from this sequence WARNING: This is a linear search across all state, and so is potentially very slow
Discard any tokens that relate to the requested object (ie sections or tracks) without restoring the values. Any global pre-animated state tokens for this object will be removed.
| void FMovieSceneInstancePreAnimatedState::DiscardEntityTokens | ( | ) |
Discard any tokens that relate to entity animation (ie sections or tracks) without restoring the values. Any global pre-animated state tokens (that reset the animation when saving a map, for instance) will remain.
| void FMovieSceneInstancePreAnimatedState::DiscardPreAnimatedState | ( | ) |
| void FMovieSceneInstancePreAnimatedState::EnableGlobalPreAnimatedStateCapture | ( | ) |
Check whether this sequence instance is capturing any and all changes of state so they can be restored later
| UMovieSceneEntitySystemLinker * FMovieSceneInstancePreAnimatedState::GetLinker | ( | ) | const |
Retrieve the linker this container is bound to
| bool FMovieSceneInstancePreAnimatedState::IsCapturingGlobalPreAnimatedState | ( | ) | const |
Check whether this sequence instance is capturing any and all changes of state so they can be restored later
|
delete |
| void FMovieSceneInstancePreAnimatedState::RestorePreAnimatedState | ( | ) |
| void FMovieSceneInstancePreAnimatedState::RestorePreAnimatedState | ( | UObject & | Object, |
| TFunctionRef< bool(FMovieSceneAnimTypeID)> | InFilter | ||
| ) |
| void FMovieSceneInstancePreAnimatedState::SavePreAnimatedState | ( | FMovieSceneAnimTypeID | InTokenType, |
| const IMovieScenePreAnimatedGlobalTokenProducer & | Producer | ||
| ) |
Save the current state of the environment as defined by the specified token producer, identified by a specific anim type ID This will use the currently evaluating track template, evaluation hook or track instance (and its 'When Finished' property) as the capture source
| void FMovieSceneInstancePreAnimatedState::SavePreAnimatedState | ( | UObject & | InObject, |
| FMovieSceneAnimTypeID | InTokenType, | ||
| const IMovieScenePreAnimatedTokenProducer & | Producer | ||
| ) |
Save the current state of an object as defined by the specified token producer, identified by a specific anim type ID This will use the currently evaluating track template, evaluation hook or track instance (and its 'When Finished' property) as the capture source