Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetNum
(
SizeType NewNum, |
Resizes array to given number of elements. | Containers/Array.h | |
void SetNum
(
SizeType NewNum, |
Containers/Array.h |
SetNum(SizeType, EAllowShrinking)
Description
Resizes array to given number of elements.
| Name | SetNum |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void SetNum
(
SizeType NewNum,
EAllowShrinking AllowShrinking
)
Parameters
| Name | Remarks |
|---|---|
| NewNum | New size of the array. |
| AllowShrinking | Tell if this function can shrink the memory in-use if suitable. |
SetNum(SizeType, bool)
| Name | SetNum |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void SetNum
(
SizeType NewNum,
bool bAllowShrinking
)