Object cache that looks up, resolves, and caches object bindings for a specific sequence 更多...
#include <MovieSceneEvaluationState.h>
Public 成员函数 | |
| void | Clear (IMovieScenePlayer &Player) |
| Completely erase all knowledge of, anc caches for all object bindings | |
| void | FilterObjectBindings (UObject *PredicateObject, IMovieScenePlayer &Player, TArray< FMovieSceneObjectBindingID > *OutBindings) |
| Filter all the object bindings in this object cache that contain the specified predicate object 更多... | |
| MOVIESCENE_API TArrayView< TWeakObjectPtr<> > | FindBoundObjects (const FGuid &InBindingID, IMovieScenePlayer &Player) |
| Find all objects that are bound to the specified binding ID 更多... | |
| MOVIESCENE_API FGuid | FindCachedObjectId (UObject &InObject, IMovieScenePlayer &Player) |
| Attempt deduce the posessable or spawnable that relates to the specified object 更多... | |
| MOVIESCENE_API FGuid | FindObjectId (UObject &InObject, IMovieScenePlayer &Player) |
| Attempt deduce the posessable or spawnable that relates to the specified object 更多... | |
| UMovieSceneSequence * | GetSequence () const |
| Get the sequence that this cache relates to | |
| MOVIESCENE_API void | Invalidate (const FGuid &InGuid) |
| Invalidate the object bindings for a specific object binding ID 更多... | |
| MOVIESCENE_API void | InvalidateExpiredObjects () |
| Invalidate any object bindings for objects that have been destroyed | |
| MOVIESCENE_API void | InvalidateIfValid (const FGuid &InGuid) |
| Invalidate the object bindings for a specific object binding ID if they are not already invalidated 更多... | |
| MOVIESCENE_API TArrayView< const TWeakObjectPtr<> > | IterateBoundObjects (const FGuid &InBindingID) const |
| Find all objects that are bound to the specified binding ID 更多... | |
| MOVIESCENE_API void | SetSequence (UMovieSceneSequence &InSequence, FMovieSceneSequenceIDRef InSequenceID, IMovieScenePlayer &Player) |
| Set the sequence that this cache applies to 更多... | |
Object cache that looks up, resolves, and caches object bindings for a specific sequence
| void FMovieSceneObjectCache::FilterObjectBindings | ( | UObject * | PredicateObject, |
| IMovieScenePlayer & | Player, | ||
| 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 |
| MOVIESCENE_API TArrayView< TWeakObjectPtr<> > FMovieSceneObjectCache::FindBoundObjects | ( | const FGuid & | InBindingID, |
| IMovieScenePlayer & | Player | ||
| ) |
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 |
| MOVIESCENE_API FGuid FMovieSceneObjectCache::FindCachedObjectId | ( | UObject & | InObject, |
| IMovieScenePlayer & | Player | ||
| ) |
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 |
| MOVIESCENE_API FGuid FMovieSceneObjectCache::FindObjectId | ( | UObject & | InObject, |
| IMovieScenePlayer & | Player | ||
| ) |
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 |
| MOVIESCENE_API void FMovieSceneObjectCache::Invalidate | ( | const FGuid & | InGuid | ) |
Invalidate the object bindings for a specific object binding ID
| InGuid | The object binding ID to invalidate bindings for |
| MOVIESCENE_API void FMovieSceneObjectCache::InvalidateIfValid | ( | const FGuid & | InGuid | ) |
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 |
| MOVIESCENE_API 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 |
| MOVIESCENE_API void FMovieSceneObjectCache::SetSequence | ( | UMovieSceneSequence & | InSequence, |
| FMovieSceneSequenceIDRef | InSequenceID, | ||
| IMovieScenePlayer & | Player | ||
| ) |
Set the sequence that this cache applies to
| InSequence | The sequence that this cache applies to |
| InSequenceID | The ID of the sequence within the master sequence |