diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-19 17:31:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-19 17:31:31 +0800 |
commit | 6630090bc5e7e6988bdc9c3640f035114c0dfc60 (patch) | |
tree | 99d23027b9618f181b63f5fcb2c1dfde8052653d /meta/3rd/lovr/library/lovr.graphics.lua | |
parent | f131f1b530d0726ba66ad4c62f55fa0d59abc4e1 (diff) | |
download | lua-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.lua | 5 |
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. |