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

An entity ledger is responsible for tracking the entites that have been imported for the currently relevant frame of a sequence instance. 更多...

#include <MovieSceneEntityLedger.h>

Public 成员函数

void CleanupLinkerEntities (const TSet< FMovieSceneEntityID > &LinkerEntities)
 Remove linker entity IDs that exist in the specified set since they are no longer valid 更多...
 
FMovieSceneEntityID FindImportedEntity (const FMovieSceneEvaluationFieldEntityKey &EntityKey) const
 Find an imported entity
 
bool HasImportedEntity (const FMovieSceneEvaluationFieldEntityKey &EntityKey) const
 Check whether the specified entity is being tracked by this ledger at all
 
void ImportEntity (UMovieSceneEntitySystemLinker *Linker, const FEntityImportSequenceParams &ImportParams, const FMovieSceneEntityComponentField *EntityField, const FMovieSceneEvaluationFieldEntityQuery &Query)
 Indicate that the specified field entity is currently being evaluated 更多...
 
void Invalidate ()
 Invalidate any and all entities that are currently being tracked, causing new linker entities to be created on the next evaluation, and ones to become unlinked (preserving any components with the preserve flag)
 
bool IsEmpty () const
 Check whether this ledger contains any information at all (ie is tracking any global entities, even if it has not created any linker entities for them)
 
void TagGarbage (UMovieSceneEntitySystemLinker *Linker)
 Called in order to tag garbage as NeedsUnlink 更多...
 
void UnlinkEverything (UMovieSceneEntitySystemLinker *Linker)
 Unlink all imported linker entities and their children, whilst maintaining the map of imported entities 更多...
 
void UnlinkOneShots (UMovieSceneEntitySystemLinker *Linker)
 Unlink all imported one-shot linker entities and their children and clear the list of one shots 更多...
 
void UpdateEntities (UMovieSceneEntitySystemLinker *Linker, const FEntityImportSequenceParams &ImportParams, const FMovieSceneEntityComponentField *EntityField, const FMovieSceneEvaluationFieldEntitySet &NewEntities)
 To be called any time this ledger's instance is to be evaluated with a different set of entities - updates the set of entities that are required for the current evaluation environment 更多...
 
void UpdateOneShotEntities (UMovieSceneEntitySystemLinker *Linker, const FEntityImportSequenceParams &ImportParams, const FMovieSceneEntityComponentField *EntityField, const FMovieSceneEvaluationFieldEntitySet &NewEntities)
 Update any one-shot entities for the current frame 更多...
 

详细描述

An entity ledger is responsible for tracking the entites that have been imported for the currently relevant frame of a sequence instance.

It is responsible for linking and unlinking new and expired entities in the linker's entity manager based on the current set of entities required for evaluation.

成员函数说明

◆ CleanupLinkerEntities()

void UE::MovieScene::FEntityLedger::CleanupLinkerEntities ( const TSet< FMovieSceneEntityID > &  LinkerEntities)

Remove linker entity IDs that exist in the specified set since they are no longer valid

参数
LinkerEntitiesSet of entity IDs that have been destroyed

◆ ImportEntity()

void UE::MovieScene::FEntityLedger::ImportEntity ( UMovieSceneEntitySystemLinker *  Linker,
const FEntityImportSequenceParams &  ImportParams,
const FMovieSceneEntityComponentField *  EntityField,
const FMovieSceneEvaluationFieldEntityQuery &  Query 
)

Indicate that the specified field entity is currently being evaluated

参数
LinkerThe linker To import into
InstanceHandleA handle to the sequence instance that the entity relates to (relating to Linker->GetInstanceRegistry())
EntityThe field entity that is being imported

◆ TagGarbage()

void UE::MovieScene::FEntityLedger::TagGarbage ( UMovieSceneEntitySystemLinker *  Linker)

Called in order to tag garbage as NeedsUnlink

参数
LinkerThe linker that owns this ledger

◆ UnlinkEverything()

void UE::MovieScene::FEntityLedger::UnlinkEverything ( UMovieSceneEntitySystemLinker *  Linker)

Unlink all imported linker entities and their children, whilst maintaining the map of imported entities

参数
LinkerThe linker that owns this ledger

◆ UnlinkOneShots()

void UE::MovieScene::FEntityLedger::UnlinkOneShots ( UMovieSceneEntitySystemLinker *  Linker)

Unlink all imported one-shot linker entities and their children and clear the list of one shots

参数
LinkerThe linker that owns this ledger
返回
A mask representing the changes made to the environment

◆ UpdateEntities()

void UE::MovieScene::FEntityLedger::UpdateEntities ( UMovieSceneEntitySystemLinker *  Linker,
const FEntityImportSequenceParams &  ImportParams,
const FMovieSceneEntityComponentField *  EntityField,
const FMovieSceneEvaluationFieldEntitySet &  NewEntities 
)

To be called any time this ledger's instance is to be evaluated with a different set of entities - updates the set of entities that are required for the current evaluation environment

参数
LinkerThe linker that owns this ledger
ImportParamsBasis for import parameters
EntityFieldPossibly null if NewEntities is empty- an entity field containing structural information about the sequence
NewEntitiesA set specifying all the entities required for the next evaluation. Specifying an empty set will unlink all existing entities.

◆ UpdateOneShotEntities()

void UE::MovieScene::FEntityLedger::UpdateOneShotEntities ( UMovieSceneEntitySystemLinker *  Linker,
const FEntityImportSequenceParams &  ImportParams,
const FMovieSceneEntityComponentField *  EntityField,
const FMovieSceneEvaluationFieldEntitySet &  NewEntities 
)

Update any one-shot entities for the current frame

参数
LinkerThe linker that owns this ledger
ImportParamsBasis for import parameters
EntityFieldPossibly null if NewEntities is empty- an entity field containing structural information about the sequence
NewEntitiesA set specifying all the entities required for the next evaluation. Specifying an empty set will unlink all existing entities.

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