Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include | #include "Containers/SparseArray.h" |
Syntax
template<typename ElementType>
union TSparseArrayElementOrFreeListLink
Remarks
Allocated elements are overlapped with free element info in the element list.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSparseArrayElementOrFreeListLink | |||
| ElementType | ElementData | If the element is allocated, its value is stored here. | |
| int32 | NextFreeIndex | If the element isn't allocated, this is a link to the next element in the array's free list. | |
| int32 | PrevFreeIndex | If the element isn't allocated, this is a link to the previous element in the array's free list. |