Namespace: Easing

Phaser.Math. Easing

Namespaces

Back
Bounce
Circular
Cubic
Elastic
Expo
Quadratic
Quartic
Quintic
Sine
Stepped

Methods


<static> Linear(v)

Linear easing (no variation).

Parameters:
Name Type Description
v number

The value to be tweened.

Since: 3.0.0
Source: src/math/easing/linear/Linear.js (Line 7)
Returns:

The tweened value.

Type
number

<static> Stepped(v [, steps])

Stepped easing.

Parameters:
Name Type Argument Default Description
v number

The value to be tweened.

steps number <optional>
1

The number of steps in the ease.

Since: 3.0.0
Source: src/math/easing/stepped/Stepped.js (Line 7)
Returns:

The tweened value.

Type
number