diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
commit | 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch) | |
tree | c0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc/Animate3D.lua | |
parent | c30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff) | |
download | lua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip |
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/Animate3D.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/Animate3D.lua | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc/Animate3D.lua b/meta/3rd/Cocos4.0/library/cc/Animate3D.lua new file mode 100644 index 00000000..ec8b2cfd --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc/Animate3D.lua @@ -0,0 +1,109 @@ +---@meta + +---@class cc.Animate3D :cc.ActionInterval +local Animate3D={ } +cc.Animate3D=Animate3D + + + + +---* +---@param keyFrame int +---@param userInfo map_table +---@return self +function Animate3D:setKeyFrameUserInfo (keyFrame,userInfo) end +---* get & set speed, negative speed means playing reverse +---@return float +function Animate3D:getSpeed () end +---* set animate quality +---@param quality int +---@return self +function Animate3D:setQuality (quality) end +---* +---@param weight float +---@return self +function Animate3D:setWeight (weight) end +---* +---@return self +function Animate3D:removeFromMap () end +---* +---@param animation cc.Animation3D +---@param startFrame int +---@param endFrame int +---@param frameRate float +---@return boolean +function Animate3D:initWithFrames (animation,startFrame,endFrame,frameRate) end +---* +---@return float +function Animate3D:getOriginInterval () end +---* +---@param speed float +---@return self +function Animate3D:setSpeed (speed) end +---@overload fun(cc.Animation3D:cc.Animation3D,float:float,float:float):self +---@overload fun(cc.Animation3D:cc.Animation3D):self +---@param animation cc.Animation3D +---@param fromTime float +---@param duration float +---@return boolean +function Animate3D:init (animation,fromTime,duration) end +---* get & set origin interval +---@param interval float +---@return self +function Animate3D:setOriginInterval (interval) end +---* get & set blend weight, weight must positive +---@return float +function Animate3D:getWeight () end +---* get animate quality +---@return int +function Animate3D:getQuality () end +---@overload fun(cc.Animation3D:cc.Animation3D,float:float,float:float):self +---@overload fun(cc.Animation3D:cc.Animation3D):self +---@param animation cc.Animation3D +---@param fromTime float +---@param duration float +---@return self +function Animate3D:create (animation,fromTime,duration) end +---* get animate transition time between 3d animations +---@return float +function Animate3D:getTransitionTime () end +---* create Animate3D by frame section, [startFrame, endFrame)<br> +---* param animation used to generate animate3D<br> +---* param startFrame<br> +---* param endFrame<br> +---* param frameRate default is 30 per second<br> +---* return Animate3D created using animate +---@param animation cc.Animation3D +---@param startFrame int +---@param endFrame int +---@param frameRate float +---@return self +function Animate3D:createWithFrames (animation,startFrame,endFrame,frameRate) end +---* set animate transition time between 3d animations +---@param transTime float +---@return self +function Animate3D:setTransitionTime (transTime) end +---* +---@param target cc.Node +---@return self +function Animate3D:startWithTarget (target) end +---* +---@return self +function Animate3D:reverse () end +---* +---@return self +function Animate3D:clone () end +---* +---@return self +function Animate3D:stop () end +---* +---@param t float +---@return self +function Animate3D:update (t) end +---* +---@param dt float +---@return self +function Animate3D:step (dt) end +---* +---@return self +function Animate3D:Animate3D () end
\ No newline at end of file |