Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > StructUtils > FConstStructArrayView
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/StructArrayView.h |
Include | #include "StructUtils/StructArrayView.h" |
template<typename T>
TEnableIf < TIsConst < T >::Value , T * >::Type GetPtrAt
(
const int32 Index
) const
Remarks
Returns pointer to element at given index. The index MUST be valid. If parametre T is invalid then nullptr will be returned. const pointer to indexed element.
Parameters
Name | Description |
---|---|
Index | Index of element |
T | Type of stuct, this must either be the type or a parent type of the struct type in the array. |