summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.Scene.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.Scene.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.Scene.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.Scene.lua75
1 files changed, 75 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.Scene.lua b/meta/3rd/Cocos4.0/library/cc.Scene.lua
new file mode 100644
index 00000000..0a44a14e
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.Scene.lua
@@ -0,0 +1,75 @@
+---@meta
+
+---@class cc.Scene :cc.Node
+local Scene={ }
+cc.Scene=Scene
+
+
+
+
+---*
+---@return boolean
+function Scene:initWithPhysics () end
+---*
+---@return self
+function Scene:setCameraOrderDirty () end
+---* Render the scene.<br>
+---* param renderer The renderer use to render the scene.<br>
+---* param eyeTransform The AdditionalTransform of camera.<br>
+---* param eyeProjection The projection matrix of camera.<br>
+---* js NA
+---@param renderer cc.Renderer
+---@param eyeTransform mat4_table
+---@param eyeProjection mat4_table
+---@return self
+function Scene:render (renderer,eyeTransform,eyeProjection) end
+---*
+---@param deltaTime float
+---@return self
+function Scene:stepPhysicsAndNavigation (deltaTime) end
+---*
+---@param event cc.EventCustom
+---@return self
+function Scene:onProjectionChanged (event) end
+---* Get the physics world of the scene.<br>
+---* return The physics world of the scene.<br>
+---* js NA
+---@return cc.PhysicsWorld
+function Scene:getPhysicsWorld () end
+---*
+---@param size size_table
+---@return boolean
+function Scene:initWithSize (size) end
+---* Get the default camera.<br>
+---* js NA<br>
+---* return The default camera of scene.
+---@return cc.Camera
+function Scene:getDefaultCamera () end
+---* Creates a new Scene object with a predefined Size. <br>
+---* param size The predefined size of scene.<br>
+---* return An autoreleased Scene object.<br>
+---* js NA
+---@param size size_table
+---@return self
+function Scene:createWithSize (size) end
+---* Creates a new Scene object. <br>
+---* return An autoreleased Scene object.
+---@return self
+function Scene:create () end
+---* Create a scene with physics.<br>
+---* return An autoreleased Scene object with physics.<br>
+---* js NA
+---@return self
+function Scene:createWithPhysics () end
+---*
+---@return boolean
+function Scene:init () end
+---*
+---@return string
+function Scene:getDescription () end
+---* override function
+---@return self
+function Scene:removeAllChildren () end
+---*
+---@return self
+function Scene:Scene () end \ No newline at end of file