Skip to content

@orillusion/core


Enumeration: InterpolatorEnum

Defined in: src/math/TimeInterpolator.ts:301

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

AccelerateInterpolator

AccelerateInterpolator: 0

Defined in: src/math/TimeInterpolator.ts:305

Acceleration interpolator, animation acceleration runs to the end.


DecelerateInterpolator

DecelerateInterpolator: 1

Defined in: src/math/TimeInterpolator.ts:309

Slow down interpolator, animation slow down run to end.


AccelerateDecelerateInterpolator

AccelerateDecelerateInterpolator: 2

Defined in: src/math/TimeInterpolator.ts:313

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


LinearInterpolator

LinearInterpolator: 3

Defined in: src/math/TimeInterpolator.ts:317

Linear interpolator, animation uniform motion.


BounceInterpolator

BounceInterpolator: 4

Defined in: src/math/TimeInterpolator.ts:321

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


AnticipateInterpolator

AnticipateInterpolator: 5

Defined in: src/math/TimeInterpolator.ts:325

Step back and then speed up to the end.


AnticipateOvershootInterpolator

AnticipateOvershootInterpolator: 6

Defined in: src/math/TimeInterpolator.ts:329

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


CycleInterpolator

CycleInterpolator: 7

Defined in: src/math/TimeInterpolator.ts:333

Cyclic motion


OvershootInterpolator

OvershootInterpolator: 8

Defined in: src/math/TimeInterpolator.ts:337

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