FMX.InertialMovement.TAniCalculations.Averaging
Delphi
property Averaging: Boolean read FAveraging write FAveraging default False;
C++
__property bool Averaging = {read=FAveraging, write=FAveraging, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TAniCalculations |
Description
Specifies whether to average an inertial moving velocity taking into account all existing points on a trajectory.
Averaging specifies whether to average an inertial moving velocity:
- If False, then an inertial moving velocity is calculated taking into account only the last 2 or 3 received trajectory points.
- If True, then an inertial moving velocity is calculated as average for all trajectory points received during the StorageTime.
- Note: Averaging is set to True when the user uses the finger to manage the inertial moving. For example, MouseDown checks the TShiftState for ssTouch to set Averaging to True in the AniMouseDown method.