ドキュメント

Unity Engine

Unity Engine

Length

The count of elements.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Length { readonly get; set; }

Remarks

To decrease the memory used by a list, set NativeList<T>.Capacity after reducing the length of the list.