Length
The count of elements.
Read time 1 minuteLast updated 12 days ago
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.