Table of Contents

Struct TouchCollection.Enumerator

Namespace
Microsoft.Xna.Framework.Input.Touch
Assembly
MonoGame.Framework.dll

Provides the ability to iterate through the TouchLocations in an TouchCollection.

public struct TouchCollection.Enumerator : IEnumerator<TouchLocation>, IEnumerator, IDisposable
Implements
Inherited Members

Properties

Current

Gets the current element in the TouchCollection.

public TouchLocation Current { get; }

Property Value

TouchLocation

Methods

Dispose()

Immediately releases the unmanaged resources used by this object.

public void Dispose()

MoveNext()

Advances the enumerator to the next element of the TouchCollection.

public bool MoveNext()

Returns

bool

Reset()

public void Reset()