Documentation

Unity Engine

Unity Engine

ToNativeArray(AllocatorHandle)

Returns an array with a copy of this set's values (in no particular order).
Read time 1 minuteLast updated a month ago

Definition

public NativeArray<T> ToNativeArray(AllocatorManager.AllocatorHandle allocator)

Parameters

The allocator to use.

Returns

Type

Description

NativeArray<T>An array with a copy of the set's values.