Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
Include |
#include "Containers/ArrayView.h" |
TArrayView Slice
(
SizeType Index,
SizeType InNum
) const
Returns a sliced view The is similar to Mid(), but with a narrow contract, i.e. slicing outside of the range of the view is illegal.
Sliced view
Parameter |
Description |
---|---|
Index |
starting index of the new view |
InNum |
number of elements in the new view |