Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvalTemplate.h |
Include |
#include "Evaluation/MovieSceneEvalTemplate.h" |
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.
Only called when the containing template has an evaluation method of EEvaluationMethod::Swept 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.
Parameter |
Description |
---|---|
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. |