Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TPagedArray > API/Runtime/Core/Containers/TPagedArray/RemoveAtSwap
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/PagedArray.h |
| Include | #include "Containers/PagedArray.h" |
void RemoveAtSwap
(
SizeType Index,
EAllowShrinking AllowShrinking
)
Remarks
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.