diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
commit | 52097b6ee7cc8f5a770eb851902560b5b8592218 (patch) | |
tree | 6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/ccs.Tween.lua | |
parent | 6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff) | |
download | lua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip |
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/ccs.Tween.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/ccs.Tween.lua | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/ccs.Tween.lua b/meta/3rd/Cocos4.0/ccs.Tween.lua new file mode 100644 index 00000000..660edd6a --- /dev/null +++ b/meta/3rd/Cocos4.0/ccs.Tween.lua @@ -0,0 +1,57 @@ + +---@class ccs.Tween +local Tween={ } +ccs.Tween=Tween + + + + +---* +---@return ccs.ArmatureAnimation +function Tween:getAnimation () end +---* +---@param frameIndex int +---@return self +function Tween:gotoAndPause (frameIndex) end +---* Start the Process<br> +---* param movementBoneData the MovementBoneData include all FrameData<br> +---* param durationTo the number of frames changing to this animation needs.<br> +---* param durationTween the number of frames this animation actual last.<br> +---* param loop whether the animation is loop<br> +---* loop < 0 : use the value from MovementData get from Action Editor<br> +---* loop = 0 : this animation is not loop<br> +---* loop > 0 : this animation is loop<br> +---* param tweenEasing tween easing is used for calculate easing effect<br> +---* TWEEN_EASING_MAX : use the value from MovementData get from Action Editor<br> +---* -1 : fade out<br> +---* 0 : line<br> +---* 1 : fade in<br> +---* 2 : fade in and out +---@param movementBoneData ccs.MovementBoneData +---@param durationTo int +---@param durationTween int +---@param loop int +---@param tweenEasing int +---@return self +function Tween:play (movementBoneData,durationTo,durationTween,loop,tweenEasing) end +---* +---@param frameIndex int +---@return self +function Tween:gotoAndPlay (frameIndex) end +---* Init with a Bone<br> +---* param bone the Bone Tween will bind to +---@param bone ccs.Bone +---@return boolean +function Tween:init (bone) end +---* +---@param animation ccs.ArmatureAnimation +---@return self +function Tween:setAnimation (animation) end +---* Create with a Bone<br> +---* param bone the Bone Tween will bind to +---@param bone ccs.Bone +---@return self +function Tween:create (bone) end +---* +---@return self +function Tween:Tween () end
\ No newline at end of file |