Class: Cubic

Phaser.Easing. Cubic

new Cubic()

Cubic easing.

Source:
src/tween/Easing.js line 96

Methods

In(k)

Cubic ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 98
Returns:

The tweened value.

Type
number

InOut(k)

Cubic ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 126
Returns:

The tweened value.

Type
number

Out(k)

Cubic ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 112
Returns:

The tweened value.

Type
number

phaser-ce@2.11.1 is on GitHub and NPM

Documentation generated by JSDoc 3.5.4 on 2018-10-02 using Tomorrow.