Click or drag to resize

GestureVelocityTracker Class

Tracks and calculates velocity for gestures
Inheritance Hierarchy
SystemObject
  DigitalRubySharedGestureVelocityTracker

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class GestureVelocityTracker

The GestureVelocityTracker type exposes the following members.

Constructors
  NameDescription
Public methodGestureVelocityTracker
Initializes a new instance of the GestureVelocityTracker class
Top
Properties
  NameDescription
Public propertyElapsedSeconds
Elapsed seconds
Public propertySpeed
Current speed
Public propertyVelocityX
Current x velocity
Public propertyVelocityY
Current y velocity
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Reset velocity state
Public methodRestart
Reset and set previouos pos to nil
Public methodRestart(Single, Single)
Reset and set previous position
Public methodToString (Inherited from Object.)
Public methodUpdate
Update velocity state
Top
See Also