From f41c0fdf7be7e9cdcef70b36eb5c2af6bb4c4a95 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Tue, 14 Jun 2022 13:41:55 +0800 Subject: [PATCH] [ci skip][AUTO]: Automated code generating update: 67b11c79ea389afa0ec51a9dc2739c79e29f08de (#11477) (#11494) Co-authored-by: cocos-robot --- native/cocos/bindings/auto/jsb_scene_auto.cpp | 22 +++++++++++++++++++ native/cocos/bindings/auto/jsb_scene_auto.h | 1 + 2 files changed, 23 insertions(+) diff --git a/native/cocos/bindings/auto/jsb_scene_auto.cpp b/native/cocos/bindings/auto/jsb_scene_auto.cpp index eb3c1bff80..a956f14e2e 100644 --- a/native/cocos/bindings/auto/jsb_scene_auto.cpp +++ b/native/cocos/bindings/auto/jsb_scene_auto.cpp @@ -6687,6 +6687,27 @@ static bool js_scene_Model_getWorldBounds(se::State& s) // NOLINT(readability-id } SE_BIND_FUNC_AS_PROP_GET(js_scene_Model_getWorldBounds) +static bool js_scene_Model_initLightingmap(se::State& s) // NOLINT(readability-identifier-naming) +{ + auto* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_scene_Model_initLightingmap : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 2) { + HolderType arg0 = {}; + HolderType arg1 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_scene_Model_initLightingmap : Error processing arguments"); + cobj->initLightingmap(arg0.value(), arg1.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 2); + return false; +} +SE_BIND_FUNC(js_scene_Model_initLightingmap) + static bool js_scene_Model_initLocalDescriptors(se::State& s) // NOLINT(readability-identifier-naming) { auto* cobj = SE_THIS_OBJECT(s); @@ -7667,6 +7688,7 @@ bool js_register_scene_Model(se::Object* obj) // NOLINT(readability-identifier-n cls->defineFunction("getMacroPatches", _SE(js_scene_Model_getMacroPatches)); cls->defineFunction("getShadowBias", _SE(js_scene_Model_getShadowBias)); cls->defineFunction("getShadowNormalBias", _SE(js_scene_Model_getShadowNormalBias)); + cls->defineFunction("initLightingmap", _SE(js_scene_Model_initLightingmap)); cls->defineFunction("_initLocalDescriptors", _SE(js_scene_Model_initLocalDescriptors)); cls->defineFunction("initSubModel", _SE(js_scene_Model_initSubModel)); cls->defineFunction("initWorldBoundDescriptors", _SE(js_scene_Model_initWorldBoundDescriptors)); diff --git a/native/cocos/bindings/auto/jsb_scene_auto.h b/native/cocos/bindings/auto/jsb_scene_auto.h index e046a238d9..992014f28e 100644 --- a/native/cocos/bindings/auto/jsb_scene_auto.h +++ b/native/cocos/bindings/auto/jsb_scene_auto.h @@ -290,6 +290,7 @@ SE_DECLARE_FUNC(js_scene_Model_getLocalData); SE_DECLARE_FUNC(js_scene_Model_getMacroPatches); SE_DECLARE_FUNC(js_scene_Model_getShadowBias); SE_DECLARE_FUNC(js_scene_Model_getShadowNormalBias); +SE_DECLARE_FUNC(js_scene_Model_initLightingmap); SE_DECLARE_FUNC(js_scene_Model_initLocalDescriptors); SE_DECLARE_FUNC(js_scene_Model_initSubModel); SE_DECLARE_FUNC(js_scene_Model_initWorldBoundDescriptors);