Provides runtime evaluation functions with the ability to look up state from the main game environment 更多...
#include <MovieSceneEvaluationState.h>
Public 成员函数 | |
| MOVIESCENE_API void | AssignSequence (FMovieSceneSequenceIDRef InSequenceID, UMovieSceneSequence &InSequence, IMovieScenePlayer &Player) |
| Assign a sequence to a specific ID 更多... | |
| MOVIESCENE_API void | ClearObjectCaches (IMovieScenePlayer &Player) |
| Forcably clear all object caches | |
| MOVIESCENE_API 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 FGuid | FindCachedObjectId (UObject &Object, FMovieSceneSequenceIDRef InSequenceID, IMovieScenePlayer &Player) |
| Attempt deduce the posessable or spawnable that relates to the specified object 更多... | |
| FORCEINLINE FMovieSceneObjectCache * | FindObjectCache (FMovieSceneSequenceIDRef SequenceID) |
| Find an object cache pertaining to the specified sequence 更多... | |
| MOVIESCENE_API FGuid | FindObjectId (UObject &Object, FMovieSceneSequenceIDRef InSequenceID, IMovieScenePlayer &Player) |
| Attempt deduce the posessable or spawnable that relates to the specified object 更多... | |
| MOVIESCENE_API UMovieSceneSequence * | FindSequence (FMovieSceneSequenceIDRef InSequenceID) const |
| Attempt to locate a sequence from its ID 更多... | |
| MOVIESCENE_API FMovieSceneSequenceID | FindSequenceId (UMovieSceneSequence *InSequence) const |
| Attempt to locate a sequence ID from a sequence 更多... | |
| FORCEINLINE FMovieSceneObjectCache & | GetObjectCache (FMovieSceneSequenceIDRef SequenceID) |
| Get an object cache pertaining to the specified sequence 更多... | |
| MOVIESCENE_API void | Invalidate (const FGuid &InGuid, FMovieSceneSequenceIDRef InSequenceID) |
| Forcably invalidate the specified object binding in the specified sequence 更多... | |
| MOVIESCENE_API void | InvalidateExpiredObjects () |
| Invalidate any object caches that may now contain expired objects | |
Public 属性 | |
| TMap< FMovieSceneEvaluationKey, TUniquePtr< IPersistentEvaluationData > > | PersistentEntityData |
| A map of persistent evaluation data mapped by movie scene evaluation entity (i.e, a given track or section) | |
| TMap< FSharedPersistentDataKey, TUniquePtr< IPersistentEvaluationData > > | PersistentSharedData |
| A map of persistent evaluation data mapped by shared evaluation key. 更多... | |
Provides runtime evaluation functions with the ability to look up state from the main game environment
| MOVIESCENE_API void FMovieSceneEvaluationState::AssignSequence | ( | FMovieSceneSequenceIDRef | InSequenceID, |
| UMovieSceneSequence & | InSequence, | ||
| IMovieScenePlayer & | Player | ||
| ) |
Assign a sequence to a specific ID
| InSequenceID | The sequence ID to assign to |
| InSequence | The sequence to assign |
| MOVIESCENE_API void FMovieSceneEvaluationState::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 FGuid FMovieSceneEvaluationState::FindCachedObjectId | ( | UObject & | Object, |
| FMovieSceneSequenceIDRef | InSequenceID, | ||
| 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 |
|
inline |
Find an object cache pertaining to the specified sequence
| InSequenceID | The sequence ID to lookup |
| MOVIESCENE_API FGuid FMovieSceneEvaluationState::FindObjectId | ( | UObject & | Object, |
| FMovieSceneSequenceIDRef | InSequenceID, | ||
| 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 UMovieSceneSequence * FMovieSceneEvaluationState::FindSequence | ( | FMovieSceneSequenceIDRef | InSequenceID | ) | const |
Attempt to locate a sequence from its ID
| InSequenceID | The sequence ID to lookup |
| MOVIESCENE_API FMovieSceneSequenceID FMovieSceneEvaluationState::FindSequenceId | ( | UMovieSceneSequence * | InSequence | ) | const |
Attempt to locate a sequence ID from a sequence
| InSequence | The sequence to look up |
|
inline |
Get an object cache pertaining to the specified sequence
| InSequenceID | The sequence ID to lookup |
| MOVIESCENE_API void FMovieSceneEvaluationState::Invalidate | ( | const FGuid & | InGuid, |
| FMovieSceneSequenceIDRef | InSequenceID | ||
| ) |
Forcably invalidate the specified object binding in the specified sequence
| InGuid | The object binding ID to invalidate |
| InSequenceID | The sequence ID to which the object binding belongs |
| TMap<FSharedPersistentDataKey, TUniquePtr<IPersistentEvaluationData> > FMovieSceneEvaluationState::PersistentSharedData |
A map of persistent evaluation data mapped by shared evaluation key.
Such data can be accessed from anywhere given an operand and a unique identifier.