FScriptArrayHelper::Resize

Add or remove elements to set the array to a given size.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

void Resize
(
    int32 Count
)

Remarks

Add or remove elements to set the array to a given size.

Parameters

Parameter

Description

Count

the number of items the array will have on completion.