Table of Contents

Struct PanFlingMath.Result

Namespace
LansMap.Core.Control

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

velDpX double

Remaining x velocity in dp/s.

velDpY double

Remaining y velocity in dp/s.

stopped bool

True when the fling should halt.

Fields

Stopped

True when speed is at or below the stop threshold.

public readonly bool Stopped

Field Value

bool

StoppedResult

Zero velocity, already stopped.

public static readonly PanFlingMath.Result StoppedResult

Field Value

PanFlingMath.Result

VelDpX

Remaining fling velocity in dp/s.

public readonly double VelDpX

Field Value

double

VelDpY

Remaining fling velocity in dp/s.

public readonly double VelDpY

Field Value

double