Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AsNativeArray<T>()

Returns a native array that aliases the content of this array.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeArray<T> AsNativeArray<T>() where T : unmanaged

Returns

Type

Description

NativeArray<T>A native array that aliases the content of this array.