Version: 2019.1

NativeSlice<T0>.NativeSlice<T0>Constructor

Switch to Manual
public NativeSlice<T0> (NativeArray<T> array);
public NativeSlice<T0> (NativeArray<T> array, int start);
public NativeSlice<T0> (NativeArray<T> array, int start, int length);

Parameters

arrayNativeArray.
startStart index.
ptrMemory pointer.
lengthLength.

Description

Конструктор.