From 6630090bc5e7e6988bdc9c3640f035114c0dfc60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 19 Nov 2021 17:31:31 +0800 Subject: update `love-api` and `lovr-api` --- meta/3rd/lovr/library/lovr.graphics.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/3rd/lovr/library/lovr.graphics.lua') 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. -- cgit v1.2.3