engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FMovieSceneEvaluationState结构体 参考

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

成员函数说明

◆ AssignSequence()

MOVIESCENE_API void FMovieSceneEvaluationState::AssignSequence ( FMovieSceneSequenceIDRef  InSequenceID,
UMovieSceneSequence &  InSequence,
IMovieScenePlayer &  Player 
)

Assign a sequence to a specific ID

参数
InSequenceIDThe sequence ID to assign to
InSequenceThe sequence to assign

◆ FilterObjectBindings()

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

参数
PredicateObjectThe object to filter by. Any bindings referencing this object will be added to the output array.
PlayerThe movie scene player that is playing back the sequence
OutBindings(mandatory) Array to populate with bindings that relate to the object

◆ FindCachedObjectId()

MOVIESCENE_API FGuid FMovieSceneEvaluationState::FindCachedObjectId ( UObject &  Object,
FMovieSceneSequenceIDRef  InSequenceID,
IMovieScenePlayer &  Player 
)

Attempt deduce the posessable or spawnable that relates to the specified object

注解
Does not clear the existing cache
参数
InObjectThe object whose binding ID is to be find
PlayerThe movie scene player that is playing back the sequence
返回
The object's spawnable or possessable GUID, or a zero GUID if it was not found

◆ FindObjectCache()

FORCEINLINE FMovieSceneObjectCache * FMovieSceneEvaluationState::FindObjectCache ( FMovieSceneSequenceIDRef  SequenceID)
inline

Find an object cache pertaining to the specified sequence

参数
InSequenceIDThe sequence ID to lookup

◆ FindObjectId()

MOVIESCENE_API FGuid FMovieSceneEvaluationState::FindObjectId ( UObject &  Object,
FMovieSceneSequenceIDRef  InSequenceID,
IMovieScenePlayer &  Player 
)

Attempt deduce the posessable or spawnable that relates to the specified object

注解
Will forcably resolve any out of date bindings in the entire sequence
参数
InObjectThe object whose binding ID is to be find
PlayerThe movie scene player that is playing back the sequence
返回
The object's spawnable or possessable GUID, or a zero GUID if it was not found

◆ FindSequence()

MOVIESCENE_API UMovieSceneSequence * FMovieSceneEvaluationState::FindSequence ( FMovieSceneSequenceIDRef  InSequenceID) const

Attempt to locate a sequence from its ID

参数
InSequenceIDThe sequence ID to lookup

◆ FindSequenceId()

MOVIESCENE_API FMovieSceneSequenceID FMovieSceneEvaluationState::FindSequenceId ( UMovieSceneSequence *  InSequence) const

Attempt to locate a sequence ID from a sequence

参数
InSequenceThe sequence to look up

◆ GetObjectCache()

FORCEINLINE FMovieSceneObjectCache & FMovieSceneEvaluationState::GetObjectCache ( FMovieSceneSequenceIDRef  SequenceID)
inline

Get an object cache pertaining to the specified sequence

参数
InSequenceIDThe sequence ID to lookup

◆ Invalidate()

MOVIESCENE_API void FMovieSceneEvaluationState::Invalidate ( const FGuid &  InGuid,
FMovieSceneSequenceIDRef  InSequenceID 
)

Forcably invalidate the specified object binding in the specified sequence

参数
InGuidThe object binding ID to invalidate
InSequenceIDThe sequence ID to which the object binding belongs

类成员变量说明

◆ PersistentSharedData

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.


该结构体的文档由以下文件生成: