engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 类型 | 所有成员列表
FMovieSceneTrackImplementation结构体 参考

Structure that allows the implementation of setup/teardown/initialization/evaluation logic at the track level. 更多...

#include <MovieSceneTrackImplementation.h>

+ 类 FMovieSceneTrackImplementation 继承关系图:

Public 成员函数

virtual void Evaluate (const FMovieSceneEvaluationTrack &Track, TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const
 Perform evaluation on the specified segment of the track. 更多...
 
 FMovieSceneTrackImplementation ()
 Default constructor
 
bool HasCustomEvaluate () const
 Determine whether this track implementation has its own custom evaluation override
 
bool HasCustomInitialize () const
 Determine whether this track implementation has its own custom initialization override
 
virtual void Initialize (const FMovieSceneEvaluationTrack &Track, TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Perform pre frame initialization on the specified segment of the track. 更多...
 
virtual bool Interrogate (const FMovieSceneContext &Context, FMovieSceneInterrogationData &Container, UObject *BindingOverride=nullptr) const
 Interrogate this template for its output. 更多...
 
- Public 成员函数 继承自 FMovieSceneEvalTemplateBase
 FMovieSceneEvalTemplateBase ()
 Default constructor
 
UScriptStruct & GetScriptStruct () const
 Access the most derived script struct type of this instance for serialization purposes
 
FORCEINLINE void OnBeginEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called before this template is evaluated for the first time, or since OnEndEvaluation has been called 更多...
 
FORCEINLINE void OnEndEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called after this template is no longer being evaluated 更多...
 
FORCEINLINE bool RequiresSetup () const
 Check whether this entity requires set up when it is first evaluated
 
FORCEINLINE bool RequiresTearDown () const
 Check whether this entity requires tear up when it no longer being evaluated
 
virtual void SetupOverrides ()
 Called after construction to enable overridden functions required by this type. 更多...
 
virtual ~FMovieSceneEvalTemplateBase ()
 Virtual destruction
 

Protected 类型

enum  EOverrideMask
 Enum evaluation flag structure defining which functions are to be called in implementations of this struct
 
- Protected 类型 继承自 FMovieSceneEvalTemplateBase
enum  EOverrideMask
 Base class flag mask that should be considered by any implementations of FMovieSceneEvalTemplateBase
 

额外继承的成员函数

- Protected 成员函数 继承自 FMovieSceneEvalTemplateBase
void EnableOverrides (uint8 OverrideFlag)
 Enable the overrides referred to by the specified flag mask
 
virtual UScriptStruct & GetScriptStructImpl () const
 Retrieve the script struct pertaining to the most-derived type of this instance. 更多...
 
virtual void Setup (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called before this template is evaluated for the first time, or since OnEndEvaluation has been called. 更多...
 
virtual void TearDown (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called after this template is no longer being evaluated. 更多...
 
- Protected 属性 继承自 FMovieSceneEvalTemplateBase
uint8 OverrideMask
 Mask of overridden properties - not serialized, but setup in SetupOverrides
 

详细描述

Structure that allows the implementation of setup/teardown/initialization/evaluation logic at the track level.

成员函数说明

◆ Evaluate()

virtual void FMovieSceneTrackImplementation::Evaluate ( const FMovieSceneEvaluationTrack &  Track,
TArrayView< const FMovieSceneFieldEntry_ChildTemplate >  Children,
const FMovieSceneEvaluationOperand &  Operand,
const FMovieSceneContext &  Context,
const FPersistentEvaluationData &  PersistentData,
FMovieSceneExecutionTokens &  ExecutionTokens 
) const
inlinevirtual

Perform evaluation on the specified segment of the track.

Will generally call Evaluate on all child templates in the current segment as well.

注解
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. Only called if EnableOverrides(CustomEvaluateFlag) has been called (see SetupOverrides).
参数
TrackThe parent evaluation track that has knowledge of all child tracks and segments
SegmentIDThe identifier of the segment at the current time
OperandUnique handle to the operand on which we are to operate. Only to be used as a reference, or forwarded throgh to an execution token.
ContextEvaluation context specifying the current evaluation time, sub sequence transform and other relevant information.
PersistentDataPersistent data store which can be used to access arbitrary data pertaining to the current template that should have been set up in initialize.
ExecutionTokensStack of execution tokens that will be used to apply animated state to the environment at a later time.

◆ Initialize()

virtual void FMovieSceneTrackImplementation::Initialize ( const FMovieSceneEvaluationTrack &  Track,
TArrayView< const FMovieSceneFieldEntry_ChildTemplate >  Children,
const FMovieSceneEvaluationOperand &  Operand,
const FMovieSceneContext &  Context,
FPersistentEvaluationData &  PersistentData,
IMovieScenePlayer &  Player 
) const
inlinevirtual

Perform pre frame initialization on the specified segment of the track.

Will generally call Initialize on all child templates in the current segment as well.

注解
This function is intended to allow pre-frame set up, and should avoid mutating any state. Only called if EnableOverrides(CustomInitializeFlag) has been called (see SetupOverrides).
参数
TrackThe parent evaluation track that has knowledge of all child tracks and segments
SegmentIDThe identifier of the segment at the current time
OperandUnique handle to the operand on which we are to operate. May represent multiple objects. Resolve through IMovieScenePlayer::FindBoundObjects(Operand)
ContextEvaluation context specifying the current evaluation time, sub sequence transform and other relevant information.
PersistentDataPersistent data store which can be used to store arbitrary data pertaining to the current template that may be required in Evaluate(Swept)
PlayerThe movie scene player currently playing back this sequence

◆ Interrogate()

virtual bool FMovieSceneTrackImplementation::Interrogate ( const FMovieSceneContext &  Context,
FMovieSceneInterrogationData &  Container,
UObject *  BindingOverride = nullptr 
) const
inlinevirtual

Interrogate this template for its output.

Should not have any side effects.

参数
ContextEvaluation context specifying the current evaluation time, sub sequence transform and other relevant information.
ContainerContainer to populate with the desired output from this track
BindingOverrideOptional binding to specify the object that is being animated by this track

该结构体的文档由以下文件生成: