You’re reading the docs for Phaser v3.90.0. The latest is Phaser v4.1.0.

Phaser.Math.Easing.Sine

Scope: static

Source: src/math/easing/sine/index.js#L7

Static functions

In

staticIn(v)

Description:

Sinusoidal ease-in.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

Source: src/math/easing/sine/In.js#L7
Since: 3.0.0


InOut

staticInOut(v)

Description:

Sinusoidal ease-in/out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

Source: src/math/easing/sine/InOut.js#L7
Since: 3.0.0


Out

staticOut(v)

Description:

Sinusoidal ease-out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

Source: src/math/easing/sine/Out.js#L7
Since: 3.0.0