Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TArray > API/Runtime/Core/Containers/TArray/InsertZeroed
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include | #include "Containers/Array.h" |
void InsertZeroed
&40;
SizeType Index
&41;
Remarks
Inserts a given number of zeroed elements into the array at given location.
Caution, InsertZeroed() will create elements without calling the constructor and this is not appropriate for element types that require a constructor to function properly.
Parameters
| Name | Description |
|---|---|
| Index | Tells where to insert the new elements. |
| Count | Number of elements to add. |