Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Input.GestureConfig Class Referenceabstract

This represents the base class for all gesture configuration. More...

Inheritance diagram for SiliconStudio.Paradox.Input.GestureConfig:
SiliconStudio.Paradox.Input.GestureConfigComposite SiliconStudio.Paradox.Input.GestureConfigDrag SiliconStudio.Paradox.Input.GestureConfigFlick SiliconStudio.Paradox.Input.GestureConfigLongPress SiliconStudio.Paradox.Input.GestureConfigTap

Properties

GestureType AssociatedGestureType [get, set]
 Specify the GestureType corresponding to this configuration. More...
 
int RequiredNumberOfFingers [get, set]
 This value represents the required number of simultaneous finger to tap to trigger the gesture. For example: 1 for single finger, and so on... More...
 

Detailed Description

This represents the base class for all gesture configuration.

Gesture configurations cannot be modified after being added to the input system for gesture recognition. Doing so will throw an InvalidOperationException.

Gesture Recognizers work with normalized coordinates belonging to [0,1]x[0,1/screenRatio] so distances, speeds and margin errors need to be expressed relatively to this coordinates system.

Definition at line 18 of file GestureConfig.cs.

Property Documentation

GestureType SiliconStudio.Paradox.Input.GestureConfig.AssociatedGestureType
getset

Specify the GestureType corresponding to this configuration.

Definition at line 23 of file GestureConfig.cs.

int SiliconStudio.Paradox.Input.GestureConfig.RequiredNumberOfFingers
getset

This value represents the required number of simultaneous finger to tap to trigger the gesture. For example: 1 for single finger, and so on...

This value is strictly positive.

Exceptions
ArgumentOutOfRangeExceptionThe given value is not in the allowed range.
InvalidOperationExceptionTried to modify the configuration after it has been frozen by the system.

Definition at line 45 of file GestureConfig.cs.


The documentation for this class was generated from the following file: