![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SparseArray.h>
Public Attributes | ||
| ElementType | ElementData | |
| struct { | ||
| int32 PrevFreeIndex | ||
| int32 NextFreeIndex | ||
| }; | ||
Allocated elements are overlapped with free element info in the element list.
| struct { ... } TSparseArrayElementOrFreeListLink< ElementType > |
| ElementType TSparseArrayElementOrFreeListLink< ElementType >::ElementData |
If the element is allocated, its value is stored here.
| int32 TSparseArrayElementOrFreeListLink< ElementType >::NextFreeIndex |
If the element isn't allocated, this is a link to the next element in the array's free list.
| int32 TSparseArrayElementOrFreeListLink< ElementType >::PrevFreeIndex |
If the element isn't allocated, this is a link to the previous element in the array's free list.