We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ef334 commit 46fb337Copy full SHA for 46fb337
api/lovr/timer/getDelta.lua
@@ -2,7 +2,8 @@ return {
2
summary = 'Get the time elapsed since the last update.',
3
description = [[
4
Returns the time between the last two frames. This is the same value as the `dt` argument
5
- provided to `lovr.update`.
+ provided to `lovr.update` when VR is disabled. When VR is enabled, the `dt` will instead be
6
+ `lovr.headset.getDeltaTime`.
7
]],
8
arguments = {},
9
returns = {
@@ -23,6 +24,7 @@ return {
23
24
`lovr.timer.getTime` for that.
25
26
related = {
27
+ 'lovr.headset.getDeltaTime',
28
'lovr.timer.getTime',
29
'lovr.update'
30
}
0 commit comments