![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEvalTemplate.h>
Inheritance diagram for FMovieSceneEvalTemplate:Protected Types | |
| enum | EOverrideMask { RequiresInitializeFlag = 0x004 } |
Protected Types inherited from FMovieSceneEvalTemplateBase | |
| enum | EOverrideMask { RequiresSetupFlag = 0x001 , RequiresTearDownFlag = 0x002 } |
Protected Member Functions | |
| MOVIESCENE_API float | EvaluateEasing (FFrameTime CurrentTime) const |
Protected Member Functions inherited from FMovieSceneEvalTemplateBase | |
| virtual void | Setup (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| virtual void | TearDown (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const |
| virtual UScriptStruct & | GetScriptStructImpl () const |
| void | EnableOverrides (uint8 OverrideFlag) |
Protected Attributes | |
| EMovieSceneCompletionMode | CompletionMode |
| TWeakObjectPtr< const UMovieSceneSection > | SourceSectionPtr |
Protected Attributes inherited from FMovieSceneEvalTemplateBase | |
| uint8 | OverrideMask |
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
|
protected |
|
inline |
Default Constructor
|
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. |
Reimplemented in FMovieSceneBoolPropertySectionTemplate.
|
protected |
Evaluate this template's easing functions based on the specified 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 |
|
protected |
Enumeration value signifying whether we should restore any animated state stored by this entity when this eval tempalte is no longer evaluated
|
protected |
The section from which this template originates