diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.TransitionScene.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.TransitionScene.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.TransitionScene.lua | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.TransitionScene.lua b/meta/3rd/Cocos4.0/library/cc.TransitionScene.lua new file mode 100644 index 00000000..110aec3d --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.TransitionScene.lua @@ -0,0 +1,46 @@ +---@meta + +---@class cc.TransitionScene :cc.Scene +local TransitionScene={ } +cc.TransitionScene=TransitionScene + + + + +---* +---@return cc.Scene +function TransitionScene:getInScene () end +---* Called after the transition finishes. +---@return self +function TransitionScene:finish () end +---* initializes a transition with duration and incoming scene +---@param t float +---@param scene cc.Scene +---@return boolean +function TransitionScene:initWithDuration (t,scene) end +---* +---@return float +function TransitionScene:getDuration () end +---* Used by some transitions to hide the outer scene. +---@return self +function TransitionScene:hideOutShowIn () end +---* Creates a base transition with duration and incoming scene.<br> +---* param t Duration time, in seconds.<br> +---* param scene A given scene.<br> +---* return A autoreleased TransitionScene object. +---@param t float +---@param scene cc.Scene +---@return self +function TransitionScene:create (t,scene) end +---* +---@param renderer cc.Renderer +---@param transform mat4_table +---@param flags unsigned_int +---@return self +function TransitionScene:draw (renderer,transform,flags) end +---* +---@return self +function TransitionScene:cleanup () end +---* +---@return self +function TransitionScene:TransitionScene () end
\ No newline at end of file |