engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
UE::MovieScene::ISequenceUpdater结构体 参考abstract

Interface for an object that will update a sequence based on the current context. 更多...

#include <MovieSceneSequenceUpdaters.h>

Public 成员函数

virtual void Destroy (UMovieSceneEntitySystemLinker *Linker)=0
 Called right before this updater's sequence instance is about to be destroyed completely 更多...
 
virtual void DissectContext (UMovieSceneEntitySystemLinker *InLinker, IMovieScenePlayer *InPlayer, const FMovieSceneContext &InContext, TArray< TRange< FFrameTime > > &OutDissections)=0
 Called before any updates to the sequence to allow this updater to dissect the context into smaller ranges that should be evaluated independently for the purpose of ensuring determinism. 更多...
 
virtual FInstanceHandle FindSubInstance (FMovieSceneSequenceID SubSequenceID) const =0
 Find a sub sequence instance from its ID (if it exists)
 
virtual void Finish (UMovieSceneEntitySystemLinker *InLinker, FInstanceHandle InInstanceHandle, IMovieScenePlayer *InPlayer)=0
 Called before evaluation when this updater's sequence is no longer required to be evaluated 更多...
 
virtual void InvalidateCachedData (UMovieSceneEntitySystemLinker *InLinker)=0
 Invalidate any cached information that depends on the compiled sequence data due to the compiled data changing 更多...
 
virtual TUniquePtr< ISequenceUpdater > MigrateToHierarchical ()=0
 Migrate this updater to one that can represent hierarchical data. 更多...
 
virtual void OverrideRootSequence (UMovieSceneEntitySystemLinker *InLinker, FInstanceHandle InstanceHandle, FMovieSceneSequenceID NewRootOverrideSequenceID)=0
 Override the sequence ID that should be considered the root sequence for this updater 更多...
 
virtual void Start (UMovieSceneEntitySystemLinker *InLinker, FInstanceHandle InInstanceHandle, IMovieScenePlayer *InPlayer, const FMovieSceneContext &InContext)=0
 Called if this updater has not been evaluated before, or has since been Finished. 更多...
 
virtual void Update (UMovieSceneEntitySystemLinker *InLinker, FInstanceHandle InInstanceHandle, IMovieScenePlayer *InPlayer, const FMovieSceneContext &InContext)=0
 Called in order that this updater may make any changes to the linker's environment before its sequence is evaluated (ie, initialize or unlink any entity instantiations) 更多...
 
virtual ~ISequenceUpdater ()
 Virtual destructor
 

静态 Public 成员函数

static void FactoryInstance (TUniquePtr< ISequenceUpdater > &OutPtr, UMovieSceneCompiledDataManager *CompiledDataManager, FMovieSceneCompiledDataID CompiledDataID)
 Entry-point for creating or updating a new ISequenceUpdater interface based on the requirements of the compiled data. 更多...
 

详细描述

Interface for an object that will update a sequence based on the current context.

It holds several responsibilities:

  1. Handle dissection of evaluation contexts based on determinism fences
  2. To add pending instantiations to FInstanceRegistry for newly-evaluated source entities
  3. To add the Unlink tag for any linker entities that are now longer required for evaluation (ie, have just finished evaluating)
  4. To handle 1 and 2 for any sub sequences that may or may not be required for the context
  5. To handle legacy track template evaluation

成员函数说明

◆ Destroy()

virtual void UE::MovieScene::ISequenceUpdater::Destroy ( UMovieSceneEntitySystemLinker *  Linker)
pure virtual

Called right before this updater's sequence instance is about to be destroyed completely

参数
InLinkerThe linker that is owns this sequence

◆ DissectContext()

virtual void UE::MovieScene::ISequenceUpdater::DissectContext ( UMovieSceneEntitySystemLinker *  InLinker,
IMovieScenePlayer *  InPlayer,
const FMovieSceneContext &  InContext,
TArray< TRange< FFrameTime > > &  OutDissections 
)
pure virtual

Called before any updates to the sequence to allow this updater to dissect the context into smaller ranges that should be evaluated independently for the purpose of ensuring determinism.

If the resulting array is empty the whole context will be used by default.

参数
InLinkerThe linker that is evaluating this sequence
InPlayerThe movie scene player instance playing this sequence
InContextThe total root-level context for the next evaluation to be dissected
OutDissections(Out) Array to populate with dissected ranges

◆ FactoryInstance()

static void UE::MovieScene::ISequenceUpdater::FactoryInstance ( TUniquePtr< ISequenceUpdater > &  OutPtr,
UMovieSceneCompiledDataManager *  CompiledDataManager,
FMovieSceneCompiledDataID  CompiledDataID 
)
static

Entry-point for creating or updating a new ISequenceUpdater interface based on the requirements of the compiled data.

If OutPtr is null, a new instance will always be assigned. If OutPtr is valid, but no longer suitable for the compiled data (ie, it does not support hierarchical sequences but the compiled data now has a hierarchy), a new instance will be assigned

参数
OutPtrReference to receive the new sequence updater interface
CompiledDataManagerThe manager class that houses the compiled data for the sequence that needs updating
CompiledDataIDThe ID of the compiled data

◆ Finish()

virtual void UE::MovieScene::ISequenceUpdater::Finish ( UMovieSceneEntitySystemLinker *  InLinker,
FInstanceHandle  InInstanceHandle,
IMovieScenePlayer *  InPlayer 
)
pure virtual

Called before evaluation when this updater's sequence is no longer required to be evaluated

参数
InLinkerThe linker that is evaluating this sequence
InInstanceHandleThe instance handle for the top level sequence instance that this updater belongs to
InPlayerThe movie scene player instance playing this sequence

◆ InvalidateCachedData()

virtual void UE::MovieScene::ISequenceUpdater::InvalidateCachedData ( UMovieSceneEntitySystemLinker *  InLinker)
pure virtual

Invalidate any cached information that depends on the compiled sequence data due to the compiled data changing

参数
InLinkerThe linker that is evaluating this sequence

◆ MigrateToHierarchical()

virtual TUniquePtr< ISequenceUpdater > UE::MovieScene::ISequenceUpdater::MigrateToHierarchical ( )
pure virtual

Migrate this updater to one that can represent hierarchical data.

返回
A new instance capable of dealing with hierarchical data, or nullptr if this already does.

◆ OverrideRootSequence()

virtual void UE::MovieScene::ISequenceUpdater::OverrideRootSequence ( UMovieSceneEntitySystemLinker *  InLinker,
FInstanceHandle  InstanceHandle,
FMovieSceneSequenceID  NewRootOverrideSequenceID 
)
pure virtual

Override the sequence ID that should be considered the root sequence for this updater

参数
InLinkerThe linker that is owns this sequence
InstanceHandleThe instance handle for the master sequence
NewRootOverrideSequenceIDThe new sequence ID to treat as the root

◆ Start()

virtual void UE::MovieScene::ISequenceUpdater::Start ( UMovieSceneEntitySystemLinker *  InLinker,
FInstanceHandle  InInstanceHandle,
IMovieScenePlayer *  InPlayer,
const FMovieSceneContext &  InContext 
)
pure virtual

Called if this updater has not been evaluated before, or has since been Finished.

参数
InLinkerThe linker that is evaluating this sequence
InInstanceHandleThe instance handle for the top level sequence instance that this updater belongs to
InPlayerThe movie scene player instance playing this sequence
InContextThe root-level context for the current evaluation.

◆ Update()

virtual void UE::MovieScene::ISequenceUpdater::Update ( UMovieSceneEntitySystemLinker *  InLinker,
FInstanceHandle  InInstanceHandle,
IMovieScenePlayer *  InPlayer,
const FMovieSceneContext &  InContext 
)
pure virtual

Called in order that this updater may make any changes to the linker's environment before its sequence is evaluated (ie, initialize or unlink any entity instantiations)

参数
InLinkerThe linker that is evaluating this sequence
InInstanceHandleThe instance handle for the top level sequence instance that this updater belongs to
InPlayerThe movie scene player instance playing this sequence
InContextThe root-level context for the current evaluation.

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