Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(sdk): the golden snapshots count the reflection probe

esengine44f3371e0f56
diff --git a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
index 1f65675cd..1298bb033 100644
--- a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
+++ b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
@@ -948,6 +948,23 @@ exports[`builtin FieldMeta (RC9-1 equivalence gate) > matches the golden snapsho
"effectStack": true,
},
},
+ "ReflectionProbe": {
+ "enabled": {
+ "tooltip": "Off: what stands inside this box reflects the sky again.",
+ },
+ "halfExtents": {
+ "min": 0,
+ "tooltip": "Half the box this probe answers inside, from the entity's position.",
+ },
+ "reflection": {
+ "tooltip": "The scene's baked reflections (the baker writes this).",
+ },
+ "slot": {
+ "advanced": true,
+ "min": 0,
+ "tooltip": "Which column of the atlas this probe occupies (the baker writes this).",
+ },
+ },
"ShadowCaster2D": {
"size": {
"min": 0,
diff --git a/tests/aot/generated/conformance/handshake.h b/tests/aot/generated/conformance/handshake.h
index 7702b231f..559d2e035 100644
--- a/tests/aot/generated/conformance/handshake.h
+++ b/tests/aot/generated/conformance/handshake.h
@@ -1,5 +1,5 @@
/* GENERATED by sdk/tests/aot-conformance.test.ts — do not edit. */
/* The contract half of the handshake. The width half is the harness. */
-#define ES_CONF_EXPECTED_CONTRACT_HASH 0xc6b1ec65dad77f71ULL
+#define ES_CONF_EXPECTED_CONTRACT_HASH 0x0a33a91a226cd5e4ULL
/* And which BUILD the artifact beside this one is. */
#define ES_CONF_EXPECTED_MODULE_CONTRACT 0xc3d0e057d5701a2eULL
diff --git a/tests/aot/generated/conformance/systems_decl.c b/tests/aot/generated/conformance/systems_decl.c
index 63ae1304d..773b40fc5 100644
--- a/tests/aot/generated/conformance/systems_decl.c
+++ b/tests/aot/generated/conformance/systems_decl.c
@@ -10,7 +10,7 @@
answer, it is a read of a different field. The address width belongs
to the MACHINE, so it mixes in here rather than in the compiler and a
32-bit artifact cannot load into a 64-bit host. */
-#define ES_ABI_ENGINE_DIGEST 0xc6b1ec65dad77f71ULL
+#define ES_ABI_ENGINE_DIGEST 0x0a33a91a226cd5e4ULL
ES_EXPORT const uint64_t es_abi_hash =
ES_ABI_ENGINE_DIGEST ^ (0x9e3779b97f4a7c15ULL * (uint64_t)sizeof(es_addr_t));