TArray::TArray

Constructor from a raw array of elements.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Array.h"

Syntax

TArray
(
    const ElementType * Ptr,
    SizeType Count
)

Remarks

Constructor from a raw array of elements.

Parameters

Parameter

Description

Ptr

A pointer to an array of elements to copy.

Count

The number of elements to copy from Ptr.

See Also

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