Evaluation track that is stored within an evaluation template for a sequence. 更多...
#include <MovieSceneEvaluationTrack.h>
Public 成员函数 | |
| MOVIESCENE_API int32 | AddChildTemplate (FMovieSceneEvalTemplatePtr &&InTemplate) |
| Add an evaluation template to this track with the given track index 更多... | |
| MOVIESCENE_API void | DefaultEvaluate (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const |
| Default implementation of evaluation of child templates for the specified segment 更多... | |
| MOVIESCENE_API void | DefaultInitialize (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, FMovieSceneContext Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Default implementation of initialization of child templates for the specified segment 更多... | |
| MOVIESCENE_API void | DefineAsSingleTemplate (FMovieSceneEvalTemplatePtr &&InTemplate) |
| Assign a single eval template to this track, spanning the entire sequence 更多... | |
| void | Evaluate (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const |
| Called to evaluate the specified segment index 更多... | |
| FMovieSceneEvaluationTrack () | |
| Default construction (only for serialization) | |
| MOVIESCENE_API | FMovieSceneEvaluationTrack (const FGuid &InObjectBindingID) |
| User construction, for initialization during compilation | |
| FMovieSceneEvaluationTrack (const FMovieSceneEvaluationTrack &)=default | |
| Copy construction/assignment | |
| FMovieSceneEvaluationTrack (FMovieSceneEvaluationTrack &&)=default | |
| Move construction/assignment | |
| FORCEINLINE const FMovieSceneEvalTemplate & | GetChildTemplate (int32 TemplateIndex) const |
| Get the template from the given template index | |
| FORCEINLINE TArrayView< FMovieSceneEvalTemplatePtr > | GetChildTemplates () |
| Get this track's child templates NOTE that this is intended for use during the compilation phase in-editor. 更多... | |
| FORCEINLINE TArrayView< const FMovieSceneEvalTemplatePtr > | GetChildTemplates () const |
| Get this track's child templates | |
| FName | GetEvaluationGroup () const |
| Get this track's evaluation group name. 更多... | |
| EEvaluationMethod | GetEvaluationMethod () const |
| Get the method we should use to evaluate this track 更多... | |
| uint16 | GetEvaluationPriority () const |
| Get the evaluation bias to apply to this track. 更多... | |
| FORCEINLINE const FGuid & | GetObjectBindingID () const |
| Get the object binding ID that this track belongs to | |
| UMovieSceneTrack * | GetSourceTrack () const |
| Get the source track from which this track originates | |
| FORCEINLINE bool | HasChildTemplate (int32 TemplateIndex) const |
| Check whether we have a valid child template for the specified index | |
| bool | HasTearDownPriority () const |
| Check whether this track has tear down priority or not | |
| void | Initialize (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called to initialize the specified segment index 更多... | |
| MOVIESCENE_API void | Interrogate (const FMovieSceneContext &Context, FMovieSceneInterrogationData &Container, UObject *BindingOverride=nullptr) const |
| Interrogate this template for its output. 更多... | |
| FORCEINLINE void | OnBeginEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called before this track is evaluated for the first time, or since OnEndEvaluation has been called 更多... | |
| void | OnEndEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called after this track is no longer being evaluated 更多... | |
| MOVIESCENE_API void | PostSerialize (const FArchive &Ar) |
| Post serialize function | |
| void | PrioritizeTearDown () |
| Tell this track to prioritize its tear down over other tracks, regardless of evaluation priority | |
| void | SetEvaluationGroup (FName InEvaluationGroup) |
| Set this track's flush group name. 更多... | |
| void | SetEvaluationMethod (EEvaluationMethod InMethod) |
| Set the method we should use to evaluate this track 更多... | |
| void | SetEvaluationPriority (uint16 InEvaluationPriority=1000) |
| Get the evaluation bias to apply to this track. 更多... | |
| void | SetPreAndPostrollConditions (bool bInEvaluateInPreroll, bool bInEvaluateInPostroll) |
| Define how this track evaluates in pre and postroll 更多... | |
| void | SetSourceTrack (UMovieSceneTrack *InSourceTrack) |
| Set the source track from which this track originates | |
| template<typename T > | |
| TEnableIf< TPointerIsConvertibleFromTo< T, FMovieSceneTrackImplementation >::Value >::Type | SetTrackImplementation (T &&InImpl) |
| Assign a track implementation template to this track 更多... | |
| MOVIESCENE_API void | SetupOverrides () |
| Setup overrides for any contained templates | |
| bool | ShouldEvaluateInPostroll () const |
| bool | ShouldEvaluateInPreroll () const |
Evaluation track that is stored within an evaluation template for a sequence.
Contains user-defined evaluation templates, and an optional track implementation
| MOVIESCENE_API int32 FMovieSceneEvaluationTrack::AddChildTemplate | ( | FMovieSceneEvalTemplatePtr && | InTemplate | ) |
Add an evaluation template to this track with the given track index
| InTemplate | The template to insert |
| MOVIESCENE_API void FMovieSceneEvaluationTrack::DefaultEvaluate | ( | TArrayView< const FMovieSceneFieldEntry_ChildTemplate > | Children, |
| const FMovieSceneEvaluationOperand & | Operand, | ||
| const FMovieSceneContext & | Context, | ||
| const FPersistentEvaluationData & | PersistentData, | ||
| FMovieSceneExecutionTokens & | ExecutionTokens | ||
| ) | const |
Default implementation of evaluation of child templates for the specified segment
| SegmentID | The segment we are evaluating |
| Operand | Operand that relates to the thing we will animate |
| Context | Current sequence context |
| PersistentData | Persistent data store |
| ExecutionTokens | Token stack on which to add tokens that will be executed later |
| MOVIESCENE_API void FMovieSceneEvaluationTrack::DefaultInitialize | ( | TArrayView< const FMovieSceneFieldEntry_ChildTemplate > | Children, |
| const FMovieSceneEvaluationOperand & | Operand, | ||
| FMovieSceneContext | Context, | ||
| FPersistentEvaluationData & | PersistentData, | ||
| IMovieScenePlayer & | Player | ||
| ) | const |
Default implementation of initialization of child templates for the specified segment
| SegmentID | The segment we are evaluating |
| Operand | Operand that relates to the thing we will animate |
| Context | Current sequence context |
| PersistentData | Persistent data store |
| Player | The player that is responsible for playing back this template |
| MOVIESCENE_API void FMovieSceneEvaluationTrack::DefineAsSingleTemplate | ( | FMovieSceneEvalTemplatePtr && | InTemplate | ) |
Assign a single eval template to this track, spanning the entire sequence
| InTemplate | The template to insert |
| void FMovieSceneEvaluationTrack::Evaluate | ( | TArrayView< const FMovieSceneFieldEntry_ChildTemplate > | Children, |
| const FMovieSceneEvaluationOperand & | Operand, | ||
| const FMovieSceneContext & | Context, | ||
| const FPersistentEvaluationData & | PersistentData, | ||
| FMovieSceneExecutionTokens & | ExecutionTokens | ||
| ) | const |
Called to evaluate the specified segment index
| SegmentID | The segment we are evaluating |
| Operand | Operand that relates to the thing we will animate |
| Context | Current sequence context |
| PersistentData | Persistent data store |
| ExecutionTokens | Token stack on which to add tokens that will be executed later |
|
inline |
Get this track's child templates NOTE that this is intended for use during the compilation phase in-editor.
Beware of using this to modify templates afterwards as it will almost certainly break evaluation.
|
inline |
Get this track's evaluation group name.
Only used during compilation.
|
inline |
Get the method we should use to evaluate this track
|
inline |
Get the evaluation bias to apply to this track.
Higher priority tracks will be evaluated first.
| void FMovieSceneEvaluationTrack::Initialize | ( | TArrayView< const FMovieSceneFieldEntry_ChildTemplate > | Children, |
| const FMovieSceneEvaluationOperand & | Operand, | ||
| const FMovieSceneContext & | Context, | ||
| FPersistentEvaluationData & | PersistentData, | ||
| IMovieScenePlayer & | Player | ||
| ) | const |
Called to initialize the specified segment index
| SegmentID | The segment we are evaluating |
| Operand | Operand that relates to the thing we will animate |
| Context | Current sequence context |
| PersistentData | Persistent data store |
| Player | The player that is responsible for playing back this template |
| MOVIESCENE_API void FMovieSceneEvaluationTrack::Interrogate | ( | const FMovieSceneContext & | Context, |
| FMovieSceneInterrogationData & | Container, | ||
| UObject * | BindingOverride = nullptr |
||
| ) | const |
Interrogate this template for its output.
Should not have any side effects.
| Context | Evaluation context specifying the current evaluation time, sub sequence transform and other relevant information. |
| Container | Container to populate with the desired output from this track |
| BindingOverride | Optional binding to specify the object that is being animated by this track |
|
inline |
Called before this track is evaluated for the first time, or since OnEndEvaluation has been called
| PersistentData | Persistent data proxy that may contain data pertaining to this entity |
| Player | The player that is responsible for playing back this template |
|
inline |
Called after this track is no longer being evaluated
| PersistentData | Persistent data proxy that may contain data pertaining to this entity |
| Player | The player that is responsible for playing back this template |
|
inline |
Set this track's flush group name.
| InEvaluationGroup | The evaluation group to assign this track to |
|
inline |
Set the method we should use to evaluate this track
| InMethod | The method to use when evaluating this track |
|
inline |
Get the evaluation bias to apply to this track.
Higher priority tracks will be evaluated first.
| InEvaluationPriority | The new priority |
|
inline |
Define how this track evaluates in pre and postroll
| bInEvaluateInPreroll | Whether this track should evaluate in preroll |
| bInEvaluateInPostroll | Whether this track should evaluate in postroll |
|
inline |
Assign a track implementation template to this track
| InImplementation | The track implementation to use |
|
inline |
|
inline |