CopyFrom
Copies all elements of specified container to array.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
CopyFrom<T>(NativeArray<T>, NativeList<T>)
Copies all elements of specified container to array.
public static void CopyFrom<T>(this ref NativeArray<T> container, NativeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
CopyFrom<T>(NativeArray<T>, NativeHashSet<T>)
Copies all elements of specified container to array.
public static void CopyFrom<T>(this ref NativeArray<T> container, in NativeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
Container to copy to.
An container to copy into this array.
CopyFrom<T>(NativeArray<T>, UnsafeHashSet<T>)
Copies all elements of specified container to array.
public static void CopyFrom<T>(this ref NativeArray<T> container, in UnsafeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
Container to copy to.
An container to copy into this array.