The starting values to tween from.
The ending values to tween to.
The normalized position value (between 0.0
and 1.0
) to interpolate the
values between from
and to
for. from
represents 0
and to
represents 1
.
The easing curve(s) to calculate the midpoint against. You can reference any easing function attached to easing, or provide the EasingFunction(s) directly.
Optional delay to pad the beginning of the interpolated tween with. This
increases the range of position
from (0
through 1
) to (0
through
1 + delay
). So, a delay of 0.5
would increase all valid values of
position
to numbers between 0
and 1.5
.
Generated using TypeDoc
Compute the midpoint of two Objects. This method effectively calculates a specific frame of animation that tween does many times over the course of a full tween.