# EasingFunction

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

### Members

#### static constant Cesium.EasingFunction.BACK_IN : EasingFunction.Callback
Core/EasingFunction.js 201

Back in.

#### static constant Cesium.EasingFunction.BACK_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 215

Back in then out.

#### static constant Cesium.EasingFunction.BACK_OUT : EasingFunction.Callback
Core/EasingFunction.js 208

Back out.

#### static constant Cesium.EasingFunction.BOUNCE_IN : EasingFunction.Callback
Core/EasingFunction.js 223

Bounce in.

#### static constant Cesium.EasingFunction.BOUNCE_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 237

Bounce in then out.

#### static constant Cesium.EasingFunction.BOUNCE_OUT : EasingFunction.Callback
Core/EasingFunction.js 230

Bounce out.

#### static constant Cesium.EasingFunction.CIRCULAR_IN : EasingFunction.Callback
Core/EasingFunction.js 157

Circular in.

#### static constant Cesium.EasingFunction.CIRCULAR_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 171

Circular in then out.

#### static constant Cesium.EasingFunction.CIRCULAR_OUT : EasingFunction.Callback
Core/EasingFunction.js 164

Circular out.

#### static constant Cesium.EasingFunction.CUBIC_IN : EasingFunction.Callback
Core/EasingFunction.js 47

Cubic in.

#### static constant Cesium.EasingFunction.CUBIC_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 61

Cubic in then out.

#### static constant Cesium.EasingFunction.CUBIC_OUT : EasingFunction.Callback
Core/EasingFunction.js 54

Cubic out.

#### static constant Cesium.EasingFunction.ELASTIC_IN : EasingFunction.Callback
Core/EasingFunction.js 179

Elastic in.

#### static constant Cesium.EasingFunction.ELASTIC_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 193

Elastic in then out.

#### static constant Cesium.EasingFunction.ELASTIC_OUT : EasingFunction.Callback
Core/EasingFunction.js 186

Elastic out.

#### static constant Cesium.EasingFunction.EXPONENTIAL_IN : EasingFunction.Callback
Core/EasingFunction.js 135

Exponential in.

#### static constant Cesium.EasingFunction.EXPONENTIAL_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 149

Exponential in then out.

#### static constant Cesium.EasingFunction.EXPONENTIAL_OUT : EasingFunction.Callback
Core/EasingFunction.js 142

Exponential out.

#### static constant Cesium.EasingFunction.LINEAR_NONE : EasingFunction.Callback
Core/EasingFunction.js 17

Linear easing.

#### static constant Cesium.EasingFunction.QUADRATIC_IN : EasingFunction.Callback
Core/EasingFunction.js 25

Quadratic in.

#### static constant Cesium.EasingFunction.QUADRATIC_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 39

Quadratic in then out.

#### static constant Cesium.EasingFunction.QUADRATIC_OUT : EasingFunction.Callback
Core/EasingFunction.js 32

Quadratic out.

#### static constant Cesium.EasingFunction.QUARTIC_IN : EasingFunction.Callback
Core/EasingFunction.js 69

Quartic in.

#### static constant Cesium.EasingFunction.QUARTIC_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 83

Quartic in then out.

#### static constant Cesium.EasingFunction.QUARTIC_OUT : EasingFunction.Callback
Core/EasingFunction.js 76

Quartic out.

#### static constant Cesium.EasingFunction.QUINTIC_IN : EasingFunction.Callback
Core/EasingFunction.js 91

Quintic in.

#### static constant Cesium.EasingFunction.QUINTIC_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 105

Quintic in then out.

#### static constant Cesium.EasingFunction.QUINTIC_OUT : EasingFunction.Callback
Core/EasingFunction.js 98

Quintic out.

#### static constant Cesium.EasingFunction.SINUSOIDAL_IN : EasingFunction.Callback
Core/EasingFunction.js 113

Sinusoidal in.

#### static constant Cesium.EasingFunction.SINUSOIDAL_IN_OUT : EasingFunction.Callback
Core/EasingFunction.js 127

Sinusoidal in then out.

#### static constant Cesium.EasingFunction.SINUSOIDAL_OUT : EasingFunction.Callback
Core/EasingFunction.js 120

Sinusoidal out.

### Type Definitions

#### Cesium.EasingFunction.Callback(time) → Number
Core/EasingFunction.js 240

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);
    }