Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem
Inheritance Hierarchy
- TOverlappingEntityTrackerImpl
- TOverlappingEntityTracker_NoGarbage
- TOverlappingEntityTracker_WithGarbage
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneOverlappingEntityTracker.h |
| Include | #include "EntitySystem/MovieSceneOverlappingEntityTracker.h" |
Syntax
template<typename OutputType, typename... InputKeyTypes>
struct TOverlappingEntityTrackerImpl
Remarks
Templated utility class that assists in tracking the state of many -> one data relationships in an FEntityManager. InputKeyTypes defines the component type(s) 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)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsInitialized | ||
| TMap< FMovieSceneEntityID, uint16 > | EntityToOutput | ||
| TBitArray | InvalidatedOutputs | ||
| TMap< KeyType, uint16 > | KeyToOutput | ||
| TBitArray | NewOutputs | ||
| TSparseArray< FOutput > | Outputs | ||
| TMultiMap< uint16, FMovieSceneEntityID > | OutputToEntity |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearOutputByEntity
(
FMovieSceneEntityID EntityID |
||
| uint16 | |||
| void | Destroy
(
HandlerType&& InHandler |
Destroy all the outputs currently being tracked | |
| void | |||
| const OutputType * | FindOutput
(
FMovieSceneEntityID EntityID |
||
| const OutputType * | |||
| uint16 | FindOutputByEntity
(
FMovieSceneEntityID EntityID |
||
| uint16 | |||
| bool | IsEmpty () |
||
| bool | |||
| bool | IsOutputValid
(
uint16 OutputIndex |
||
| uint16 | |||
| bool | |||
| void | ProcessInvalidatedOutputs
(
UMovieSceneEntitySystemLinker* Linker, |
Process any outputs that were invalidated as a result of Update being called using a custom handler. | |
| void | |||
| void | Update
(
UMovieSceneEntitySystemLinker* Linker, |
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 | |
| void | UpdateFromComponents
(
UMovieSceneEntitySystemLinker* Linker, |
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 | |
| void | UpdateUnlinkedOnly
(
UMovieSceneEntitySystemLinker* Linker, |
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 | |
| void | VisitActiveAllocation
(
const FEntityAllocation* Allocation, |
Update this tracker by (re)linking the specified allocation | |
| void | VisitActiveAllocationImpl
(
const FEntityAllocation* Allocation, |
||
| void | VisitLinkedAllocation
(
const FEntityAllocation* Allocation, |
Update this tracker by (re)linking the specified allocation | |
| void | VisitUnlinkedAllocation
(
const FEntityAllocation* Allocation |
Update this tracker by unlinking the specified allocation | |
| void | VisitUnlinkedAllocationImpl
(
const FEntityAllocation* Allocation |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOutput |
Typedefs
Constants
| Name | Description |
|---|---|
| NO_OUTPUT |