FMovieSceneEvalTemplate::Initialize

Initialize this template, copying any data required for evaluation into the specified state block.

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvalTemplate.h

Include

#include "Evaluation/MovieSceneEvalTemplate.h"

Syntax

virtual void Initialize
(
    const FMovieSceneEvaluationOperand & Operand,
    const FMovieSceneContext & Context,
    FPersistentEvaluationData & PersistentData,
    IMovieScenePlayer & Player
) const

Remarks

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.

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss