Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Evaluation
Inheritance Hierarchy
- FMovieSceneEvalTemplateBase
- FMovieSceneEvalTemplate
- FMovieSceneCameraShakeSectionTemplate
- FMovieSceneDMXLibraryTemplate
- FMovieSceneGeometryCollectionSectionTemplate
- FMovieSceneParameterSectionTemplate
- FMovieSceneControlRigParameterTemplate
- FMovieScenePropertySectionTemplate
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvalTemplate.h |
Include | #include "Evaluation/MovieSceneEvalTemplate.h" |
Syntax
struct FMovieSceneEvalTemplate : public FMovieSceneEvalTemplateBase
Remarks
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
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
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 |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default Constructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | Evaluate
(
const FMovieSceneEvaluationOperand& Operand, |
Evaluate this template, adding any execution tokens to the specified list |
![]() ![]() |
float | EvaluateEasing
(
FFrameTime CurrentTime |
Evaluate this template's easing functions based on the specified time |
![]() ![]() ![]() |
void | EvaluateSwept
(
const FMovieSceneEvaluationOperand& Operand, |
Evaluate this template over the given swept range, adding any execution tokens to the specified list. |
![]() ![]() |
EMovieSceneCompletionMode | Check whether we should restore any pre-animated state that was supplied by this template when it is no longer evaluated | |
![]() ![]() |
const UMovieSceneSection * | Get the source section from which this template originated | |
![]() ![]() ![]() |
void | Initialize
(
const FMovieSceneEvaluationOperand& Operand, |
Initialize this template, copying any data required for evaluation into the specified state block. |
![]() ![]() ![]() |
void | Interrogate
(
const FMovieSceneContext& Context, |
Interrogate this template for its output. Should not have any side effects. |
![]() ![]() ![]() |
void | Interrogate
(
const FMovieSceneContext& Context, |
Interrogate this template for its output. Should not have any side effects. |
![]() ![]() |
bool | 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 |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EOverrideMask | Enum evaluation flag structure defining which functions are to be called in implementations of this struct |