NativeArray<T0>.GetSubArray

Declaration

public NativeArray<T> GetSubArray(int start, int length);

Parameters

start The start index of the sub array.
length The length of the sub array.

Returns

NativeArray<T> A view into the array that aliases the original array, which can't be disposed.

Description

Gets a view into an array starting at the specified index.


Did you find this page useful? Please give it a rating: