Documentation

Unity Engine

Unity Engine

CopyFrom

Copies all the elements from the specified native array into this dynamic buffer.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

CopyFrom(NativeArray<T>)

Copies all the elements from the specified native array into this dynamic buffer.
public void CopyFrom(NativeArray<T> v)

Parameters

The native array containing the elements to copy.

CopyFrom(NativeSlice<T>)

Copies all the elements from the specified native slice into this dynamic buffer.
public void CopyFrom(NativeSlice<T> v)

Parameters

The native slice containing the elements to copy.

CopyFrom(DynamicBuffer<T>)

Copies all the elements from another dynamic buffer.
public void CopyFrom(DynamicBuffer<T> v)

Parameters

The dynamic buffer containing the elements to copy.

CopyFrom(`0[])

Copies all the elements from an array.
public void CopyFrom(T[] v)

Parameters

A C# array containing the elements to copy.