Phaser.Math.Easing.Quadratic
Scope: static
Static functions
In
<static> In(v)
Description:
Quadratic ease-in.
Parameters:
| name | type | optional | description |
|---|---|---|---|
| v | number | No | The value to be eased. |
Returns: number - The eased value.
Source: src/math/easing/quadratic/In.js#L7
Since: 3.0.0
InOut
<static> InOut(v)
Description:
Quadratic ease-in/out. Applies a quadratic curve that accelerates in the first half of the range and decelerates in the second half, producing a smooth S-curve transition. Useful for animations that need to start gently, move briskly through the middle, and settle smoothly at the end.
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/quadratic/InOut.js#L7
Since: 3.0.0
Out
<static> Out(v)
Description:
Quadratic ease-out.
Parameters:
| name | type | optional | description |
|---|---|---|---|
| v | number | No | The value to be eased. |
Returns: number - The eased value.
Source: src/math/easing/quadratic/Out.js#L7
Since: 3.0.0