Class: Phaser.Easing.Exponential

Constructor

new Exponential()

Exponential easing.

Source code: tween/Easing.js (Line 293)

Public Methods

In(k) → {number}

Exponential ease-in.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 295)

InOut(k) → {number}

Exponential ease-in/out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 321)

Out(k) → {number}

Exponential ease-out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 308)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Easing.Exponential.html