ToArray(AllocatorHandle)
Returns an array containing a copy of this queue's content.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeArray<T> ToArray(AllocatorManager.AllocatorHandle allocator)
Parameters
The allocator to use.
Returns
Type | Description |
|---|---|
| NativeArray<T> | An array containing a copy of this queue's content. The elements are ordered in the same order they were enqueued, "e.g." the earliest enqueued element is copied to index 0 of the array. |