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

Evaluation track that is stored within an evaluation template for a sequence. 更多...

#include <MovieSceneEvaluationTrack.h>

Public 成员函数

MOVIESCENE_API int32 AddChildTemplate (FMovieSceneEvalTemplatePtr &&InTemplate)
 Add an evaluation template to this track with the given track index 更多...
 
MOVIESCENE_API void DefaultEvaluate (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const
 Default implementation of evaluation of child templates for the specified segment 更多...
 
MOVIESCENE_API void DefaultInitialize (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, FMovieSceneContext Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Default implementation of initialization of child templates for the specified segment 更多...
 
MOVIESCENE_API void DefineAsSingleTemplate (FMovieSceneEvalTemplatePtr &&InTemplate)
 Assign a single eval template to this track, spanning the entire sequence 更多...
 
void Evaluate (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, const FPersistentEvaluationData &PersistentData, FMovieSceneExecutionTokens &ExecutionTokens) const
 Called to evaluate the specified segment index 更多...
 
 FMovieSceneEvaluationTrack ()
 Default construction (only for serialization)
 
MOVIESCENE_API FMovieSceneEvaluationTrack (const FGuid &InObjectBindingID)
 User construction, for initialization during compilation
 
 FMovieSceneEvaluationTrack (const FMovieSceneEvaluationTrack &)=default
 Copy construction/assignment
 
 FMovieSceneEvaluationTrack (FMovieSceneEvaluationTrack &&)=default
 Move construction/assignment
 
FORCEINLINE const FMovieSceneEvalTemplate & GetChildTemplate (int32 TemplateIndex) const
 Get the template from the given template index
 
FORCEINLINE TArrayView< FMovieSceneEvalTemplatePtr > GetChildTemplates ()
 Get this track's child templates NOTE that this is intended for use during the compilation phase in-editor. 更多...
 
FORCEINLINE TArrayView< const FMovieSceneEvalTemplatePtr > GetChildTemplates () const
 Get this track's child templates
 
FName GetEvaluationGroup () const
 Get this track's evaluation group name. 更多...
 
EEvaluationMethod GetEvaluationMethod () const
 Get the method we should use to evaluate this track 更多...
 
uint16 GetEvaluationPriority () const
 Get the evaluation bias to apply to this track. 更多...
 
FORCEINLINE const FGuid & GetObjectBindingID () const
 Get the object binding ID that this track belongs to
 
UMovieSceneTrack * GetSourceTrack () const
 Get the source track from which this track originates
 
FORCEINLINE bool HasChildTemplate (int32 TemplateIndex) const
 Check whether we have a valid child template for the specified index
 
bool HasTearDownPriority () const
 Check whether this track has tear down priority or not
 
void Initialize (TArrayView< const FMovieSceneFieldEntry_ChildTemplate > Children, const FMovieSceneEvaluationOperand &Operand, const FMovieSceneContext &Context, FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called to initialize the specified segment index 更多...
 
MOVIESCENE_API void Interrogate (const FMovieSceneContext &Context, FMovieSceneInterrogationData &Container, UObject *BindingOverride=nullptr) const
 Interrogate this template for its output. 更多...
 
FORCEINLINE void OnBeginEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called before this track is evaluated for the first time, or since OnEndEvaluation has been called 更多...
 
void OnEndEvaluation (FPersistentEvaluationData &PersistentData, IMovieScenePlayer &Player) const
 Called after this track is no longer being evaluated 更多...
 
MOVIESCENE_API void PostSerialize (const FArchive &Ar)
 Post serialize function
 
void PrioritizeTearDown ()
 Tell this track to prioritize its tear down over other tracks, regardless of evaluation priority
 
void SetEvaluationGroup (FName InEvaluationGroup)
 Set this track's flush group name. 更多...
 
void SetEvaluationMethod (EEvaluationMethod InMethod)
 Set the method we should use to evaluate this track 更多...
 
void SetEvaluationPriority (uint16 InEvaluationPriority=1000)
 Get the evaluation bias to apply to this track. 更多...
 
void SetPreAndPostrollConditions (bool bInEvaluateInPreroll, bool bInEvaluateInPostroll)
 Define how this track evaluates in pre and postroll 更多...
 
void SetSourceTrack (UMovieSceneTrack *InSourceTrack)
 Set the source track from which this track originates
 
template<typename T >
TEnableIf< TPointerIsConvertibleFromTo< T, FMovieSceneTrackImplementation >::Value >::Type SetTrackImplementation (T &&InImpl)
 Assign a track implementation template to this track 更多...
 
MOVIESCENE_API void SetupOverrides ()
 Setup overrides for any contained templates
 
bool ShouldEvaluateInPostroll () const
 
bool ShouldEvaluateInPreroll () const
 

详细描述

Evaluation track that is stored within an evaluation template for a sequence.

Contains user-defined evaluation templates, and an optional track implementation

成员函数说明

◆ AddChildTemplate()

MOVIESCENE_API int32 FMovieSceneEvaluationTrack::AddChildTemplate ( FMovieSceneEvalTemplatePtr &&  InTemplate)

Add an evaluation template to this track with the given track index

参数
InTemplateThe template to insert
返回
The index of the new template

◆ DefaultEvaluate()

MOVIESCENE_API void FMovieSceneEvaluationTrack::DefaultEvaluate ( TArrayView< const FMovieSceneFieldEntry_ChildTemplate >  Children,
const FMovieSceneEvaluationOperand &  Operand,
const FMovieSceneContext &  Context,
const FPersistentEvaluationData &  PersistentData,
FMovieSceneExecutionTokens &  ExecutionTokens 
) const

Default implementation of evaluation of child templates for the specified segment

参数
SegmentIDThe segment we are evaluating
OperandOperand that relates to the thing we will animate
ContextCurrent sequence context
PersistentDataPersistent data store
ExecutionTokensToken stack on which to add tokens that will be executed later

◆ DefaultInitialize()

MOVIESCENE_API void FMovieSceneEvaluationTrack::DefaultInitialize ( TArrayView< const FMovieSceneFieldEntry_ChildTemplate >  Children,
const FMovieSceneEvaluationOperand &  Operand,
FMovieSceneContext  Context,
FPersistentEvaluationData &  PersistentData,
IMovieScenePlayer &  Player 
) const

Default implementation of initialization of child templates for the specified segment

参数
SegmentIDThe segment we are evaluating
OperandOperand that relates to the thing we will animate
ContextCurrent sequence context
PersistentDataPersistent data store
PlayerThe player that is responsible for playing back this template

◆ DefineAsSingleTemplate()

MOVIESCENE_API void FMovieSceneEvaluationTrack::DefineAsSingleTemplate ( FMovieSceneEvalTemplatePtr &&  InTemplate)

Assign a single eval template to this track, spanning the entire sequence

参数
InTemplateThe template to insert

◆ Evaluate()

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

Called to evaluate the specified segment index

参数
SegmentIDThe segment we are evaluating
OperandOperand that relates to the thing we will animate
ContextCurrent sequence context
PersistentDataPersistent data store
ExecutionTokensToken stack on which to add tokens that will be executed later

◆ GetChildTemplates()

FORCEINLINE TArrayView< FMovieSceneEvalTemplatePtr > FMovieSceneEvaluationTrack::GetChildTemplates ( )
inline

Get this track's child templates NOTE that this is intended for use during the compilation phase in-editor.

Beware of using this to modify templates afterwards as it will almost certainly break evaluation.

◆ GetEvaluationGroup()

FName FMovieSceneEvaluationTrack::GetEvaluationGroup ( ) const
inline

Get this track's evaluation group name.

Only used during compilation.

返回
The evaluation group

◆ GetEvaluationMethod()

EEvaluationMethod FMovieSceneEvaluationTrack::GetEvaluationMethod ( ) const
inline

Get the method we should use to evaluate this track

返回
The method to use when evaluating this track

◆ GetEvaluationPriority()

uint16 FMovieSceneEvaluationTrack::GetEvaluationPriority ( ) const
inline

Get the evaluation bias to apply to this track.

Higher priority tracks will be evaluated first.

返回
The evaluation priority

◆ Initialize()

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

Called to initialize the specified segment index

参数
SegmentIDThe segment we are evaluating
OperandOperand that relates to the thing we will animate
ContextCurrent sequence context
PersistentDataPersistent data store
PlayerThe player that is responsible for playing back this template

◆ Interrogate()

MOVIESCENE_API void FMovieSceneEvaluationTrack::Interrogate ( const FMovieSceneContext &  Context,
FMovieSceneInterrogationData &  Container,
UObject *  BindingOverride = nullptr 
) const

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

◆ OnBeginEvaluation()

FORCEINLINE void FMovieSceneEvaluationTrack::OnBeginEvaluation ( FPersistentEvaluationData &  PersistentData,
IMovieScenePlayer &  Player 
) const
inline

Called before this track is evaluated for the first time, or since OnEndEvaluation has been called

参数
PersistentDataPersistent data proxy that may contain data pertaining to this entity
PlayerThe player that is responsible for playing back this template

◆ OnEndEvaluation()

void FMovieSceneEvaluationTrack::OnEndEvaluation ( FPersistentEvaluationData &  PersistentData,
IMovieScenePlayer &  Player 
) const
inline

Called after this track is no longer being evaluated

参数
PersistentDataPersistent data proxy that may contain data pertaining to this entity
PlayerThe player that is responsible for playing back this template

◆ SetEvaluationGroup()

void FMovieSceneEvaluationTrack::SetEvaluationGroup ( FName  InEvaluationGroup)
inline

Set this track's flush group name.

注解
When not 'None', setting an evaluation group indicates that all tracks with similar groups and priorities should be grouped together at runtime. Named groups can be optionally flushed immediately at runtime by calling IMovieSceneTemplateGenerator::FlushGroupImmediately with the appropriate group.
参数
InEvaluationGroupThe evaluation group to assign this track to

◆ SetEvaluationMethod()

void FMovieSceneEvaluationTrack::SetEvaluationMethod ( EEvaluationMethod  InMethod)
inline

Set the method we should use to evaluate this track

参数
InMethodThe method to use when evaluating this track

◆ SetEvaluationPriority()

void FMovieSceneEvaluationTrack::SetEvaluationPriority ( uint16  InEvaluationPriority = 1000)
inline

Get the evaluation bias to apply to this track.

Higher priority tracks will be evaluated first.

参数
InEvaluationPriorityThe new priority

◆ SetPreAndPostrollConditions()

void FMovieSceneEvaluationTrack::SetPreAndPostrollConditions ( bool  bInEvaluateInPreroll,
bool  bInEvaluateInPostroll 
)
inline

Define how this track evaluates in pre and postroll

参数
bInEvaluateInPrerollWhether this track should evaluate in preroll
bInEvaluateInPostrollWhether this track should evaluate in postroll

◆ SetTrackImplementation()

template<typename T >
TEnableIf< TPointerIsConvertibleFromTo< T, FMovieSceneTrackImplementation >::Value >::Type FMovieSceneEvaluationTrack::SetTrackImplementation ( T &&  InImpl)
inline

Assign a track implementation template to this track

注解
Track implementations are evaluated once per frame before any segments.
参数
InImplementationThe track implementation to use

◆ ShouldEvaluateInPostroll()

bool FMovieSceneEvaluationTrack::ShouldEvaluateInPostroll ( ) const
inline
返回
Whether this track should evaluate in postroll

◆ ShouldEvaluateInPreroll()

bool FMovieSceneEvaluationTrack::ShouldEvaluateInPreroll ( ) const
inline
返回
Whether this track should evaluate in preroll

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