Class VelocityTracker
Inheritance
System.Object
VelocityTracker
Namespace: Unity.UIWidgets.gestures
Syntax
public class VelocityTracker
Methods
addPosition(TimeSpan, Offset)
Declaration
public void addPosition(TimeSpan time, Offset position)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | time | |
Offset | position |
getVelocity()
Declaration
public Velocity getVelocity()
Returns
Type | Description |
---|---|
Velocity |
getVelocityEstimate()
Declaration
public VelocityEstimate getVelocityEstimate()
Returns
Type | Description |
---|---|
VelocityEstimate |