Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: Sine
Phaser.Math.Easing.Sine

Methods

<static> In(v)
Focus
Focus

Description:

Sinusoidal ease-in.

Parameters:

name type description
v number

The value to be tweened.

Returns:
Description:

The tweened value.

Type:
  • number
Examples:
Since: 3.0.0
Source: src/math/easing/sine/In.js (Line 7)
Focus
Focus
<static> InOut(v)
Focus
Focus

Description:

Sinusoidal ease-in/out.

Parameters:

name type description
v number

The value to be tweened.

Returns:
Description:

The tweened value.

Type:
  • number
Examples:
Since: 3.0.0
Focus
Focus
<static> Out(v)
Focus
Focus

Description:

Sinusoidal ease-out.

Parameters:

name type description
v number

The value to be tweened.

Returns:
Description:

The tweened value.

Type:
  • number
Examples:
Since: 3.0.0
Focus
Focus