ReadsGestures
Introduction
The ReadsGestures variable controls whether the FlatRedBall TouchScreen instance automatically reads gestures from the XNA/MonoGame TouchPanel. This value is true by default. This means that game code will not be able to read from the native MonoGame's TouchPanel since FlatRedBall has already read the gestures (a read clears out the information). If you would like to use MonoGame code to read gestures, then set the ReadGestures to false.
Code Example
You can read gestures either from XNA or FRB. The following two blocks of code show the two options you have for reading gestures:
Reading gestures from FlatRedBall InputManager
Reading gestures from MonoGame TouchPanel
Last updated
Was this helpful?