Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneEvalTemplate
Description
Initialize this template, copying any data required for evaluation into the specified state block.
This function is intended to allow pre-frame set up, and should avoid mutating any state. Only called if EnableOverrides(RequiresInitializeFlag) has been called.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvalTemplate.h |
| Include Path | #include "Evaluation/MovieSceneEvalTemplate.h" |
virtual void Initialize
(
const FMovieSceneEvaluationOperand & Operand,
const FMovieSceneContext & Context,
FPersistentEvaluationData & PersistentData,
IMovieScenePlayer & Player
) const
Parameters
| Name | Remarks |
|---|---|
| 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 |