summaryrefslogtreecommitdiff
path: root/meta/3rd/lovr/library/lovr.graphics.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-19 17:31:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-19 17:31:31 +0800
commit6630090bc5e7e6988bdc9c3640f035114c0dfc60 (patch)
tree99d23027b9618f181b63f5fcb2c1dfde8052653d /meta/3rd/lovr/library/lovr.graphics.lua
parentf131f1b530d0726ba66ad4c62f55fa0d59abc4e1 (diff)
downloadlua-language-server-6630090bc5e7e6988bdc9c3640f035114c0dfc60.zip
update `love-api` and `lovr-api`
Diffstat (limited to 'meta/3rd/lovr/library/lovr.graphics.lua')
-rw-r--r--meta/3rd/lovr/library/lovr.graphics.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua
index 63b3596a..ef6ffc46 100644
--- a/meta/3rd/lovr/library/lovr.graphics.lua
+++ b/meta/3rd/lovr/library/lovr.graphics.lua
@@ -1190,7 +1190,10 @@ function Model:getAnimationCount() end
---
---Returns the duration of an animation in the Model, in seconds.
---
-function Model:getAnimationDuration() end
+---@overload fun(index: number):number
+---@param name string # The name of the animation.
+---@return number duration # The duration of the animation, in seconds.
+function Model:getAnimationDuration(name) end
---
---Returns the name of one of the animations in the Model.