FChunkedFixedUObjectArray::PreAllocate

Expands the array so that Element[Index] is allocated. New pointers are all zero.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectArray.h"

Syntax

void PreAllocate
(
    int32 InMaxElements,
    bool bPreAllocateChunks
)

Remarks

Expands the array so that Element[Index] is allocated. New pointers are all zero.

Parameters

Parameter

Description

Index

The Index of an element we want to be sure is allocated

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