![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEvaluationState.h>
Public Types | |
| using | FSharedPlaybackState = UE::MovieScene::FSharedPlaybackState |
Public Attributes | |
| FOnBindingInvalidated | OnBindingInvalidated |
Object cache that looks up, resolves, and caches object bindings for a specific sequence
| void FMovieSceneObjectCache::Clear | ( | IMovieScenePlayer & | Player | ) |
| void FMovieSceneObjectCache::Clear | ( | TSharedRef< const FSharedPlaybackState > | SharedPlaybackState | ) |
Completely erase all knowledge of, anc caches for all object bindings
| FMovieSceneObjectCache::DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnBindingInvalidated | , |
| const FGuid & | |||
| ) |
| void FMovieSceneObjectCache::FilterObjectBindings | ( | UObject * | PredicateObject, |
| IMovieScenePlayer & | Player, | ||
| TArray< FMovieSceneObjectBindingID > * | OutBindings | ||
| ) |
| void FMovieSceneObjectCache::FilterObjectBindings | ( | UObject * | PredicateObject, |
| TSharedRef< const FSharedPlaybackState > | SharedPlaybackState, | ||
| TArray< FMovieSceneObjectBindingID > * | OutBindings | ||
| ) |
Filter all the object bindings in this object cache that contain the specified predicate object
| PredicateObject | The object to filter by. Any bindings referencing this object will be added to the output array. |
| Player | The movie scene player that is playing back the sequence |
| OutBindings | (mandatory) Array to populate with bindings that relate to the object |
| TArrayView< TWeakObjectPtr<> > FMovieSceneObjectCache::FindBoundObjects | ( | const FGuid & | InBindingID, |
| IMovieScenePlayer & | Player | ||
| ) |
| TArrayView< TWeakObjectPtr<> > FMovieSceneObjectCache::FindBoundObjects | ( | const FGuid & | InBindingID, |
| TSharedRef< const FSharedPlaybackState > | InSharedPlaybackState | ||
| ) |
Find all objects that are bound to the specified binding ID
| InBindingID | The object binding GUID for a spawnable or posessable in a UMovieScene |
| Player | The movie scene player that is playing back the sequence |
| FGuid FMovieSceneObjectCache::FindCachedObjectId | ( | UObject & | InObject, |
| IMovieScenePlayer & | Player | ||
| ) |
| FGuid FMovieSceneObjectCache::FindCachedObjectId | ( | UObject & | InObject, |
| TSharedRef< const FSharedPlaybackState > | SharedPlaybackState | ||
| ) |
Attempt deduce the posessable or spawnable that relates to the specified object
| InObject | The object whose binding ID is to be find |
| Player | The movie scene player that is playing back the sequence |
| FGuid FMovieSceneObjectCache::FindObjectId | ( | UObject & | InObject, |
| IMovieScenePlayer & | Player | ||
| ) |
| FGuid FMovieSceneObjectCache::FindObjectId | ( | UObject & | InObject, |
| TSharedRef< const FSharedPlaybackState > | SharedPlaybackState | ||
| ) |
Attempt deduce the posessable or spawnable that relates to the specified object
| InObject | The object whose binding ID is to be find |
| Player | The movie scene player that is playing back the sequence |
|
inline |
Get the sequence that this cache relates to
|
inline |
Get the current serial number of this cache
Invalidate the object bindings for a specific object binding ID in this sequence
| InGuid | The object binding ID to invalidate bindings for |
| void FMovieSceneObjectCache::Invalidate | ( | const FGuid & | InGuid, |
| FMovieSceneSequenceIDRef | InSequenceID | ||
| ) |
Invalidate the object bindings for a specific object binding ID in the specified sequence ID. If the sequence ID matches this one, then we will look for the guid in this sequence. If it does not, then we will see if any of our object bindings reference that one, and if so, they will be invalidated.
| InGuid | The object binding ID to invalidate bindings for |
| void FMovieSceneObjectCache::InvalidateExpiredObjects | ( | ) |
Invalidate any object bindings for objects that have been destroyed
Invalidate the object bindings for a specific object binding ID if they are not already invalidated
| InGuid | The object binding ID to invalidate bindings for |
| TArrayView< const TWeakObjectPtr<> > FMovieSceneObjectCache::IterateBoundObjects | ( | const FGuid & | InBindingID | ) | const |
Find all objects that are bound to the specified binding ID
| InBindingID | The object binding GUID for a spawnable or posessable in a UMovieScene |
| void FMovieSceneObjectCache::SetSequence | ( | UMovieSceneSequence & | InSequence, |
| FMovieSceneSequenceIDRef | InSequenceID, | ||
| IMovieScenePlayer & | Player | ||
| ) |
| void FMovieSceneObjectCache::SetSequence | ( | UMovieSceneSequence & | InSequence, |
| FMovieSceneSequenceIDRef | InSequenceID, | ||
| TSharedRef< const FSharedPlaybackState > | SharedPlaybackState | ||
| ) |
Set the sequence that this cache applies to
| InSequence | The sequence that this cache applies to |
| InSequenceID | The ID of the sequence within the root sequence |
| FOnBindingInvalidated FMovieSceneObjectCache::OnBindingInvalidated |
Invoked when a binding is either explicitly invalidated (as a result of a spawnable being spawned, or a binding override being added) or when a previously resolved binding becomes invalid