diff --git a/cocos/scripting/lua-bindings/auto/api/Scene.lua b/cocos/scripting/lua-bindings/auto/api/Scene.lua index f9866d5072..feab746d08 100644 --- a/cocos/scripting/lua-bindings/auto/api/Scene.lua +++ b/cocos/scripting/lua-bindings/auto/api/Scene.lua @@ -6,7 +6,8 @@ -------------------------------- -- Render the scene.
--- param renderer The renderer use to render the scene. +-- param renderer The renderer use to render the scene.
+-- js NA -- @function [parent=#Scene] render -- @param self -- @param #cc.Renderer renderer @@ -14,6 +15,7 @@ -------------------------------- -- Get the default camera.
+-- js NA
-- return The default camera of scene. -- @function [parent=#Scene] getDefaultCamera -- @param self @@ -22,7 +24,8 @@ -------------------------------- -- Creates a new Scene object with a predefined Size.
-- param size The predefined size of scene.
--- return An autoreleased Scene object. +-- return An autoreleased Scene object.
+-- js NA -- @function [parent=#Scene] createWithSize -- @param self -- @param #size_table size diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua b/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua index c07ec82113..a7a511985f 100644 --- a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua +++ b/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua @@ -6,7 +6,7 @@ -------------------------------- -- Adds multiple Sprite Frames from a plist file content. The texture will be associated with the created sprite frames.
--- js addSpriteFrames
+-- js NA
-- lua addSpriteFrames
-- param plist_content Plist file content string.
-- param texture Texture pointer. @@ -40,7 +40,8 @@ -------------------------------- -- Removes unused sprite frames.
-- Sprite Frames that have a retain count of 1 will be deleted.
--- It is convenient to call this method after when starting a new Scene. +-- It is convenient to call this method after when starting a new Scene.
+-- js NA -- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames -- @param self -- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) @@ -100,7 +101,8 @@ -- Removes multiple Sprite Frames from a plist file content.
-- Sprite Frames stored in this file will be removed.
-- It is convenient to call this method when a specific texture needs to be removed.
--- param plist_content The string of the plist content that needs to removed. +-- param plist_content The string of the plist content that needs to removed.
+-- js NA -- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFileContent -- @param self -- @param #string plist_content @@ -115,14 +117,16 @@ -- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) -------------------------------- --- Destroys the cache. It releases all the Sprite Frames and the retained instance. +-- Destroys the cache. It releases all the Sprite Frames and the retained instance.
+-- js NA -- @function [parent=#SpriteFrameCache] destroyInstance -- @param self -- @return SpriteFrameCache#SpriteFrameCache self (return value: cc.SpriteFrameCache) -------------------------------- -- Returns the shared instance of the Sprite Frame cache.
--- return The instance of the Sprite Frame Cache. +-- return The instance of the Sprite Frame Cache.
+-- js NA -- @function [parent=#SpriteFrameCache] getInstance -- @param self -- @return SpriteFrameCache#SpriteFrameCache ret (return value: cc.SpriteFrameCache)