FScriptArrayHelper::EmptyValues

Remove all values from the array, calling destructors, etc as appropriate.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Syntax

void EmptyValues
(
    int32 Slack
)

Remarks

Remove all values from the array, calling destructors, etc as appropriate.

Parameters

Parameter

Description

Slack

used to presize the array for a subsequent add, to avoid reallocation.

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