Skip to content

Commit

Permalink
[ci skip][AUTO]: Automated code generating update: d3231a1 (#16214) (#…
Browse files Browse the repository at this point in the history
…16216)

Co-authored-by: cocos-robot <[email protected]>
  • Loading branch information
cocos-robot and cocos-robot authored Sep 8, 2023
1 parent 29faba5 commit bbadf9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cocos/native-binding/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function patch_cc_AmbientInfo(ctx: cc_AmbientInfo_Context_Args, apply = d
apply(() => { $.visible(() => {
const scene = legacyCC.director.getScene();
const skybox = scene.globals.skybox;

if (skybox.useIBL && skybox.applyDiffuseMap) {
return false;
} else {
Expand All @@ -61,6 +62,7 @@ export function patch_cc_AmbientInfo(ctx: cc_AmbientInfo_Context_Args, apply = d
apply(() => { $.visible(() => {
const scene = legacyCC.director.getScene();
const skybox = scene.globals.skybox;

if (skybox.useIBL && skybox.applyDiffuseMap) {
return false;
} else {
Expand Down Expand Up @@ -1069,6 +1071,7 @@ 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');
Expand All @@ -1079,6 +1082,7 @@ 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');
Expand Down

0 comments on commit bbadf9f

Please sign in to comment.