Class: Sinusoidal

Phaser.Easing. Sinusoidal

new Sinusoidal()

Sinusoidal easing.

Source:
src/tween/Easing.js line 224

Methods

In(k)

Sinusoidal ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

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

The tweened value.

Type
number

InOut(k)

Sinusoidal ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

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

The tweened value.

Type
number

Out(k)

Sinusoidal ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

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

The tweened value.

Type
number

phaser-ce@2.20.1 is on GitHub and NPM

Documentation generated by JSDoc 3.6.11 on 2024-10-05 using Tomorrow.