Export (0) Print
Expand All

TouchCollection Structure

XNA Game Studio 3.1
This structure is available only when developing for Zune.
Provides methods and properties for accessing state information for the touch screen of a Zune device.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public struct TouchCollection : IList<TouchLocation>, ICollection<TouchLocation>, IEnumerable<TouchLocation>, IEnumerable

This structure contains information on the current state of all touch locations detected by the touch device. This information consists of:

  • Positions of up to 8 touch locations.
  • Amount of pressure for each touch location.
  • Previous position, if any, of the current touch locations.

Community Additions

© 2014 Microsoft