From e93d1179f7efcd40d7b08c293ef34a622fa20ca7 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Wed, 20 Sep 2023 14:29:14 +0800 Subject: [PATCH] [ci skip][AUTO]: Automated code generating update: 38c15c876cfbd27383bfbcfc8e38014d1301a542 (#16247) (#16286) Co-authored-by: cocos-robot --- 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');