FMovieSceneEvalTemplate::EvaluateSwept

Evaluate this template over the given swept range, adding any execution tokens to the specified list.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "Evaluation/MovieSceneEvalTemplate.h"

Syntax

virtual void EvaluateSwept
(
    const FMovieSceneEvaluationOperand & Operand,
    const FMovieSceneContext & Context,
    const TRange< FFrameNumber > & SweptRange,
    const FPersistentEvaluationData & PersistentData,
    FMovieSceneExecutionTokens & ExecutionTokens
) const

Remarks

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.

Parameters

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.

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