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