This version of Unity is unsupported.

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. Cannot be disposed.

Description

Return a view into the array starting at the specified index.