axmol/cocos/scripting/lua-bindings/auto/api/Scene.lua

64 lines
1.8 KiB
Lua

--------------------------------
-- @module Scene
-- @extend Node
-- @parent_module cc
--------------------------------
-- Render the scene.<br>
-- param renderer The renderer use to render the scene.<br>
-- js NA
-- @function [parent=#Scene] render
-- @param self
-- @param #cc.Renderer renderer
-- @return Scene#Scene self (return value: cc.Scene)
--------------------------------
-- Get the default camera.<br>
-- js NA<br>
-- return The default camera of scene.
-- @function [parent=#Scene] getDefaultCamera
-- @param self
-- @return Camera#Camera ret (return value: cc.Camera)
--------------------------------
-- 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
-- @function [parent=#Scene] createWithSize
-- @param self
-- @param #size_table size
-- @return Scene#Scene ret (return value: cc.Scene)
--------------------------------
-- Creates a new Scene object. <br>
-- return An autoreleased Scene object.
-- @function [parent=#Scene] create
-- @param self
-- @return Scene#Scene ret (return value: cc.Scene)
--------------------------------
-- @overload self, cc.Node, int, string
-- @overload self, cc.Node, int, int
-- @function [parent=#Scene] addChild
-- @param self
-- @param #cc.Node child
-- @param #int zOrder
-- @param #int tag
-- @return Scene#Scene self (return value: cc.Scene)
--------------------------------
--
-- @function [parent=#Scene] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- override function
-- @function [parent=#Scene] removeAllChildren
-- @param self
-- @return Scene#Scene self (return value: cc.Scene)
return nil