INativeList<T>
A resizable list.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Interface
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public interface INativeList<T> : IIndexable<T> where T : unmanaged
Properties
Property | Description |
|---|---|
| Capacity | The number of elements that fit in the current allocation. |
| IsEmpty | Whether this list is empty. |
| this[] | The element at an index. |
Methods
Method | Description |
|---|---|
| Clear | Sets the length to 0. |