Structure used for movie scene evaluation templates contained within a track. 更多...
#include <MovieSceneEvalTemplate.h>
类 FMovieSceneEvalTemplate 继承关系图:Public 成员函数 | |
| virtual void | Evaluate (const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const |
| Evaluate this template, adding any execution tokens to the specified list 更多... | |
| virtual void | EvaluateSwept (const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const TRange< FFrameNumber > &SweptRange, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const |
| Evaluate this template over the given swept range, adding any execution tokens to the specified list. 更多... | |
| FMovieSceneEvalTemplate () | |
| Default Constructor | |
| EMovieSceneCompletionMode | GetCompletionMode () const |
| Check whether we should restore any pre-animated state that was supplied by this template when it is no longer evaluated 更多... | |
| const UMovieSceneSection * | GetSourceSection () const |
| Get the source section from which this template originated 更多... | |
| virtual void | Initialize (const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Initialize this template, copying any data required for evaluation into the specified state block. 更多... | |
| virtual void | Interrogate (const FMovieSceneContext &Context, FMovieSceneInterrogationData &Container, UObject *BindingOverride) const |
| Interrogate this template for its output. 更多... | |
| virtual void | Interrogate (const FMovieSceneContext &Context, TRange< FFrameNumber > SweptRange, FMovieSceneInterrogationData &Container, UObject *BindingOverride) const |
| Interrogate this template for its output. 更多... | |
| bool | RequiresInitialization () const |
| Check whether this template mandates Initialize being called. 更多... | |
| void | SetCompletionMode (EMovieSceneCompletionMode InCompletionMode) |
| Set this template's completion mode 更多... | |
| void | SetSourceSection (const UMovieSceneSection *InSourceSection) |
| Set the source section from which this template originated 更多... | |
Public 成员函数 继承自 FMovieSceneEvalTemplateBase | |
| FMovieSceneEvalTemplateBase () | |
| Default constructor | |
| UScriptStruct & | GetScriptStruct () const |
| Access the most derived script struct type of this instance for serialization purposes | |
| FORCEINLINE void | OnBeginEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called before this template is evaluated for the first time, or since OnEndEvaluation has been called 更多... | |
| FORCEINLINE void | OnEndEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called after this template is no longer being evaluated 更多... | |
| FORCEINLINE bool | RequiresSetup () const |
| Check whether this entity requires set up when it is first evaluated | |
| FORCEINLINE bool | RequiresTearDown () const |
| Check whether this entity requires tear up when it no longer being evaluated | |
| virtual void | SetupOverrides () |
| Called after construction to enable overridden functions required by this type. 更多... | |
| virtual | ~FMovieSceneEvalTemplateBase () |
| Virtual destruction | |
Protected 类型 | |
| enum | EOverrideMask |
| Enum evaluation flag structure defining which functions are to be called in implementations of this struct | |
Protected 类型 继承自 FMovieSceneEvalTemplateBase | |
| enum | EOverrideMask |
| Base class flag mask that should be considered by any implementations of FMovieSceneEvalTemplateBase | |
Protected 成员函数 | |
| MOVIESCENE_API float | EvaluateEasing (FFrameTime CurrentTime) const |
| Evaluate this template's easing functions based on the specified time | |
Protected 成员函数 继承自 FMovieSceneEvalTemplateBase | |
| void | EnableOverrides (uint8 OverrideFlag) |
| Enable the overrides referred to by the specified flag mask | |
| virtual UScriptStruct & | GetScriptStructImpl () const |
| Retrieve the script struct pertaining to the most-derived type of this instance. 更多... | |
| virtual void | Setup (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called before this template is evaluated for the first time, or since OnEndEvaluation has been called. 更多... | |
| virtual void | TearDown (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| Called after this template is no longer being evaluated. 更多... | |
Protected 属性 | |
| EMovieSceneCompletionMode | CompletionMode |
| Enumeration value signifying whether we should restore any animated state stored by this entity when this eval tempalte is no longer evaluated | |
| TWeakObjectPtr< const UMovieSceneSection > | SourceSectionPtr |
| The section from which this template originates | |
Protected 属性 继承自 FMovieSceneEvalTemplateBase | |
| uint8 | OverrideMask |
| Mask of overridden properties - not serialized, but setup in SetupOverrides | |
Structure used for movie scene evaluation templates contained within a track.
Typically these are defined as one per-section. Serialized into a FMovieSceneEvaluationTemplate contained within the sequence itself (for fast initialization at runtime). Templates are executed in a 3-phase algorithm: 1) Initialize: (opt-in) Called at the start of the frame. Able to access mutable state from the playback context. Used to initialize any persistent state required for the evaluation pass. 2) Evaluate: Potentially called on a thread. Should (where possible) perform all costly evaluation logic, accumulating into execution tokens which will be executed at a later time on the game thread. 3) Execute: Called on all previously submitted execution tokens to apply the evaluated state to the movie scene player
|
inlinevirtual |
Evaluate this template, adding any execution tokens to the specified list
| Operand | Unique handle to the operand on which we are to operate. Only to be used as a reference, or forwarded throgh to an execution token. |
| Context | Evaluation context specifying the current evaluation time, sub sequence transform and other relevant information. |
| PersistentData | Persistent data store which can be used to access arbitrary data pertaining to the current template that should have been set up in initialize. |
| ExecutionTokens | Stack of execution tokens that will be used to apply animated state to the environment at a later time. |
|
inlinevirtual |
Evaluate this template over the given swept range, adding any execution tokens to the specified list.
| Operand | Unique handle to the operand on which we are to operate. Only to be used as a reference, or forwarded throgh to an execution token. |
| Context | Evaluation context specifying the current evaluation time, sub sequence transform and other relevant information. |
| SweptRange | The range this is to be swept in this evaluation - always fully contained by the context's range |
| PersistentData | Persistent data store which can be used to access arbitrary data pertaining to the current template that should have been set up in initialize. |
| ExecutionTokens | Stack of execution tokens that will be used to apply animated state to the environment at a later time. |
|
inline |
Check whether we should restore any pre-animated state that was supplied by this template when it is no longer evaluated
|
inline |
Get the source section from which this template originated
|
inlinevirtual |
Initialize this template, copying any data required for evaluation into the specified state block.
| Operand | Unique handle to the operand on which we are to operate. May represent multiple objects. Resolve through IMovieScenePlayer::FindBoundObjects(Operand) |
| Context | Evaluation context specifying the current evaluation time, sub sequence transform and other relevant information. |
| PersistentData | Persistent data store which can be used to store arbitrary data pertaining to the current template that may be required in Evaluate(Swept) |
| Player | The movie scene player currently playing back this sequence |
|
inlinevirtual |
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 |
|
inlinevirtual |
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. |
| SweptRange | The range to sweep, where this template evaluates with 'swept' evaluation |
| 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 |
Check whether this template mandates Initialize being called.
Defines whether a pointer to this track will be added to the initialization section of template evaluation.
|
inline |
Set this template's completion mode
|
inline |
Set the source section from which this template originated
| SourceSection | The source section |