Skip to main content
Version: Phaser v3.88.2

Phaser.Math.Easing.Cubic

Scope: static

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

Static functions

In

<static> In(v)

Description:

Cubic ease-in.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

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


InOut

<static> InOut(v)

Description:

Cubic ease-in/out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

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


Out

<static> Out(v)

Description:

Cubic ease-out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be tweened.

Returns: number - The tweened value.

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