Phaser.Easing. Quadratic

new Quadratic()

Quadratic easing.

Source - tween/Easing.js, line 43

Methods

In(k) → {number}

Ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

k^2.

Source - tween/Easing.js, line 45

InOut(k) → {number}

Ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 71

Out(k) → {number}

Ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

k* (2-k).

Source - tween/Easing.js, line 58
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.2 on Fri Jun 03 2016 18:46:50 GMT+0100 (GMT Daylight Time) using the DocStrap template.