Phaser.Math.Easing.Quartic
Scope: static
Static functions
In
<static> In(v)
Description:
Quartic ease-in.
Parameters:
| name | type | optional | description |
|---|---|---|---|
| v | number | No | The value to be eased. |
Returns: number - The eased value.
Source: src/math/easing/quartic/In.js#L7
Since: 3.0.0
InOut
<static> InOut(v)
Description:
Quartic ease-in/out. Applies a quartic (fourth-power) curve that accelerates sharply from the start, then decelerates sharply into the end. The motion is symmetric: the first half mirrors the ease-in, and the second half mirrors the ease-out. This produces a more dramatic acceleration and deceleration than quadratic or cubic easing, making it suitable for snappy, high-energy transitions.
Parameters:
| name | type | optional | description |
|---|---|---|---|
| v | number | No | The value to be eased, in the range [0, 1]. |
Returns: number - The eased value, in the range [0, 1].
Source: src/math/easing/quartic/InOut.js#L7
Since: 3.0.0
Out
<static> Out(v)
Description:
Quartic ease-out.
Parameters:
| name | type | optional | description |
|---|---|---|---|
| v | number | No | The value to be eased. |
Returns: number - The eased value.
Source: src/math/easing/quartic/Out.js#L7
Since: 3.0.0