Phaser API Documentation

  Version: 
TimeStepCallback(time, average, interpolation)

Parameters:

name type description
time number

The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout.

average number

The Delta Average.

interpolation number

Interpolation - how far between what is expected and where we are?

Type:
function
Since: 3.0.0