Struct PanFlingMath.Result
One decay step's remaining velocity, or a stopped fling.
public readonly struct PanFlingMath.Result
- Inherited Members
Constructors
Result(double, double, bool)
Creates a decay result.
public Result(double velDpX, double velDpY, bool stopped)
Parameters
velDpXdoubleRemaining x velocity in dp/s.
velDpYdoubleRemaining y velocity in dp/s.
stoppedboolTrue when the fling should halt.
Fields
Stopped
True when speed is at or below the stop threshold.
public readonly bool Stopped
Field Value
StoppedResult
Zero velocity, already stopped.
public static readonly PanFlingMath.Result StoppedResult
Field Value
VelDpX
Remaining fling velocity in dp/s.
public readonly double VelDpX
Field Value
VelDpY
Remaining fling velocity in dp/s.
public readonly double VelDpY