AddRangeNoResize
Appends elements from a buffer to the end of this list.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
AddRangeNoResize(void*, int)
Appends elements from a buffer to the end of this list.
public void AddRangeNoResize(void* ptr, int count)
Parameters
Remarks
Length is increased by the count. Will not increase the capacity.
AddRangeNoResize(ReadOnlySpan<T>)
Copies elements from a ReadOnlySpan to the end of this list.
public void AddRangeNoResize(ReadOnlySpan<T> roSpan)
Parameters
ReadOnlySpan to copy from.
AddRangeNoResize(NativeList<T>)
Appends the elements of another list to the end of this list.
public void AddRangeNoResize(NativeList<T> list)
Parameters
The other list to copy from.
Remarks
Length is increased by the length of the other list. Will not increase the capacity.