|
@@ -2,7 +2,8 @@ return {
|
|
|
summary = 'Get the time elapsed since the last update.',
|
|
|
description = [[
|
|
|
Returns the time between the last two frames. This is the same value as the `dt` argument
|
|
|
- provided to `lovr.update`.
|
|
|
+ provided to `lovr.update` when VR is disabled. When VR is enabled, the `dt` will instead be
|
|
|
+ `lovr.headset.getDeltaTime`.
|
|
|
]],
|
|
|
arguments = {},
|
|
|
returns = {
|
|
@@ -23,6 +24,7 @@ return {
|
|
|
`lovr.timer.getTime` for that.
|
|
|
]],
|
|
|
related = {
|
|
|
+ 'lovr.headset.getDeltaTime',
|
|
|
'lovr.timer.getTime',
|
|
|
'lovr.update'
|
|
|
}
|