TArray::SetNum

Syntax

void SetNum
(
    int32 NewNum,
    bool bAllowShrinking
)

Remarks

Resizes array to given number of elements.

Parameters

Parameter

Description

NewNum

New size of the array.

bAllowShrinking

Tell if this function can shrink the memory in-use if suitable.

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h