Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType AddDefaulted () |
Adds new items to the end of the array, possibly reallocating the whole array to fit. | Containers/Array.h | |
SizeType AddDefaulted
(
SizeType Count |
Containers/Array.h |
AddDefaulted()
Description
Adds new items to the end of the array, possibly reallocating the whole array to fit. The new items will be default-constructed.
| Name | AddDefaulted |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddDefaulted()
Index to the first of the new items.
Parameters
| Name | Remarks |
|---|---|
| Count | The number of new items to add. |
See Also
-
Add
-
AddZeroed
-
AddUnique
-
Append
-
Insert
AddDefaulted(SizeType)
| Name | AddDefaulted |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddDefaulted
(
SizeType Count
)