EasingFunction

EasingFunction()

Easing functions for use with TweenCollection. These function are from Tween.js and Robert Penner. See the Tween.js graphs for each function.

Members

staticconstantCesium.EasingFunction.BACK_IN : EasingFunction~Callback

Back in.

staticconstantCesium.EasingFunction.BACK_IN_OUT : EasingFunction~Callback

Back in then out.

staticconstantCesium.EasingFunction.BACK_OUT : EasingFunction~Callback

Back out.

staticconstantCesium.EasingFunction.BOUNCE_IN : EasingFunction~Callback

Bounce in.

staticconstantCesium.EasingFunction.BOUNCE_IN_OUT : EasingFunction~Callback

Bounce in then out.

staticconstantCesium.EasingFunction.BOUNCE_OUT : EasingFunction~Callback

Bounce out.

staticconstantCesium.EasingFunction.CIRCULAR_IN : EasingFunction~Callback

Circular in.

staticconstantCesium.EasingFunction.CIRCULAR_IN_OUT : EasingFunction~Callback

Circular in then out.

staticconstantCesium.EasingFunction.CIRCULAR_OUT : EasingFunction~Callback

Circular out.

staticconstantCesium.EasingFunction.CUBIC_IN : EasingFunction~Callback

Cubic in.

staticconstantCesium.EasingFunction.CUBIC_IN_OUT : EasingFunction~Callback

Cubic in then out.

staticconstantCesium.EasingFunction.CUBIC_OUT : EasingFunction~Callback

Cubic out.

staticconstantCesium.EasingFunction.ELASTIC_IN : EasingFunction~Callback

Elastic in.

staticconstantCesium.EasingFunction.ELASTIC_IN_OUT : EasingFunction~Callback

Elastic in then out.

staticconstantCesium.EasingFunction.ELASTIC_OUT : EasingFunction~Callback

Elastic out.

staticconstantCesium.EasingFunction.EXPONENTIAL_IN : EasingFunction~Callback

Exponential in.

staticconstantCesium.EasingFunction.EXPONENTIAL_IN_OUT : EasingFunction~Callback

Exponential in then out.

staticconstantCesium.EasingFunction.EXPONENTIAL_OUT : EasingFunction~Callback

Exponential out.

staticconstantCesium.EasingFunction.LINEAR_NONE : EasingFunction~Callback

Linear easing.

staticconstantCesium.EasingFunction.QUADRACTIC_IN : EasingFunction~Callback

Quadratic in.

staticconstantCesium.EasingFunction.QUADRACTIC_IN_OUT : EasingFunction~Callback

Quadratic in then out.

staticconstantCesium.EasingFunction.QUADRACTIC_OUT : EasingFunction~Callback

Quadratic out.

staticconstantCesium.EasingFunction.QUARTIC_IN : EasingFunction~Callback

Quartic in.

staticconstantCesium.EasingFunction.QUARTIC_IN_OUT : EasingFunction~Callback

Quartic in then out.

staticconstantCesium.EasingFunction.QUARTIC_OUT : EasingFunction~Callback

Quartic out.

staticconstantCesium.EasingFunction.QUINTIC_IN : EasingFunction~Callback

Quintic in.

staticconstantCesium.EasingFunction.QUINTIC_IN_OUT : EasingFunction~Callback

Quintic in then out.

staticconstantCesium.EasingFunction.QUINTIC_OUT : EasingFunction~Callback

Quintic out.

staticconstantCesium.EasingFunction.SINUSOIDAL_IN : EasingFunction~Callback

Sinusoidal in.

staticconstantCesium.EasingFunction.SINUSOIDAL_IN_OUT : EasingFunction~Callback

Sinusoidal in then out.

staticconstantCesium.EasingFunction.SINUSOIDAL_OUT : EasingFunction~Callback

Sinusoidal out.

Type Definitions

Callback(time)Number

Function interface for implementing a custom easing function.
Name Type Description
time Number The time in the range [0, 1].
Returns:
The value of the function at the given time.
Examples:
function quadraticIn(time) {
    return time * time;
}
function quadraticOut(time) {
    return time * (2.0 - time);
}