UKismetArrayLibrary::Array_Add

Add item to array

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h

Include

#include "Kismet/KismetArrayLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetArrayLibrary.cpp

Syntax

static int32 Array_Add
(
    const TArray< int32 > & TargetArray,
    const int32 & NewItem
)

Remarks

Add item to array

Returns

The index of the newly added item

Parameters

Parameter

Description

TargetArray

The array to add item to

NewItem

The item to add to the array

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