Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Description
Same as empty, but doesn't change memory allocations, unless the new size is larger than the current array. It calls the destructors on held items if needed and then zeros the ArrayNum.
| Name | Reset |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void Reset
(
SizeType NewSize
)
Parameters
| Name | Remarks |
|---|---|
| NewSize | The expected usage size after calling this function. |