feat: integrate room framework and isolated subgame bundles
Complete room UI and protocol integration, move game definitions and resources behind bundle entries, publish authoritative version XML, and document single-game builds. Include all current resource changes and experiment artifacts.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
System.register([], function (_export, _context) {
|
||||
return {
|
||||
setters: [],
|
||||
execute: function () {
|
||||
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": "20",
|
||||
"config": {
|
||||
"useDefineForClassFields": true,
|
||||
"allowDeclareFields": true,
|
||||
"loose": true,
|
||||
"exportsConditions": [
|
||||
"browser"
|
||||
],
|
||||
"guessCommonJsExports": false,
|
||||
"preserveSymlinks": false
|
||||
}
|
||||
}
|
||||
+601
@@ -0,0 +1,601 @@
|
||||
{
|
||||
"chunks": {
|
||||
"50ec684ab28702df18cf262b25c26ec6d899c3a5": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "b18130d786bcadd1d0cb653401afdf2ede79b799"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "fd74c742a972dbbcd3691d204a338b19a4515b62"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883838004
|
||||
},
|
||||
"b18130d786bcadd1d0cb653401afdf2ede79b799": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883838127
|
||||
},
|
||||
"e2831fde95d58c09916d0f882742b7597544b8d1": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883838445
|
||||
},
|
||||
"7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883838620
|
||||
},
|
||||
"fd74c742a972dbbcd3691d204a338b19a4515b62": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883839732
|
||||
},
|
||||
"621a159ce4a7bac550092546e00c97e12458f12b": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883839972
|
||||
},
|
||||
"8e712b201a7af91e5a41365d538a13080eafb578": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883840060
|
||||
},
|
||||
"07a95adf538fa6dbf3998fa90cd1518629172d3a": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883840120
|
||||
},
|
||||
"a45626d8cbe59e99c7c3de1eff49663440433fe2": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883840176
|
||||
},
|
||||
"93ba276ea7b26ffcdc433fab14afc1ed6f05647b": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/base"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/gfx-webgl"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_10": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/rich-text"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_11": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/mask"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_12": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/graphics"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_13": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/ui-skew"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_14": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/ui"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_15": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/affine-transform"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_16": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/sorting-2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_17": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/particle"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_18": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/particle-2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_19": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-framework"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/gfx-webgl2"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_20": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-cannon"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_21": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-physx"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_22": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-ammo"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_23": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-builtin"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_24": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-framework"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_25": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-box2d-jsb"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_26": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-box2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_27": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-builtin"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_28": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-box2d-wasm"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_29": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/intersection-2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/gfx-empty"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_30": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/primitive"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_31": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/profiler"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_32": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/geometry-renderer"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_33": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/audio"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_34": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/video"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_35": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/xr"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_36": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/light-probe"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_37": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/terrain"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_38": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/webview"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_39": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/tween"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_4": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/gfx-webgpu"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_40": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/tiled-map"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_41": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/vendor-google"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_42": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/spine"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_43": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/dragon-bones"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_44": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/custom-pipeline"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_45": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/custom-pipeline-post-process"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_46": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/legacy-pipeline"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_5": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/3d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_6": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/animation"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_7": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/skeletal-animation"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_8": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_9": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/sorting"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788884452250
|
||||
},
|
||||
"6a5019a719a9014c047e67aa1cf34453ab8392ce": {
|
||||
"imports": {},
|
||||
"timestamp": 1788884452346
|
||||
},
|
||||
"6d8fd2b0177941b032ddc0733af48a561fb60657": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "50ec684ab28702df18cf262b25c26ec6d899c3a5"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "b18130d786bcadd1d0cb653401afdf2ede79b799"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_4": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "fd74c742a972dbbcd3691d204a338b19a4515b62"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_5": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "621a159ce4a7bac550092546e00c97e12458f12b"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_6": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "8e712b201a7af91e5a41365d538a13080eafb578"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_7": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "07a95adf538fa6dbf3998fa90cd1518629172d3a"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_8": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "a45626d8cbe59e99c7c3de1eff49663440433fe2"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788884454113
|
||||
}
|
||||
},
|
||||
"entries": {
|
||||
"cce:/internal/x/cc": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b",
|
||||
"cce:/internal/x/prerequisite-imports": "6d8fd2b0177941b032ddc0733af48a561fb60657",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-dof-pass.ts": "50ec684ab28702df18cf262b25c26ec6d899c3a5",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-pass.ts": "b18130d786bcadd1d0cb653401afdf2ede79b799",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-settings.ts": "e2831fde95d58c09916d0f882742b7597544b8d1",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-types.ts": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline.ts": "fd74c742a972dbbcd3691d204a338b19a4515b62",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts": "621a159ce4a7bac550092546e00c97e12458f12b",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts": "8e712b201a7af91e5a41365d538a13080eafb578",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts": "07a95adf538fa6dbf3998fa90cd1518629172d3a",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts": "a45626d8cbe59e99c7c3de1eff49663440433fe2"
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, _dec, _class, _crd, ProbeEntry_alpha;
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "34050VwvZJJLLqkmTAadrS3", "Entry", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator']);
|
||||
|
||||
_export("ProbeEntry_alpha", ProbeEntry_alpha = (_dec = _decorator.ccclass('ProbeEntry_alpha'), _dec(_class = class ProbeEntry_alpha {
|
||||
static run() {
|
||||
return 'PRIVATE_CODE_ALPHA';
|
||||
}
|
||||
|
||||
}) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=07a95adf538fa6dbf3998fa90cd1518629172d3a.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts"],"names":["_decorator","ProbeEntry_alpha","ccclass","run"],"mappings":";;;;;;;;;;AAAQA,MAAAA,U,OAAAA,U;;;;;;;;;kCAEKC,gB,WADZD,UAAU,CAACE,OAAX,CAAmB,kBAAnB,C,gBAAD,MACaD,gBADb,CAC8B;AAAW,eAAHE,GAAG,GAAE;AAAC,iBAAO,oBAAP;AAA6B;;AAA3C,O","sourcesContent":["import {_decorator} from 'cc';\n@_decorator.ccclass('ProbeEntry_alpha')\nexport class ProbeEntry_alpha {static run(){return 'PRIVATE_CODE_ALPHA';}}\n"]}
|
||||
+442
@@ -0,0 +1,442 @@
|
||||
System.register(["__unresolved_0", "cc", "cc/env", "__unresolved_1", "__unresolved_2", "__unresolved_3"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, assert, CCBoolean, CCFloat, CCInteger, gfx, Material, rendering, Vec3, Vec4, EDITOR, BuiltinPipelineSettings, BuiltinPipelinePassBuilder, getPingPongRenderTarget, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _crd, ccclass, disallowMultiple, executeInEditMode, menu, property, requireComponent, type, Color, LoadOp, StoreOp, BuiltinDepthOfFieldPass;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelineSettings(extras) {
|
||||
_reporterNs.report("BuiltinPipelineSettings", "./builtin-pipeline-settings", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelinePassBuilder(extras) {
|
||||
_reporterNs.report("BuiltinPipelinePassBuilder", "./builtin-pipeline-pass", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfCameraConfigs(extras) {
|
||||
_reporterNs.report("CameraConfigs", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfgetPingPongRenderTarget(extras) {
|
||||
_reporterNs.report("getPingPongRenderTarget", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineConfigs(extras) {
|
||||
_reporterNs.report("PipelineConfigs", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineContext(extras) {
|
||||
_reporterNs.report("PipelineContext", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
assert = _cc.assert;
|
||||
CCBoolean = _cc.CCBoolean;
|
||||
CCFloat = _cc.CCFloat;
|
||||
CCInteger = _cc.CCInteger;
|
||||
gfx = _cc.gfx;
|
||||
Material = _cc.Material;
|
||||
rendering = _cc.rendering;
|
||||
Vec3 = _cc.Vec3;
|
||||
Vec4 = _cc.Vec4;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}, function (_unresolved_2) {
|
||||
BuiltinPipelineSettings = _unresolved_2.BuiltinPipelineSettings;
|
||||
}, function (_unresolved_3) {
|
||||
BuiltinPipelinePassBuilder = _unresolved_3.BuiltinPipelinePassBuilder;
|
||||
}, function (_unresolved_4) {
|
||||
getPingPongRenderTarget = _unresolved_4.getPingPongRenderTarget;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "11f31MOwIxHu6IJcdEUWU5t", "builtin-dof-pass", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'assert', 'CCBoolean', 'CCFloat', 'CCInteger', 'gfx', 'Material', 'renderer', 'rendering', 'Vec3', 'Vec4']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
property,
|
||||
requireComponent,
|
||||
type
|
||||
} = _decorator);
|
||||
({
|
||||
Color,
|
||||
LoadOp,
|
||||
StoreOp
|
||||
} = gfx);
|
||||
|
||||
_export("BuiltinDepthOfFieldPass", BuiltinDepthOfFieldPass = (_dec = ccclass('BuiltinDepthOfFieldPass'), _dec2 = menu('Rendering/BuiltinDepthOfFieldPass'), _dec3 = requireComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings), _dec4 = property({
|
||||
group: {
|
||||
id: 'BuiltinPass',
|
||||
name: 'Pass Settings',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger
|
||||
}), _dec5 = property({
|
||||
group: {
|
||||
id: 'BuiltinPass',
|
||||
name: 'Pass Settings',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger
|
||||
}), _dec6 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean,
|
||||
visible: true
|
||||
}), _dec7 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material,
|
||||
visible: true
|
||||
}), _dec8 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0,
|
||||
visible: true
|
||||
}), _dec9 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0,
|
||||
visible: true
|
||||
}), _dec10 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.0, 2, 0.01],
|
||||
slide: true,
|
||||
visible: true
|
||||
}), _dec11 = type(CCFloat), _dec12 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.01, 10, 0.01],
|
||||
slide: true,
|
||||
visible: true
|
||||
}), _dec13 = type(Vec3), _dec14 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Vec3,
|
||||
visible: true
|
||||
}), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = (_class2 = class BuiltinDepthOfFieldPass extends (_crd && BuiltinPipelinePassBuilder === void 0 ? (_reportPossibleCrUseOfBuiltinPipelinePassBuilder({
|
||||
error: Error()
|
||||
}), BuiltinPipelinePassBuilder) : BuiltinPipelinePassBuilder) {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
||||
_initializerDefineProperty(this, "configOrder", _descriptor, this);
|
||||
|
||||
_initializerDefineProperty(this, "renderOrder", _descriptor2, this);
|
||||
|
||||
_initializerDefineProperty(this, "_enableDof", _descriptor3, this);
|
||||
|
||||
_initializerDefineProperty(this, "_material", _descriptor4, this);
|
||||
|
||||
_initializerDefineProperty(this, "_minRange", _descriptor5, this);
|
||||
|
||||
_initializerDefineProperty(this, "_maxRange", _descriptor6, this);
|
||||
|
||||
_initializerDefineProperty(this, "_blurRadius", _descriptor7, this);
|
||||
|
||||
_initializerDefineProperty(this, "_intensity", _descriptor8, this);
|
||||
|
||||
_initializerDefineProperty(this, "_focusPos", _descriptor9, this);
|
||||
|
||||
// Runtime members
|
||||
this._clearColorTransparentBlack = new Color(0, 0, 0, 0);
|
||||
this._cocParams = new Vec4(0, 0, 0, 0);
|
||||
this._focusPosVec4 = new Vec4(0, 0, 0, 1);
|
||||
this._cocTexSize = new Vec4(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
// DepthOfField
|
||||
set dofEnable(value) {
|
||||
this._enableDof = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get dofEnable() {
|
||||
return this._enableDof;
|
||||
}
|
||||
|
||||
set dofMaterial(value) {
|
||||
if (this._material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get dofMaterial() {
|
||||
return this._material;
|
||||
}
|
||||
|
||||
set dofMinRange(value) {
|
||||
this._minRange = value;
|
||||
}
|
||||
|
||||
get dofMinRange() {
|
||||
return this._minRange;
|
||||
}
|
||||
|
||||
set dofMaxRange(value) {
|
||||
this._maxRange = value;
|
||||
}
|
||||
|
||||
get dofMaxRange() {
|
||||
return this._maxRange;
|
||||
}
|
||||
|
||||
set dofIntensity(value) {
|
||||
this._intensity = value;
|
||||
}
|
||||
|
||||
get dofIntensity() {
|
||||
return this._intensity;
|
||||
}
|
||||
|
||||
set dofBlurRadius(value) {
|
||||
this._blurRadius = value;
|
||||
}
|
||||
|
||||
get dofBlurRadius() {
|
||||
return this._blurRadius;
|
||||
}
|
||||
|
||||
set dofFocusPos(value) {
|
||||
this._focusPos = value;
|
||||
}
|
||||
|
||||
get dofFocusPos() {
|
||||
return this._focusPos;
|
||||
} // PipelinePassBuilder
|
||||
|
||||
|
||||
getConfigOrder() {
|
||||
return this.configOrder;
|
||||
}
|
||||
|
||||
getRenderOrder() {
|
||||
return this.renderOrder;
|
||||
}
|
||||
|
||||
configCamera(camera, pplConfigs, cameraConfigs) {
|
||||
cameraConfigs.enableDof = pplConfigs.supportDepthSample && this._enableDof && !!this._material;
|
||||
|
||||
if (cameraConfigs.enableDof) {
|
||||
// Output scene depth, this is allowed but has performance impact
|
||||
cameraConfigs.enableStoreSceneDepth = true;
|
||||
++cameraConfigs.remainingPasses;
|
||||
}
|
||||
}
|
||||
|
||||
windowResize(ppl, pplConfigs, cameraConfigs, window) {
|
||||
const id = window.renderWindowId;
|
||||
|
||||
if (cameraConfigs.enableDof) {
|
||||
ppl.addRenderTarget(`DofRadiance${id}`, cameraConfigs.radianceFormat, cameraConfigs.width, cameraConfigs.height);
|
||||
}
|
||||
}
|
||||
|
||||
setup(ppl, pplConfigs, cameraConfigs, camera, context, prevRenderPass) {
|
||||
if (!cameraConfigs.enableDof) {
|
||||
return prevRenderPass;
|
||||
}
|
||||
|
||||
--cameraConfigs.remainingPasses;
|
||||
assert(!!this._material);
|
||||
|
||||
if (cameraConfigs.remainingPasses === 0) {
|
||||
return this._addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, this._material, camera, cameraConfigs.width, cameraConfigs.height, context.colorName, context.depthStencilName, cameraConfigs.colorName);
|
||||
} else {
|
||||
const prefix = cameraConfigs.enableShadingScale ? `ScaledRadiance` : `Radiance`;
|
||||
const outputRadianceName = (_crd && getPingPongRenderTarget === void 0 ? (_reportPossibleCrUseOfgetPingPongRenderTarget({
|
||||
error: Error()
|
||||
}), getPingPongRenderTarget) : getPingPongRenderTarget)(context.colorName, prefix, cameraConfigs.renderWindowId);
|
||||
const inputRadianceName = context.colorName;
|
||||
context.colorName = outputRadianceName;
|
||||
return this._addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, this._material, camera, cameraConfigs.width, cameraConfigs.height, inputRadianceName, context.depthStencilName, outputRadianceName);
|
||||
}
|
||||
}
|
||||
|
||||
_addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, dofMaterial, camera, width, height, inputRadiance, inputDepthStencil, outputRadianceName) {
|
||||
this._cocParams.x = this._minRange;
|
||||
this._cocParams.y = this._maxRange;
|
||||
this._cocParams.z = this._blurRadius;
|
||||
this._cocParams.w = this._intensity;
|
||||
this._focusPosVec4.x = this._focusPos.x;
|
||||
this._focusPosVec4.y = this._focusPos.y;
|
||||
this._focusPosVec4.z = this._focusPos.z;
|
||||
this._cocTexSize.x = 1.0 / width;
|
||||
this._cocTexSize.y = 1.0 / height;
|
||||
this._cocTexSize.z = width;
|
||||
this._cocTexSize.w = height;
|
||||
const id = cameraConfigs.renderWindowId;
|
||||
const tempRadiance = `DofRadiance${id}`; // Blur Pass
|
||||
|
||||
const blurPass = ppl.addRenderPass(width, height, 'cc-dof-blur');
|
||||
blurPass.addRenderTarget(tempRadiance, LoadOp.CLEAR, StoreOp.STORE, this._clearColorTransparentBlack);
|
||||
blurPass.addTexture(inputRadiance, 'screenTex');
|
||||
blurPass.setVec4('blurParams', this._cocParams);
|
||||
blurPass.setVec4('mainTexTexelSize', this._cocTexSize);
|
||||
blurPass.addQueue(rendering.QueueHint.OPAQUE).addCameraQuad(camera, dofMaterial, 0); // addCameraQuad will set camera related UBOs
|
||||
// coc pass
|
||||
|
||||
const cocPass = ppl.addRenderPass(width, height, 'cc-dof-coc');
|
||||
cocPass.addRenderTarget(outputRadianceName, LoadOp.CLEAR, StoreOp.STORE, this._clearColorTransparentBlack);
|
||||
cocPass.addTexture(tempRadiance, 'colorTex');
|
||||
cocPass.addTexture(inputDepthStencil, "DepthTex");
|
||||
cocPass.addTexture(inputRadiance, "screenTex");
|
||||
cocPass.setMat4('proj', camera.matProj);
|
||||
cocPass.setMat4('invProj', camera.matProjInv);
|
||||
cocPass.setMat4('viewMatInv', camera.node.worldMatrix);
|
||||
cocPass.setVec4('cocParams', this._cocParams);
|
||||
cocPass.setVec4('focus', this._focusPosVec4);
|
||||
cocPass.addQueue(rendering.QueueHint.OPAQUE).addCameraQuad(camera, dofMaterial, 1);
|
||||
return cocPass;
|
||||
}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configOrder", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 0;
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "renderOrder", [_dec5], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 150;
|
||||
}
|
||||
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "_enableDof", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return false;
|
||||
}
|
||||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "_material", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "_minRange", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 0;
|
||||
}
|
||||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "_maxRange", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 2;
|
||||
}
|
||||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "_blurRadius", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 1;
|
||||
}
|
||||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "_intensity", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return 1;
|
||||
}
|
||||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "_focusPos", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return new Vec3(0, 0, 0);
|
||||
}
|
||||
}), _applyDecoratedDescriptor(_class2.prototype, "dofEnable", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, "dofEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMaterial", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMinRange", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMinRange"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMaxRange", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMaxRange"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofIntensity", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, "dofIntensity"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofBlurRadius", [_dec11, _dec12], Object.getOwnPropertyDescriptor(_class2.prototype, "dofBlurRadius"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofFocusPos", [_dec13, _dec14], Object.getOwnPropertyDescriptor(_class2.prototype, "dofFocusPos"), _class2.prototype)), _class2)) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=50ec684ab28702df18cf262b25c26ec6d899c3a5.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+309
@@ -0,0 +1,309 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, Color, Canvas, UITransform, instantiate, Toggle, _decorator, Component, Button, director, Node, Label, RichText, _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _crd, ccclass, property, DebugViewRuntimeControl;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
Color = _cc.Color;
|
||||
Canvas = _cc.Canvas;
|
||||
UITransform = _cc.UITransform;
|
||||
instantiate = _cc.instantiate;
|
||||
Toggle = _cc.Toggle;
|
||||
_decorator = _cc._decorator;
|
||||
Component = _cc.Component;
|
||||
Button = _cc.Button;
|
||||
director = _cc.director;
|
||||
Node = _cc.Node;
|
||||
Label = _cc.Label;
|
||||
RichText = _cc.RichText;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "b2bd1+njXxJxaFY3ymm06WU", "debug-view-runtime-control", undefined);
|
||||
|
||||
__checkObsolete__(['Color', 'Canvas', 'UITransform', 'instantiate', 'math', 'Toggle', 'TextureCube', '_decorator', 'Component', 'Button', 'labelAssembler', 'game', 'director', 'Node', 'Scene', 'renderer', 'CameraComponent', 'Label', 'ForwardPipeline', 'RichText']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
property
|
||||
} = _decorator);
|
||||
|
||||
_export("DebugViewRuntimeControl", DebugViewRuntimeControl = (_dec = ccclass('internal.DebugViewRuntimeControl'), _dec2 = property(Node), _dec3 = property(Node), _dec4 = property(Node), _dec(_class = (_class2 = class DebugViewRuntimeControl extends Component {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
||||
_initializerDefineProperty(this, "compositeModeToggle", _descriptor, this);
|
||||
|
||||
_initializerDefineProperty(this, "singleModeToggle", _descriptor2, this);
|
||||
|
||||
_initializerDefineProperty(this, "EnableAllCompositeModeButton", _descriptor3, this);
|
||||
|
||||
this._single = 0;
|
||||
this.strSingle = ['No Single Debug', 'Vertex Color', 'Vertex Normal', 'Vertex Tangent', 'World Position', 'Vertex Mirror', 'Face Side', 'UV0', 'UV1', 'UV Lightmap', 'Project Depth', 'Linear Depth', 'Fragment Normal', 'Fragment Tangent', 'Fragment Binormal', 'Base Color', 'Diffuse Color', 'Specular Color', 'Transparency', 'Metallic', 'Roughness', 'Specular Intensity', 'IOR', 'Direct Diffuse', 'Direct Specular', 'Direct All', 'Env Diffuse', 'Env Specular', 'Env All', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Fresnel', 'Direct Transmit Diffuse', 'Direct Transmit Specular', 'Env Transmit Diffuse', 'Env Transmit Specular', 'Transmit All', 'Direct Internal Specular', 'Env Internal Specular', 'Internal All', 'Fog'];
|
||||
this.strComposite = ['Direct Diffuse', 'Direct Specular', 'Env Diffuse', 'Env Specular', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Normal Map', 'Fog', 'Tone Mapping', 'Gamma Correction', 'Fresnel', 'Transmit Diffuse', 'Transmit Specular', 'Internal Specular', 'TT'];
|
||||
this.strMisc = ['CSM Layer Coloration', 'Lighting With Albedo'];
|
||||
this.compositeModeToggleList = [];
|
||||
this.singleModeToggleList = [];
|
||||
this.miscModeToggleList = [];
|
||||
this.textComponentList = [];
|
||||
this.labelComponentList = [];
|
||||
this.textContentList = [];
|
||||
this.hideButtonLabel = void 0;
|
||||
this._currentColorIndex = 0;
|
||||
this.strColor = ['<color=#ffffff>', '<color=#000000>', '<color=#ff0000>', '<color=#00ff00>', '<color=#0000ff>'];
|
||||
this.color = [Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE];
|
||||
}
|
||||
|
||||
start() {
|
||||
// get canvas resolution
|
||||
const canvas = this.node.parent.getComponent(Canvas);
|
||||
|
||||
if (!canvas) {
|
||||
console.error('debug-view-runtime-control should be child of Canvas');
|
||||
return;
|
||||
}
|
||||
|
||||
const uiTransform = this.node.parent.getComponent(UITransform);
|
||||
const halfScreenWidth = uiTransform.width * 0.5;
|
||||
const halfScreenHeight = uiTransform.height * 0.5;
|
||||
let x = -halfScreenWidth + halfScreenWidth * 0.1,
|
||||
y = halfScreenHeight - halfScreenHeight * 0.1;
|
||||
const width = 200,
|
||||
height = 20; // new nodes
|
||||
|
||||
const miscNode = this.node.getChildByName('MiscMode');
|
||||
const buttonNode = instantiate(miscNode);
|
||||
buttonNode.parent = this.node;
|
||||
buttonNode.name = 'Buttons';
|
||||
const titleNode = instantiate(miscNode);
|
||||
titleNode.parent = this.node;
|
||||
titleNode.name = 'Titles'; // title
|
||||
|
||||
for (let i = 0; i < 2; i++) {
|
||||
const newLabel = instantiate(this.EnableAllCompositeModeButton.getChildByName('Label'));
|
||||
newLabel.setPosition(x + (i > 0 ? 50 + width * 2 : 150), y, 0.0);
|
||||
newLabel.setScale(0.75, 0.75, 0.75);
|
||||
newLabel.parent = titleNode;
|
||||
const labelComponent = newLabel.getComponent(Label);
|
||||
labelComponent.string = i ? '----------Composite Mode----------' : '----------Single Mode----------';
|
||||
labelComponent.color = Color.WHITE;
|
||||
labelComponent.overflow = 0;
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
}
|
||||
|
||||
y -= height; // single
|
||||
|
||||
let currentRow = 0;
|
||||
|
||||
for (let i = 0; i < this.strSingle.length; i++, currentRow++) {
|
||||
if (i === this.strSingle.length >> 1) {
|
||||
x += width;
|
||||
currentRow = 0;
|
||||
}
|
||||
|
||||
const newNode = i ? instantiate(this.singleModeToggle) : this.singleModeToggle;
|
||||
newNode.setPosition(x, y - height * currentRow, 0.0);
|
||||
newNode.setScale(0.5, 0.5, 0.5);
|
||||
newNode.parent = this.singleModeToggle.parent;
|
||||
const textComponent = newNode.getComponentInChildren(RichText);
|
||||
textComponent.string = this.strSingle[i];
|
||||
this.textComponentList[this.textComponentList.length] = textComponent;
|
||||
this.textContentList[this.textContentList.length] = textComponent.string;
|
||||
newNode.on(Toggle.EventType.TOGGLE, this.toggleSingleMode, this);
|
||||
this.singleModeToggleList[i] = newNode;
|
||||
}
|
||||
|
||||
x += width; // buttons
|
||||
|
||||
this.EnableAllCompositeModeButton.setPosition(x + 15, y, 0.0);
|
||||
this.EnableAllCompositeModeButton.setScale(0.5, 0.5, 0.5);
|
||||
this.EnableAllCompositeModeButton.on(Button.EventType.CLICK, this.enableAllCompositeMode, this);
|
||||
this.EnableAllCompositeModeButton.parent = buttonNode;
|
||||
let labelComponent = this.EnableAllCompositeModeButton.getComponentInChildren(Label);
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
const changeColorButton = instantiate(this.EnableAllCompositeModeButton);
|
||||
changeColorButton.setPosition(x + 90, y, 0.0);
|
||||
changeColorButton.setScale(0.5, 0.5, 0.5);
|
||||
changeColorButton.on(Button.EventType.CLICK, this.changeTextColor, this);
|
||||
changeColorButton.parent = buttonNode;
|
||||
labelComponent = changeColorButton.getComponentInChildren(Label);
|
||||
labelComponent.string = 'TextColor';
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
const HideButton = instantiate(this.EnableAllCompositeModeButton);
|
||||
HideButton.setPosition(x + 200, y, 0.0);
|
||||
HideButton.setScale(0.5, 0.5, 0.5);
|
||||
HideButton.on(Button.EventType.CLICK, this.hideUI, this);
|
||||
HideButton.parent = this.node.parent;
|
||||
labelComponent = HideButton.getComponentInChildren(Label);
|
||||
labelComponent.string = 'Hide UI';
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
this.hideButtonLabel = labelComponent; // misc
|
||||
|
||||
y -= 40;
|
||||
|
||||
for (let i = 0; i < this.strMisc.length; i++) {
|
||||
const newNode = instantiate(this.compositeModeToggle);
|
||||
newNode.setPosition(x, y - height * i, 0.0);
|
||||
newNode.setScale(0.5, 0.5, 0.5);
|
||||
newNode.parent = miscNode;
|
||||
const textComponent = newNode.getComponentInChildren(RichText);
|
||||
textComponent.string = this.strMisc[i];
|
||||
this.textComponentList[this.textComponentList.length] = textComponent;
|
||||
this.textContentList[this.textContentList.length] = textComponent.string;
|
||||
const toggleComponent = newNode.getComponent(Toggle);
|
||||
toggleComponent.isChecked = i ? true : false;
|
||||
newNode.on(Toggle.EventType.TOGGLE, i ? this.toggleLightingWithAlbedo : this.toggleCSMColoration, this);
|
||||
this.miscModeToggleList[i] = newNode;
|
||||
} // composite
|
||||
|
||||
|
||||
y -= 150;
|
||||
|
||||
for (let i = 0; i < this.strComposite.length; i++) {
|
||||
const newNode = i ? instantiate(this.compositeModeToggle) : this.compositeModeToggle;
|
||||
newNode.setPosition(x, y - height * i, 0.0);
|
||||
newNode.setScale(0.5, 0.5, 0.5);
|
||||
newNode.parent = this.compositeModeToggle.parent;
|
||||
const textComponent = newNode.getComponentInChildren(RichText);
|
||||
textComponent.string = this.strComposite[i];
|
||||
this.textComponentList[this.textComponentList.length] = textComponent;
|
||||
this.textContentList[this.textContentList.length] = textComponent.string;
|
||||
newNode.on(Toggle.EventType.TOGGLE, this.toggleCompositeMode, this);
|
||||
this.compositeModeToggleList[i] = newNode;
|
||||
}
|
||||
}
|
||||
|
||||
isTextMatched(textUI, textDescription) {
|
||||
let tempText = new String(textUI);
|
||||
const findIndex = tempText.search('>');
|
||||
|
||||
if (findIndex === -1) {
|
||||
return textUI === textDescription;
|
||||
} else {
|
||||
tempText = tempText.substr(findIndex + 1);
|
||||
tempText = tempText.substr(0, tempText.search('<'));
|
||||
return tempText === textDescription;
|
||||
}
|
||||
}
|
||||
|
||||
toggleSingleMode(toggle) {
|
||||
const debugView = director.root.debugView;
|
||||
const textComponent = toggle.getComponentInChildren(RichText);
|
||||
|
||||
for (let i = 0; i < this.strSingle.length; i++) {
|
||||
if (this.isTextMatched(textComponent.string, this.strSingle[i])) {
|
||||
debugView.singleMode = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toggleCompositeMode(toggle) {
|
||||
const debugView = director.root.debugView;
|
||||
const textComponent = toggle.getComponentInChildren(RichText);
|
||||
|
||||
for (let i = 0; i < this.strComposite.length; i++) {
|
||||
if (this.isTextMatched(textComponent.string, this.strComposite[i])) {
|
||||
debugView.enableCompositeMode(i, toggle.isChecked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toggleLightingWithAlbedo(toggle) {
|
||||
const debugView = director.root.debugView;
|
||||
debugView.lightingWithAlbedo = toggle.isChecked;
|
||||
}
|
||||
|
||||
toggleCSMColoration(toggle) {
|
||||
const debugView = director.root.debugView;
|
||||
debugView.csmLayerColoration = toggle.isChecked;
|
||||
}
|
||||
|
||||
enableAllCompositeMode(button) {
|
||||
const debugView = director.root.debugView;
|
||||
debugView.enableAllCompositeMode(true);
|
||||
|
||||
for (let i = 0; i < this.compositeModeToggleList.length; i++) {
|
||||
const toggleComponent = this.compositeModeToggleList[i].getComponent(Toggle);
|
||||
toggleComponent.isChecked = true;
|
||||
}
|
||||
|
||||
let toggleComponent = this.miscModeToggleList[0].getComponent(Toggle);
|
||||
toggleComponent.isChecked = false;
|
||||
debugView.csmLayerColoration = false;
|
||||
toggleComponent = this.miscModeToggleList[1].getComponent(Toggle);
|
||||
toggleComponent.isChecked = true;
|
||||
debugView.lightingWithAlbedo = true;
|
||||
}
|
||||
|
||||
hideUI(button) {
|
||||
const titleNode = this.node.getChildByName('Titles');
|
||||
const activeValue = !titleNode.active;
|
||||
this.singleModeToggleList[0].parent.active = activeValue;
|
||||
this.miscModeToggleList[0].parent.active = activeValue;
|
||||
this.compositeModeToggleList[0].parent.active = activeValue;
|
||||
this.EnableAllCompositeModeButton.parent.active = activeValue;
|
||||
titleNode.active = activeValue;
|
||||
this.hideButtonLabel.string = activeValue ? 'Hide UI' : 'Show UI';
|
||||
}
|
||||
|
||||
changeTextColor(button) {
|
||||
this._currentColorIndex++;
|
||||
|
||||
if (this._currentColorIndex >= this.strColor.length) {
|
||||
this._currentColorIndex = 0;
|
||||
}
|
||||
|
||||
for (let i = 0; i < this.textComponentList.length; i++) {
|
||||
this.textComponentList[i].string = this.strColor[this._currentColorIndex] + this.textContentList[i] + '</color>';
|
||||
}
|
||||
|
||||
for (let i = 0; i < this.labelComponentList.length; i++) {
|
||||
this.labelComponentList[i].color = this.color[this._currentColorIndex];
|
||||
}
|
||||
}
|
||||
|
||||
onLoad() {}
|
||||
|
||||
update(deltaTime) {}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "compositeModeToggle", [_dec2], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "singleModeToggle", [_dec3], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "EnableAllCompositeModeButton", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
})), _class2)) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=621a159ce4a7bac550092546e00c97e12458f12b.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+28
@@ -0,0 +1,28 @@
|
||||
System.register([], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* This is the module which implements circular-reference detection.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Reports a circular reference error fired by module import.
|
||||
* @param imported The binding of the import.
|
||||
* @param moduleRequest The module request of the import.
|
||||
* @param importMeta The import.meta of the source module.
|
||||
* @param extras Extra data passed by circular reference detection implementation.
|
||||
*/
|
||||
function report(imported, moduleRequest, importMeta, extras) {
|
||||
console.warn(`Found possible circular reference in "${importMeta.url}", \
|
||||
happened when use "${imported}" imported from "${moduleRequest}" \
|
||||
`, extras.error);
|
||||
}
|
||||
|
||||
_export("report", report);
|
||||
|
||||
return {
|
||||
setters: [],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=6a5019a719a9014c047e67aa1cf34453ab8392ce.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["cce:/internal/code-quality/cr.mjs"],"names":["report","imported","moduleRequest","importMeta","extras","console","warn","url","error"],"mappings":";;;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEO,WAASA,MAAT,CAAgBC,QAAhB,EAA0BC,aAA1B,EAAyCC,UAAzC,EAAqDC,MAArD,EAA6D;AAChEC,IAAAA,OAAO,CAACC,IAAR,CACK,yCAAwCH,UAAU,CAACI,GAAI;AAChE,qBAAqBN,QAAS,oBAAmBC,aAAc;AAC/D,CAHI,EAIIE,MAAM,CAACI,KAJX;AAMH;;oBAPeR,M","sourcesContent":["\r\n/**\r\n * This is the module which implements circular-reference detection.\r\n */\r\n\r\n/**\r\n * Reports a circular reference error fired by module import.\r\n * @param imported The binding of the import.\r\n * @param moduleRequest The module request of the import.\r\n * @param importMeta The import.meta of the source module.\r\n * @param extras Extra data passed by circular reference detection implementation.\r\n */\r\n\r\nexport function report(imported, moduleRequest, importMeta, extras) {\r\n console.warn(\r\n `Found possible circular reference in \"${importMeta.url}\", \\\r\nhappened when use \"${imported}\" imported from \"${moduleRequest}\" \\\r\n`,\r\n extras.error,\r\n );\r\n}\r\n"]}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
System.register([], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [],
|
||||
execute: async function () {
|
||||
// Auto generated represents the prerequisite imports of project modules.
|
||||
await (async () => {
|
||||
const requests = [() => _context.import("__unresolved_0"), () => _context.import("__unresolved_1"), () => _context.import("__unresolved_2"), () => _context.import("__unresolved_3"), () => _context.import("__unresolved_4"), () => _context.import("__unresolved_5"), () => _context.import("__unresolved_6"), () => _context.import("__unresolved_7"), () => _context.import("__unresolved_8")];
|
||||
|
||||
for (const request of requests) {
|
||||
try {
|
||||
await request();
|
||||
} catch (_err) {// The error should have been caught by executor.
|
||||
}
|
||||
}
|
||||
})();
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=6d8fd2b0177941b032ddc0733af48a561fb60657.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["cce:/internal/x/prerequisite-imports"],"names":["requests","request","_err"],"mappings":";;;;;;AACA;AAEA,YAAM,CAAC,YAAY;AACf,cAAMA,QAAQ,GAAG,CAAC,uCAAD,EAA4J,uCAA5J,EAA4T,uCAA5T,EAAge,uCAAhe,EAAioB,uCAAjoB,EAA4xB,uCAA5xB,EAAg7B,uCAAh7B,EAAsiC,uCAAtiC,EAAyqC,uCAAzqC,CAAjB;;AACA,aAAK,MAAMC,OAAX,IAAsBD,QAAtB,EAAgC;AAC5B,cAAI;AACA,kBAAMC,OAAO,EAAb;AACH,WAFD,CAEE,OAAOC,IAAP,EAAa,CACX;AACH;AACJ;AACJ,OATK,GAAN","sourcesContent":["\n// Auto generated represents the prerequisite imports of project modules.\n\nawait (async () => {\n const requests = [() => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-dof-pass.ts\"), () => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-pass.ts\"), () => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-settings.ts\"), () => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-types.ts\"), () => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline.ts\"), () => import(\"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts\"), () => import(\"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts\"), () => import(\"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts\"), () => import(\"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts\")];\n for (const request of requests) {\n try {\n await request();\n } catch (_err) {\n // The error should have been caught by executor.\n }\n }\n})();\n "]}
|
||||
+333
@@ -0,0 +1,333 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, ccenum, gfx, _crd, SampleCount, BloomType;
|
||||
|
||||
function makeMSAA() {
|
||||
return {
|
||||
enabled: false,
|
||||
sampleCount: SampleCount.X4
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredMSAA(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.sampleCount === undefined) {
|
||||
value.sampleCount = SampleCount.X4;
|
||||
}
|
||||
}
|
||||
|
||||
function makeHBAO() {
|
||||
return {
|
||||
enabled: false,
|
||||
radiusScale: 1,
|
||||
angleBiasDegree: 10,
|
||||
blurSharpness: 3,
|
||||
aoSaturation: 1,
|
||||
needBlur: false
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredHBAO(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.radiusScale === undefined) {
|
||||
value.radiusScale = 1;
|
||||
}
|
||||
|
||||
if (value.angleBiasDegree === undefined) {
|
||||
value.angleBiasDegree = 10;
|
||||
}
|
||||
|
||||
if (value.blurSharpness === undefined) {
|
||||
value.blurSharpness = 3;
|
||||
}
|
||||
|
||||
if (value.aoSaturation === undefined) {
|
||||
value.aoSaturation = 1;
|
||||
}
|
||||
|
||||
if (value.needBlur === undefined) {
|
||||
value.needBlur = false;
|
||||
}
|
||||
}
|
||||
|
||||
function makeBloom() {
|
||||
return {
|
||||
enabled: false,
|
||||
type: BloomType.KawaseDualFilter,
|
||||
material: null,
|
||||
kawaseFilterMaterial: null,
|
||||
mipmapFilterMaterial: null,
|
||||
enableAlphaMask: false,
|
||||
iterations: 3,
|
||||
threshold: 0.8,
|
||||
intensity: 1
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredBloom(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.type === undefined) {
|
||||
value.type = BloomType.KawaseDualFilter;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.kawaseFilterMaterial === undefined) {
|
||||
value.kawaseFilterMaterial = value.material || null;
|
||||
}
|
||||
|
||||
if (value.mipmapFilterMaterial === undefined) {
|
||||
value.mipmapFilterMaterial = null;
|
||||
}
|
||||
|
||||
if (value.enableAlphaMask === undefined) {
|
||||
value.enableAlphaMask = false;
|
||||
}
|
||||
|
||||
if (value.iterations === undefined) {
|
||||
value.iterations = 3;
|
||||
}
|
||||
|
||||
if (value.threshold === undefined) {
|
||||
value.threshold = 0.8;
|
||||
}
|
||||
|
||||
if (value.intensity === undefined) {
|
||||
value.intensity = 1;
|
||||
}
|
||||
}
|
||||
|
||||
function makeColorGrading() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null,
|
||||
contribute: 1,
|
||||
colorGradingMap: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredColorGrading(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.contribute === undefined) {
|
||||
value.contribute = 1;
|
||||
}
|
||||
|
||||
if (value.colorGradingMap === undefined) {
|
||||
value.colorGradingMap = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makeFSR() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null,
|
||||
sharpness: 0.8
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredFSR(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.sharpness === undefined) {
|
||||
value.sharpness = 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
function makeFXAA() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredFXAA(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makeToneMapping() {
|
||||
return {
|
||||
material: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredToneMapping(value) {
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makePipelineSettings() {
|
||||
return {
|
||||
msaa: makeMSAA(),
|
||||
enableShadingScale: false,
|
||||
shadingScale: 0.5,
|
||||
bloom: makeBloom(),
|
||||
toneMapping: makeToneMapping(),
|
||||
colorGrading: makeColorGrading(),
|
||||
fsr: makeFSR(),
|
||||
fxaa: makeFXAA()
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredPipelineSettings(value) {
|
||||
if (!value.msaa) {
|
||||
value.msaa = makeMSAA();
|
||||
} else {
|
||||
fillRequiredMSAA(value.msaa);
|
||||
}
|
||||
|
||||
if (value.enableShadingScale === undefined) {
|
||||
value.enableShadingScale = false;
|
||||
}
|
||||
|
||||
if (value.shadingScale === undefined) {
|
||||
value.shadingScale = 0.5;
|
||||
}
|
||||
|
||||
if (!value.bloom) {
|
||||
value.bloom = makeBloom();
|
||||
} else {
|
||||
fillRequiredBloom(value.bloom);
|
||||
}
|
||||
|
||||
if (!value.toneMapping) {
|
||||
value.toneMapping = makeToneMapping();
|
||||
} else {
|
||||
fillRequiredToneMapping(value.toneMapping);
|
||||
}
|
||||
|
||||
if (!value.colorGrading) {
|
||||
value.colorGrading = makeColorGrading();
|
||||
} else {
|
||||
fillRequiredColorGrading(value.colorGrading);
|
||||
}
|
||||
|
||||
if (!value.fsr) {
|
||||
value.fsr = makeFSR();
|
||||
} else {
|
||||
fillRequiredFSR(value.fsr);
|
||||
}
|
||||
|
||||
if (!value.fxaa) {
|
||||
value.fxaa = makeFXAA();
|
||||
} else {
|
||||
fillRequiredFXAA(value.fxaa);
|
||||
}
|
||||
}
|
||||
|
||||
_export({
|
||||
makeMSAA: makeMSAA,
|
||||
fillRequiredMSAA: fillRequiredMSAA,
|
||||
makeHBAO: makeHBAO,
|
||||
fillRequiredHBAO: fillRequiredHBAO,
|
||||
makeBloom: makeBloom,
|
||||
fillRequiredBloom: fillRequiredBloom,
|
||||
makeColorGrading: makeColorGrading,
|
||||
fillRequiredColorGrading: fillRequiredColorGrading,
|
||||
makeFSR: makeFSR,
|
||||
fillRequiredFSR: fillRequiredFSR,
|
||||
makeFXAA: makeFXAA,
|
||||
fillRequiredFXAA: fillRequiredFXAA,
|
||||
makeToneMapping: makeToneMapping,
|
||||
fillRequiredToneMapping: fillRequiredToneMapping,
|
||||
makePipelineSettings: makePipelineSettings,
|
||||
fillRequiredPipelineSettings: fillRequiredPipelineSettings
|
||||
});
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
ccenum = _cc.ccenum;
|
||||
gfx = _cc.gfx;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "cbf30kCUX9A3K+QpVC6wnzx", "builtin-pipeline-types", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
|
||||
* The following section is auto-generated.
|
||||
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
|
||||
*/
|
||||
|
||||
/* eslint-disable max-len */
|
||||
|
||||
|
||||
__checkObsolete__(['Material', 'Texture2D', 'ccenum', 'gfx']);
|
||||
|
||||
({
|
||||
SampleCount
|
||||
} = gfx);
|
||||
|
||||
_export("BloomType", BloomType = /*#__PURE__*/function (BloomType) {
|
||||
BloomType[BloomType["KawaseDualFilter"] = 0] = "KawaseDualFilter";
|
||||
BloomType[BloomType["MipmapFilter"] = 1] = "MipmapFilter";
|
||||
return BloomType;
|
||||
}({}));
|
||||
|
||||
ccenum(BloomType);
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+64
@@ -0,0 +1,64 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, director, Director, assetManager, TextAsset, Prefab, instantiate, js, _crd;
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
director = _cc.director;
|
||||
Director = _cc.Director;
|
||||
assetManager = _cc.assetManager;
|
||||
TextAsset = _cc.TextAsset;
|
||||
Prefab = _cc.Prefab;
|
||||
instantiate = _cc.instantiate;
|
||||
js = _cc.js;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "d3a6crOBwVLlLjTY3gqQ3kp", "Boot", undefined);
|
||||
|
||||
__checkObsolete__(['director', 'Director', 'assetManager', 'TextAsset', 'Prefab', 'instantiate', 'js']);
|
||||
|
||||
director.once(Director.EVENT_AFTER_SCENE_LAUNCH, async () => {
|
||||
const report = {
|
||||
ok: false,
|
||||
requests: []
|
||||
};
|
||||
globalThis.__probe = report;
|
||||
|
||||
try {
|
||||
const target = await fetch('./target.json').then(r => {
|
||||
if (!r.ok) throw Error('target missing');
|
||||
return r.json();
|
||||
});
|
||||
report.selected = target.bundle;
|
||||
const bundle = await new Promise((resolve, reject) => assetManager.loadBundle(target.bundle, (e, b) => e ? reject(e) : resolve(b)));
|
||||
const entry = js.getClassByName(target.entry);
|
||||
if (!entry) throw Error('entry missing');
|
||||
report.code = entry.run();
|
||||
const text = await new Promise((resolve, reject) => bundle.load('private', TextAsset, (e, a) => e ? reject(e) : resolve(a)));
|
||||
report.text = text.text;
|
||||
const prefab = await new Promise((resolve, reject) => bundle.load('View', Prefab, (e, a) => e ? reject(e) : resolve(a)));
|
||||
const node = instantiate(prefab);
|
||||
node.parent = director.getScene();
|
||||
report.prefab = node.name;
|
||||
report.otherRegistered = !!js.getClassByName(target.otherEntry);
|
||||
report.ok = true;
|
||||
} catch (e) {
|
||||
report.error = String(e);
|
||||
}
|
||||
|
||||
console.log('PROBE_RESULT', JSON.stringify(report));
|
||||
});
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=8e712b201a7af91e5a41365d538a13080eafb578.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts"],"names":["director","Director","assetManager","TextAsset","Prefab","instantiate","js","once","EVENT_AFTER_SCENE_LAUNCH","report","ok","requests","globalThis","__probe","target","fetch","then","r","Error","json","selected","bundle","Promise","resolve","reject","loadBundle","e","b","entry","getClassByName","code","run","text","load","a","prefab","node","parent","getScene","name","otherRegistered","otherEntry","error","String","console","log","JSON","stringify"],"mappings":";;;;;;;;;;AAAQA,MAAAA,Q,OAAAA,Q;AAASC,MAAAA,Q,OAAAA,Q;AAASC,MAAAA,Y,OAAAA,Y;AAAaC,MAAAA,S,OAAAA,S;AAAUC,MAAAA,M,OAAAA,M;AAAOC,MAAAA,W,OAAAA,W;AAAYC,MAAAA,E,OAAAA,E;;;;;;;;;AACpEN,MAAAA,QAAQ,CAACO,IAAT,CAAcN,QAAQ,CAACO,wBAAvB,EAAgD,YAAS;AACxD,cAAMC,MAAU,GAAC;AAACC,UAAAA,EAAE,EAAC,KAAJ;AAAUC,UAAAA,QAAQ,EAAC;AAAnB,SAAjB;AAAyCC,QAAAA,UAAD,CAAoBC,OAApB,GAA4BJ,MAA5B;;AACxC,YAAG;AAAC,gBAAMK,MAAM,GAAC,MAAMC,KAAK,CAAC,eAAD,CAAL,CAAuBC,IAAvB,CAA4BC,CAAC,IAAE;AAAC,gBAAG,CAACA,CAAC,CAACP,EAAN,EAAS,MAAMQ,KAAK,CAAC,gBAAD,CAAX;AAA8B,mBAAOD,CAAC,CAACE,IAAF,EAAP;AAAiB,WAAxF,CAAnB;AACJV,UAAAA,MAAM,CAACW,QAAP,GAAgBN,MAAM,CAACO,MAAvB;AACA,gBAAMA,MAAM,GAAC,MAAM,IAAIC,OAAJ,CAAiB,CAACC,OAAD,EAASC,MAAT,KAAkBtB,YAAY,CAACuB,UAAb,CAAwBX,MAAM,CAACO,MAA/B,EAAsC,CAACK,CAAD,EAAGC,CAAH,KAAOD,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACI,CAAD,CAAhE,CAAnC,CAAnB;AACA,gBAAMC,KAAS,GAACtB,EAAE,CAACuB,cAAH,CAAkBf,MAAM,CAACc,KAAzB,CAAhB;AAAgD,cAAG,CAACA,KAAJ,EAAU,MAAMV,KAAK,CAAC,eAAD,CAAX;AAA6BT,UAAAA,MAAM,CAACqB,IAAP,GAAYF,KAAK,CAACG,GAAN,EAAZ;AACvF,gBAAMC,IAAI,GAAC,MAAM,IAAIV,OAAJ,CAAuB,CAACC,OAAD,EAASC,MAAT,KAAkBH,MAAM,CAACY,IAAP,CAAY,SAAZ,EAAsB9B,SAAtB,EAAgC,CAACuB,CAAD,EAAGQ,CAAH,KAAOR,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACW,CAAD,CAA1D,CAAzC,CAAjB;AAA0HzB,UAAAA,MAAM,CAACuB,IAAP,GAAYA,IAAI,CAACA,IAAjB;AAC1H,gBAAMG,MAAM,GAAC,MAAM,IAAIb,OAAJ,CAAoB,CAACC,OAAD,EAASC,MAAT,KAAkBH,MAAM,CAACY,IAAP,CAAY,MAAZ,EAAmB7B,MAAnB,EAA0B,CAACsB,CAAD,EAAGQ,CAAH,KAAOR,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACW,CAAD,CAApD,CAAtC,CAAnB;AAAmH,gBAAME,IAAI,GAAC/B,WAAW,CAAC8B,MAAD,CAAtB;AAA+BC,UAAAA,IAAI,CAACC,MAAL,GAAYrC,QAAQ,CAACsC,QAAT,EAAZ;AAAgC7B,UAAAA,MAAM,CAAC0B,MAAP,GAAcC,IAAI,CAACG,IAAnB;AAClL9B,UAAAA,MAAM,CAAC+B,eAAP,GAAuB,CAAC,CAAClC,EAAE,CAACuB,cAAH,CAAkBf,MAAM,CAAC2B,UAAzB,CAAzB;AAA8DhC,UAAAA,MAAM,CAACC,EAAP,GAAU,IAAV;AAC7D,SAPD,CAOC,OAAMgB,CAAN,EAAQ;AAACjB,UAAAA,MAAM,CAACiC,KAAP,GAAaC,MAAM,CAACjB,CAAD,CAAnB;AAAwB;;AAClCkB,QAAAA,OAAO,CAACC,GAAR,CAAY,cAAZ,EAA2BC,IAAI,CAACC,SAAL,CAAetC,MAAf,CAA3B;AACA,OAXD","sourcesContent":["import {director,Director,assetManager,TextAsset,Prefab,instantiate,js} from 'cc';\ndirector.once(Director.EVENT_AFTER_SCENE_LAUNCH,async()=>{\n const report:any={ok:false,requests:[]};(globalThis as any).__probe=report;\n try{const target=await fetch('./target.json').then(r=>{if(!r.ok)throw Error('target missing');return r.json();});\n report.selected=target.bundle;\n const bundle=await new Promise<any>((resolve,reject)=>assetManager.loadBundle(target.bundle,(e,b)=>e?reject(e):resolve(b)));\n const entry:any=js.getClassByName(target.entry);if(!entry)throw Error('entry missing');report.code=entry.run();\n const text=await new Promise<TextAsset>((resolve,reject)=>bundle.load('private',TextAsset,(e,a)=>e?reject(e):resolve(a)));report.text=text.text;\n const prefab=await new Promise<Prefab>((resolve,reject)=>bundle.load('View',Prefab,(e,a)=>e?reject(e):resolve(a)));const node=instantiate(prefab);node.parent=director.getScene();report.prefab=node.name;\n report.otherRegistered=!!js.getClassByName(target.otherEntry);report.ok=true;\n }catch(e){report.error=String(e);}\n console.log('PROBE_RESULT',JSON.stringify(report));\n});\n"]}
|
||||
+385
@@ -0,0 +1,385 @@
|
||||
System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13", "__unresolved_14", "__unresolved_15", "__unresolved_16", "__unresolved_17", "__unresolved_18", "__unresolved_19", "__unresolved_20", "__unresolved_21", "__unresolved_22", "__unresolved_23", "__unresolved_24", "__unresolved_25", "__unresolved_26", "__unresolved_27", "__unresolved_28", "__unresolved_29", "__unresolved_30", "__unresolved_31", "__unresolved_32", "__unresolved_33", "__unresolved_34", "__unresolved_35", "__unresolved_36", "__unresolved_37", "__unresolved_38", "__unresolved_39", "__unresolved_40", "__unresolved_41", "__unresolved_42", "__unresolved_43", "__unresolved_44", "__unresolved_45", "__unresolved_46"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
var _exportObj = {};
|
||||
|
||||
for (var _key in _unresolved_) {
|
||||
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _unresolved_[_key];
|
||||
}
|
||||
|
||||
_export(_exportObj);
|
||||
}, function (_unresolved_2) {
|
||||
var _exportObj2 = {};
|
||||
|
||||
for (var _key2 in _unresolved_2) {
|
||||
if (_key2 !== "default" && _key2 !== "__esModule") _exportObj2[_key2] = _unresolved_2[_key2];
|
||||
}
|
||||
|
||||
_export(_exportObj2);
|
||||
}, function (_unresolved_3) {
|
||||
var _exportObj3 = {};
|
||||
|
||||
for (var _key3 in _unresolved_3) {
|
||||
if (_key3 !== "default" && _key3 !== "__esModule") _exportObj3[_key3] = _unresolved_3[_key3];
|
||||
}
|
||||
|
||||
_export(_exportObj3);
|
||||
}, function (_unresolved_4) {
|
||||
var _exportObj4 = {};
|
||||
|
||||
for (var _key4 in _unresolved_4) {
|
||||
if (_key4 !== "default" && _key4 !== "__esModule") _exportObj4[_key4] = _unresolved_4[_key4];
|
||||
}
|
||||
|
||||
_export(_exportObj4);
|
||||
}, function (_unresolved_5) {
|
||||
var _exportObj5 = {};
|
||||
|
||||
for (var _key5 in _unresolved_5) {
|
||||
if (_key5 !== "default" && _key5 !== "__esModule") _exportObj5[_key5] = _unresolved_5[_key5];
|
||||
}
|
||||
|
||||
_export(_exportObj5);
|
||||
}, function (_unresolved_6) {
|
||||
var _exportObj6 = {};
|
||||
|
||||
for (var _key6 in _unresolved_6) {
|
||||
if (_key6 !== "default" && _key6 !== "__esModule") _exportObj6[_key6] = _unresolved_6[_key6];
|
||||
}
|
||||
|
||||
_export(_exportObj6);
|
||||
}, function (_unresolved_7) {
|
||||
var _exportObj7 = {};
|
||||
|
||||
for (var _key7 in _unresolved_7) {
|
||||
if (_key7 !== "default" && _key7 !== "__esModule") _exportObj7[_key7] = _unresolved_7[_key7];
|
||||
}
|
||||
|
||||
_export(_exportObj7);
|
||||
}, function (_unresolved_8) {
|
||||
var _exportObj8 = {};
|
||||
|
||||
for (var _key8 in _unresolved_8) {
|
||||
if (_key8 !== "default" && _key8 !== "__esModule") _exportObj8[_key8] = _unresolved_8[_key8];
|
||||
}
|
||||
|
||||
_export(_exportObj8);
|
||||
}, function (_unresolved_9) {
|
||||
var _exportObj9 = {};
|
||||
|
||||
for (var _key9 in _unresolved_9) {
|
||||
if (_key9 !== "default" && _key9 !== "__esModule") _exportObj9[_key9] = _unresolved_9[_key9];
|
||||
}
|
||||
|
||||
_export(_exportObj9);
|
||||
}, function (_unresolved_10) {
|
||||
var _exportObj10 = {};
|
||||
|
||||
for (var _key10 in _unresolved_10) {
|
||||
if (_key10 !== "default" && _key10 !== "__esModule") _exportObj10[_key10] = _unresolved_10[_key10];
|
||||
}
|
||||
|
||||
_export(_exportObj10);
|
||||
}, function (_unresolved_11) {
|
||||
var _exportObj11 = {};
|
||||
|
||||
for (var _key11 in _unresolved_11) {
|
||||
if (_key11 !== "default" && _key11 !== "__esModule") _exportObj11[_key11] = _unresolved_11[_key11];
|
||||
}
|
||||
|
||||
_export(_exportObj11);
|
||||
}, function (_unresolved_12) {
|
||||
var _exportObj12 = {};
|
||||
|
||||
for (var _key12 in _unresolved_12) {
|
||||
if (_key12 !== "default" && _key12 !== "__esModule") _exportObj12[_key12] = _unresolved_12[_key12];
|
||||
}
|
||||
|
||||
_export(_exportObj12);
|
||||
}, function (_unresolved_13) {
|
||||
var _exportObj13 = {};
|
||||
|
||||
for (var _key13 in _unresolved_13) {
|
||||
if (_key13 !== "default" && _key13 !== "__esModule") _exportObj13[_key13] = _unresolved_13[_key13];
|
||||
}
|
||||
|
||||
_export(_exportObj13);
|
||||
}, function (_unresolved_14) {
|
||||
var _exportObj14 = {};
|
||||
|
||||
for (var _key14 in _unresolved_14) {
|
||||
if (_key14 !== "default" && _key14 !== "__esModule") _exportObj14[_key14] = _unresolved_14[_key14];
|
||||
}
|
||||
|
||||
_export(_exportObj14);
|
||||
}, function (_unresolved_15) {
|
||||
var _exportObj15 = {};
|
||||
|
||||
for (var _key15 in _unresolved_15) {
|
||||
if (_key15 !== "default" && _key15 !== "__esModule") _exportObj15[_key15] = _unresolved_15[_key15];
|
||||
}
|
||||
|
||||
_export(_exportObj15);
|
||||
}, function (_unresolved_16) {
|
||||
var _exportObj16 = {};
|
||||
|
||||
for (var _key16 in _unresolved_16) {
|
||||
if (_key16 !== "default" && _key16 !== "__esModule") _exportObj16[_key16] = _unresolved_16[_key16];
|
||||
}
|
||||
|
||||
_export(_exportObj16);
|
||||
}, function (_unresolved_17) {
|
||||
var _exportObj17 = {};
|
||||
|
||||
for (var _key17 in _unresolved_17) {
|
||||
if (_key17 !== "default" && _key17 !== "__esModule") _exportObj17[_key17] = _unresolved_17[_key17];
|
||||
}
|
||||
|
||||
_export(_exportObj17);
|
||||
}, function (_unresolved_18) {
|
||||
var _exportObj18 = {};
|
||||
|
||||
for (var _key18 in _unresolved_18) {
|
||||
if (_key18 !== "default" && _key18 !== "__esModule") _exportObj18[_key18] = _unresolved_18[_key18];
|
||||
}
|
||||
|
||||
_export(_exportObj18);
|
||||
}, function (_unresolved_19) {
|
||||
var _exportObj19 = {};
|
||||
|
||||
for (var _key19 in _unresolved_19) {
|
||||
if (_key19 !== "default" && _key19 !== "__esModule") _exportObj19[_key19] = _unresolved_19[_key19];
|
||||
}
|
||||
|
||||
_export(_exportObj19);
|
||||
}, function (_unresolved_20) {
|
||||
var _exportObj20 = {};
|
||||
|
||||
for (var _key20 in _unresolved_20) {
|
||||
if (_key20 !== "default" && _key20 !== "__esModule") _exportObj20[_key20] = _unresolved_20[_key20];
|
||||
}
|
||||
|
||||
_export(_exportObj20);
|
||||
}, function (_unresolved_21) {
|
||||
var _exportObj21 = {};
|
||||
|
||||
for (var _key21 in _unresolved_21) {
|
||||
if (_key21 !== "default" && _key21 !== "__esModule") _exportObj21[_key21] = _unresolved_21[_key21];
|
||||
}
|
||||
|
||||
_export(_exportObj21);
|
||||
}, function (_unresolved_22) {
|
||||
var _exportObj22 = {};
|
||||
|
||||
for (var _key22 in _unresolved_22) {
|
||||
if (_key22 !== "default" && _key22 !== "__esModule") _exportObj22[_key22] = _unresolved_22[_key22];
|
||||
}
|
||||
|
||||
_export(_exportObj22);
|
||||
}, function (_unresolved_23) {
|
||||
var _exportObj23 = {};
|
||||
|
||||
for (var _key23 in _unresolved_23) {
|
||||
if (_key23 !== "default" && _key23 !== "__esModule") _exportObj23[_key23] = _unresolved_23[_key23];
|
||||
}
|
||||
|
||||
_export(_exportObj23);
|
||||
}, function (_unresolved_24) {
|
||||
var _exportObj24 = {};
|
||||
|
||||
for (var _key24 in _unresolved_24) {
|
||||
if (_key24 !== "default" && _key24 !== "__esModule") _exportObj24[_key24] = _unresolved_24[_key24];
|
||||
}
|
||||
|
||||
_export(_exportObj24);
|
||||
}, function (_unresolved_25) {
|
||||
var _exportObj25 = {};
|
||||
|
||||
for (var _key25 in _unresolved_25) {
|
||||
if (_key25 !== "default" && _key25 !== "__esModule") _exportObj25[_key25] = _unresolved_25[_key25];
|
||||
}
|
||||
|
||||
_export(_exportObj25);
|
||||
}, function (_unresolved_26) {
|
||||
var _exportObj26 = {};
|
||||
|
||||
for (var _key26 in _unresolved_26) {
|
||||
if (_key26 !== "default" && _key26 !== "__esModule") _exportObj26[_key26] = _unresolved_26[_key26];
|
||||
}
|
||||
|
||||
_export(_exportObj26);
|
||||
}, function (_unresolved_27) {
|
||||
var _exportObj27 = {};
|
||||
|
||||
for (var _key27 in _unresolved_27) {
|
||||
if (_key27 !== "default" && _key27 !== "__esModule") _exportObj27[_key27] = _unresolved_27[_key27];
|
||||
}
|
||||
|
||||
_export(_exportObj27);
|
||||
}, function (_unresolved_28) {
|
||||
var _exportObj28 = {};
|
||||
|
||||
for (var _key28 in _unresolved_28) {
|
||||
if (_key28 !== "default" && _key28 !== "__esModule") _exportObj28[_key28] = _unresolved_28[_key28];
|
||||
}
|
||||
|
||||
_export(_exportObj28);
|
||||
}, function (_unresolved_29) {
|
||||
var _exportObj29 = {};
|
||||
|
||||
for (var _key29 in _unresolved_29) {
|
||||
if (_key29 !== "default" && _key29 !== "__esModule") _exportObj29[_key29] = _unresolved_29[_key29];
|
||||
}
|
||||
|
||||
_export(_exportObj29);
|
||||
}, function (_unresolved_30) {
|
||||
var _exportObj30 = {};
|
||||
|
||||
for (var _key30 in _unresolved_30) {
|
||||
if (_key30 !== "default" && _key30 !== "__esModule") _exportObj30[_key30] = _unresolved_30[_key30];
|
||||
}
|
||||
|
||||
_export(_exportObj30);
|
||||
}, function (_unresolved_31) {
|
||||
var _exportObj31 = {};
|
||||
|
||||
for (var _key31 in _unresolved_31) {
|
||||
if (_key31 !== "default" && _key31 !== "__esModule") _exportObj31[_key31] = _unresolved_31[_key31];
|
||||
}
|
||||
|
||||
_export(_exportObj31);
|
||||
}, function (_unresolved_32) {
|
||||
var _exportObj32 = {};
|
||||
|
||||
for (var _key32 in _unresolved_32) {
|
||||
if (_key32 !== "default" && _key32 !== "__esModule") _exportObj32[_key32] = _unresolved_32[_key32];
|
||||
}
|
||||
|
||||
_export(_exportObj32);
|
||||
}, function (_unresolved_33) {
|
||||
var _exportObj33 = {};
|
||||
|
||||
for (var _key33 in _unresolved_33) {
|
||||
if (_key33 !== "default" && _key33 !== "__esModule") _exportObj33[_key33] = _unresolved_33[_key33];
|
||||
}
|
||||
|
||||
_export(_exportObj33);
|
||||
}, function (_unresolved_34) {
|
||||
var _exportObj34 = {};
|
||||
|
||||
for (var _key34 in _unresolved_34) {
|
||||
if (_key34 !== "default" && _key34 !== "__esModule") _exportObj34[_key34] = _unresolved_34[_key34];
|
||||
}
|
||||
|
||||
_export(_exportObj34);
|
||||
}, function (_unresolved_35) {
|
||||
var _exportObj35 = {};
|
||||
|
||||
for (var _key35 in _unresolved_35) {
|
||||
if (_key35 !== "default" && _key35 !== "__esModule") _exportObj35[_key35] = _unresolved_35[_key35];
|
||||
}
|
||||
|
||||
_export(_exportObj35);
|
||||
}, function (_unresolved_36) {
|
||||
var _exportObj36 = {};
|
||||
|
||||
for (var _key36 in _unresolved_36) {
|
||||
if (_key36 !== "default" && _key36 !== "__esModule") _exportObj36[_key36] = _unresolved_36[_key36];
|
||||
}
|
||||
|
||||
_export(_exportObj36);
|
||||
}, function (_unresolved_37) {
|
||||
var _exportObj37 = {};
|
||||
|
||||
for (var _key37 in _unresolved_37) {
|
||||
if (_key37 !== "default" && _key37 !== "__esModule") _exportObj37[_key37] = _unresolved_37[_key37];
|
||||
}
|
||||
|
||||
_export(_exportObj37);
|
||||
}, function (_unresolved_38) {
|
||||
var _exportObj38 = {};
|
||||
|
||||
for (var _key38 in _unresolved_38) {
|
||||
if (_key38 !== "default" && _key38 !== "__esModule") _exportObj38[_key38] = _unresolved_38[_key38];
|
||||
}
|
||||
|
||||
_export(_exportObj38);
|
||||
}, function (_unresolved_39) {
|
||||
var _exportObj39 = {};
|
||||
|
||||
for (var _key39 in _unresolved_39) {
|
||||
if (_key39 !== "default" && _key39 !== "__esModule") _exportObj39[_key39] = _unresolved_39[_key39];
|
||||
}
|
||||
|
||||
_export(_exportObj39);
|
||||
}, function (_unresolved_40) {
|
||||
var _exportObj40 = {};
|
||||
|
||||
for (var _key40 in _unresolved_40) {
|
||||
if (_key40 !== "default" && _key40 !== "__esModule") _exportObj40[_key40] = _unresolved_40[_key40];
|
||||
}
|
||||
|
||||
_export(_exportObj40);
|
||||
}, function (_unresolved_41) {
|
||||
var _exportObj41 = {};
|
||||
|
||||
for (var _key41 in _unresolved_41) {
|
||||
if (_key41 !== "default" && _key41 !== "__esModule") _exportObj41[_key41] = _unresolved_41[_key41];
|
||||
}
|
||||
|
||||
_export(_exportObj41);
|
||||
}, function (_unresolved_42) {
|
||||
var _exportObj42 = {};
|
||||
|
||||
for (var _key42 in _unresolved_42) {
|
||||
if (_key42 !== "default" && _key42 !== "__esModule") _exportObj42[_key42] = _unresolved_42[_key42];
|
||||
}
|
||||
|
||||
_export(_exportObj42);
|
||||
}, function (_unresolved_43) {
|
||||
var _exportObj43 = {};
|
||||
|
||||
for (var _key43 in _unresolved_43) {
|
||||
if (_key43 !== "default" && _key43 !== "__esModule") _exportObj43[_key43] = _unresolved_43[_key43];
|
||||
}
|
||||
|
||||
_export(_exportObj43);
|
||||
}, function (_unresolved_44) {
|
||||
var _exportObj44 = {};
|
||||
|
||||
for (var _key44 in _unresolved_44) {
|
||||
if (_key44 !== "default" && _key44 !== "__esModule") _exportObj44[_key44] = _unresolved_44[_key44];
|
||||
}
|
||||
|
||||
_export(_exportObj44);
|
||||
}, function (_unresolved_45) {
|
||||
var _exportObj45 = {};
|
||||
|
||||
for (var _key45 in _unresolved_45) {
|
||||
if (_key45 !== "default" && _key45 !== "__esModule") _exportObj45[_key45] = _unresolved_45[_key45];
|
||||
}
|
||||
|
||||
_export(_exportObj45);
|
||||
}, function (_unresolved_46) {
|
||||
var _exportObj46 = {};
|
||||
|
||||
for (var _key46 in _unresolved_46) {
|
||||
if (_key46 !== "default" && _key46 !== "__esModule") _exportObj46[_key46] = _unresolved_46[_key46];
|
||||
}
|
||||
|
||||
_export(_exportObj46);
|
||||
}, function (_unresolved_47) {
|
||||
var _exportObj47 = {};
|
||||
|
||||
for (var _key47 in _unresolved_47) {
|
||||
if (_key47 !== "default" && _key47 !== "__esModule") _exportObj47[_key47] = _unresolved_47[_key47];
|
||||
}
|
||||
|
||||
_export(_exportObj47);
|
||||
}],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, _dec, _class, _crd, ProbeEntry_beta;
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "f9f74JUc6lBwoJODpMQQneb", "Entry", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator']);
|
||||
|
||||
_export("ProbeEntry_beta", ProbeEntry_beta = (_dec = _decorator.ccclass('ProbeEntry_beta'), _dec(_class = class ProbeEntry_beta {
|
||||
static run() {
|
||||
return 'PRIVATE_CODE_BETA';
|
||||
}
|
||||
|
||||
}) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=a45626d8cbe59e99c7c3de1eff49663440433fe2.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts"],"names":["_decorator","ProbeEntry_beta","ccclass","run"],"mappings":";;;;;;;;;;AAAQA,MAAAA,U,OAAAA,U;;;;;;;;;iCAEKC,e,WADZD,UAAU,CAACE,OAAX,CAAmB,iBAAnB,C,gBAAD,MACaD,eADb,CAC6B;AAAW,eAAHE,GAAG,GAAE;AAAC,iBAAO,mBAAP;AAA4B;;AAA1C,O","sourcesContent":["import {_decorator} from 'cc';\n@_decorator.ccclass('ProbeEntry_beta')\nexport class ProbeEntry_beta {static run(){return 'PRIVATE_CODE_BETA';}}\n"]}
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "cc/env"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, assert, Component, BuiltinPipelineSettings, EDITOR, _dec, _dec2, _dec3, _class, _crd, ccclass, disallowMultiple, executeInEditMode, menu, requireComponent, BuiltinPipelinePassBuilder;
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelineSettings(extras) {
|
||||
_reporterNs.report("BuiltinPipelineSettings", "./builtin-pipeline-settings", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineSettings(extras) {
|
||||
_reporterNs.report("PipelineSettings2", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
assert = _cc.assert;
|
||||
Component = _cc.Component;
|
||||
}, function (_unresolved_2) {
|
||||
BuiltinPipelineSettings = _unresolved_2.BuiltinPipelineSettings;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "6f940g8/JJDi6Fbog7GFmbH", "builtin-pipeline-pass", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'assert', 'Component', 'rendering']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
requireComponent
|
||||
} = _decorator);
|
||||
|
||||
_export("BuiltinPipelinePassBuilder", BuiltinPipelinePassBuilder = (_dec = ccclass('BuiltinPipelinePassBuilder'), _dec2 = menu('Rendering/BuiltinPipelinePassBuilder'), _dec3 = requireComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = class BuiltinPipelinePassBuilder extends Component {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
this._parent = void 0;
|
||||
this._settings = void 0;
|
||||
}
|
||||
|
||||
getConfigOrder() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
getRenderOrder() {
|
||||
return 200;
|
||||
}
|
||||
|
||||
onEnable() {
|
||||
this._parent = this.getComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings);
|
||||
this._settings = this._parent.getPipelineSettings();
|
||||
|
||||
if (!Object.prototype.hasOwnProperty.call(this._settings, '_passes')) {
|
||||
Object.defineProperty(this._settings, '_passes', {
|
||||
value: [],
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true
|
||||
});
|
||||
}
|
||||
|
||||
assert(this._settings._passes !== undefined);
|
||||
|
||||
this._settings._passes.push(this);
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
onDisable() {
|
||||
assert(Object.prototype.hasOwnProperty.call(this._settings, '_passes'));
|
||||
const passes = this._settings._passes;
|
||||
assert(passes !== undefined);
|
||||
const idx = passes.indexOf(this);
|
||||
assert(idx >= 0);
|
||||
passes.splice(idx, 1);
|
||||
}
|
||||
|
||||
}) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=b18130d786bcadd1d0cb653401afdf2ede79b799.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+648
@@ -0,0 +1,648 @@
|
||||
System.register(["__unresolved_0", "cc", "cc/env", "__unresolved_1"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Camera, CCBoolean, CCFloat, CCInteger, Component, Material, rendering, Texture2D, EDITOR, BloomType, fillRequiredPipelineSettings, makePipelineSettings, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _class, _class2, _descriptor, _descriptor2, _crd, ccclass, disallowMultiple, executeInEditMode, menu, property, requireComponent, type, BuiltinPipelineSettings;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
function _reportPossibleCrUseOfBloomType(extras) {
|
||||
_reporterNs.report("BloomType", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOffillRequiredPipelineSettings(extras) {
|
||||
_reporterNs.report("fillRequiredPipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfmakePipelineSettings(extras) {
|
||||
_reporterNs.report("makePipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineSettings(extras) {
|
||||
_reporterNs.report("PipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
Camera = _cc.Camera;
|
||||
CCBoolean = _cc.CCBoolean;
|
||||
CCFloat = _cc.CCFloat;
|
||||
CCInteger = _cc.CCInteger;
|
||||
Component = _cc.Component;
|
||||
Material = _cc.Material;
|
||||
rendering = _cc.rendering;
|
||||
Texture2D = _cc.Texture2D;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}, function (_unresolved_2) {
|
||||
BloomType = _unresolved_2.BloomType;
|
||||
fillRequiredPipelineSettings = _unresolved_2.fillRequiredPipelineSettings;
|
||||
makePipelineSettings = _unresolved_2.makePipelineSettings;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "de1c2EHcMhAIYRZY5nyTQHG", "builtin-pipeline-settings", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'Camera', 'CCBoolean', 'CCFloat', 'CCInteger', 'Component', 'Material', 'rendering', 'Texture2D']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
property,
|
||||
requireComponent,
|
||||
type
|
||||
} = _decorator);
|
||||
|
||||
_export("BuiltinPipelineSettings", BuiltinPipelineSettings = (_dec = ccclass('BuiltinPipelineSettings'), _dec2 = menu('Rendering/BuiltinPipelineSettings'), _dec3 = requireComponent(Camera), _dec4 = property(CCBoolean), _dec5 = property({
|
||||
displayName: 'Editor Preview (Experimental)',
|
||||
type: CCBoolean
|
||||
}), _dec6 = property({
|
||||
group: {
|
||||
id: 'MSAA',
|
||||
name: 'Multisample Anti-Aliasing'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec7 = property({
|
||||
group: {
|
||||
id: 'MSAA',
|
||||
name: 'Multisample Anti-Aliasing',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger,
|
||||
range: [2, 4, 2]
|
||||
}), _dec8 = property({
|
||||
group: {
|
||||
id: 'ShadingScale',
|
||||
name: 'ShadingScale',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec9 = property({
|
||||
tooltip: 'i18n:postprocess.shadingScale',
|
||||
group: {
|
||||
id: 'ShadingScale',
|
||||
name: 'ShadingScale'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.01, 4, 0.01],
|
||||
slide: true
|
||||
}), _dec10 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec11 = type(_crd && BloomType === void 0 ? (_reportPossibleCrUseOfBloomType({
|
||||
error: Error()
|
||||
}), BloomType) : BloomType), _dec12 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
}
|
||||
}), _dec13 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec14 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec15 = property({
|
||||
tooltip: 'i18n:bloom.enableAlphaMask',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec16 = property({
|
||||
tooltip: 'i18n:bloom.iterations',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger,
|
||||
range: [1, 6, 1],
|
||||
slide: true
|
||||
}), _dec17 = property({
|
||||
tooltip: 'i18n:bloom.threshold',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0
|
||||
}), _dec18 = type(CCFloat), _dec19 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
}
|
||||
}), _dec20 = property({
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec21 = property({
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec22 = property({
|
||||
tooltip: 'i18n:color_grading.contribute',
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0, 1, 0.01],
|
||||
slide: true
|
||||
}), _dec23 = property({
|
||||
tooltip: 'i18n:color_grading.originalMap',
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Texture2D
|
||||
}), _dec24 = property({
|
||||
group: {
|
||||
id: 'FXAA',
|
||||
name: 'Fast Approximate Anti-Aliasing (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec25 = property({
|
||||
group: {
|
||||
id: 'FXAA',
|
||||
name: 'Fast Approximate Anti-Aliasing (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec26 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec27 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec28 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0, 1, 0.01],
|
||||
slide: true
|
||||
}), _dec29 = property({
|
||||
group: {
|
||||
id: 'ToneMapping',
|
||||
name: 'ToneMapping',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = (_class2 = class BuiltinPipelineSettings extends Component {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
||||
_initializerDefineProperty(this, "_settings", _descriptor, this);
|
||||
|
||||
// Editor Preview
|
||||
_initializerDefineProperty(this, "_editorPreview", _descriptor2, this);
|
||||
}
|
||||
|
||||
getPipelineSettings() {
|
||||
return this._settings;
|
||||
} // Enable/Disable
|
||||
|
||||
|
||||
onEnable() {
|
||||
(_crd && fillRequiredPipelineSettings === void 0 ? (_reportPossibleCrUseOffillRequiredPipelineSettings({
|
||||
error: Error()
|
||||
}), fillRequiredPipelineSettings) : fillRequiredPipelineSettings)(this._settings);
|
||||
const cameraComponent = this.getComponent(Camera);
|
||||
const camera = cameraComponent.camera;
|
||||
camera.pipelineSettings = this._settings;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
onDisable() {
|
||||
const cameraComponent = this.getComponent(Camera);
|
||||
const camera = cameraComponent.camera;
|
||||
|
||||
if (camera) {
|
||||
camera.pipelineSettings = null;
|
||||
}
|
||||
|
||||
if (EDITOR) {
|
||||
this._disableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get editorPreview() {
|
||||
return this._editorPreview;
|
||||
}
|
||||
|
||||
set editorPreview(v) {
|
||||
this._editorPreview = v;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
_tryEnableEditorPreview() {
|
||||
if (rendering === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this._editorPreview) {
|
||||
rendering.setEditorPipelineSettings(this._settings);
|
||||
} else {
|
||||
this._disableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
_disableEditorPreview() {
|
||||
if (rendering === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
const current = rendering.getEditorPipelineSettings();
|
||||
|
||||
if (current === this._settings) {
|
||||
rendering.setEditorPipelineSettings(null);
|
||||
}
|
||||
} // MSAA
|
||||
|
||||
|
||||
get MsaaEnable() {
|
||||
return this._settings.msaa.enabled;
|
||||
}
|
||||
|
||||
set MsaaEnable(value) {
|
||||
this._settings.msaa.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
set msaaSampleCount(value) {
|
||||
value = 2 ** Math.ceil(Math.log2(Math.max(value, 2)));
|
||||
value = Math.min(value, 4);
|
||||
this._settings.msaa.sampleCount = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get msaaSampleCount() {
|
||||
return this._settings.msaa.sampleCount;
|
||||
} // Shading Scale
|
||||
|
||||
|
||||
set shadingScaleEnable(value) {
|
||||
this._settings.enableShadingScale = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get shadingScaleEnable() {
|
||||
return this._settings.enableShadingScale;
|
||||
}
|
||||
|
||||
set shadingScale(value) {
|
||||
this._settings.shadingScale = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get shadingScale() {
|
||||
return this._settings.shadingScale;
|
||||
} // Bloom
|
||||
|
||||
|
||||
set bloomEnable(value) {
|
||||
this._settings.bloom.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomEnable() {
|
||||
return this._settings.bloom.enabled;
|
||||
}
|
||||
|
||||
set bloomType(value) {
|
||||
this._settings.bloom.type = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomType() {
|
||||
return this._settings.bloom.type;
|
||||
}
|
||||
|
||||
set kawaseBloomMaterial(value) {
|
||||
if (this._settings.bloom.kawaseFilterMaterial === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.bloom.kawaseFilterMaterial = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get kawaseBloomMaterial() {
|
||||
return this._settings.bloom.kawaseFilterMaterial;
|
||||
}
|
||||
|
||||
set mipmapBloomMaterial(value) {
|
||||
if (this._settings.bloom.mipmapFilterMaterial === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.bloom.mipmapFilterMaterial = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get mipmapBloomMaterial() {
|
||||
return this._settings.bloom.mipmapFilterMaterial;
|
||||
}
|
||||
|
||||
set bloomEnableAlphaMask(value) {
|
||||
this._settings.bloom.enableAlphaMask = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomEnableAlphaMask() {
|
||||
return this._settings.bloom.enableAlphaMask;
|
||||
}
|
||||
|
||||
set bloomIterations(value) {
|
||||
this._settings.bloom.iterations = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomIterations() {
|
||||
return this._settings.bloom.iterations;
|
||||
}
|
||||
|
||||
set bloomThreshold(value) {
|
||||
this._settings.bloom.threshold = value;
|
||||
}
|
||||
|
||||
get bloomThreshold() {
|
||||
return this._settings.bloom.threshold;
|
||||
}
|
||||
|
||||
set bloomIntensity(value) {
|
||||
this._settings.bloom.intensity = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomIntensity() {
|
||||
return this._settings.bloom.intensity;
|
||||
} // Color Grading (LDR)
|
||||
|
||||
|
||||
set colorGradingEnable(value) {
|
||||
this._settings.colorGrading.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingEnable() {
|
||||
return this._settings.colorGrading.enabled;
|
||||
}
|
||||
|
||||
set colorGradingMaterial(value) {
|
||||
if (this._settings.colorGrading.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.colorGrading.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingMaterial() {
|
||||
return this._settings.colorGrading.material;
|
||||
}
|
||||
|
||||
set colorGradingContribute(value) {
|
||||
this._settings.colorGrading.contribute = value;
|
||||
}
|
||||
|
||||
get colorGradingContribute() {
|
||||
return this._settings.colorGrading.contribute;
|
||||
}
|
||||
|
||||
set colorGradingMap(val) {
|
||||
this._settings.colorGrading.colorGradingMap = val;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingMap() {
|
||||
return this._settings.colorGrading.colorGradingMap;
|
||||
} // FXAA
|
||||
|
||||
|
||||
set fxaaEnable(value) {
|
||||
this._settings.fxaa.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fxaaEnable() {
|
||||
return this._settings.fxaa.enabled;
|
||||
}
|
||||
|
||||
set fxaaMaterial(value) {
|
||||
if (this._settings.fxaa.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.fxaa.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fxaaMaterial() {
|
||||
return this._settings.fxaa.material;
|
||||
} // FSR
|
||||
|
||||
|
||||
set fsrEnable(value) {
|
||||
this._settings.fsr.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fsrEnable() {
|
||||
return this._settings.fsr.enabled;
|
||||
}
|
||||
|
||||
set fsrMaterial(value) {
|
||||
if (this._settings.fsr.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.fsr.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fsrMaterial() {
|
||||
return this._settings.fsr.material;
|
||||
}
|
||||
|
||||
set fsrSharpness(value) {
|
||||
this._settings.fsr.sharpness = value;
|
||||
}
|
||||
|
||||
get fsrSharpness() {
|
||||
return this._settings.fsr.sharpness;
|
||||
}
|
||||
|
||||
set toneMappingMaterial(value) {
|
||||
if (this._settings.toneMapping.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.toneMapping.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get toneMappingMaterial() {
|
||||
return this._settings.toneMapping.material;
|
||||
}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "_settings", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return (_crd && makePipelineSettings === void 0 ? (_reportPossibleCrUseOfmakePipelineSettings({
|
||||
error: Error()
|
||||
}), makePipelineSettings) : makePipelineSettings)();
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "_editorPreview", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return false;
|
||||
}
|
||||
}), _applyDecoratedDescriptor(_class2.prototype, "editorPreview", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, "editorPreview"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "MsaaEnable", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, "MsaaEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "msaaSampleCount", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, "msaaSampleCount"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shadingScaleEnable", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, "shadingScaleEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shadingScale", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, "shadingScale"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomEnable", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomType", [_dec11, _dec12], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomType"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "kawaseBloomMaterial", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, "kawaseBloomMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "mipmapBloomMaterial", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, "mipmapBloomMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomEnableAlphaMask", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomEnableAlphaMask"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomIterations", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomIterations"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomThreshold", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomThreshold"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomIntensity", [_dec18, _dec19], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomIntensity"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingEnable", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingMaterial", [_dec21], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingContribute", [_dec22], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingContribute"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingMap", [_dec23], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingMap"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fxaaEnable", [_dec24], Object.getOwnPropertyDescriptor(_class2.prototype, "fxaaEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fxaaMaterial", [_dec25], Object.getOwnPropertyDescriptor(_class2.prototype, "fxaaMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrEnable", [_dec26], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrMaterial", [_dec27], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrSharpness", [_dec28], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrSharpness"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "toneMappingMaterial", [_dec29], Object.getOwnPropertyDescriptor(_class2.prototype, "toneMappingMaterial"), _class2.prototype)), _class2)) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=e2831fde95d58c09916d0f882742b7597544b8d1.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+1659
File diff suppressed because it is too large
Load Diff
+1
File diff suppressed because one or more lines are too long
+114
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"imports": {
|
||||
"cce:/internal/x/cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js",
|
||||
"cce:/internal/x/prerequisite-imports": "./chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-dof-pass.ts": "./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-pass.ts": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-settings.ts": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-types.ts": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline.ts": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts": "./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts": "./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts": "./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts": "./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js"
|
||||
},
|
||||
"scopes": {
|
||||
"./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js": {
|
||||
"__unresolved_0": "cce:/internal/x/cc-fu/base",
|
||||
"__unresolved_1": "cce:/internal/x/cc-fu/gfx-webgl",
|
||||
"__unresolved_10": "cce:/internal/x/cc-fu/rich-text",
|
||||
"__unresolved_11": "cce:/internal/x/cc-fu/mask",
|
||||
"__unresolved_12": "cce:/internal/x/cc-fu/graphics",
|
||||
"__unresolved_13": "cce:/internal/x/cc-fu/ui-skew",
|
||||
"__unresolved_14": "cce:/internal/x/cc-fu/ui",
|
||||
"__unresolved_15": "cce:/internal/x/cc-fu/affine-transform",
|
||||
"__unresolved_16": "cce:/internal/x/cc-fu/sorting-2d",
|
||||
"__unresolved_17": "cce:/internal/x/cc-fu/particle",
|
||||
"__unresolved_18": "cce:/internal/x/cc-fu/particle-2d",
|
||||
"__unresolved_19": "cce:/internal/x/cc-fu/physics-framework",
|
||||
"__unresolved_2": "cce:/internal/x/cc-fu/gfx-webgl2",
|
||||
"__unresolved_20": "cce:/internal/x/cc-fu/physics-cannon",
|
||||
"__unresolved_21": "cce:/internal/x/cc-fu/physics-physx",
|
||||
"__unresolved_22": "cce:/internal/x/cc-fu/physics-ammo",
|
||||
"__unresolved_23": "cce:/internal/x/cc-fu/physics-builtin",
|
||||
"__unresolved_24": "cce:/internal/x/cc-fu/physics-2d-framework",
|
||||
"__unresolved_25": "cce:/internal/x/cc-fu/physics-2d-box2d-jsb",
|
||||
"__unresolved_26": "cce:/internal/x/cc-fu/physics-2d-box2d",
|
||||
"__unresolved_27": "cce:/internal/x/cc-fu/physics-2d-builtin",
|
||||
"__unresolved_28": "cce:/internal/x/cc-fu/physics-2d-box2d-wasm",
|
||||
"__unresolved_29": "cce:/internal/x/cc-fu/intersection-2d",
|
||||
"__unresolved_3": "cce:/internal/x/cc-fu/gfx-empty",
|
||||
"__unresolved_30": "cce:/internal/x/cc-fu/primitive",
|
||||
"__unresolved_31": "cce:/internal/x/cc-fu/profiler",
|
||||
"__unresolved_32": "cce:/internal/x/cc-fu/geometry-renderer",
|
||||
"__unresolved_33": "cce:/internal/x/cc-fu/audio",
|
||||
"__unresolved_34": "cce:/internal/x/cc-fu/video",
|
||||
"__unresolved_35": "cce:/internal/x/cc-fu/xr",
|
||||
"__unresolved_36": "cce:/internal/x/cc-fu/light-probe",
|
||||
"__unresolved_37": "cce:/internal/x/cc-fu/terrain",
|
||||
"__unresolved_38": "cce:/internal/x/cc-fu/webview",
|
||||
"__unresolved_39": "cce:/internal/x/cc-fu/tween",
|
||||
"__unresolved_4": "cce:/internal/x/cc-fu/gfx-webgpu",
|
||||
"__unresolved_40": "cce:/internal/x/cc-fu/tiled-map",
|
||||
"__unresolved_41": "cce:/internal/x/cc-fu/vendor-google",
|
||||
"__unresolved_42": "cce:/internal/x/cc-fu/spine",
|
||||
"__unresolved_43": "cce:/internal/x/cc-fu/dragon-bones",
|
||||
"__unresolved_44": "cce:/internal/x/cc-fu/custom-pipeline",
|
||||
"__unresolved_45": "cce:/internal/x/cc-fu/custom-pipeline-post-process",
|
||||
"__unresolved_46": "cce:/internal/x/cc-fu/legacy-pipeline",
|
||||
"__unresolved_5": "cce:/internal/x/cc-fu/3d",
|
||||
"__unresolved_6": "cce:/internal/x/cc-fu/animation",
|
||||
"__unresolved_7": "cce:/internal/x/cc-fu/skeletal-animation",
|
||||
"__unresolved_8": "cce:/internal/x/cc-fu/2d",
|
||||
"__unresolved_9": "cce:/internal/x/cc-fu/sorting"
|
||||
},
|
||||
"./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"__unresolved_2": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"__unresolved_3": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js": {
|
||||
"__unresolved_0": "./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js",
|
||||
"__unresolved_1": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"__unresolved_2": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"__unresolved_3": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"__unresolved_4": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"__unresolved_5": "./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js",
|
||||
"__unresolved_6": "./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js",
|
||||
"__unresolved_7": "./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js",
|
||||
"__unresolved_8": "./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1923
File diff suppressed because it is too large
Load Diff
+1
@@ -0,0 +1 @@
|
||||
{}
|
||||
+496
@@ -0,0 +1,496 @@
|
||||
{
|
||||
"chunks": {
|
||||
"50ec684ab28702df18cf262b25c26ec6d899c3a5": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "b18130d786bcadd1d0cb653401afdf2ede79b799"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "fd74c742a972dbbcd3691d204a338b19a4515b62"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883840699
|
||||
},
|
||||
"b18130d786bcadd1d0cb653401afdf2ede79b799": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883840821
|
||||
},
|
||||
"e2831fde95d58c09916d0f882742b7597544b8d1": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883841074
|
||||
},
|
||||
"7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883841234
|
||||
},
|
||||
"fd74c742a972dbbcd3691d204a338b19a4515b62": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "6a5019a719a9014c047e67aa1cf34453ab8392ce"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883842075
|
||||
},
|
||||
"621a159ce4a7bac550092546e00c97e12458f12b": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883842319
|
||||
},
|
||||
"8e712b201a7af91e5a41365d538a13080eafb578": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883842433
|
||||
},
|
||||
"07a95adf538fa6dbf3998fa90cd1518629172d3a": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883842496
|
||||
},
|
||||
"a45626d8cbe59e99c7c3de1eff49663440433fe2": {
|
||||
"imports": {
|
||||
"cc": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788883842550
|
||||
},
|
||||
"93ba276ea7b26ffcdc433fab14afc1ed6f05647b": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/sorting"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_10": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/graphics"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_11": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/intersection-2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_12": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/light-probe"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_13": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/mask"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_14": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/particle"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_15": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/particle-2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_16": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-box2d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_17": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-2d-framework"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_18": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-ammo"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_19": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/physics-framework"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/3d"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_20": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/primitive"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_21": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/profiler"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_22": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/rich-text"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_23": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/skeletal-animation"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_24": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/spine"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_25": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/terrain"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_26": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/tiled-map"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_27": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/tween"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_28": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/ui"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_29": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/ui-skew"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/affine-transform"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_30": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/video"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_31": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/webview"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_4": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/animation"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_5": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/audio"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_6": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/base"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_7": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/custom-pipeline"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_8": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/dragon-bones"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_9": {
|
||||
"resolved": {
|
||||
"type": "external",
|
||||
"specifierOrURL": "cce:/internal/x/cc-fu/gfx-webgl"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788884452507
|
||||
},
|
||||
"6a5019a719a9014c047e67aa1cf34453ab8392ce": {
|
||||
"imports": {},
|
||||
"timestamp": 1788884452609
|
||||
},
|
||||
"6d8fd2b0177941b032ddc0733af48a561fb60657": {
|
||||
"imports": {
|
||||
"__unresolved_0": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "50ec684ab28702df18cf262b25c26ec6d899c3a5"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_1": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "b18130d786bcadd1d0cb653401afdf2ede79b799"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_2": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "e2831fde95d58c09916d0f882742b7597544b8d1"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_3": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_4": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "fd74c742a972dbbcd3691d204a338b19a4515b62"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_5": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "621a159ce4a7bac550092546e00c97e12458f12b"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_6": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "8e712b201a7af91e5a41365d538a13080eafb578"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_7": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "07a95adf538fa6dbf3998fa90cd1518629172d3a"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
"__unresolved_8": {
|
||||
"resolved": {
|
||||
"type": "chunk",
|
||||
"id": "a45626d8cbe59e99c7c3de1eff49663440433fe2"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
},
|
||||
"timestamp": 1788884454269
|
||||
}
|
||||
},
|
||||
"entries": {
|
||||
"cce:/internal/x/cc": "93ba276ea7b26ffcdc433fab14afc1ed6f05647b",
|
||||
"cce:/internal/x/prerequisite-imports": "6d8fd2b0177941b032ddc0733af48a561fb60657",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-dof-pass.ts": "50ec684ab28702df18cf262b25c26ec6d899c3a5",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-pass.ts": "b18130d786bcadd1d0cb653401afdf2ede79b799",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-settings.ts": "e2831fde95d58c09916d0f882742b7597544b8d1",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-types.ts": "7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline.ts": "fd74c742a972dbbcd3691d204a338b19a4515b62",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts": "621a159ce4a7bac550092546e00c97e12458f12b",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts": "8e712b201a7af91e5a41365d538a13080eafb578",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts": "07a95adf538fa6dbf3998fa90cd1518629172d3a",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts": "a45626d8cbe59e99c7c3de1eff49663440433fe2"
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, _dec, _class, _crd, ProbeEntry_alpha;
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "34050VwvZJJLLqkmTAadrS3", "Entry", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator']);
|
||||
|
||||
_export("ProbeEntry_alpha", ProbeEntry_alpha = (_dec = _decorator.ccclass('ProbeEntry_alpha'), _dec(_class = class ProbeEntry_alpha {
|
||||
static run() {
|
||||
return 'PRIVATE_CODE_ALPHA';
|
||||
}
|
||||
|
||||
}) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=07a95adf538fa6dbf3998fa90cd1518629172d3a.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts"],"names":["_decorator","ProbeEntry_alpha","ccclass","run"],"mappings":";;;;;;;;;;AAAQA,MAAAA,U,OAAAA,U;;;;;;;;;kCAEKC,gB,WADZD,UAAU,CAACE,OAAX,CAAmB,kBAAnB,C,gBAAD,MACaD,gBADb,CAC8B;AAAW,eAAHE,GAAG,GAAE;AAAC,iBAAO,oBAAP;AAA6B;;AAA3C,O","sourcesContent":["import {_decorator} from 'cc';\n@_decorator.ccclass('ProbeEntry_alpha')\nexport class ProbeEntry_alpha {static run(){return 'PRIVATE_CODE_ALPHA';}}\n"]}
|
||||
+442
@@ -0,0 +1,442 @@
|
||||
System.register(["__unresolved_0", "cc", "cc/env", "__unresolved_1", "__unresolved_2", "__unresolved_3"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, assert, CCBoolean, CCFloat, CCInteger, gfx, Material, rendering, Vec3, Vec4, EDITOR, BuiltinPipelineSettings, BuiltinPipelinePassBuilder, getPingPongRenderTarget, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _crd, ccclass, disallowMultiple, executeInEditMode, menu, property, requireComponent, type, Color, LoadOp, StoreOp, BuiltinDepthOfFieldPass;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelineSettings(extras) {
|
||||
_reporterNs.report("BuiltinPipelineSettings", "./builtin-pipeline-settings", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelinePassBuilder(extras) {
|
||||
_reporterNs.report("BuiltinPipelinePassBuilder", "./builtin-pipeline-pass", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfCameraConfigs(extras) {
|
||||
_reporterNs.report("CameraConfigs", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfgetPingPongRenderTarget(extras) {
|
||||
_reporterNs.report("getPingPongRenderTarget", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineConfigs(extras) {
|
||||
_reporterNs.report("PipelineConfigs", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineContext(extras) {
|
||||
_reporterNs.report("PipelineContext", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
assert = _cc.assert;
|
||||
CCBoolean = _cc.CCBoolean;
|
||||
CCFloat = _cc.CCFloat;
|
||||
CCInteger = _cc.CCInteger;
|
||||
gfx = _cc.gfx;
|
||||
Material = _cc.Material;
|
||||
rendering = _cc.rendering;
|
||||
Vec3 = _cc.Vec3;
|
||||
Vec4 = _cc.Vec4;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}, function (_unresolved_2) {
|
||||
BuiltinPipelineSettings = _unresolved_2.BuiltinPipelineSettings;
|
||||
}, function (_unresolved_3) {
|
||||
BuiltinPipelinePassBuilder = _unresolved_3.BuiltinPipelinePassBuilder;
|
||||
}, function (_unresolved_4) {
|
||||
getPingPongRenderTarget = _unresolved_4.getPingPongRenderTarget;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "11f31MOwIxHu6IJcdEUWU5t", "builtin-dof-pass", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'assert', 'CCBoolean', 'CCFloat', 'CCInteger', 'gfx', 'Material', 'renderer', 'rendering', 'Vec3', 'Vec4']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
property,
|
||||
requireComponent,
|
||||
type
|
||||
} = _decorator);
|
||||
({
|
||||
Color,
|
||||
LoadOp,
|
||||
StoreOp
|
||||
} = gfx);
|
||||
|
||||
_export("BuiltinDepthOfFieldPass", BuiltinDepthOfFieldPass = (_dec = ccclass('BuiltinDepthOfFieldPass'), _dec2 = menu('Rendering/BuiltinDepthOfFieldPass'), _dec3 = requireComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings), _dec4 = property({
|
||||
group: {
|
||||
id: 'BuiltinPass',
|
||||
name: 'Pass Settings',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger
|
||||
}), _dec5 = property({
|
||||
group: {
|
||||
id: 'BuiltinPass',
|
||||
name: 'Pass Settings',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger
|
||||
}), _dec6 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean,
|
||||
visible: true
|
||||
}), _dec7 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material,
|
||||
visible: true
|
||||
}), _dec8 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0,
|
||||
visible: true
|
||||
}), _dec9 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0,
|
||||
visible: true
|
||||
}), _dec10 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.0, 2, 0.01],
|
||||
slide: true,
|
||||
visible: true
|
||||
}), _dec11 = type(CCFloat), _dec12 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.01, 10, 0.01],
|
||||
slide: true,
|
||||
visible: true
|
||||
}), _dec13 = type(Vec3), _dec14 = property({
|
||||
group: {
|
||||
id: 'DepthOfField',
|
||||
name: 'DepthOfField (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Vec3,
|
||||
visible: true
|
||||
}), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = (_class2 = class BuiltinDepthOfFieldPass extends (_crd && BuiltinPipelinePassBuilder === void 0 ? (_reportPossibleCrUseOfBuiltinPipelinePassBuilder({
|
||||
error: Error()
|
||||
}), BuiltinPipelinePassBuilder) : BuiltinPipelinePassBuilder) {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
||||
_initializerDefineProperty(this, "configOrder", _descriptor, this);
|
||||
|
||||
_initializerDefineProperty(this, "renderOrder", _descriptor2, this);
|
||||
|
||||
_initializerDefineProperty(this, "_enableDof", _descriptor3, this);
|
||||
|
||||
_initializerDefineProperty(this, "_material", _descriptor4, this);
|
||||
|
||||
_initializerDefineProperty(this, "_minRange", _descriptor5, this);
|
||||
|
||||
_initializerDefineProperty(this, "_maxRange", _descriptor6, this);
|
||||
|
||||
_initializerDefineProperty(this, "_blurRadius", _descriptor7, this);
|
||||
|
||||
_initializerDefineProperty(this, "_intensity", _descriptor8, this);
|
||||
|
||||
_initializerDefineProperty(this, "_focusPos", _descriptor9, this);
|
||||
|
||||
// Runtime members
|
||||
this._clearColorTransparentBlack = new Color(0, 0, 0, 0);
|
||||
this._cocParams = new Vec4(0, 0, 0, 0);
|
||||
this._focusPosVec4 = new Vec4(0, 0, 0, 1);
|
||||
this._cocTexSize = new Vec4(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
// DepthOfField
|
||||
set dofEnable(value) {
|
||||
this._enableDof = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get dofEnable() {
|
||||
return this._enableDof;
|
||||
}
|
||||
|
||||
set dofMaterial(value) {
|
||||
if (this._material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get dofMaterial() {
|
||||
return this._material;
|
||||
}
|
||||
|
||||
set dofMinRange(value) {
|
||||
this._minRange = value;
|
||||
}
|
||||
|
||||
get dofMinRange() {
|
||||
return this._minRange;
|
||||
}
|
||||
|
||||
set dofMaxRange(value) {
|
||||
this._maxRange = value;
|
||||
}
|
||||
|
||||
get dofMaxRange() {
|
||||
return this._maxRange;
|
||||
}
|
||||
|
||||
set dofIntensity(value) {
|
||||
this._intensity = value;
|
||||
}
|
||||
|
||||
get dofIntensity() {
|
||||
return this._intensity;
|
||||
}
|
||||
|
||||
set dofBlurRadius(value) {
|
||||
this._blurRadius = value;
|
||||
}
|
||||
|
||||
get dofBlurRadius() {
|
||||
return this._blurRadius;
|
||||
}
|
||||
|
||||
set dofFocusPos(value) {
|
||||
this._focusPos = value;
|
||||
}
|
||||
|
||||
get dofFocusPos() {
|
||||
return this._focusPos;
|
||||
} // PipelinePassBuilder
|
||||
|
||||
|
||||
getConfigOrder() {
|
||||
return this.configOrder;
|
||||
}
|
||||
|
||||
getRenderOrder() {
|
||||
return this.renderOrder;
|
||||
}
|
||||
|
||||
configCamera(camera, pplConfigs, cameraConfigs) {
|
||||
cameraConfigs.enableDof = pplConfigs.supportDepthSample && this._enableDof && !!this._material;
|
||||
|
||||
if (cameraConfigs.enableDof) {
|
||||
// Output scene depth, this is allowed but has performance impact
|
||||
cameraConfigs.enableStoreSceneDepth = true;
|
||||
++cameraConfigs.remainingPasses;
|
||||
}
|
||||
}
|
||||
|
||||
windowResize(ppl, pplConfigs, cameraConfigs, window) {
|
||||
var id = window.renderWindowId;
|
||||
|
||||
if (cameraConfigs.enableDof) {
|
||||
ppl.addRenderTarget("DofRadiance" + id, cameraConfigs.radianceFormat, cameraConfigs.width, cameraConfigs.height);
|
||||
}
|
||||
}
|
||||
|
||||
setup(ppl, pplConfigs, cameraConfigs, camera, context, prevRenderPass) {
|
||||
if (!cameraConfigs.enableDof) {
|
||||
return prevRenderPass;
|
||||
}
|
||||
|
||||
--cameraConfigs.remainingPasses;
|
||||
assert(!!this._material);
|
||||
|
||||
if (cameraConfigs.remainingPasses === 0) {
|
||||
return this._addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, this._material, camera, cameraConfigs.width, cameraConfigs.height, context.colorName, context.depthStencilName, cameraConfigs.colorName);
|
||||
} else {
|
||||
var prefix = cameraConfigs.enableShadingScale ? "ScaledRadiance" : "Radiance";
|
||||
var outputRadianceName = (_crd && getPingPongRenderTarget === void 0 ? (_reportPossibleCrUseOfgetPingPongRenderTarget({
|
||||
error: Error()
|
||||
}), getPingPongRenderTarget) : getPingPongRenderTarget)(context.colorName, prefix, cameraConfigs.renderWindowId);
|
||||
var inputRadianceName = context.colorName;
|
||||
context.colorName = outputRadianceName;
|
||||
return this._addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, this._material, camera, cameraConfigs.width, cameraConfigs.height, inputRadianceName, context.depthStencilName, outputRadianceName);
|
||||
}
|
||||
}
|
||||
|
||||
_addDepthOfFieldPasses(ppl, pplConfigs, cameraConfigs, dofMaterial, camera, width, height, inputRadiance, inputDepthStencil, outputRadianceName) {
|
||||
this._cocParams.x = this._minRange;
|
||||
this._cocParams.y = this._maxRange;
|
||||
this._cocParams.z = this._blurRadius;
|
||||
this._cocParams.w = this._intensity;
|
||||
this._focusPosVec4.x = this._focusPos.x;
|
||||
this._focusPosVec4.y = this._focusPos.y;
|
||||
this._focusPosVec4.z = this._focusPos.z;
|
||||
this._cocTexSize.x = 1.0 / width;
|
||||
this._cocTexSize.y = 1.0 / height;
|
||||
this._cocTexSize.z = width;
|
||||
this._cocTexSize.w = height;
|
||||
var id = cameraConfigs.renderWindowId;
|
||||
var tempRadiance = "DofRadiance" + id; // Blur Pass
|
||||
|
||||
var blurPass = ppl.addRenderPass(width, height, 'cc-dof-blur');
|
||||
blurPass.addRenderTarget(tempRadiance, LoadOp.CLEAR, StoreOp.STORE, this._clearColorTransparentBlack);
|
||||
blurPass.addTexture(inputRadiance, 'screenTex');
|
||||
blurPass.setVec4('blurParams', this._cocParams);
|
||||
blurPass.setVec4('mainTexTexelSize', this._cocTexSize);
|
||||
blurPass.addQueue(rendering.QueueHint.OPAQUE).addCameraQuad(camera, dofMaterial, 0); // addCameraQuad will set camera related UBOs
|
||||
// coc pass
|
||||
|
||||
var cocPass = ppl.addRenderPass(width, height, 'cc-dof-coc');
|
||||
cocPass.addRenderTarget(outputRadianceName, LoadOp.CLEAR, StoreOp.STORE, this._clearColorTransparentBlack);
|
||||
cocPass.addTexture(tempRadiance, 'colorTex');
|
||||
cocPass.addTexture(inputDepthStencil, "DepthTex");
|
||||
cocPass.addTexture(inputRadiance, "screenTex");
|
||||
cocPass.setMat4('proj', camera.matProj);
|
||||
cocPass.setMat4('invProj', camera.matProjInv);
|
||||
cocPass.setMat4('viewMatInv', camera.node.worldMatrix);
|
||||
cocPass.setVec4('cocParams', this._cocParams);
|
||||
cocPass.setVec4('focus', this._focusPosVec4);
|
||||
cocPass.addQueue(rendering.QueueHint.OPAQUE).addCameraQuad(camera, dofMaterial, 1);
|
||||
return cocPass;
|
||||
}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configOrder", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 0;
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "renderOrder", [_dec5], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 150;
|
||||
}
|
||||
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "_enableDof", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return false;
|
||||
}
|
||||
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "_material", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "_minRange", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 0;
|
||||
}
|
||||
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "_maxRange", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 2;
|
||||
}
|
||||
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "_blurRadius", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 1;
|
||||
}
|
||||
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "_intensity", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return 1;
|
||||
}
|
||||
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "_focusPos", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return new Vec3(0, 0, 0);
|
||||
}
|
||||
}), _applyDecoratedDescriptor(_class2.prototype, "dofEnable", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, "dofEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMaterial", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMinRange", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMinRange"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofMaxRange", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, "dofMaxRange"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofIntensity", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, "dofIntensity"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofBlurRadius", [_dec11, _dec12], Object.getOwnPropertyDescriptor(_class2.prototype, "dofBlurRadius"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "dofFocusPos", [_dec13, _dec14], Object.getOwnPropertyDescriptor(_class2.prototype, "dofFocusPos"), _class2.prototype)), _class2)) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=50ec684ab28702df18cf262b25c26ec6d899c3a5.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+328
@@ -0,0 +1,328 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, Color, Canvas, UITransform, instantiate, Toggle, _decorator, Component, Button, director, Node, Label, RichText, _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _crd, ccclass, property, DebugViewRuntimeControl;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
Color = _cc.Color;
|
||||
Canvas = _cc.Canvas;
|
||||
UITransform = _cc.UITransform;
|
||||
instantiate = _cc.instantiate;
|
||||
Toggle = _cc.Toggle;
|
||||
_decorator = _cc._decorator;
|
||||
Component = _cc.Component;
|
||||
Button = _cc.Button;
|
||||
director = _cc.director;
|
||||
Node = _cc.Node;
|
||||
Label = _cc.Label;
|
||||
RichText = _cc.RichText;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "b2bd1+njXxJxaFY3ymm06WU", "debug-view-runtime-control", undefined);
|
||||
|
||||
__checkObsolete__(['Color', 'Canvas', 'UITransform', 'instantiate', 'math', 'Toggle', 'TextureCube', '_decorator', 'Component', 'Button', 'labelAssembler', 'game', 'director', 'Node', 'Scene', 'renderer', 'CameraComponent', 'Label', 'ForwardPipeline', 'RichText']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
property
|
||||
} = _decorator);
|
||||
|
||||
_export("DebugViewRuntimeControl", DebugViewRuntimeControl = (_dec = ccclass('internal.DebugViewRuntimeControl'), _dec2 = property(Node), _dec3 = property(Node), _dec4 = property(Node), _dec(_class = (_class2 = class DebugViewRuntimeControl extends Component {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
||||
_initializerDefineProperty(this, "compositeModeToggle", _descriptor, this);
|
||||
|
||||
_initializerDefineProperty(this, "singleModeToggle", _descriptor2, this);
|
||||
|
||||
_initializerDefineProperty(this, "EnableAllCompositeModeButton", _descriptor3, this);
|
||||
|
||||
this._single = 0;
|
||||
this.strSingle = ['No Single Debug', 'Vertex Color', 'Vertex Normal', 'Vertex Tangent', 'World Position', 'Vertex Mirror', 'Face Side', 'UV0', 'UV1', 'UV Lightmap', 'Project Depth', 'Linear Depth', 'Fragment Normal', 'Fragment Tangent', 'Fragment Binormal', 'Base Color', 'Diffuse Color', 'Specular Color', 'Transparency', 'Metallic', 'Roughness', 'Specular Intensity', 'IOR', 'Direct Diffuse', 'Direct Specular', 'Direct All', 'Env Diffuse', 'Env Specular', 'Env All', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Fresnel', 'Direct Transmit Diffuse', 'Direct Transmit Specular', 'Env Transmit Diffuse', 'Env Transmit Specular', 'Transmit All', 'Direct Internal Specular', 'Env Internal Specular', 'Internal All', 'Fog'];
|
||||
this.strComposite = ['Direct Diffuse', 'Direct Specular', 'Env Diffuse', 'Env Specular', 'Emissive', 'Light Map', 'Shadow', 'AO', 'Normal Map', 'Fog', 'Tone Mapping', 'Gamma Correction', 'Fresnel', 'Transmit Diffuse', 'Transmit Specular', 'Internal Specular', 'TT'];
|
||||
this.strMisc = ['CSM Layer Coloration', 'Lighting With Albedo'];
|
||||
this.compositeModeToggleList = [];
|
||||
this.singleModeToggleList = [];
|
||||
this.miscModeToggleList = [];
|
||||
this.textComponentList = [];
|
||||
this.labelComponentList = [];
|
||||
this.textContentList = [];
|
||||
this.hideButtonLabel = void 0;
|
||||
this._currentColorIndex = 0;
|
||||
this.strColor = ['<color=#ffffff>', '<color=#000000>', '<color=#ff0000>', '<color=#00ff00>', '<color=#0000ff>'];
|
||||
this.color = [Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE];
|
||||
}
|
||||
|
||||
start() {
|
||||
// get canvas resolution
|
||||
var canvas = this.node.parent.getComponent(Canvas);
|
||||
|
||||
if (!canvas) {
|
||||
console.error('debug-view-runtime-control should be child of Canvas');
|
||||
return;
|
||||
}
|
||||
|
||||
var uiTransform = this.node.parent.getComponent(UITransform);
|
||||
var halfScreenWidth = uiTransform.width * 0.5;
|
||||
var halfScreenHeight = uiTransform.height * 0.5;
|
||||
var x = -halfScreenWidth + halfScreenWidth * 0.1,
|
||||
y = halfScreenHeight - halfScreenHeight * 0.1;
|
||||
var width = 200,
|
||||
height = 20; // new nodes
|
||||
|
||||
var miscNode = this.node.getChildByName('MiscMode');
|
||||
var buttonNode = instantiate(miscNode);
|
||||
buttonNode.parent = this.node;
|
||||
buttonNode.name = 'Buttons';
|
||||
var titleNode = instantiate(miscNode);
|
||||
titleNode.parent = this.node;
|
||||
titleNode.name = 'Titles'; // title
|
||||
|
||||
for (var i = 0; i < 2; i++) {
|
||||
var newLabel = instantiate(this.EnableAllCompositeModeButton.getChildByName('Label'));
|
||||
newLabel.setPosition(x + (i > 0 ? 50 + width * 2 : 150), y, 0.0);
|
||||
newLabel.setScale(0.75, 0.75, 0.75);
|
||||
newLabel.parent = titleNode;
|
||||
|
||||
var _labelComponent = newLabel.getComponent(Label);
|
||||
|
||||
_labelComponent.string = i ? '----------Composite Mode----------' : '----------Single Mode----------';
|
||||
_labelComponent.color = Color.WHITE;
|
||||
_labelComponent.overflow = 0;
|
||||
this.labelComponentList[this.labelComponentList.length] = _labelComponent;
|
||||
}
|
||||
|
||||
y -= height; // single
|
||||
|
||||
var currentRow = 0;
|
||||
|
||||
for (var _i = 0; _i < this.strSingle.length; _i++, currentRow++) {
|
||||
if (_i === this.strSingle.length >> 1) {
|
||||
x += width;
|
||||
currentRow = 0;
|
||||
}
|
||||
|
||||
var newNode = _i ? instantiate(this.singleModeToggle) : this.singleModeToggle;
|
||||
newNode.setPosition(x, y - height * currentRow, 0.0);
|
||||
newNode.setScale(0.5, 0.5, 0.5);
|
||||
newNode.parent = this.singleModeToggle.parent;
|
||||
var textComponent = newNode.getComponentInChildren(RichText);
|
||||
textComponent.string = this.strSingle[_i];
|
||||
this.textComponentList[this.textComponentList.length] = textComponent;
|
||||
this.textContentList[this.textContentList.length] = textComponent.string;
|
||||
newNode.on(Toggle.EventType.TOGGLE, this.toggleSingleMode, this);
|
||||
this.singleModeToggleList[_i] = newNode;
|
||||
}
|
||||
|
||||
x += width; // buttons
|
||||
|
||||
this.EnableAllCompositeModeButton.setPosition(x + 15, y, 0.0);
|
||||
this.EnableAllCompositeModeButton.setScale(0.5, 0.5, 0.5);
|
||||
this.EnableAllCompositeModeButton.on(Button.EventType.CLICK, this.enableAllCompositeMode, this);
|
||||
this.EnableAllCompositeModeButton.parent = buttonNode;
|
||||
var labelComponent = this.EnableAllCompositeModeButton.getComponentInChildren(Label);
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
var changeColorButton = instantiate(this.EnableAllCompositeModeButton);
|
||||
changeColorButton.setPosition(x + 90, y, 0.0);
|
||||
changeColorButton.setScale(0.5, 0.5, 0.5);
|
||||
changeColorButton.on(Button.EventType.CLICK, this.changeTextColor, this);
|
||||
changeColorButton.parent = buttonNode;
|
||||
labelComponent = changeColorButton.getComponentInChildren(Label);
|
||||
labelComponent.string = 'TextColor';
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
var HideButton = instantiate(this.EnableAllCompositeModeButton);
|
||||
HideButton.setPosition(x + 200, y, 0.0);
|
||||
HideButton.setScale(0.5, 0.5, 0.5);
|
||||
HideButton.on(Button.EventType.CLICK, this.hideUI, this);
|
||||
HideButton.parent = this.node.parent;
|
||||
labelComponent = HideButton.getComponentInChildren(Label);
|
||||
labelComponent.string = 'Hide UI';
|
||||
this.labelComponentList[this.labelComponentList.length] = labelComponent;
|
||||
this.hideButtonLabel = labelComponent; // misc
|
||||
|
||||
y -= 40;
|
||||
|
||||
for (var _i2 = 0; _i2 < this.strMisc.length; _i2++) {
|
||||
var _newNode = instantiate(this.compositeModeToggle);
|
||||
|
||||
_newNode.setPosition(x, y - height * _i2, 0.0);
|
||||
|
||||
_newNode.setScale(0.5, 0.5, 0.5);
|
||||
|
||||
_newNode.parent = miscNode;
|
||||
|
||||
var _textComponent = _newNode.getComponentInChildren(RichText);
|
||||
|
||||
_textComponent.string = this.strMisc[_i2];
|
||||
this.textComponentList[this.textComponentList.length] = _textComponent;
|
||||
this.textContentList[this.textContentList.length] = _textComponent.string;
|
||||
|
||||
var toggleComponent = _newNode.getComponent(Toggle);
|
||||
|
||||
toggleComponent.isChecked = _i2 ? true : false;
|
||||
|
||||
_newNode.on(Toggle.EventType.TOGGLE, _i2 ? this.toggleLightingWithAlbedo : this.toggleCSMColoration, this);
|
||||
|
||||
this.miscModeToggleList[_i2] = _newNode;
|
||||
} // composite
|
||||
|
||||
|
||||
y -= 150;
|
||||
|
||||
for (var _i3 = 0; _i3 < this.strComposite.length; _i3++) {
|
||||
var _newNode2 = _i3 ? instantiate(this.compositeModeToggle) : this.compositeModeToggle;
|
||||
|
||||
_newNode2.setPosition(x, y - height * _i3, 0.0);
|
||||
|
||||
_newNode2.setScale(0.5, 0.5, 0.5);
|
||||
|
||||
_newNode2.parent = this.compositeModeToggle.parent;
|
||||
|
||||
var _textComponent2 = _newNode2.getComponentInChildren(RichText);
|
||||
|
||||
_textComponent2.string = this.strComposite[_i3];
|
||||
this.textComponentList[this.textComponentList.length] = _textComponent2;
|
||||
this.textContentList[this.textContentList.length] = _textComponent2.string;
|
||||
|
||||
_newNode2.on(Toggle.EventType.TOGGLE, this.toggleCompositeMode, this);
|
||||
|
||||
this.compositeModeToggleList[_i3] = _newNode2;
|
||||
}
|
||||
}
|
||||
|
||||
isTextMatched(textUI, textDescription) {
|
||||
var tempText = new String(textUI);
|
||||
var findIndex = tempText.search('>');
|
||||
|
||||
if (findIndex === -1) {
|
||||
return textUI === textDescription;
|
||||
} else {
|
||||
tempText = tempText.substr(findIndex + 1);
|
||||
tempText = tempText.substr(0, tempText.search('<'));
|
||||
return tempText === textDescription;
|
||||
}
|
||||
}
|
||||
|
||||
toggleSingleMode(toggle) {
|
||||
var debugView = director.root.debugView;
|
||||
var textComponent = toggle.getComponentInChildren(RichText);
|
||||
|
||||
for (var i = 0; i < this.strSingle.length; i++) {
|
||||
if (this.isTextMatched(textComponent.string, this.strSingle[i])) {
|
||||
debugView.singleMode = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toggleCompositeMode(toggle) {
|
||||
var debugView = director.root.debugView;
|
||||
var textComponent = toggle.getComponentInChildren(RichText);
|
||||
|
||||
for (var i = 0; i < this.strComposite.length; i++) {
|
||||
if (this.isTextMatched(textComponent.string, this.strComposite[i])) {
|
||||
debugView.enableCompositeMode(i, toggle.isChecked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toggleLightingWithAlbedo(toggle) {
|
||||
var debugView = director.root.debugView;
|
||||
debugView.lightingWithAlbedo = toggle.isChecked;
|
||||
}
|
||||
|
||||
toggleCSMColoration(toggle) {
|
||||
var debugView = director.root.debugView;
|
||||
debugView.csmLayerColoration = toggle.isChecked;
|
||||
}
|
||||
|
||||
enableAllCompositeMode(button) {
|
||||
var debugView = director.root.debugView;
|
||||
debugView.enableAllCompositeMode(true);
|
||||
|
||||
for (var i = 0; i < this.compositeModeToggleList.length; i++) {
|
||||
var _toggleComponent = this.compositeModeToggleList[i].getComponent(Toggle);
|
||||
|
||||
_toggleComponent.isChecked = true;
|
||||
}
|
||||
|
||||
var toggleComponent = this.miscModeToggleList[0].getComponent(Toggle);
|
||||
toggleComponent.isChecked = false;
|
||||
debugView.csmLayerColoration = false;
|
||||
toggleComponent = this.miscModeToggleList[1].getComponent(Toggle);
|
||||
toggleComponent.isChecked = true;
|
||||
debugView.lightingWithAlbedo = true;
|
||||
}
|
||||
|
||||
hideUI(button) {
|
||||
var titleNode = this.node.getChildByName('Titles');
|
||||
var activeValue = !titleNode.active;
|
||||
this.singleModeToggleList[0].parent.active = activeValue;
|
||||
this.miscModeToggleList[0].parent.active = activeValue;
|
||||
this.compositeModeToggleList[0].parent.active = activeValue;
|
||||
this.EnableAllCompositeModeButton.parent.active = activeValue;
|
||||
titleNode.active = activeValue;
|
||||
this.hideButtonLabel.string = activeValue ? 'Hide UI' : 'Show UI';
|
||||
}
|
||||
|
||||
changeTextColor(button) {
|
||||
this._currentColorIndex++;
|
||||
|
||||
if (this._currentColorIndex >= this.strColor.length) {
|
||||
this._currentColorIndex = 0;
|
||||
}
|
||||
|
||||
for (var i = 0; i < this.textComponentList.length; i++) {
|
||||
this.textComponentList[i].string = this.strColor[this._currentColorIndex] + this.textContentList[i] + '</color>';
|
||||
}
|
||||
|
||||
for (var _i4 = 0; _i4 < this.labelComponentList.length; _i4++) {
|
||||
this.labelComponentList[_i4].color = this.color[this._currentColorIndex];
|
||||
}
|
||||
}
|
||||
|
||||
onLoad() {}
|
||||
|
||||
update(deltaTime) {}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "compositeModeToggle", [_dec2], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "singleModeToggle", [_dec3], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "EnableAllCompositeModeButton", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
})), _class2)) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=621a159ce4a7bac550092546e00c97e12458f12b.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+26
@@ -0,0 +1,26 @@
|
||||
System.register([], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* This is the module which implements circular-reference detection.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Reports a circular reference error fired by module import.
|
||||
* @param imported The binding of the import.
|
||||
* @param moduleRequest The module request of the import.
|
||||
* @param importMeta The import.meta of the source module.
|
||||
* @param extras Extra data passed by circular reference detection implementation.
|
||||
*/
|
||||
function report(imported, moduleRequest, importMeta, extras) {
|
||||
console.warn("Found possible circular reference in \"" + importMeta.url + "\", happened when use \"" + imported + "\" imported from \"" + moduleRequest + "\" ", extras.error);
|
||||
}
|
||||
|
||||
_export("report", report);
|
||||
|
||||
return {
|
||||
setters: [],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=6a5019a719a9014c047e67aa1cf34453ab8392ce.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["cce:/internal/code-quality/cr.mjs"],"names":["report","imported","moduleRequest","importMeta","extras","console","warn","url","error"],"mappings":";;;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEO,WAASA,MAAT,CAAgBC,QAAhB,EAA0BC,aAA1B,EAAyCC,UAAzC,EAAqDC,MAArD,EAA6D;AAChEC,IAAAA,OAAO,CAACC,IAAR,6CAC6CH,UAAU,CAACI,GADxD,gCAEiBN,QAFjB,2BAE6CC,aAF7C,UAIIE,MAAM,CAACI,KAJX;AAMH;;oBAPeR,M","sourcesContent":["\r\n/**\r\n * This is the module which implements circular-reference detection.\r\n */\r\n\r\n/**\r\n * Reports a circular reference error fired by module import.\r\n * @param imported The binding of the import.\r\n * @param moduleRequest The module request of the import.\r\n * @param importMeta The import.meta of the source module.\r\n * @param extras Extra data passed by circular reference detection implementation.\r\n */\r\n\r\nexport function report(imported, moduleRequest, importMeta, extras) {\r\n console.warn(\r\n `Found possible circular reference in \"${importMeta.url}\", \\\r\nhappened when use \"${imported}\" imported from \"${moduleRequest}\" \\\r\n`,\r\n extras.error,\r\n );\r\n}\r\n"]}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {}, function (_unresolved_2) {}, function (_unresolved_3) {}, function (_unresolved_4) {}, function (_unresolved_5) {}, function (_unresolved_6) {}, function (_unresolved_7) {}, function (_unresolved_8) {}, function (_unresolved_9) {}],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=6d8fd2b0177941b032ddc0733af48a561fb60657.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
||||
+333
@@ -0,0 +1,333 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, ccenum, gfx, _crd, SampleCount, BloomType;
|
||||
|
||||
function makeMSAA() {
|
||||
return {
|
||||
enabled: false,
|
||||
sampleCount: SampleCount.X4
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredMSAA(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.sampleCount === undefined) {
|
||||
value.sampleCount = SampleCount.X4;
|
||||
}
|
||||
}
|
||||
|
||||
function makeHBAO() {
|
||||
return {
|
||||
enabled: false,
|
||||
radiusScale: 1,
|
||||
angleBiasDegree: 10,
|
||||
blurSharpness: 3,
|
||||
aoSaturation: 1,
|
||||
needBlur: false
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredHBAO(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.radiusScale === undefined) {
|
||||
value.radiusScale = 1;
|
||||
}
|
||||
|
||||
if (value.angleBiasDegree === undefined) {
|
||||
value.angleBiasDegree = 10;
|
||||
}
|
||||
|
||||
if (value.blurSharpness === undefined) {
|
||||
value.blurSharpness = 3;
|
||||
}
|
||||
|
||||
if (value.aoSaturation === undefined) {
|
||||
value.aoSaturation = 1;
|
||||
}
|
||||
|
||||
if (value.needBlur === undefined) {
|
||||
value.needBlur = false;
|
||||
}
|
||||
}
|
||||
|
||||
function makeBloom() {
|
||||
return {
|
||||
enabled: false,
|
||||
type: BloomType.KawaseDualFilter,
|
||||
material: null,
|
||||
kawaseFilterMaterial: null,
|
||||
mipmapFilterMaterial: null,
|
||||
enableAlphaMask: false,
|
||||
iterations: 3,
|
||||
threshold: 0.8,
|
||||
intensity: 1
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredBloom(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.type === undefined) {
|
||||
value.type = BloomType.KawaseDualFilter;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.kawaseFilterMaterial === undefined) {
|
||||
value.kawaseFilterMaterial = value.material || null;
|
||||
}
|
||||
|
||||
if (value.mipmapFilterMaterial === undefined) {
|
||||
value.mipmapFilterMaterial = null;
|
||||
}
|
||||
|
||||
if (value.enableAlphaMask === undefined) {
|
||||
value.enableAlphaMask = false;
|
||||
}
|
||||
|
||||
if (value.iterations === undefined) {
|
||||
value.iterations = 3;
|
||||
}
|
||||
|
||||
if (value.threshold === undefined) {
|
||||
value.threshold = 0.8;
|
||||
}
|
||||
|
||||
if (value.intensity === undefined) {
|
||||
value.intensity = 1;
|
||||
}
|
||||
}
|
||||
|
||||
function makeColorGrading() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null,
|
||||
contribute: 1,
|
||||
colorGradingMap: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredColorGrading(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.contribute === undefined) {
|
||||
value.contribute = 1;
|
||||
}
|
||||
|
||||
if (value.colorGradingMap === undefined) {
|
||||
value.colorGradingMap = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makeFSR() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null,
|
||||
sharpness: 0.8
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredFSR(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
|
||||
if (value.sharpness === undefined) {
|
||||
value.sharpness = 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
function makeFXAA() {
|
||||
return {
|
||||
enabled: false,
|
||||
material: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredFXAA(value) {
|
||||
if (value.enabled === undefined) {
|
||||
value.enabled = false;
|
||||
}
|
||||
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makeToneMapping() {
|
||||
return {
|
||||
material: null
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredToneMapping(value) {
|
||||
if (value.material === undefined) {
|
||||
value.material = null;
|
||||
}
|
||||
}
|
||||
|
||||
function makePipelineSettings() {
|
||||
return {
|
||||
msaa: makeMSAA(),
|
||||
enableShadingScale: false,
|
||||
shadingScale: 0.5,
|
||||
bloom: makeBloom(),
|
||||
toneMapping: makeToneMapping(),
|
||||
colorGrading: makeColorGrading(),
|
||||
fsr: makeFSR(),
|
||||
fxaa: makeFXAA()
|
||||
};
|
||||
}
|
||||
|
||||
function fillRequiredPipelineSettings(value) {
|
||||
if (!value.msaa) {
|
||||
value.msaa = makeMSAA();
|
||||
} else {
|
||||
fillRequiredMSAA(value.msaa);
|
||||
}
|
||||
|
||||
if (value.enableShadingScale === undefined) {
|
||||
value.enableShadingScale = false;
|
||||
}
|
||||
|
||||
if (value.shadingScale === undefined) {
|
||||
value.shadingScale = 0.5;
|
||||
}
|
||||
|
||||
if (!value.bloom) {
|
||||
value.bloom = makeBloom();
|
||||
} else {
|
||||
fillRequiredBloom(value.bloom);
|
||||
}
|
||||
|
||||
if (!value.toneMapping) {
|
||||
value.toneMapping = makeToneMapping();
|
||||
} else {
|
||||
fillRequiredToneMapping(value.toneMapping);
|
||||
}
|
||||
|
||||
if (!value.colorGrading) {
|
||||
value.colorGrading = makeColorGrading();
|
||||
} else {
|
||||
fillRequiredColorGrading(value.colorGrading);
|
||||
}
|
||||
|
||||
if (!value.fsr) {
|
||||
value.fsr = makeFSR();
|
||||
} else {
|
||||
fillRequiredFSR(value.fsr);
|
||||
}
|
||||
|
||||
if (!value.fxaa) {
|
||||
value.fxaa = makeFXAA();
|
||||
} else {
|
||||
fillRequiredFXAA(value.fxaa);
|
||||
}
|
||||
}
|
||||
|
||||
_export({
|
||||
makeMSAA: makeMSAA,
|
||||
fillRequiredMSAA: fillRequiredMSAA,
|
||||
makeHBAO: makeHBAO,
|
||||
fillRequiredHBAO: fillRequiredHBAO,
|
||||
makeBloom: makeBloom,
|
||||
fillRequiredBloom: fillRequiredBloom,
|
||||
makeColorGrading: makeColorGrading,
|
||||
fillRequiredColorGrading: fillRequiredColorGrading,
|
||||
makeFSR: makeFSR,
|
||||
fillRequiredFSR: fillRequiredFSR,
|
||||
makeFXAA: makeFXAA,
|
||||
fillRequiredFXAA: fillRequiredFXAA,
|
||||
makeToneMapping: makeToneMapping,
|
||||
fillRequiredToneMapping: fillRequiredToneMapping,
|
||||
makePipelineSettings: makePipelineSettings,
|
||||
fillRequiredPipelineSettings: fillRequiredPipelineSettings
|
||||
});
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
ccenum = _cc.ccenum;
|
||||
gfx = _cc.gfx;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "cbf30kCUX9A3K+QpVC6wnzx", "builtin-pipeline-types", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
|
||||
* The following section is auto-generated.
|
||||
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
|
||||
*/
|
||||
|
||||
/* eslint-disable max-len */
|
||||
|
||||
|
||||
__checkObsolete__(['Material', 'Texture2D', 'ccenum', 'gfx']);
|
||||
|
||||
({
|
||||
SampleCount
|
||||
} = gfx);
|
||||
|
||||
_export("BloomType", BloomType = /*#__PURE__*/function (BloomType) {
|
||||
BloomType[BloomType["KawaseDualFilter"] = 0] = "KawaseDualFilter";
|
||||
BloomType[BloomType["MipmapFilter"] = 1] = "MipmapFilter";
|
||||
return BloomType;
|
||||
}({}));
|
||||
|
||||
ccenum(BloomType);
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+68
@@ -0,0 +1,68 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, director, Director, assetManager, TextAsset, Prefab, instantiate, js, _crd;
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
director = _cc.director;
|
||||
Director = _cc.Director;
|
||||
assetManager = _cc.assetManager;
|
||||
TextAsset = _cc.TextAsset;
|
||||
Prefab = _cc.Prefab;
|
||||
instantiate = _cc.instantiate;
|
||||
js = _cc.js;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "d3a6crOBwVLlLjTY3gqQ3kp", "Boot", undefined);
|
||||
|
||||
__checkObsolete__(['director', 'Director', 'assetManager', 'TextAsset', 'Prefab', 'instantiate', 'js']);
|
||||
|
||||
director.once(Director.EVENT_AFTER_SCENE_LAUNCH, /*#__PURE__*/_asyncToGenerator(function* () {
|
||||
var report = {
|
||||
ok: false,
|
||||
requests: []
|
||||
};
|
||||
globalThis.__probe = report;
|
||||
|
||||
try {
|
||||
var target = yield fetch('./target.json').then(r => {
|
||||
if (!r.ok) throw Error('target missing');
|
||||
return r.json();
|
||||
});
|
||||
report.selected = target.bundle;
|
||||
var bundle = yield new Promise((resolve, reject) => assetManager.loadBundle(target.bundle, (e, b) => e ? reject(e) : resolve(b)));
|
||||
var entry = js.getClassByName(target.entry);
|
||||
if (!entry) throw Error('entry missing');
|
||||
report.code = entry.run();
|
||||
var text = yield new Promise((resolve, reject) => bundle.load('private', TextAsset, (e, a) => e ? reject(e) : resolve(a)));
|
||||
report.text = text.text;
|
||||
var prefab = yield new Promise((resolve, reject) => bundle.load('View', Prefab, (e, a) => e ? reject(e) : resolve(a)));
|
||||
var node = instantiate(prefab);
|
||||
node.parent = director.getScene();
|
||||
report.prefab = node.name;
|
||||
report.otherRegistered = !!js.getClassByName(target.otherEntry);
|
||||
report.ok = true;
|
||||
} catch (e) {
|
||||
report.error = String(e);
|
||||
}
|
||||
|
||||
console.log('PROBE_RESULT', JSON.stringify(report));
|
||||
}));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=8e712b201a7af91e5a41365d538a13080eafb578.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts"],"names":["director","Director","assetManager","TextAsset","Prefab","instantiate","js","once","EVENT_AFTER_SCENE_LAUNCH","report","ok","requests","globalThis","__probe","target","fetch","then","r","Error","json","selected","bundle","Promise","resolve","reject","loadBundle","e","b","entry","getClassByName","code","run","text","load","a","prefab","node","parent","getScene","name","otherRegistered","otherEntry","error","String","console","log","JSON","stringify"],"mappings":";;;;;;;;;;;;;;AAAQA,MAAAA,Q,OAAAA,Q;AAASC,MAAAA,Q,OAAAA,Q;AAASC,MAAAA,Y,OAAAA,Y;AAAaC,MAAAA,S,OAAAA,S;AAAUC,MAAAA,M,OAAAA,M;AAAOC,MAAAA,W,OAAAA,W;AAAYC,MAAAA,E,OAAAA,E;;;;;;;;;AACpEN,MAAAA,QAAQ,CAACO,IAAT,CAAcN,QAAQ,CAACO,wBAAvB,iCAAgD,aAAS;AACxD,YAAMC,MAAU,GAAC;AAACC,UAAAA,EAAE,EAAC,KAAJ;AAAUC,UAAAA,QAAQ,EAAC;AAAnB,SAAjB;AAAyCC,QAAAA,UAAD,CAAoBC,OAApB,GAA4BJ,MAA5B;;AACxC,YAAG;AAAC,cAAMK,MAAM,SAAOC,KAAK,CAAC,eAAD,CAAL,CAAuBC,IAAvB,CAA4BC,CAAC,IAAE;AAAC,gBAAG,CAACA,CAAC,CAACP,EAAN,EAAS,MAAMQ,KAAK,CAAC,gBAAD,CAAX;AAA8B,mBAAOD,CAAC,CAACE,IAAF,EAAP;AAAiB,WAAxF,CAAnB;AACJV,UAAAA,MAAM,CAACW,QAAP,GAAgBN,MAAM,CAACO,MAAvB;AACA,cAAMA,MAAM,SAAO,IAAIC,OAAJ,CAAiB,CAACC,OAAD,EAASC,MAAT,KAAkBtB,YAAY,CAACuB,UAAb,CAAwBX,MAAM,CAACO,MAA/B,EAAsC,CAACK,CAAD,EAAGC,CAAH,KAAOD,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACI,CAAD,CAAhE,CAAnC,CAAnB;AACA,cAAMC,KAAS,GAACtB,EAAE,CAACuB,cAAH,CAAkBf,MAAM,CAACc,KAAzB,CAAhB;AAAgD,cAAG,CAACA,KAAJ,EAAU,MAAMV,KAAK,CAAC,eAAD,CAAX;AAA6BT,UAAAA,MAAM,CAACqB,IAAP,GAAYF,KAAK,CAACG,GAAN,EAAZ;AACvF,cAAMC,IAAI,SAAO,IAAIV,OAAJ,CAAuB,CAACC,OAAD,EAASC,MAAT,KAAkBH,MAAM,CAACY,IAAP,CAAY,SAAZ,EAAsB9B,SAAtB,EAAgC,CAACuB,CAAD,EAAGQ,CAAH,KAAOR,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACW,CAAD,CAA1D,CAAzC,CAAjB;AAA0HzB,UAAAA,MAAM,CAACuB,IAAP,GAAYA,IAAI,CAACA,IAAjB;AAC1H,cAAMG,MAAM,SAAO,IAAIb,OAAJ,CAAoB,CAACC,OAAD,EAASC,MAAT,KAAkBH,MAAM,CAACY,IAAP,CAAY,MAAZ,EAAmB7B,MAAnB,EAA0B,CAACsB,CAAD,EAAGQ,CAAH,KAAOR,CAAC,GAACF,MAAM,CAACE,CAAD,CAAP,GAAWH,OAAO,CAACW,CAAD,CAApD,CAAtC,CAAnB;AAAmH,cAAME,IAAI,GAAC/B,WAAW,CAAC8B,MAAD,CAAtB;AAA+BC,UAAAA,IAAI,CAACC,MAAL,GAAYrC,QAAQ,CAACsC,QAAT,EAAZ;AAAgC7B,UAAAA,MAAM,CAAC0B,MAAP,GAAcC,IAAI,CAACG,IAAnB;AAClL9B,UAAAA,MAAM,CAAC+B,eAAP,GAAuB,CAAC,CAAClC,EAAE,CAACuB,cAAH,CAAkBf,MAAM,CAAC2B,UAAzB,CAAzB;AAA8DhC,UAAAA,MAAM,CAACC,EAAP,GAAU,IAAV;AAC7D,SAPD,CAOC,OAAMgB,CAAN,EAAQ;AAACjB,UAAAA,MAAM,CAACiC,KAAP,GAAaC,MAAM,CAACjB,CAAD,CAAnB;AAAwB;;AAClCkB,QAAAA,OAAO,CAACC,GAAR,CAAY,cAAZ,EAA2BC,IAAI,CAACC,SAAL,CAAetC,MAAf,CAA3B;AACA,OAXD","sourcesContent":["import {director,Director,assetManager,TextAsset,Prefab,instantiate,js} from 'cc';\ndirector.once(Director.EVENT_AFTER_SCENE_LAUNCH,async()=>{\n const report:any={ok:false,requests:[]};(globalThis as any).__probe=report;\n try{const target=await fetch('./target.json').then(r=>{if(!r.ok)throw Error('target missing');return r.json();});\n report.selected=target.bundle;\n const bundle=await new Promise<any>((resolve,reject)=>assetManager.loadBundle(target.bundle,(e,b)=>e?reject(e):resolve(b)));\n const entry:any=js.getClassByName(target.entry);if(!entry)throw Error('entry missing');report.code=entry.run();\n const text=await new Promise<TextAsset>((resolve,reject)=>bundle.load('private',TextAsset,(e,a)=>e?reject(e):resolve(a)));report.text=text.text;\n const prefab=await new Promise<Prefab>((resolve,reject)=>bundle.load('View',Prefab,(e,a)=>e?reject(e):resolve(a)));const node=instantiate(prefab);node.parent=director.getScene();report.prefab=node.name;\n report.otherRegistered=!!js.getClassByName(target.otherEntry);report.ok=true;\n }catch(e){report.error=String(e);}\n console.log('PROBE_RESULT',JSON.stringify(report));\n});\n"]}
|
||||
+265
@@ -0,0 +1,265 @@
|
||||
System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13", "__unresolved_14", "__unresolved_15", "__unresolved_16", "__unresolved_17", "__unresolved_18", "__unresolved_19", "__unresolved_20", "__unresolved_21", "__unresolved_22", "__unresolved_23", "__unresolved_24", "__unresolved_25", "__unresolved_26", "__unresolved_27", "__unresolved_28", "__unresolved_29", "__unresolved_30", "__unresolved_31"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
var _exportObj = {};
|
||||
|
||||
for (var _key in _unresolved_) {
|
||||
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _unresolved_[_key];
|
||||
}
|
||||
|
||||
_export(_exportObj);
|
||||
}, function (_unresolved_2) {
|
||||
var _exportObj2 = {};
|
||||
|
||||
for (var _key2 in _unresolved_2) {
|
||||
if (_key2 !== "default" && _key2 !== "__esModule") _exportObj2[_key2] = _unresolved_2[_key2];
|
||||
}
|
||||
|
||||
_export(_exportObj2);
|
||||
}, function (_unresolved_3) {
|
||||
var _exportObj3 = {};
|
||||
|
||||
for (var _key3 in _unresolved_3) {
|
||||
if (_key3 !== "default" && _key3 !== "__esModule") _exportObj3[_key3] = _unresolved_3[_key3];
|
||||
}
|
||||
|
||||
_export(_exportObj3);
|
||||
}, function (_unresolved_4) {
|
||||
var _exportObj4 = {};
|
||||
|
||||
for (var _key4 in _unresolved_4) {
|
||||
if (_key4 !== "default" && _key4 !== "__esModule") _exportObj4[_key4] = _unresolved_4[_key4];
|
||||
}
|
||||
|
||||
_export(_exportObj4);
|
||||
}, function (_unresolved_5) {
|
||||
var _exportObj5 = {};
|
||||
|
||||
for (var _key5 in _unresolved_5) {
|
||||
if (_key5 !== "default" && _key5 !== "__esModule") _exportObj5[_key5] = _unresolved_5[_key5];
|
||||
}
|
||||
|
||||
_export(_exportObj5);
|
||||
}, function (_unresolved_6) {
|
||||
var _exportObj6 = {};
|
||||
|
||||
for (var _key6 in _unresolved_6) {
|
||||
if (_key6 !== "default" && _key6 !== "__esModule") _exportObj6[_key6] = _unresolved_6[_key6];
|
||||
}
|
||||
|
||||
_export(_exportObj6);
|
||||
}, function (_unresolved_7) {
|
||||
var _exportObj7 = {};
|
||||
|
||||
for (var _key7 in _unresolved_7) {
|
||||
if (_key7 !== "default" && _key7 !== "__esModule") _exportObj7[_key7] = _unresolved_7[_key7];
|
||||
}
|
||||
|
||||
_export(_exportObj7);
|
||||
}, function (_unresolved_8) {
|
||||
var _exportObj8 = {};
|
||||
|
||||
for (var _key8 in _unresolved_8) {
|
||||
if (_key8 !== "default" && _key8 !== "__esModule") _exportObj8[_key8] = _unresolved_8[_key8];
|
||||
}
|
||||
|
||||
_export(_exportObj8);
|
||||
}, function (_unresolved_9) {
|
||||
var _exportObj9 = {};
|
||||
|
||||
for (var _key9 in _unresolved_9) {
|
||||
if (_key9 !== "default" && _key9 !== "__esModule") _exportObj9[_key9] = _unresolved_9[_key9];
|
||||
}
|
||||
|
||||
_export(_exportObj9);
|
||||
}, function (_unresolved_10) {
|
||||
var _exportObj10 = {};
|
||||
|
||||
for (var _key10 in _unresolved_10) {
|
||||
if (_key10 !== "default" && _key10 !== "__esModule") _exportObj10[_key10] = _unresolved_10[_key10];
|
||||
}
|
||||
|
||||
_export(_exportObj10);
|
||||
}, function (_unresolved_11) {
|
||||
var _exportObj11 = {};
|
||||
|
||||
for (var _key11 in _unresolved_11) {
|
||||
if (_key11 !== "default" && _key11 !== "__esModule") _exportObj11[_key11] = _unresolved_11[_key11];
|
||||
}
|
||||
|
||||
_export(_exportObj11);
|
||||
}, function (_unresolved_12) {
|
||||
var _exportObj12 = {};
|
||||
|
||||
for (var _key12 in _unresolved_12) {
|
||||
if (_key12 !== "default" && _key12 !== "__esModule") _exportObj12[_key12] = _unresolved_12[_key12];
|
||||
}
|
||||
|
||||
_export(_exportObj12);
|
||||
}, function (_unresolved_13) {
|
||||
var _exportObj13 = {};
|
||||
|
||||
for (var _key13 in _unresolved_13) {
|
||||
if (_key13 !== "default" && _key13 !== "__esModule") _exportObj13[_key13] = _unresolved_13[_key13];
|
||||
}
|
||||
|
||||
_export(_exportObj13);
|
||||
}, function (_unresolved_14) {
|
||||
var _exportObj14 = {};
|
||||
|
||||
for (var _key14 in _unresolved_14) {
|
||||
if (_key14 !== "default" && _key14 !== "__esModule") _exportObj14[_key14] = _unresolved_14[_key14];
|
||||
}
|
||||
|
||||
_export(_exportObj14);
|
||||
}, function (_unresolved_15) {
|
||||
var _exportObj15 = {};
|
||||
|
||||
for (var _key15 in _unresolved_15) {
|
||||
if (_key15 !== "default" && _key15 !== "__esModule") _exportObj15[_key15] = _unresolved_15[_key15];
|
||||
}
|
||||
|
||||
_export(_exportObj15);
|
||||
}, function (_unresolved_16) {
|
||||
var _exportObj16 = {};
|
||||
|
||||
for (var _key16 in _unresolved_16) {
|
||||
if (_key16 !== "default" && _key16 !== "__esModule") _exportObj16[_key16] = _unresolved_16[_key16];
|
||||
}
|
||||
|
||||
_export(_exportObj16);
|
||||
}, function (_unresolved_17) {
|
||||
var _exportObj17 = {};
|
||||
|
||||
for (var _key17 in _unresolved_17) {
|
||||
if (_key17 !== "default" && _key17 !== "__esModule") _exportObj17[_key17] = _unresolved_17[_key17];
|
||||
}
|
||||
|
||||
_export(_exportObj17);
|
||||
}, function (_unresolved_18) {
|
||||
var _exportObj18 = {};
|
||||
|
||||
for (var _key18 in _unresolved_18) {
|
||||
if (_key18 !== "default" && _key18 !== "__esModule") _exportObj18[_key18] = _unresolved_18[_key18];
|
||||
}
|
||||
|
||||
_export(_exportObj18);
|
||||
}, function (_unresolved_19) {
|
||||
var _exportObj19 = {};
|
||||
|
||||
for (var _key19 in _unresolved_19) {
|
||||
if (_key19 !== "default" && _key19 !== "__esModule") _exportObj19[_key19] = _unresolved_19[_key19];
|
||||
}
|
||||
|
||||
_export(_exportObj19);
|
||||
}, function (_unresolved_20) {
|
||||
var _exportObj20 = {};
|
||||
|
||||
for (var _key20 in _unresolved_20) {
|
||||
if (_key20 !== "default" && _key20 !== "__esModule") _exportObj20[_key20] = _unresolved_20[_key20];
|
||||
}
|
||||
|
||||
_export(_exportObj20);
|
||||
}, function (_unresolved_21) {
|
||||
var _exportObj21 = {};
|
||||
|
||||
for (var _key21 in _unresolved_21) {
|
||||
if (_key21 !== "default" && _key21 !== "__esModule") _exportObj21[_key21] = _unresolved_21[_key21];
|
||||
}
|
||||
|
||||
_export(_exportObj21);
|
||||
}, function (_unresolved_22) {
|
||||
var _exportObj22 = {};
|
||||
|
||||
for (var _key22 in _unresolved_22) {
|
||||
if (_key22 !== "default" && _key22 !== "__esModule") _exportObj22[_key22] = _unresolved_22[_key22];
|
||||
}
|
||||
|
||||
_export(_exportObj22);
|
||||
}, function (_unresolved_23) {
|
||||
var _exportObj23 = {};
|
||||
|
||||
for (var _key23 in _unresolved_23) {
|
||||
if (_key23 !== "default" && _key23 !== "__esModule") _exportObj23[_key23] = _unresolved_23[_key23];
|
||||
}
|
||||
|
||||
_export(_exportObj23);
|
||||
}, function (_unresolved_24) {
|
||||
var _exportObj24 = {};
|
||||
|
||||
for (var _key24 in _unresolved_24) {
|
||||
if (_key24 !== "default" && _key24 !== "__esModule") _exportObj24[_key24] = _unresolved_24[_key24];
|
||||
}
|
||||
|
||||
_export(_exportObj24);
|
||||
}, function (_unresolved_25) {
|
||||
var _exportObj25 = {};
|
||||
|
||||
for (var _key25 in _unresolved_25) {
|
||||
if (_key25 !== "default" && _key25 !== "__esModule") _exportObj25[_key25] = _unresolved_25[_key25];
|
||||
}
|
||||
|
||||
_export(_exportObj25);
|
||||
}, function (_unresolved_26) {
|
||||
var _exportObj26 = {};
|
||||
|
||||
for (var _key26 in _unresolved_26) {
|
||||
if (_key26 !== "default" && _key26 !== "__esModule") _exportObj26[_key26] = _unresolved_26[_key26];
|
||||
}
|
||||
|
||||
_export(_exportObj26);
|
||||
}, function (_unresolved_27) {
|
||||
var _exportObj27 = {};
|
||||
|
||||
for (var _key27 in _unresolved_27) {
|
||||
if (_key27 !== "default" && _key27 !== "__esModule") _exportObj27[_key27] = _unresolved_27[_key27];
|
||||
}
|
||||
|
||||
_export(_exportObj27);
|
||||
}, function (_unresolved_28) {
|
||||
var _exportObj28 = {};
|
||||
|
||||
for (var _key28 in _unresolved_28) {
|
||||
if (_key28 !== "default" && _key28 !== "__esModule") _exportObj28[_key28] = _unresolved_28[_key28];
|
||||
}
|
||||
|
||||
_export(_exportObj28);
|
||||
}, function (_unresolved_29) {
|
||||
var _exportObj29 = {};
|
||||
|
||||
for (var _key29 in _unresolved_29) {
|
||||
if (_key29 !== "default" && _key29 !== "__esModule") _exportObj29[_key29] = _unresolved_29[_key29];
|
||||
}
|
||||
|
||||
_export(_exportObj29);
|
||||
}, function (_unresolved_30) {
|
||||
var _exportObj30 = {};
|
||||
|
||||
for (var _key30 in _unresolved_30) {
|
||||
if (_key30 !== "default" && _key30 !== "__esModule") _exportObj30[_key30] = _unresolved_30[_key30];
|
||||
}
|
||||
|
||||
_export(_exportObj30);
|
||||
}, function (_unresolved_31) {
|
||||
var _exportObj31 = {};
|
||||
|
||||
for (var _key31 in _unresolved_31) {
|
||||
if (_key31 !== "default" && _key31 !== "__esModule") _exportObj31[_key31] = _unresolved_31[_key31];
|
||||
}
|
||||
|
||||
_export(_exportObj31);
|
||||
}, function (_unresolved_32) {
|
||||
var _exportObj32 = {};
|
||||
|
||||
for (var _key32 in _unresolved_32) {
|
||||
if (_key32 !== "default" && _key32 !== "__esModule") _exportObj32[_key32] = _unresolved_32[_key32];
|
||||
}
|
||||
|
||||
_export(_exportObj32);
|
||||
}],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, _dec, _class, _crd, ProbeEntry_beta;
|
||||
|
||||
return {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "f9f74JUc6lBwoJODpMQQneb", "Entry", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator']);
|
||||
|
||||
_export("ProbeEntry_beta", ProbeEntry_beta = (_dec = _decorator.ccclass('ProbeEntry_beta'), _dec(_class = class ProbeEntry_beta {
|
||||
static run() {
|
||||
return 'PRIVATE_CODE_BETA';
|
||||
}
|
||||
|
||||
}) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=a45626d8cbe59e99c7c3de1eff49663440433fe2.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts"],"names":["_decorator","ProbeEntry_beta","ccclass","run"],"mappings":";;;;;;;;;;AAAQA,MAAAA,U,OAAAA,U;;;;;;;;;iCAEKC,e,WADZD,UAAU,CAACE,OAAX,CAAmB,iBAAnB,C,gBAAD,MACaD,eADb,CAC6B;AAAW,eAAHE,GAAG,GAAE;AAAC,iBAAO,mBAAP;AAA4B;;AAA1C,O","sourcesContent":["import {_decorator} from 'cc';\n@_decorator.ccclass('ProbeEntry_beta')\nexport class ProbeEntry_beta {static run(){return 'PRIVATE_CODE_BETA';}}\n"]}
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "cc/env"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, assert, Component, BuiltinPipelineSettings, EDITOR, _dec, _dec2, _dec3, _class, _crd, ccclass, disallowMultiple, executeInEditMode, menu, requireComponent, BuiltinPipelinePassBuilder;
|
||||
|
||||
function _reportPossibleCrUseOfBuiltinPipelineSettings(extras) {
|
||||
_reporterNs.report("BuiltinPipelineSettings", "./builtin-pipeline-settings", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineSettings(extras) {
|
||||
_reporterNs.report("PipelineSettings2", "./builtin-pipeline", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
assert = _cc.assert;
|
||||
Component = _cc.Component;
|
||||
}, function (_unresolved_2) {
|
||||
BuiltinPipelineSettings = _unresolved_2.BuiltinPipelineSettings;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "6f940g8/JJDi6Fbog7GFmbH", "builtin-pipeline-pass", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'assert', 'Component', 'rendering']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
requireComponent
|
||||
} = _decorator);
|
||||
|
||||
_export("BuiltinPipelinePassBuilder", BuiltinPipelinePassBuilder = (_dec = ccclass('BuiltinPipelinePassBuilder'), _dec2 = menu('Rendering/BuiltinPipelinePassBuilder'), _dec3 = requireComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = class BuiltinPipelinePassBuilder extends Component {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this._parent = void 0;
|
||||
this._settings = void 0;
|
||||
}
|
||||
|
||||
getConfigOrder() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
getRenderOrder() {
|
||||
return 200;
|
||||
}
|
||||
|
||||
onEnable() {
|
||||
this._parent = this.getComponent(_crd && BuiltinPipelineSettings === void 0 ? (_reportPossibleCrUseOfBuiltinPipelineSettings({
|
||||
error: Error()
|
||||
}), BuiltinPipelineSettings) : BuiltinPipelineSettings);
|
||||
this._settings = this._parent.getPipelineSettings();
|
||||
|
||||
if (!Object.prototype.hasOwnProperty.call(this._settings, '_passes')) {
|
||||
Object.defineProperty(this._settings, '_passes', {
|
||||
value: [],
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true
|
||||
});
|
||||
}
|
||||
|
||||
assert(this._settings._passes !== undefined);
|
||||
|
||||
this._settings._passes.push(this);
|
||||
|
||||
if (EDITOR) {
|
||||
this._parent._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
onDisable() {
|
||||
assert(Object.prototype.hasOwnProperty.call(this._settings, '_passes'));
|
||||
var passes = this._settings._passes;
|
||||
assert(passes !== undefined);
|
||||
var idx = passes.indexOf(this);
|
||||
assert(idx >= 0);
|
||||
passes.splice(idx, 1);
|
||||
}
|
||||
|
||||
}) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=b18130d786bcadd1d0cb653401afdf2ede79b799.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+648
@@ -0,0 +1,648 @@
|
||||
System.register(["__unresolved_0", "cc", "cc/env", "__unresolved_1"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Camera, CCBoolean, CCFloat, CCInteger, Component, Material, rendering, Texture2D, EDITOR, BloomType, fillRequiredPipelineSettings, makePipelineSettings, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _class, _class2, _descriptor, _descriptor2, _crd, ccclass, disallowMultiple, executeInEditMode, menu, property, requireComponent, type, BuiltinPipelineSettings;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
||||
|
||||
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
||||
|
||||
function _reportPossibleCrUseOfBloomType(extras) {
|
||||
_reporterNs.report("BloomType", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOffillRequiredPipelineSettings(extras) {
|
||||
_reporterNs.report("fillRequiredPipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfmakePipelineSettings(extras) {
|
||||
_reporterNs.report("makePipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfPipelineSettings(extras) {
|
||||
_reporterNs.report("PipelineSettings", "./builtin-pipeline-types", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
Camera = _cc.Camera;
|
||||
CCBoolean = _cc.CCBoolean;
|
||||
CCFloat = _cc.CCFloat;
|
||||
CCInteger = _cc.CCInteger;
|
||||
Component = _cc.Component;
|
||||
Material = _cc.Material;
|
||||
rendering = _cc.rendering;
|
||||
Texture2D = _cc.Texture2D;
|
||||
}, function (_ccEnv) {
|
||||
EDITOR = _ccEnv.EDITOR;
|
||||
}, function (_unresolved_2) {
|
||||
BloomType = _unresolved_2.BloomType;
|
||||
fillRequiredPipelineSettings = _unresolved_2.fillRequiredPipelineSettings;
|
||||
makePipelineSettings = _unresolved_2.makePipelineSettings;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "de1c2EHcMhAIYRZY5nyTQHG", "builtin-pipeline-settings", undefined);
|
||||
/*
|
||||
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
|
||||
|
||||
https://www.cocos.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
__checkObsolete__(['_decorator', 'Camera', 'CCBoolean', 'CCFloat', 'CCInteger', 'Component', 'Material', 'rendering', 'Texture2D']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
disallowMultiple,
|
||||
executeInEditMode,
|
||||
menu,
|
||||
property,
|
||||
requireComponent,
|
||||
type
|
||||
} = _decorator);
|
||||
|
||||
_export("BuiltinPipelineSettings", BuiltinPipelineSettings = (_dec = ccclass('BuiltinPipelineSettings'), _dec2 = menu('Rendering/BuiltinPipelineSettings'), _dec3 = requireComponent(Camera), _dec4 = property(CCBoolean), _dec5 = property({
|
||||
displayName: 'Editor Preview (Experimental)',
|
||||
type: CCBoolean
|
||||
}), _dec6 = property({
|
||||
group: {
|
||||
id: 'MSAA',
|
||||
name: 'Multisample Anti-Aliasing'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec7 = property({
|
||||
group: {
|
||||
id: 'MSAA',
|
||||
name: 'Multisample Anti-Aliasing',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger,
|
||||
range: [2, 4, 2]
|
||||
}), _dec8 = property({
|
||||
group: {
|
||||
id: 'ShadingScale',
|
||||
name: 'ShadingScale',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec9 = property({
|
||||
tooltip: 'i18n:postprocess.shadingScale',
|
||||
group: {
|
||||
id: 'ShadingScale',
|
||||
name: 'ShadingScale'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0.01, 4, 0.01],
|
||||
slide: true
|
||||
}), _dec10 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec11 = type(_crd && BloomType === void 0 ? (_reportPossibleCrUseOfBloomType({
|
||||
error: Error()
|
||||
}), BloomType) : BloomType), _dec12 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
}
|
||||
}), _dec13 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec14 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec15 = property({
|
||||
tooltip: 'i18n:bloom.enableAlphaMask',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec16 = property({
|
||||
tooltip: 'i18n:bloom.iterations',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCInteger,
|
||||
range: [1, 6, 1],
|
||||
slide: true
|
||||
}), _dec17 = property({
|
||||
tooltip: 'i18n:bloom.threshold',
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
min: 0
|
||||
}), _dec18 = type(CCFloat), _dec19 = property({
|
||||
group: {
|
||||
id: 'Bloom',
|
||||
name: 'Bloom (PostProcessing)',
|
||||
style: 'section'
|
||||
}
|
||||
}), _dec20 = property({
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec21 = property({
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec22 = property({
|
||||
tooltip: 'i18n:color_grading.contribute',
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0, 1, 0.01],
|
||||
slide: true
|
||||
}), _dec23 = property({
|
||||
tooltip: 'i18n:color_grading.originalMap',
|
||||
group: {
|
||||
id: 'Color Grading',
|
||||
name: 'ColorGrading (LDR) (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Texture2D
|
||||
}), _dec24 = property({
|
||||
group: {
|
||||
id: 'FXAA',
|
||||
name: 'Fast Approximate Anti-Aliasing (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec25 = property({
|
||||
group: {
|
||||
id: 'FXAA',
|
||||
name: 'Fast Approximate Anti-Aliasing (PostProcessing)',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec26 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCBoolean
|
||||
}), _dec27 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec28 = property({
|
||||
group: {
|
||||
id: 'FSR',
|
||||
name: 'FidelityFX Super Resolution',
|
||||
style: 'section'
|
||||
},
|
||||
type: CCFloat,
|
||||
range: [0, 1, 0.01],
|
||||
slide: true
|
||||
}), _dec29 = property({
|
||||
group: {
|
||||
id: 'ToneMapping',
|
||||
name: 'ToneMapping',
|
||||
style: 'section'
|
||||
},
|
||||
type: Material
|
||||
}), _dec(_class = _dec2(_class = _dec3(_class = disallowMultiple(_class = executeInEditMode(_class = (_class2 = class BuiltinPipelineSettings extends Component {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
||||
_initializerDefineProperty(this, "_settings", _descriptor, this);
|
||||
|
||||
// Editor Preview
|
||||
_initializerDefineProperty(this, "_editorPreview", _descriptor2, this);
|
||||
}
|
||||
|
||||
getPipelineSettings() {
|
||||
return this._settings;
|
||||
} // Enable/Disable
|
||||
|
||||
|
||||
onEnable() {
|
||||
(_crd && fillRequiredPipelineSettings === void 0 ? (_reportPossibleCrUseOffillRequiredPipelineSettings({
|
||||
error: Error()
|
||||
}), fillRequiredPipelineSettings) : fillRequiredPipelineSettings)(this._settings);
|
||||
var cameraComponent = this.getComponent(Camera);
|
||||
var camera = cameraComponent.camera;
|
||||
camera.pipelineSettings = this._settings;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
onDisable() {
|
||||
var cameraComponent = this.getComponent(Camera);
|
||||
var camera = cameraComponent.camera;
|
||||
|
||||
if (camera) {
|
||||
camera.pipelineSettings = null;
|
||||
}
|
||||
|
||||
if (EDITOR) {
|
||||
this._disableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get editorPreview() {
|
||||
return this._editorPreview;
|
||||
}
|
||||
|
||||
set editorPreview(v) {
|
||||
this._editorPreview = v;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
_tryEnableEditorPreview() {
|
||||
if (rendering === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this._editorPreview) {
|
||||
rendering.setEditorPipelineSettings(this._settings);
|
||||
} else {
|
||||
this._disableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
_disableEditorPreview() {
|
||||
if (rendering === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
var current = rendering.getEditorPipelineSettings();
|
||||
|
||||
if (current === this._settings) {
|
||||
rendering.setEditorPipelineSettings(null);
|
||||
}
|
||||
} // MSAA
|
||||
|
||||
|
||||
get MsaaEnable() {
|
||||
return this._settings.msaa.enabled;
|
||||
}
|
||||
|
||||
set MsaaEnable(value) {
|
||||
this._settings.msaa.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
set msaaSampleCount(value) {
|
||||
value = 2 ** Math.ceil(Math.log2(Math.max(value, 2)));
|
||||
value = Math.min(value, 4);
|
||||
this._settings.msaa.sampleCount = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get msaaSampleCount() {
|
||||
return this._settings.msaa.sampleCount;
|
||||
} // Shading Scale
|
||||
|
||||
|
||||
set shadingScaleEnable(value) {
|
||||
this._settings.enableShadingScale = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get shadingScaleEnable() {
|
||||
return this._settings.enableShadingScale;
|
||||
}
|
||||
|
||||
set shadingScale(value) {
|
||||
this._settings.shadingScale = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get shadingScale() {
|
||||
return this._settings.shadingScale;
|
||||
} // Bloom
|
||||
|
||||
|
||||
set bloomEnable(value) {
|
||||
this._settings.bloom.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomEnable() {
|
||||
return this._settings.bloom.enabled;
|
||||
}
|
||||
|
||||
set bloomType(value) {
|
||||
this._settings.bloom.type = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomType() {
|
||||
return this._settings.bloom.type;
|
||||
}
|
||||
|
||||
set kawaseBloomMaterial(value) {
|
||||
if (this._settings.bloom.kawaseFilterMaterial === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.bloom.kawaseFilterMaterial = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get kawaseBloomMaterial() {
|
||||
return this._settings.bloom.kawaseFilterMaterial;
|
||||
}
|
||||
|
||||
set mipmapBloomMaterial(value) {
|
||||
if (this._settings.bloom.mipmapFilterMaterial === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.bloom.mipmapFilterMaterial = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get mipmapBloomMaterial() {
|
||||
return this._settings.bloom.mipmapFilterMaterial;
|
||||
}
|
||||
|
||||
set bloomEnableAlphaMask(value) {
|
||||
this._settings.bloom.enableAlphaMask = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomEnableAlphaMask() {
|
||||
return this._settings.bloom.enableAlphaMask;
|
||||
}
|
||||
|
||||
set bloomIterations(value) {
|
||||
this._settings.bloom.iterations = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomIterations() {
|
||||
return this._settings.bloom.iterations;
|
||||
}
|
||||
|
||||
set bloomThreshold(value) {
|
||||
this._settings.bloom.threshold = value;
|
||||
}
|
||||
|
||||
get bloomThreshold() {
|
||||
return this._settings.bloom.threshold;
|
||||
}
|
||||
|
||||
set bloomIntensity(value) {
|
||||
this._settings.bloom.intensity = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get bloomIntensity() {
|
||||
return this._settings.bloom.intensity;
|
||||
} // Color Grading (LDR)
|
||||
|
||||
|
||||
set colorGradingEnable(value) {
|
||||
this._settings.colorGrading.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingEnable() {
|
||||
return this._settings.colorGrading.enabled;
|
||||
}
|
||||
|
||||
set colorGradingMaterial(value) {
|
||||
if (this._settings.colorGrading.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.colorGrading.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingMaterial() {
|
||||
return this._settings.colorGrading.material;
|
||||
}
|
||||
|
||||
set colorGradingContribute(value) {
|
||||
this._settings.colorGrading.contribute = value;
|
||||
}
|
||||
|
||||
get colorGradingContribute() {
|
||||
return this._settings.colorGrading.contribute;
|
||||
}
|
||||
|
||||
set colorGradingMap(val) {
|
||||
this._settings.colorGrading.colorGradingMap = val;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get colorGradingMap() {
|
||||
return this._settings.colorGrading.colorGradingMap;
|
||||
} // FXAA
|
||||
|
||||
|
||||
set fxaaEnable(value) {
|
||||
this._settings.fxaa.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fxaaEnable() {
|
||||
return this._settings.fxaa.enabled;
|
||||
}
|
||||
|
||||
set fxaaMaterial(value) {
|
||||
if (this._settings.fxaa.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.fxaa.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fxaaMaterial() {
|
||||
return this._settings.fxaa.material;
|
||||
} // FSR
|
||||
|
||||
|
||||
set fsrEnable(value) {
|
||||
this._settings.fsr.enabled = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fsrEnable() {
|
||||
return this._settings.fsr.enabled;
|
||||
}
|
||||
|
||||
set fsrMaterial(value) {
|
||||
if (this._settings.fsr.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.fsr.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get fsrMaterial() {
|
||||
return this._settings.fsr.material;
|
||||
}
|
||||
|
||||
set fsrSharpness(value) {
|
||||
this._settings.fsr.sharpness = value;
|
||||
}
|
||||
|
||||
get fsrSharpness() {
|
||||
return this._settings.fsr.sharpness;
|
||||
}
|
||||
|
||||
set toneMappingMaterial(value) {
|
||||
if (this._settings.toneMapping.material === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._settings.toneMapping.material = value;
|
||||
|
||||
if (EDITOR) {
|
||||
this._tryEnableEditorPreview();
|
||||
}
|
||||
}
|
||||
|
||||
get toneMappingMaterial() {
|
||||
return this._settings.toneMapping.material;
|
||||
}
|
||||
|
||||
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "_settings", [property], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return (_crd && makePipelineSettings === void 0 ? (_reportPossibleCrUseOfmakePipelineSettings({
|
||||
error: Error()
|
||||
}), makePipelineSettings) : makePipelineSettings)();
|
||||
}
|
||||
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "_editorPreview", [_dec4], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return false;
|
||||
}
|
||||
}), _applyDecoratedDescriptor(_class2.prototype, "editorPreview", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, "editorPreview"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "MsaaEnable", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, "MsaaEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "msaaSampleCount", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, "msaaSampleCount"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shadingScaleEnable", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, "shadingScaleEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shadingScale", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, "shadingScale"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomEnable", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomType", [_dec11, _dec12], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomType"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "kawaseBloomMaterial", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, "kawaseBloomMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "mipmapBloomMaterial", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, "mipmapBloomMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomEnableAlphaMask", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomEnableAlphaMask"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomIterations", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomIterations"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomThreshold", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomThreshold"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "bloomIntensity", [_dec18, _dec19], Object.getOwnPropertyDescriptor(_class2.prototype, "bloomIntensity"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingEnable", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingMaterial", [_dec21], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingContribute", [_dec22], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingContribute"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "colorGradingMap", [_dec23], Object.getOwnPropertyDescriptor(_class2.prototype, "colorGradingMap"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fxaaEnable", [_dec24], Object.getOwnPropertyDescriptor(_class2.prototype, "fxaaEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fxaaMaterial", [_dec25], Object.getOwnPropertyDescriptor(_class2.prototype, "fxaaMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrEnable", [_dec26], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrEnable"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrMaterial", [_dec27], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrMaterial"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "fsrSharpness", [_dec28], Object.getOwnPropertyDescriptor(_class2.prototype, "fsrSharpness"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "toneMappingMaterial", [_dec29], Object.getOwnPropertyDescriptor(_class2.prototype, "toneMappingMaterial"), _class2.prototype)), _class2)) || _class) || _class) || _class) || _class) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=e2831fde95d58c09916d0f882742b7597544b8d1.js.map
|
||||
+1
File diff suppressed because one or more lines are too long
+1692
File diff suppressed because it is too large
Load Diff
+1
File diff suppressed because one or more lines are too long
+99
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"imports": {
|
||||
"cce:/internal/x/cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js",
|
||||
"cce:/internal/x/prerequisite-imports": "./chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-dof-pass.ts": "./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-pass.ts": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-settings.ts": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline-types.ts": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/default_renderpipeline/builtin-pipeline.ts": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"file:///C:/ProgramData/cocos/editors/Creator/3.8.8/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts": "./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/Boot.ts": "./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/alpha/Entry.ts": "./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js",
|
||||
"file:///G:/Works/YouleGamesCocosCreator/out/single-game-bundle-probe-20260909/project/assets/games/beta/Entry.ts": "./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js"
|
||||
},
|
||||
"scopes": {
|
||||
"./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js": {
|
||||
"__unresolved_0": "cce:/internal/x/cc-fu/2d",
|
||||
"__unresolved_1": "cce:/internal/x/cc-fu/sorting",
|
||||
"__unresolved_10": "cce:/internal/x/cc-fu/graphics",
|
||||
"__unresolved_11": "cce:/internal/x/cc-fu/intersection-2d",
|
||||
"__unresolved_12": "cce:/internal/x/cc-fu/light-probe",
|
||||
"__unresolved_13": "cce:/internal/x/cc-fu/mask",
|
||||
"__unresolved_14": "cce:/internal/x/cc-fu/particle",
|
||||
"__unresolved_15": "cce:/internal/x/cc-fu/particle-2d",
|
||||
"__unresolved_16": "cce:/internal/x/cc-fu/physics-2d-box2d",
|
||||
"__unresolved_17": "cce:/internal/x/cc-fu/physics-2d-framework",
|
||||
"__unresolved_18": "cce:/internal/x/cc-fu/physics-ammo",
|
||||
"__unresolved_19": "cce:/internal/x/cc-fu/physics-framework",
|
||||
"__unresolved_2": "cce:/internal/x/cc-fu/3d",
|
||||
"__unresolved_20": "cce:/internal/x/cc-fu/primitive",
|
||||
"__unresolved_21": "cce:/internal/x/cc-fu/profiler",
|
||||
"__unresolved_22": "cce:/internal/x/cc-fu/rich-text",
|
||||
"__unresolved_23": "cce:/internal/x/cc-fu/skeletal-animation",
|
||||
"__unresolved_24": "cce:/internal/x/cc-fu/spine",
|
||||
"__unresolved_25": "cce:/internal/x/cc-fu/terrain",
|
||||
"__unresolved_26": "cce:/internal/x/cc-fu/tiled-map",
|
||||
"__unresolved_27": "cce:/internal/x/cc-fu/tween",
|
||||
"__unresolved_28": "cce:/internal/x/cc-fu/ui",
|
||||
"__unresolved_29": "cce:/internal/x/cc-fu/ui-skew",
|
||||
"__unresolved_3": "cce:/internal/x/cc-fu/affine-transform",
|
||||
"__unresolved_30": "cce:/internal/x/cc-fu/video",
|
||||
"__unresolved_31": "cce:/internal/x/cc-fu/webview",
|
||||
"__unresolved_4": "cce:/internal/x/cc-fu/animation",
|
||||
"__unresolved_5": "cce:/internal/x/cc-fu/audio",
|
||||
"__unresolved_6": "cce:/internal/x/cc-fu/base",
|
||||
"__unresolved_7": "cce:/internal/x/cc-fu/custom-pipeline",
|
||||
"__unresolved_8": "cce:/internal/x/cc-fu/dragon-bones",
|
||||
"__unresolved_9": "cce:/internal/x/cc-fu/gfx-webgl"
|
||||
},
|
||||
"./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"__unresolved_2": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"__unresolved_3": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/6d/6d8fd2b0177941b032ddc0733af48a561fb60657.js": {
|
||||
"__unresolved_0": "./chunks/50/50ec684ab28702df18cf262b25c26ec6d899c3a5.js",
|
||||
"__unresolved_1": "./chunks/b1/b18130d786bcadd1d0cb653401afdf2ede79b799.js",
|
||||
"__unresolved_2": "./chunks/e2/e2831fde95d58c09916d0f882742b7597544b8d1.js",
|
||||
"__unresolved_3": "./chunks/7d/7dd5f1b51da4ae6cb44c6f9d41d8fc719b109223.js",
|
||||
"__unresolved_4": "./chunks/fd/fd74c742a972dbbcd3691d204a338b19a4515b62.js",
|
||||
"__unresolved_5": "./chunks/62/621a159ce4a7bac550092546e00c97e12458f12b.js",
|
||||
"__unresolved_6": "./chunks/8e/8e712b201a7af91e5a41365d538a13080eafb578.js",
|
||||
"__unresolved_7": "./chunks/07/07a95adf538fa6dbf3998fa90cd1518629172d3a.js",
|
||||
"__unresolved_8": "./chunks/a4/a45626d8cbe59e99c7c3de1eff49663440433fe2.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1608
File diff suppressed because it is too large
Load Diff
+1
@@ -0,0 +1 @@
|
||||
{}
|
||||
+1210
File diff suppressed because it is too large
Load Diff
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user