Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.