Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType AddZeroed () |
Adds new items to the end of the array, possibly reallocating the whole array to fit. | Containers/Array.h | |
SizeType AddZeroed
(
SizeType Count |
Containers/Array.h |
AddZeroed()
Description
Adds new items to the end of the array, possibly reallocating the whole array to fit. The new items will be zeroed.
Caution, AddZeroed() will create elements without calling the constructor and this is not appropriate for element types that require a constructor to function properly.
| Name | AddZeroed |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddZeroed()
Index to the first of the new items.
Parameters
| Name | Remarks |
|---|---|
| Count | The number of new items to add. |
See Also
-
Add
-
AddDefaulted
-
AddUnique
-
Append
-
Insert
AddZeroed(SizeType)
| Name | AddZeroed |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddZeroed
(
SizeType Count
)