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