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