TIndirectArray::RemoveAt

Removes an element (or elements) at given location optionally shrinking the array.

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

void RemoveAt
(
    int32 Index,
    int32 Count,
    bool bAllowShrinking
)

Remarks

Removes an element (or elements) at given location optionally shrinking the array.

Parameters

Parameter

Description

Index

Location in array of the element to remove.

Count

(Optional) Number of elements to remove. Default is 1.

bAllowShrinking

(Optional) Tells if this call can shrink array if suitable after remove. Default is true.