TIndirectArray::Add

Adds a new item to the end of the array, possibly reallocating the whole array to fit.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/IndirectArray.h

Include

#include "Containers/IndirectArray.h"

Syntax

int32 Add
(
    T * Item
)

Remarks

Adds a new item to the end of the array, possibly reallocating the whole array to fit.

Returns

Index to the new item.

Parameters

Parameter

Description

Item

The item to add.