Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Description
Inserts a zeroed element into the array at given location.
Caution, InsertZeroed_GetRef() will create an element without calling the constructor and this is not appropriate for element types that require a constructor to function properly.
| Name | InsertZeroed_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
ElementType & InsertZeroed_GetRef
(
SizeType Index
)
A reference to the newly-inserted element.
Parameters
| Name | Remarks |
|---|---|
| Index | Tells where to insert the new element. |
See Also
-
Insert_GetRef