Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSparseArrayBase
Description
Compacts the allocated elements into a contiguous index range. Returns true if any elements were relocated, false otherwise.
| Name | Compact |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include Path | #include "Containers/SparseArray.h" |
bool Compact()