Skip to content

Enumeration: InterpolatorEnum

Interpolator enumeration

NameDescribe
AccelerateInterpolatorAcceleration interpolator, animation acceleration runs to the end.
DecelerateInterpolatorSlow down interpolator, animation slow down run to end.
AccelerateDecelerateInterpolatorAcceleration and deceleration interpolator, animation first speed up and then decelerate.
LinearInterpolatorLinear interpolator, animation uniform motion.
BounceInterpolatorElastic interpolator, before the end of the animation will have an elastic animation effect.
AnticipateInterpolatorStep back and then speed up to the end.
AnticipateOvershootInterpolatorTake a small step back, then speed up, then go a little beyond the finish line and then come back.
CycleInterpolatorcyclic motion
OvershootInterpolatorFinish the animation quickly, go a little beyond the end point and then go back to the end point.

Enumeration Members

Enumeration Members

AccelerateInterpolator

AccelerateInterpolator = 0

Acceleration interpolator, animation acceleration runs to the end.

Defined in

src/math/TimeInterpolator.ts:305


DecelerateInterpolator

DecelerateInterpolator = 1

Slow down interpolator, animation slow down run to end.

Defined in

src/math/TimeInterpolator.ts:309


AccelerateDecelerateInterpolator

AccelerateDecelerateInterpolator = 2

Acceleration and deceleration interpolator, animation first speed up and then decelerate.

Defined in

src/math/TimeInterpolator.ts:313


LinearInterpolator

LinearInterpolator = 3

Linear interpolator, animation uniform motion.

Defined in

src/math/TimeInterpolator.ts:317


BounceInterpolator

BounceInterpolator = 4

Elastic interpolator, before the end of the animation will have an elastic animation effect.

Defined in

src/math/TimeInterpolator.ts:321


AnticipateInterpolator

AnticipateInterpolator = 5

Step back and then speed up to the end.

Defined in

src/math/TimeInterpolator.ts:325


AnticipateOvershootInterpolator

AnticipateOvershootInterpolator = 6

Take a small step back, then speed up, then go a little beyond the finish line and then come back.

Defined in

src/math/TimeInterpolator.ts:329


CycleInterpolator

CycleInterpolator = 7

Cyclic motion

Defined in

src/math/TimeInterpolator.ts:333


OvershootInterpolator

OvershootInterpolator = 8

Finish the animation quickly, go a little beyond the end point and then go back to the end point.

Defined in

src/math/TimeInterpolator.ts:337