CopyFrom
Copies all the elements from a NativeArray<T> or a managed array of the same length.
読み終わるまでの所要時間 1 分最終更新 6日前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
CopyFrom(`0[])
Copies all the elements from a NativeArray<T> or a managed array of the same length.
public readonly void CopyFrom(T[] array)
Parameters
The array to copy elements from.
CopyFrom(NativeArray<T>)
Copies all the elements from a NativeArray<T> or a managed array of the same length.
public readonly void CopyFrom(NativeArray<T> array)
Parameters
The array to copy elements from.