Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FConstStructArrayView
Description
Returns pointer to element at given index. The index MUST be valid. If parametre T is invalid then nullptr will be returned.
| Name | GetPtrAt |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/StructArrayView.h |
| Include Path | #include "StructUtils/StructArrayView.h" |
template<typename T>
T * GetPtrAt
(
const int32 Index
) const
const pointer to indexed element.
Parameters
| Name | Remarks |
|---|---|
| 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. |