AsReadOnly()
Returns a readonly version of this NativeBitArray instance.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeBitArray.ReadOnly AsReadOnly()
Returns
Type | Description |
|---|---|
| ReadOnly | ReadOnly instance for this. |
Remarks
ReadOnly containers point to the same underlying data as the NativeBitArray it is made from.