lovr.timer.step
EditSteps the timer, returning the new delta time. This is called automatically in lovr.run
and it's used to calculate the new dt
to pass to lovr.update
.
delta = lovr.timer.step()
Arguments
None
Returns
Name | Type | Description |
delta | number | The amount of time since the last call to this function, in seconds. |