ドキュメント

Unity Engine

Unity Engine

CopyFrom

Copies all elements of specified container to array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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

Container to copy to.

An container to copy into this array.

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.