diff --git a/cocos/scripting/lua-bindings/auto/api/Mesh.lua b/cocos/scripting/lua-bindings/auto/api/Mesh.lua index f28783eee3..6d3487384d 100644 --- a/cocos/scripting/lua-bindings/auto/api/Mesh.lua +++ b/cocos/scripting/lua-bindings/auto/api/Mesh.lua @@ -54,19 +54,4 @@ -- @param #int int -- @return bool#bool ret (return value: bool) --------------------------------- --- overload function: create(array_table, int, array_table, int, array_table, int) --- --- overload function: create(array_table, array_table, array_table, array_table) --- --- @function [parent=#Mesh] create --- @param self --- @param #array_table array --- @param #int int --- @param #array_table vector > --- @param #int int --- @param #array_table array --- @param #int int --- @return Mesh#Mesh ret (retunr value: cc.Mesh) - return nil diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua b/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua index ef8c7c61f1..5031415719 100644 --- a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua +++ b/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua @@ -3,11 +3,6 @@ -- @module Sprite3D -- @extend Node,BlendProtocol --------------------------------- --- @function [parent=#Sprite3D] getSkin --- @param self --- @return MeshSkin#MeshSkin ret (return value: cc.MeshSkin) - -------------------------------- -- overload function: setTexture(cc.Texture2D) -- diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index 7972d6da81..80ee426c6b 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -61456,50 +61456,6 @@ int lua_register_cocos2dx_Component(lua_State* tolua_S) return 1; } -int lua_cocos2dx_Sprite3D_getSkin(lua_State* tolua_S) -{ - int argc = 0; - cocos2d::Sprite3D* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.Sprite3D",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocos2d::Sprite3D*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite3D_getSkin'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::MeshSkin* ret = cobj->getSkin(); - object_to_luaval(tolua_S, "cc.MeshSkin",(cocos2d::MeshSkin*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSkin",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite3D_getSkin'.",&tolua_err); -#endif - - return 0; -} int lua_cocos2dx_Sprite3D_setTexture(lua_State* tolua_S) { int argc = 0; @@ -61750,7 +61706,6 @@ int lua_register_cocos2dx_Sprite3D(lua_State* tolua_S) tolua_cclass(tolua_S,"Sprite3D","cc.Sprite3D","cc.Node",nullptr); tolua_beginmodule(tolua_S,"Sprite3D"); - tolua_function(tolua_S,"getSkin",lua_cocos2dx_Sprite3D_getSkin); tolua_function(tolua_S,"setTexture",lua_cocos2dx_Sprite3D_setTexture); tolua_function(tolua_S,"getMesh",lua_cocos2dx_Sprite3D_getMesh); tolua_function(tolua_S,"getBlendFunc",lua_cocos2dx_Sprite3D_getBlendFunc); @@ -62208,78 +62163,6 @@ int lua_cocos2dx_Mesh_hasVertexAttrib(lua_State* tolua_S) return 0; } -int lua_cocos2dx_Mesh_create(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.Mesh",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S)-1; - - do - { - if (argc == 6) - { - std::vector > arg0; - ok &= luaval_to_std_vector_float(tolua_S, 2, &arg0); - if (!ok) { break; } - int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); - if (!ok) { break; } - std::vector > arg2; - ok &= luaval_to_std_vector_ushort(tolua_S, 4, &arg2); - if (!ok) { break; } - int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); - if (!ok) { break; } - std::vector > arg4; - ok &= luaval_to_object >>(tolua_S, 6, "std::vector >",&arg4); - if (!ok) { break; } - int arg5; - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); - if (!ok) { break; } - cocos2d::Mesh* ret = cocos2d::Mesh::create(arg0, arg1, arg2, arg3, arg4, arg5); - object_to_luaval(tolua_S, "cc.Mesh",(cocos2d::Mesh*)ret); - return 1; - } - } while (0); - ok = true; - do - { - if (argc == 4) - { - std::vector > arg0; - ok &= luaval_to_std_vector_float(tolua_S, 2, &arg0); - if (!ok) { break; } - std::vector > arg1; - ok &= luaval_to_std_vector_float(tolua_S, 3, &arg1); - if (!ok) { break; } - std::vector > arg2; - ok &= luaval_to_std_vector_float(tolua_S, 4, &arg2); - if (!ok) { break; } - std::vector > arg3; - ok &= luaval_to_std_vector_ushort(tolua_S, 5, &arg3); - if (!ok) { break; } - cocos2d::Mesh* ret = cocos2d::Mesh::create(arg0, arg1, arg2, arg3); - object_to_luaval(tolua_S, "cc.Mesh",(cocos2d::Mesh*)ret); - return 1; - } - } while (0); - ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 4); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Mesh_create'.",&tolua_err); -#endif - return 0; -} static int lua_cocos2dx_Mesh_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (Mesh)"); @@ -62302,7 +62185,6 @@ int lua_register_cocos2dx_Mesh(lua_State* tolua_S) tolua_function(tolua_S,"getMeshVertexAttribute",lua_cocos2dx_Mesh_getMeshVertexAttribute); tolua_function(tolua_S,"getIndexBuffer",lua_cocos2dx_Mesh_getIndexBuffer); tolua_function(tolua_S,"hasVertexAttrib",lua_cocos2dx_Mesh_hasVertexAttrib); - tolua_function(tolua_S,"create", lua_cocos2dx_Mesh_create); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::Mesh).name(); g_luaType[typeName] = "cc.Mesh"; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp index 59e045d8ae..5eeff5ebfd 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp @@ -1546,8 +1546,6 @@ int register_all_cocos2dx(lua_State* tolua_S); - -