Phaser API Documentation

  Version: 
<static> SmoothStep(t, min, max)

Description:

A Smooth Step interpolation method.

Parameters:

name type description
t number

The percentage of interpolation, between 0 and 1.

min number

The minimum value, also known as the 'left edge', assumed smaller than the 'right edge'.

max number

The maximum value, also known as the 'right edge', assumed greater than the 'left edge'.

Returns:
Description:

The interpolated value.

Type:
  • number