TArray::Init

Syntax

void Init
(
    const ElementType & Element,
    int32 Number
)

Remarks

Sets the size of the array, filling it with the given element.

Parameters

Parameter

Description

Element

The element to fill array with.

Number

The number of elements that the array should be able to contain after allocation.

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h