Class NativeExtensions
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public static class NativeExtensions
- Inheritance
-
objectNativeExtensions
Methods
ToNativeArray<T>(T[], Allocator)
public static NativeArray<T> ToNativeArray<T>(this T[] array, Allocator allocator) where T : unmanaged
Parameters
arrayT[]allocatorAllocator
Returns
- NativeArray<T>
Type Parameters
T
ToNativeList<TKey, TValue>(Enumerator, Allocator)
public static NativeList<TValue> ToNativeList<TKey, TValue>(this NativeParallelMultiHashMap<TKey, TValue>.Enumerator enumerator, Allocator allocator) where TKey : unmanaged, IEquatable<TKey> where TValue : unmanaged
Parameters
enumeratorNativeParallelMultiHashMap<TKey, TValue>.EnumeratorallocatorAllocator
Returns
- NativeList<TValue>
Type Parameters
TKeyTValue