Struct UnsafeList<T>.ReadOnly
A read only for an UnsafeList<T>.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: solution.dll
Syntax
public struct UnsafeList<T>.ReadOnly
Remarks
Use AsReadOnly() to create a read only for a list.
Fields
| Name | Description |
|---|---|
| Length | The number of elements. |
| Ptr | The internal buffer of the list. |
Methods
| Name | Description |
|---|---|
| GetEnumerator() | Returns an enumerator over the elements of the list. |