ToArray()
Convert the data in a NativeArray<T>.ReadOnly to a managed array.
読み終わるまでの所要時間 1 分最終更新 7日前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public readonly T[] ToArray()
Returns
Type | Description |
|---|---|
| <T>[] | A new managed array with the same contents as the given NativeArray<T>.ReadOnly. |