Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TPagedArray
Description
Removes the element at the parameter index position and swaps the last element if existent to the same position to ensure the range is contiguous. This method provides efficient removal O(1) but it doesn't preserve the insertion order.
| Name | RemoveAtSwap |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/PagedArray.h |
| Include Path | #include "Containers/PagedArray.h" |
void RemoveAtSwap
(
SizeType Index,
EAllowShrinking AllowShrinking
)