FScriptArrayHelper::EmptyAndAddUninitializedValues

Empty the array, then add uninitialized values to a given size.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Syntax

void EmptyAndAddUninitializedValues
(
    int32 Count
)

Remarks

Empty the array, then add uninitialized values to a given size.

Parameters

Parameter

Description

Count

the number of items the array will have on completion.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss