FMX.Ani.InterpolateBack
Delphi
function InterpolateBack(t, B, C, D, S: Single; AType: TAnimationType): Single;
C++
extern DELPHI_PACKAGE float __fastcall InterpolateBack(float t, float B, float C, float D, float S, Fmx::Types::TAnimationType AType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Ani.pas FMX.Ani.hpp |
FMX.Ani | FMX.Ani |
Description
Calculates the new time period for a back interpolation.
InterpolateBack is used by TAnimation to determine TAnimation.NormalizedTime depending on the current time, total TAnimation.Duration, and type of the animation.
t
specifies the time used to compute the current value.
B
is the start value. If B
is not 0, B
periods of time (t
) are skipped.
C
specifies the delta between the start and end values. Give a C
parameter different from 1 to multiply the time to compute the current value. If C
is negative, the animation goes in the opposite direction.
D
specifies the end value of the time period.
S
specifies the overshoot of the animation.
AType
specifies the animation type for which the new time period is calculated.
For TAnimation.NormalizedTime, B
is 0 (no periods are skipped) and C
is 1.
See Also
- FMX.Ani.InterpolateElastic
- FMX.Ani.InterpolateBounce
- FMX.Ani.InterpolateExpo
- FMX.Utils.InterpolateColor
- FMX.Ani.InterpolateQuad
- FMX.Ani.InterpolateCirc
- FMX.Ani.InterpolateSine
- FMX.Ani.InterpolateLinear
- FMX.Ani.InterpolateCubic
- FMX.Ani.InterpolateQuart
- FMX.Utils.InterpolateRotation
- FMX.Ani.InterpolateQuint
- FMX.Utils.InterpolateSingle
- FMX.Ani.TAnimation.NormalizedTime
- FMX.Types.TInterpolationType
- FMX.Ani.TAnimation.AnimationType