| TOverlappingEntityTracker
|
Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneOverlappingEntityTracker.h |
Include |
#include "EntitySystem/MovieSceneOverlappingEntityTracker.h" |
template<typename KeyType, typename OutputType>
struct TOverlappingEntityTracker
Templated utility class that assists in tracking the state of many -> one data relationships in an FEntityManager. KeyType defines the component type which defines the key that determines whether an entity animates the same output. OutputType defines the user-specfied data to be associated with the multiple inputs (ie, its output)
Where KeyType is a UObject* it is recommended TOverlappingEntityTracker_BoundObject is used instead, as it provides garbage collection and reference counting functions.
Name | Description | ||
---|---|---|---|
|
EntityToOutput |
||
|
InvalidatedOutputs |
||
|
TMap< KeyType, ... |
KeyToOutput |
|
|
NewOutputs |
||
|
TSparseArray< F... |
Outputs |
|
|
OutputToEntity |
Name | Description | ||
---|---|---|---|
|
ClearOutputByEntity ( |
||
|
CreateOutputByKey ( |
||
|
Destroy ( |
Destroy all the outputs currently being tracked |
|
|
FindEntityIDs ( |
||
|
const Output... |
FindOutput ( |
|
|
const Output... |
FindOutput ( |
|
|
FindOutputByEntity ( |
||
|
FindOutputByKey ( |
||
|
IsEmpty() |
||
|
IsOutputValid ( |
||
|
MakeOutput ( |
||
|
NeedsRestoration |
||
|
ProcessInvalidatedOutputs ( |
Process any outputs that were invalidated as a result of Update being called using a custom handler. |
|
|
SetNeedsRestoration |
||
|
Update ( |
Update this tracker by iterating any entity that contains InKeyComponent, and matches the additional optional filter Only entities tagged as NeedsLink or NeedsUnlink are iterated, invalidating their outputs |
|
|
UpdateUnlinkedOnly ( |
Update this tracker by iterating any entity that contains InKeyComponent, and matches the additional optional filter Only entities tagged as NeedsUnlink are iterated, invalidating their outputs |
|
|
VisitLinkedAllocation ( |
Update this tracker by (re)linking the specified allocation |
|
|
VisitLinkedAllocationImpl ( |
||
|
VisitUnlinkedAllocation ( |
Update this tracker by unlinking the specified allocation |
|
|
VisitUnlinkedAllocationImpl ( |
Name |
Description |
|
---|---|---|
|
FOutput |
Name |
Description |
---|---|
ParamType |
Name |
Description |
---|---|
NO_OUTPUT |