Navigation
API > API/Runtime > API/Runtime/MovieScene
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)
| Name | TOverlappingEntityTrackerImpl |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneOverlappingEntityTracker.h |
| Include Path | #include "EntitySystem/MovieSceneOverlappingEntityTracker.h" |
Syntax
template<typename OutputType, typename... InputKeyTypes>
struct TOverlappingEntityTrackerImpl
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FOutput |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| KeyType | TOverlappingEntityInput< InputKeyTypes... > | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
| ParamType | typename TCallTraits< KeyType >::ParamType | EntitySystem/MovieSceneOverlappingEntityTracker.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NO_OUTPUT | uint16 | EntitySystem/MovieSceneOverlappingEntityTracker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Destroy
(
HandlerType&& InHandler |
Destroy all the outputs currently being tracked | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
void FindEntityIDs
(
ParamType Key, |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
const OutputType * FindOutput
(
FMovieSceneEntityID EntityID |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
const OutputType * FindOutput
(
ParamType Key |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
bool IsEmpty() |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
bool IsInitialized() |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
bool NeedsRestoration
(
ParamType Key, |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
void ProcessInvalidatedOutputs
(
UMovieSceneEntitySystemLinker* Linker, |
Process any outputs that were invalidated as a result of Update being called using a custom handler. | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
void SetNeedsRestoration
(
ParamType Key, |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
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 | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
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 | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
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 | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
void VisitActiveAllocation
(
const FEntityAllocation* Allocation, |
Update this tracker by (re)linking the specified allocation | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
void VisitLinkedAllocation
(
const FEntityAllocation* Allocation, |
Update this tracker by (re)linking the specified allocation | EntitySystem/MovieSceneOverlappingEntityTracker.h | |
void VisitUnlinkedAllocation
(
const FEntityAllocation* Allocation |
Update this tracker by unlinking the specified allocation | EntitySystem/MovieSceneOverlappingEntityTracker.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearOutputByEntity
(
FMovieSceneEntityID EntityID |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
uint16 CreateOutputByKey
(
ParamType Key |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
uint16 FindOutputByEntity
(
FMovieSceneEntityID EntityID |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
uint16 FindOutputByKey
(
ParamType Key |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
bool IsOutputValid
(
uint16 OutputIndex |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
uint16 MakeOutput
(
FMovieSceneEntityID EntityID, |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
void VisitActiveAllocationImpl
(
const FEntityAllocation* Allocation, |
EntitySystem/MovieSceneOverlappingEntityTracker.h | ||
void VisitUnlinkedAllocationImpl
(
const FEntityAllocation* Allocation |
EntitySystem/MovieSceneOverlappingEntityTracker.h |