Interface INativeList<T>
A resizable list.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public interface INativeList<T> : IIndexable<T> where T : unmanaged
Type Parameters
Name | Description |
---|---|
T | The type of the elements. |
Properties
Name | Description |
---|---|
Capacity | The number of elements that fit in the current allocation. |
IsEmpty | Whether this list is empty. |
this[int] | The element at an index. |
Methods
Name | Description |
---|---|
Clear() | Sets the length to 0. |