Interface for an object that will update a sequence based on the current context.
更多...
#include <MovieSceneSequenceUpdaters.h>
|
| 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
|
| |
|
| 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:
- Handle dissection of evaluation contexts based on determinism fences
- To add pending instantiations to FInstanceRegistry for newly-evaluated source entities
- To add the Unlink tag for any linker entities that are now longer required for evaluation (ie, have just finished evaluating)
- To handle 1 and 2 for any sub sequences that may or may not be required for the context
- 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
- 参数
-
| InLinker | The linker that is owns this sequence |
◆ DissectContext()
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.
- 参数
-
| InLinker | The linker that is evaluating this sequence |
| InPlayer | The movie scene player instance playing this sequence |
| InContext | The 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
- 参数
-
| OutPtr | Reference to receive the new sequence updater interface |
| CompiledDataManager | The manager class that houses the compiled data for the sequence that needs updating |
| CompiledDataID | The 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
- 参数
-
| InLinker | The linker that is evaluating this sequence |
| InInstanceHandle | The instance handle for the top level sequence instance that this updater belongs to |
| InPlayer | The 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
- 参数
-
| InLinker | The 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
- 参数
-
| InLinker | The linker that is owns this sequence |
| InstanceHandle | The instance handle for the master sequence |
| NewRootOverrideSequenceID | The new sequence ID to treat as the root |
◆ Start()
Called if this updater has not been evaluated before, or has since been Finished.
- 参数
-
| InLinker | The linker that is evaluating this sequence |
| InInstanceHandle | The instance handle for the top level sequence instance that this updater belongs to |
| InPlayer | The movie scene player instance playing this sequence |
| InContext | The root-level context for the current evaluation. |
◆ Update()
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)
- 参数
-
| InLinker | The linker that is evaluating this sequence |
| InInstanceHandle | The instance handle for the top level sequence instance that this updater belongs to |
| InPlayer | The movie scene player instance playing this sequence |
| InContext | The root-level context for the current evaluation. |
该结构体的文档由以下文件生成:
- MovieSceneSequenceUpdaters.h