lovr.headset.getDeltaTime

Returns the headset delta time, which is the difference between the current and previous predicted display times. When the headset is active, this will be the dt value passed in to lovr.update.

dt = lovr.headset.getDeltaTime()

Arguments

None

Returns

NameTypeDescription
dtnumber The delta time.

See also