语言英语
  • C#

NativeArray<T0>.Copy

声明

public static void Copy(NativeArray<T> src, NativeArray<T> dst);

声明

public static void Copy(T[] src, NativeArray<T> dst);

声明

public static void Copy(ReadOnly<T> src, NativeArray<T> dst);

声明

public static void Copy(NativeArray<T> src, T[] dst);

声明

public static void Copy(ReadOnly<T> src, T[] dst);

声明

public static void Copy(NativeArray<T> src, NativeArray<T> dst, int length);

声明

public static void Copy(ReadOnly<T> src, NativeArray<T> dst, int length);

声明

public static void Copy(T[] src, NativeArray<T> dst, int length);

声明

public static void Copy(NativeArray<T> src, T[] dst, int length);

声明

public static void Copy(ReadOnly<T> src, T[] dst, int length);

声明

public static void Copy(NativeArray<T> src, int srcIndex, NativeArray<T> dst, int dstIndex, int length);

声明

public static void Copy(ReadOnly<T> src, int srcIndex, T[] dst, int dstIndex, int length);

声明

public static void Copy(T[] src, int srcIndex, NativeArray<T> dst, int dstIndex, int length);

声明

public static void Copy(NativeArray<T> src, int srcIndex, T[] dst, int dstIndex, int length);

声明

public static void Copy(ReadOnly<T> src, int srcIndex, NativeArray<T> dst, int dstIndex, int length);

参数

src 要复制的数据。
dst 接受数据的数组。
length 表示要复制的元素个数的 32 位整数。该整数必须等于或大于零。
srcIndex 表示 src 数组中开始复制的索引的 32 位整数。
dstIndex 表示 dst 数组中开始存储的索引的 32 位整数。

说明

将源数组中一系列元素复制到目标数组,从源索引开始,将它们复制到目标索引。


Did you find this page useful? Please give it a rating: