EasingFunction - Cesium Documentation

# EasingFunction

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

Source: Core/EasingFunction.js, line 18

### Members

#### staticconstantEasingFunction.BACK_IN :EasingFunction~Callback

  Back in.
  Source: Core/EasingFunction.js, line 209

#### staticconstantEasingFunction.BACK_IN_OUT :EasingFunction~Callback

  Back in then out.
  Source: Core/EasingFunction.js, line 223

#### staticconstantEasingFunction.BACK_OUT :EasingFunction~Callback

  Back out.
  Source: Core/EasingFunction.js, line 216

#### staticconstantEasingFunction.BOUNCE_IN :EasingFunction~Callback

  Bounce in.
  Source: Core/EasingFunction.js, line 231

#### staticconstantEasingFunction.BOUNCE_IN_OUT :EasingFunction~Callback

  Bounce in then out.
  Source: Core/EasingFunction.js, line 245

#### staticconstantEasingFunction.BOUNCE_OUT :EasingFunction~Callback

  Bounce out.
  Source: Core/EasingFunction.js, line 238

#### staticconstantEasingFunction.CIRCULAR_IN :EasingFunction~Callback

  Circular in.
  Source: Core/EasingFunction.js, line 165

#### staticconstantEasingFunction.CIRCULAR_IN_OUT :EasingFunction~Callback

  Circular in then out.
  Source: Core/EasingFunction.js, line 179

#### staticconstantEasingFunction.CIRCULAR_OUT :EasingFunction~Callback

  Circular out.
  Source: Core/EasingFunction.js, line 172

#### staticconstantEasingFunction.CUBIC_IN :EasingFunction~Callback

  Cubic in.
  Source: Core/EasingFunction.js, line 55

#### staticconstantEasingFunction.CUBIC_IN_OUT :EasingFunction~Callback

  Cubic in then out.
  Source: Core/EasingFunction.js, line 69

#### staticconstantEasingFunction.CUBIC_OUT :EasingFunction~Callback

  Cubic out.
  Source: Core/EasingFunction.js, line 62

#### staticconstantEasingFunction.ELASTIC_IN :EasingFunction~Callback

  Elastic in.
  Source: Core/EasingFunction.js, line 187

#### staticconstantEasingFunction.ELASTIC_IN_OUT :EasingFunction~Callback

  Elastic in then out.
  Source: Core/EasingFunction.js, line 201

#### staticconstantEasingFunction.ELASTIC_OUT :EasingFunction~Callback

  Elastic out.
  Source: Core/EasingFunction.js, line 194

#### staticconstantEasingFunction.EXPONENTIAL_IN :EasingFunction~Callback

  Exponential in.
  Source: Core/EasingFunction.js, line 143

#### staticconstantEasingFunction.EXPONENTIAL_IN_OUT :EasingFunction~Callback

  Exponential in then out.
  Source: Core/EasingFunction.js, line 157

#### staticconstantEasingFunction.EXPONENTIAL_OUT :EasingFunction~Callback

  Exponential out.
  Source: Core/EasingFunction.js, line 150

#### staticconstantEasingFunction.LINEAR_NONE :EasingFunction~Callback

  Linear easing.
  Source: Core/EasingFunction.js, line 25

#### staticconstantEasingFunction.QUADRACTIC_IN :EasingFunction~Callback

  Quadratic in.
  Source: Core/EasingFunction.js, line 33

#### staticconstantEasingFunction.QUADRACTIC_IN_OUT :EasingFunction~Callback

  Quadratic in then out.
  Source: Core/EasingFunction.js, line 47

#### staticconstantEasingFunction.QUADRACTIC_OUT :EasingFunction~Callback

  Quadratic out.
  Source: Core/EasingFunction.js, line 40

#### staticconstantEasingFunction.QUARTIC_IN :EasingFunction~Callback

  Quartic in.
  Source: Core/EasingFunction.js, line 77

#### staticconstantEasingFunction.QUARTIC_IN_OUT :EasingFunction~Callback

  Quartic in then out.
  Source: Core/EasingFunction.js, line 91

#### staticconstantEasingFunction.QUARTIC_OUT :EasingFunction~Callback

  Quartic out.
  Source: Core/EasingFunction.js, line 84

#### staticconstantEasingFunction.QUINTIC_IN :EasingFunction~Callback

  Quintic in.
  Source: Core/EasingFunction.js, line 99

#### staticconstantEasingFunction.QUINTIC_IN_OUT :EasingFunction~Callback

  Quintic in then out.
  Source: Core/EasingFunction.js, line 113

#### staticconstantEasingFunction.QUINTIC_OUT :EasingFunction~Callback

  Quintic out.
  Source: Core/EasingFunction.js, line 106

#### staticconstantEasingFunction.SINUSOIDAL_IN :EasingFunction~Callback

  Sinusoidal in.
  Source: Core/EasingFunction.js, line 121

#### staticconstantEasingFunction.SINUSOIDAL_IN_OUT :EasingFunction~Callback

  Sinusoidal in then out.
  Source: Core/EasingFunction.js, line 135

#### staticconstantEasingFunction.SINUSOIDAL_OUT :EasingFunction~Callback

  Sinusoidal out.
  Source: Core/EasingFunction.js, line 128

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

  Source: Core/EasingFunction.js, line 248