AsNativeArray<T>()
Returns a native array that aliases the content of this array.
阅读时间1 分钟最后更新于 1 个月前
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. |