Export (0) Print
Expand All

TouchPanel.ReadGesture Method

Reads an available gesture on the touch panel.

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

public static GestureSample ReadGesture ()

Return Value

A GestureSample that represents the next gesture to read.


After reading a gesture, TouchPanel.IsGestureAvailable is true if there are more gestures to read.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft