Method ToNativeArray
ToNativeArray(AllocatorHandle)
Returns an array with a copy of this set's values (in no particular order).
Declaration
public readonly NativeArray<T> ToNativeArray(AllocatorManager.AllocatorHandle allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| AllocatorManager.AllocatorHandle | allocator | The allocator to use. |
Returns
| Type | Description |
|---|---|
| NativeArray<T> | An array with a copy of the set's values. |