Photon Fusion 2.0.4

Public Member Functions | Public Attributes | Properties | List of all members
FixedArray< T >.Enumerator Struct Reference

Enumerator for the FixedArray struct. More...

Inherits IEnumerator< T >.

Public Member Functions

void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
 Enumerator (FixedArray< T > array)
 Initializes a new instance of the Enumerator struct. More...
 
bool MoveNext ()
 Advances the enumerator to the next element of the collection. More...
 
void Reset ()
 Sets the enumerator to its initial position, which is before the first element in the collection. More...
 

Public Attributes

FixedArray< T > _array
 
int _index
 

Properties

Current [get]
 Gets the current element in the collection. More...
 
object IEnumerator. Current [get]
 

Detailed Description

Enumerator for the FixedArray struct.

Constructor & Destructor Documentation

◆ Enumerator()

Enumerator ( FixedArray< T >  array)

Initializes a new instance of the Enumerator struct.

Parameters
arrayThe FixedArray instance to enumerate.

Member Function Documentation

◆ Dispose()

void Dispose ( )

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

◆ MoveNext()

bool MoveNext ( )

Advances the enumerator to the next element of the collection.

Returns
True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

◆ Reset()

void Reset ( )

Sets the enumerator to its initial position, which is before the first element in the collection.

Property Documentation

◆ Current

T Current
get

Gets the current element in the collection.