Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneEvalTemplate
Description
Evaluate this template, adding any execution tokens to the specified list
Only called when the containing template has an evaluation method of EEvaluationMethod::Static This function should perform any expensive or costly evaluation logic required to calculate the final animated state. Potentially called on a thread, and as such has no access to the current evaluation environment.
| Name | Evaluate |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvalTemplate.h |
| Include Path | #include "Evaluation/MovieSceneEvalTemplate.h" |
virtual void Evaluate
(
const FMovieSceneEvaluationOperand & Operand,
const FMovieSceneContext & Context,
const FPersistentEvaluationData & PersistentData,
FMovieSceneExecutionTokens & ExecutionTokens
) const
Parameters
| Name | Remarks |
|---|---|
| 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. |