Phaser.Easing. Cubic

new Cubic()

Cubic easing.

Source - tween/Easing.js, line 92

Methods

In(k) → {number}

Cubic ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 94

InOut(k) → {number}

Cubic ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 120

Out(k) → {number}

Cubic ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 107
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.2 on Fri Jun 10 2016 16:19:21 GMT+0100 (GMT Daylight Time) using the DocStrap template.