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