Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeQueue<T>.ReadOnly

A read-only alias for the value of a NativeQueue. Does not have its own allocated storage.
Read time 1 minuteLast updated 7 days ago

Definition

public struct NativeQueue<T>.ReadOnly : IEnumerable<T>, IEnumerable

Properties

Property

Description

CountReturns the current number of elements in this queue.
IsCreatedWhether this container been allocated (and not yet deallocated).
this[]The element at an index.

Methods

Method

Description

GetEnumeratorReturns an enumerator over the items of this container.
IsEmptyReturns true if this queue is empty.