Phaser.Easing. Sinusoidal

new Sinusoidal()

Sinusoidal easing.

Source - tween/Easing.js, line 239

Methods

In(k) → {number}

Sinusoidal ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 241

InOut(k) → {number}

Sinusoidal ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 271

Out(k) → {number}

Sinusoidal ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 256
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.