Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArrayView
Description
Returns a sliced view This is similar to Mid(), but with a narrow contract, i.e. slicing outside of the range of the view is illegal.
| Name | Slice |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
TArrayView Slice
(
SizeType Index,
SizeType InNum
) const
Sliced view
Parameters
| Name | Remarks |
|---|---|
| Index | starting index of the new view |
| InNum | number of elements in the new view |
See Also
- Mid