TArray::SetNumUnsafeInternal

Syntax

void SetNumUnsafeInternal
(
    int32 NewNum
)

Remarks

Does nothing except setting the new number of elements in the array. Does not destruct items, does not de-allocate memory.

Parameters

Parameter

Description

NewNum

New number of elements in the array, must be <= the current number of elements in the array.

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h