Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RemoveAt
(
SizeType Index, |
Removes an element at the given location, optionally shrinking the array. | Containers/Array.h | |
void RemoveAt
(
SizeType Index, |
Removes an element (or elements) at given location, optionally shrinking the array. | Containers/Array.h | |
void RemoveAt
(
SizeType Index, |
Containers/Array.h |
RemoveAt(SizeType, EAllowShrinking)
Description
Removes an element at the given location, optionally shrinking the array.
| Name | RemoveAt |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void RemoveAt
(
SizeType Index,
EAllowShrinking AllowShrinking
)
Parameters
| Name | Remarks |
|---|---|
| Index | Location in array of the element to remove. |
| AllowShrinking | (Optional) By default, arrays with large amounts of slack will automatically shrink. Use FNonshrinkingAllocator or pass EAllowShrinking::No to prevent this. |
RemoveAt(SizeType, CountType, EAllowShrinking)
Description
Removes an element (or elements) at given location, optionally shrinking the array.
| Name | RemoveAt |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<UE::CIntegral CountType>
void RemoveAt
(
SizeType Index,
CountType Count,
EAllowShrinking AllowShrinking
)
Parameters
| Name | Remarks |
|---|---|
| Index | Location in array of the element to remove. |
| Count | (Optional) Number of elements to remove. Default is 1. |
| AllowShrinking | (Optional) By default, arrays with large amounts of slack will automatically shrink. Use FNonshrinkingAllocator or pass EAllowShrinking::No to prevent this. |
RemoveAt(SizeType, CountType, bool)
| Name | RemoveAt |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename CountType>
void RemoveAt
(
SizeType Index,
CountType Count,
bool bAllowShrinking
)