ドキュメント

Unity Engine

Download Unity

Unity Engine

RemoveRangeSwapBack(int, int)

Removes the specified number of elements, starting with the element at the specified index. It replaces the elements that were removed with a range of elements from the back of the buffer. This is more efficient than moving all elements following the removed elements, but does change the order of elements in the buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void RemoveRangeSwapBack(int index, int count)

Parameters

index

The first element to remove.

count

How many elements tot remove.

Remarks

The buffer capacity remains unchanged.