Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Evaluation
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvaluationTree.h |
Include | #include "Evaluation/MovieSceneEvaluationTree.h" |
Syntax
template<typename ElementType>
struct TEvaluationTreeEntryContainer
Remarks
Sub-divided container type that allocates smaller 'buckets' of capacity within a single allocation. New entries, or entries needing additional capacity are reallocated at the end of the array to avoid reallocation or shuffling. Memory footprint can be compacted once the container is fully built using TEvaluationTreeEntryContainer::Compact Designed specifically to solve allocation cost incurred when compiling very large trees of sequence data. Restrictions: Container can only ever add entries, never remove
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Add
(
FEvaluationTreeEntryHandle ID, |
Add a new element to the entry contents with the specified identifier |
![]() |
FEvaluationTreeEntryHandle | AllocateEntry
(
int32 InitialCapacity |
Allocate a new entry of the specified capacity. |
![]() |
void | Compact () |
Compress the item array to remove any unused capacity. |
![]() |
TArrayView< ElementType > | Get
(
FEvaluationTreeEntryHandle ID |
Access the entry contents corresponding to the specified ID |
![]() ![]() |
TArrayView< const ElementType > | Get
(
FEvaluationTreeEntryHandle ID |
Const access to the entry contents corresponding to the specified ID |
![]() |
void | Insert
(
FEvaluationTreeEntryHandle ID, |
Insert a new element to the entry with the specified identifier at a specific index within the entry |
![]() |
void | Reset () |
Reset this container to its default state |