NativeArray<T0>.NativeArray<T0>Constructor

Cambiar al Manual
public NativeArray<T0> (T[] array, Unity.Collections.Allocator allocator);
public NativeArray<T0> (NativeArray<T> array, Unity.Collections.Allocator allocator);

Parámetros

lengthArray length.
allocatorAllocator.
clearMemoryShould clear memory?
arraySource array to copy elements from.

Descripción

Create NativeArray.