Class VelocityTracker
- Namespace
- DrawnUi.Infrastructure.Helpers
- Assembly
- DrawnUi.Maui.dll
public class VelocityTracker
- Inheritance
-
VelocityTracker
- Inherited Members
- Extension Methods
Constructors
VelocityTracker()
public VelocityTracker()
Methods
AddMovement(float, float)
public void AddMovement(float velocityX, float velocityY)
Parameters
Clear()
public void Clear()
ComputeCurrentVelocity(float)
public Vector2? ComputeCurrentVelocity(float VelocityWeighting = 0.1)
Parameters
VelocityWeightingfloat