From 364d4a1d58c916014b9f6d80e1aeacb2e1b1454f Mon Sep 17 00:00:00 2001 From: cocos-robot Date: Wed, 20 Sep 2023 02:24:21 +0000 Subject: [PATCH] [ci skip][AUTO]: Automated code generating update: 38c15c876cfbd27383bfbcfc8e38014d1301a542 (#16247) --- cocos/native-binding/decorators.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cocos/native-binding/decorators.ts b/cocos/native-binding/decorators.ts index 948e3d11576..f0991295408 100644 --- a/cocos/native-binding/decorators.ts +++ b/cocos/native-binding/decorators.ts @@ -46,7 +46,6 @@ export function patch_cc_AmbientInfo(ctx: cc_AmbientInfo_Context_Args, apply = d apply(() => { $.visible(() => { const scene = cclegacy.director.getScene(); const skybox = scene.globals.skybox; - if (skybox.useIBL && skybox.applyDiffuseMap) { return false; } else { @@ -62,7 +61,6 @@ export function patch_cc_AmbientInfo(ctx: cc_AmbientInfo_Context_Args, apply = d apply(() => { $.visible(() => { const scene = cclegacy.director.getScene(); const skybox = scene.globals.skybox; - if (skybox.useIBL && skybox.applyDiffuseMap) { return false; } else { @@ -1071,7 +1069,6 @@ export function patch_cc_SkyboxInfo(ctx: cc_SkyboxInfo_Context_Args, apply = def if (this.useIBL && this.applyDiffuseMap) { return true; } - return false; })(SkyboxInfo.prototype, 'diffuseMap', diffuseMapDescriptor); }, 'visible', 'diffuseMap'); apply(() => { $.displayOrder(100)(SkyboxInfo.prototype, 'reflectionMap', reflectionMapDescriptor); }, 'displayOrder', 'reflectionMap'); @@ -1082,7 +1079,6 @@ export function patch_cc_SkyboxInfo(ctx: cc_SkyboxInfo_Context_Args, apply = def if (this._resource?.reflectionMap) { return true; } - return false; })(SkyboxInfo.prototype, 'reflectionMap', reflectionMapDescriptor); }, 'visible', 'reflectionMap'); apply(() => { $.tooltip('i18n:skybox.material')(SkyboxInfo.prototype, 'skyboxMaterial', skyboxMaterialDescriptor); }, 'tooltip', 'skyboxMaterial');