summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
commit04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch)
treec0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua
parentc30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff)
downloadlua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua b/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua
new file mode 100644
index 00000000..903a6a52
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua
@@ -0,0 +1,28 @@
+---@meta
+
+---@class cc.TransitionSceneOriented :cc.TransitionScene
+local TransitionSceneOriented={ }
+cc.TransitionSceneOriented=TransitionSceneOriented
+
+
+
+
+---* initializes a transition with duration and incoming scene
+---@param t float
+---@param scene cc.Scene
+---@param orientation int
+---@return boolean
+function TransitionSceneOriented:initWithDuration (t,scene,orientation) end
+---* Creates a transition with duration, incoming scene and orientation.<br>
+---* param t Duration time, in seconds.<br>
+---* param scene A given scene.<br>
+---* param orientation A given orientation: LeftOver, RightOver, UpOver, DownOver.<br>
+---* return A autoreleased TransitionSceneOriented object.
+---@param t float
+---@param scene cc.Scene
+---@param orientation int
+---@return self
+function TransitionSceneOriented:create (t,scene,orientation) end
+---*
+---@return self
+function TransitionSceneOriented:TransitionSceneOriented () end \ No newline at end of file