@needle-tools/engine 4.5.0-alpha.2 → 4.5.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/dist/{needle-engine.bundle-53f80c62.js → needle-engine.bundle-1b8f44f4.js} +218 -198
- package/dist/{needle-engine.bundle-15b19b2c.light.min.js → needle-engine.bundle-56f095f1.light.min.js} +3 -3
- package/dist/{needle-engine.bundle-f3c8cffc.light.umd.cjs → needle-engine.bundle-9fe9a394.light.umd.cjs} +5 -5
- package/dist/{needle-engine.bundle-2024e2b3.min.js → needle-engine.bundle-baacde19.min.js} +3 -3
- package/dist/{needle-engine.bundle-1526f05b.light.js → needle-engine.bundle-d710d96f.light.js} +26 -6
- package/dist/{needle-engine.bundle-a52706c5.umd.cjs → needle-engine.bundle-ef2b8438.umd.cjs} +5 -5
- package/dist/needle-engine.js +2 -2
- package/dist/needle-engine.light.js +2 -2
- package/dist/needle-engine.light.min.js +1 -1
- package/dist/needle-engine.light.umd.cjs +1 -1
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine/engine_context_registry.d.ts +2 -2
- package/lib/engine/engine_context_registry.js +2 -2
- package/lib/engine/engine_context_registry.js.map +1 -1
- package/lib/engine-components/ContactShadows.d.ts +12 -0
- package/lib/engine-components/ContactShadows.js +23 -0
- package/lib/engine-components/ContactShadows.js.map +1 -1
- package/lib/engine-components/webxr/controllers/XRControllerModel.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/engine_context_registry.ts +2 -2
- package/src/engine-components/ContactShadows.ts +24 -0
- package/src/engine-components/webxr/controllers/XRControllerModel.ts +0 -2
|
@@ -1792,15 +1792,15 @@ function TC() {
|
|
|
1792
1792
|
return s || null;
|
|
1793
1793
|
}
|
|
1794
1794
|
const z0 = x("debugdefines");
|
|
1795
|
-
Ro('if(!globalThis[""4.5.0-alpha.
|
|
1795
|
+
Ro('if(!globalThis[""4.5.0-alpha.3""]) globalThis[""4.5.0-alpha.3""] = "0.0.0";');
|
|
1796
1796
|
Ro('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
1797
|
-
Ro('if(!globalThis[""Mon May 12 2025
|
|
1797
|
+
Ro('if(!globalThis[""Mon May 12 2025 21:24:49 GMT+0700 (Indochina Time)""]) globalThis[""Mon May 12 2025 21:24:49 GMT+0700 (Indochina Time)""] = "unknown";');
|
|
1798
1798
|
Ro('if(!globalThis[""npk_ad8e492e31253a2800d563522e42a7311d0d7b766ac4ec1f64d3b425f06eacbd""]) globalThis[""npk_ad8e492e31253a2800d563522e42a7311d0d7b766ac4ec1f64d3b425f06eacbd""] = "unknown";');
|
|
1799
|
-
Ro('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.5.0-alpha.
|
|
1799
|
+
Ro('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.5.0-alpha.3";');
|
|
1800
1800
|
Ro('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
1801
|
-
Ro('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon May 12 2025
|
|
1801
|
+
Ro('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon May 12 2025 21:24:49 GMT+0700 (Indochina Time)";');
|
|
1802
1802
|
Ro('globalThis["__NEEDLE_PUBLIC_KEY__"] = "npk_ad8e492e31253a2800d563522e42a7311d0d7b766ac4ec1f64d3b425f06eacbd";');
|
|
1803
|
-
const Vn = "4.5.0-alpha.
|
|
1803
|
+
const Vn = "4.5.0-alpha.3", bg = "undefined", U0 = "Mon May 12 2025 21:24:49 GMT+0700 (Indochina Time)";
|
|
1804
1804
|
z0 && console.log(`Engine version: ${Vn} (generator: ${bg})
|
|
1805
1805
|
Project built at ${U0}`);
|
|
1806
1806
|
const pd = "npk_ad8e492e31253a2800d563522e42a7311d0d7b766ac4ec1f64d3b425f06eacbd", _o = "needle_isActiveInHierarchy", sa = "builtin_components", md = "needle_editor_guid";
|
|
@@ -19247,6 +19247,12 @@ const Kl = (zp = class extends I {
|
|
|
19247
19247
|
* The minimum size of the shadows box
|
|
19248
19248
|
*/
|
|
19249
19249
|
r(this, "minSize");
|
|
19250
|
+
/**
|
|
19251
|
+
* When enabled the shadows will not be updated automatically. Use `needsUpdate()` to update the shadows manually.
|
|
19252
|
+
* This is useful when you want to update the shadows only when the scene changes.
|
|
19253
|
+
*/
|
|
19254
|
+
r(this, "manualUpdate", !1);
|
|
19255
|
+
r(this, "_needsUpdate", !1);
|
|
19250
19256
|
/** All shadow objects are parented to this object.
|
|
19251
19257
|
* The gameObject itself should not be transformed because we want the ContactShadows object e.g. also have a GroundProjectedEnv component
|
|
19252
19258
|
* in which case ContactShadows scale would affect the projection
|
|
@@ -19283,6 +19289,15 @@ const Kl = (zp = class extends I {
|
|
|
19283
19289
|
}
|
|
19284
19290
|
return t.scene.add(e.gameObject), e.fitShadows(), e;
|
|
19285
19291
|
}
|
|
19292
|
+
/**
|
|
19293
|
+
* Call this method to update the shadows manually. The update will be done in the next frame.
|
|
19294
|
+
*/
|
|
19295
|
+
set needsUpdate(t) {
|
|
19296
|
+
this._needsUpdate = t;
|
|
19297
|
+
}
|
|
19298
|
+
get needsUpdate() {
|
|
19299
|
+
return this._needsUpdate;
|
|
19300
|
+
}
|
|
19286
19301
|
/**
|
|
19287
19302
|
* Call to fit the shadows to the scene.
|
|
19288
19303
|
*/
|
|
@@ -19329,6 +19344,9 @@ const Kl = (zp = class extends I {
|
|
|
19329
19344
|
`);
|
|
19330
19345
|
}, this.depthMaterial.depthTest = !1, this.depthMaterial.depthWrite = !1, this.horizontalBlurMaterial = new wn(iS), this.horizontalBlurMaterial.depthTest = !1, this.verticalBlurMaterial = new wn(nS), this.verticalBlurMaterial.depthTest = !1, this.shadowGroup.visible = !1, this.autoFit ? this.fitShadows() : this.applyMinSize();
|
|
19331
19346
|
}
|
|
19347
|
+
onEnable() {
|
|
19348
|
+
this._needsUpdate = !0;
|
|
19349
|
+
}
|
|
19332
19350
|
/** @internal */
|
|
19333
19351
|
onDestroy() {
|
|
19334
19352
|
var e, i, n, o, a, l, c, h;
|
|
@@ -19336,7 +19354,9 @@ const Kl = (zp = class extends I {
|
|
|
19336
19354
|
}
|
|
19337
19355
|
/** @internal */
|
|
19338
19356
|
onBeforeRender(t) {
|
|
19339
|
-
if (
|
|
19357
|
+
if (this.manualUpdate && !this._needsUpdate)
|
|
19358
|
+
return;
|
|
19359
|
+
if (this._needsUpdate = !1, !this.renderTarget || !this.renderTargetBlur || !this.depthMaterial || !this.shadowCamera || !this.blurPlane || !this.shadowGroup || !this.plane || !this.horizontalBlurMaterial || !this.verticalBlurMaterial) {
|
|
19340
19360
|
kl && console.error("ContactShadows: not initialized yet");
|
|
19341
19361
|
return;
|
|
19342
19362
|
}
|
|
@@ -20747,7 +20767,7 @@ function Em(s) {
|
|
|
20747
20767
|
return !(s.hideFlags & t);
|
|
20748
20768
|
}
|
|
20749
20769
|
const op = x("debugexr");
|
|
20750
|
-
class
|
|
20770
|
+
class e2 {
|
|
20751
20771
|
constructor(t) {
|
|
20752
20772
|
r(this, "parser");
|
|
20753
20773
|
this.parser = t, op && console.log(t);
|
|
@@ -20765,15 +20785,15 @@ class ek {
|
|
|
20765
20785
|
}
|
|
20766
20786
|
typeof window < "u" && window.addEventListener("unhandledrejection", (s) => {
|
|
20767
20787
|
});
|
|
20768
|
-
const os = gt, Gh = "$___Export_Components",
|
|
20788
|
+
const os = gt, Gh = "$___Export_Components", t2 = "NEEDLE_components";
|
|
20769
20789
|
var UI;
|
|
20770
|
-
class
|
|
20790
|
+
class i2 {
|
|
20771
20791
|
constructor() {
|
|
20772
20792
|
r(this, UI);
|
|
20773
20793
|
}
|
|
20774
20794
|
}
|
|
20775
20795
|
UI = sa;
|
|
20776
|
-
class
|
|
20796
|
+
class n2 {
|
|
20777
20797
|
constructor(t, e, i) {
|
|
20778
20798
|
r(this, "node");
|
|
20779
20799
|
r(this, "nodeIndex");
|
|
@@ -20795,7 +20815,7 @@ class Zv {
|
|
|
20795
20815
|
r(this, "writer");
|
|
20796
20816
|
}
|
|
20797
20817
|
get name() {
|
|
20798
|
-
return
|
|
20818
|
+
return t2;
|
|
20799
20819
|
}
|
|
20800
20820
|
registerExport(t) {
|
|
20801
20821
|
t.register((e) => {
|
|
@@ -20830,7 +20850,7 @@ class Zv {
|
|
|
20830
20850
|
writeNode(t, e) {
|
|
20831
20851
|
const i = this.writer.json.nodes.length;
|
|
20832
20852
|
os && console.log(t.name, i, t.uuid);
|
|
20833
|
-
const n = new
|
|
20853
|
+
const n = new n2(t, i, e);
|
|
20834
20854
|
this.exportContext[i] = n, this.objectToNodeMap[t.uuid] = i;
|
|
20835
20855
|
}
|
|
20836
20856
|
afterParse(t) {
|
|
@@ -20840,7 +20860,7 @@ class Zv {
|
|
|
20840
20860
|
const n = this.exportContext[i], o = n.node, a = n.nodeDef, l = n.nodeIndex, c = (e = o.userData) == null ? void 0 : e.components;
|
|
20841
20861
|
if (!c || c.length <= 0)
|
|
20842
20862
|
continue;
|
|
20843
|
-
const h = new
|
|
20863
|
+
const h = new i2();
|
|
20844
20864
|
a.extensions = a.extensions || {}, a.extensions[this.name] = h, this.context.object = o, this.context.nodeId = l, this.context.objectToNode = this.objectToNodeMap;
|
|
20845
20865
|
const d = [];
|
|
20846
20866
|
for (const u of c) {
|
|
@@ -20935,7 +20955,7 @@ class Zv {
|
|
|
20935
20955
|
// }
|
|
20936
20956
|
}
|
|
20937
20957
|
const db = "NEEDLE_gameobject_data";
|
|
20938
|
-
class
|
|
20958
|
+
class s2 {
|
|
20939
20959
|
constructor(t) {
|
|
20940
20960
|
r(this, "parser");
|
|
20941
20961
|
this.parser = t;
|
|
@@ -20980,7 +21000,7 @@ class sk {
|
|
|
20980
21000
|
}
|
|
20981
21001
|
}
|
|
20982
21002
|
const ub = "NEEDLE_lighting_settings", la = x("debugenvlight");
|
|
20983
|
-
class
|
|
21003
|
+
class o2 {
|
|
20984
21004
|
constructor(t, e, i) {
|
|
20985
21005
|
r(this, "parser");
|
|
20986
21006
|
r(this, "sourceId");
|
|
@@ -21074,10 +21094,10 @@ class Im extends I {
|
|
|
21074
21094
|
}
|
|
21075
21095
|
}
|
|
21076
21096
|
const rp = x("debugstencil");
|
|
21077
|
-
function
|
|
21097
|
+
function r2(s, t) {
|
|
21078
21098
|
return (s & 1 << t.layer) != 0;
|
|
21079
21099
|
}
|
|
21080
|
-
const
|
|
21100
|
+
const a2 = Symbol("stencils"), sr = class {
|
|
21081
21101
|
constructor(t, e) {
|
|
21082
21102
|
r(this, "parser");
|
|
21083
21103
|
r(this, "source");
|
|
@@ -21096,13 +21116,13 @@ const ak = Symbol("stencils"), sr = class {
|
|
|
21096
21116
|
if (i)
|
|
21097
21117
|
for (let n = i.length - 1; n >= 0; n--) {
|
|
21098
21118
|
const o = i[n];
|
|
21099
|
-
if (
|
|
21119
|
+
if (r2(o.layer, t)) {
|
|
21100
21120
|
rp && console.log(o), setTimeout(() => {
|
|
21101
21121
|
ui() && Eg(t.gameObject) && (ve("Stencil not supported on instanced objects"), console.warn("Stencil not supported on instanced objects", t));
|
|
21102
21122
|
}, 500);
|
|
21103
21123
|
for (let a = 0; a < t.sharedMaterials.length; a++) {
|
|
21104
21124
|
let l = t.sharedMaterials[a];
|
|
21105
|
-
l && (l = l.clone(), l[
|
|
21125
|
+
l && (l = l.clone(), l[a2] = !0, l.stencilWrite = !0, l.stencilWriteMask = 255, l.stencilFuncMask = 255, l.stencilRef = o.value, l.stencilFunc = o.compareFunc, l.stencilZPass = o.passOp, l.stencilFail = o.failOp, l.stencilZFail = o.zFailOp, t.sharedMaterials[a] = l);
|
|
21106
21126
|
}
|
|
21107
21127
|
t.gameObject.renderOrder = o.event * 1e3 + o.index * 50;
|
|
21108
21128
|
break;
|
|
@@ -21112,14 +21132,14 @@ const ak = Symbol("stencils"), sr = class {
|
|
|
21112
21132
|
afterRoot(t) {
|
|
21113
21133
|
const e = this.parser.json.extensions;
|
|
21114
21134
|
if (e) {
|
|
21115
|
-
const i = e[
|
|
21135
|
+
const i = e[c2];
|
|
21116
21136
|
if (i) {
|
|
21117
21137
|
rp && console.log(i);
|
|
21118
21138
|
const n = i.stencil;
|
|
21119
21139
|
if (n && Array.isArray(n))
|
|
21120
21140
|
for (const o of n) {
|
|
21121
21141
|
const a = { ...o };
|
|
21122
|
-
a.compareFunc =
|
|
21142
|
+
a.compareFunc = l2(a.compareFunc), a.passOp = ap(a.passOp), a.failOp = ap(a.failOp), a.zFailOp = ap(a.zFailOp), sr.stencils[this.source] || (sr.stencils[this.source] = []), sr.stencils[this.source].push(a);
|
|
21123
21143
|
}
|
|
21124
21144
|
}
|
|
21125
21145
|
}
|
|
@@ -21149,7 +21169,7 @@ function ap(s) {
|
|
|
21149
21169
|
}
|
|
21150
21170
|
return 0;
|
|
21151
21171
|
}
|
|
21152
|
-
function
|
|
21172
|
+
function l2(s) {
|
|
21153
21173
|
switch (s) {
|
|
21154
21174
|
case 1:
|
|
21155
21175
|
return zy;
|
|
@@ -21170,10 +21190,10 @@ function lk(s) {
|
|
|
21170
21190
|
}
|
|
21171
21191
|
return zy;
|
|
21172
21192
|
}
|
|
21173
|
-
const
|
|
21193
|
+
const c2 = "NEEDLE_render_objects";
|
|
21174
21194
|
var Jv = /* @__PURE__ */ ((s) => (s[s.INT = 5124] = "INT", s[s.FLOAT = 5126] = "FLOAT", s[s.FLOAT_VEC2 = 35664] = "FLOAT_VEC2", s[s.FLOAT_VEC3 = 35665] = "FLOAT_VEC3", s[s.FLOAT_VEC4 = 35666] = "FLOAT_VEC4", s[s.INT_VEC2 = 35667] = "INT_VEC2", s[s.INT_VEC3 = 35668] = "INT_VEC3", s[s.INT_VEC4 = 35669] = "INT_VEC4", s[s.BOOL = 35670] = "BOOL", s[s.BOOL_VEC2 = 35671] = "BOOL_VEC2", s[s.BOOL_VEC3 = 35672] = "BOOL_VEC3", s[s.BOOL_VEC4 = 35673] = "BOOL_VEC4", s[s.FLOAT_MAT2 = 35674] = "FLOAT_MAT2", s[s.FLOAT_MAT3 = 35675] = "FLOAT_MAT3", s[s.FLOAT_MAT4 = 35676] = "FLOAT_MAT4", s[s.SAMPLER_2D = 35678] = "SAMPLER_2D", s[s.SAMPLER_3D = 35680] = "SAMPLER_3D", s[s.SAMPLER_CUBE = 35681] = "SAMPLER_CUBE", s[s.UNKNOWN = 0] = "UNKNOWN", s))(Jv || {});
|
|
21175
21195
|
const En = x("debugcustomshader"), qr = "NEEDLE_techniques_webgl";
|
|
21176
|
-
class
|
|
21196
|
+
class h2 {
|
|
21177
21197
|
constructor() {
|
|
21178
21198
|
r(this, "objectToWorldMatrix", new se());
|
|
21179
21199
|
r(this, "worldToObjectMatrix", new se());
|
|
@@ -21220,7 +21240,7 @@ const Be = class extends a0 {
|
|
|
21220
21240
|
r(this, "_worldToObjectName", "hlslcc_mtx4x4unity_WorldToObject");
|
|
21221
21241
|
r(this, "_viewProjectionName", "hlslcc_mtx4x4unity_MatrixVP");
|
|
21222
21242
|
r(this, "_viewMatrixName", "hlslcc_mtx4x4unity_MatrixV");
|
|
21223
|
-
r(this, "_rendererData", new
|
|
21243
|
+
r(this, "_rendererData", new h2());
|
|
21224
21244
|
this.identifier = e, En && console.log(this), this.type = "NEEDLE_CUSTOM_SHADER", this.uniforms[this._objToWorldName] || (this.uniforms[this._objToWorldName] = { value: [] }), this.uniforms[this._worldToObjectName] || (this.uniforms[this._worldToObjectName] = { value: [] }), this.uniforms[this._viewProjectionName] || (this.uniforms[this._viewProjectionName] = { value: [] }), this.uniforms[this._sphericalHarmonicsName], (this.depthTextureUniform || this.opaqueTextureUniform) && ee.Current.pre_render_callbacks.push(this.onBeforeRenderSceneCallback);
|
|
21225
21245
|
}
|
|
21226
21246
|
clone() {
|
|
@@ -21301,7 +21321,7 @@ const Be = class extends a0 {
|
|
|
21301
21321
|
};
|
|
21302
21322
|
let Hi = Be;
|
|
21303
21323
|
r(Hi, "viewProjection", new se()), r(Hi, "_viewProjectionValues", []), r(Hi, "viewMatrix", new se()), r(Hi, "_viewMatrixValues", []), r(Hi, "_worldSpaceCameraPosName", "_WorldSpaceCameraPos"), r(Hi, "_worldSpaceCameraPos", new v()), r(Hi, "_mainLightColor", new ge()), r(Hi, "_mainLightPosition", new v()), r(Hi, "_lightData", new ge());
|
|
21304
|
-
class
|
|
21324
|
+
class d2 {
|
|
21305
21325
|
constructor(t, e) {
|
|
21306
21326
|
r(this, "parser");
|
|
21307
21327
|
r(this, "identifier");
|
|
@@ -21482,9 +21502,9 @@ function ew(s) {
|
|
|
21482
21502
|
});
|
|
21483
21503
|
}
|
|
21484
21504
|
}
|
|
21485
|
-
const
|
|
21505
|
+
const u2 = x("debugextensions");
|
|
21486
21506
|
let su;
|
|
21487
|
-
const
|
|
21507
|
+
const f2 = import("./three-examples-9070776e.js").then((s) => s.GLTFLoaderAnimationPointer).then(async (s) => (su = s.GLTFAnimationPointerExtension, su)).catch((s) => {
|
|
21488
21508
|
console.warn("Failed to import GLTFLoaderAnimationPointer. Please use @needle-tools/three for full KHR_animation support", s);
|
|
21489
21509
|
}), Sr = new Array();
|
|
21490
21510
|
function iD(s) {
|
|
@@ -21501,20 +21521,20 @@ function tw(s) {
|
|
|
21501
21521
|
}
|
|
21502
21522
|
return null;
|
|
21503
21523
|
}
|
|
21504
|
-
class
|
|
21524
|
+
class p2 {
|
|
21505
21525
|
resolvePath(t) {
|
|
21506
21526
|
return t.includes("/extensions/builtin_components/") ? t.replace("/extensions/builtin_components/", "/userData/components/") : t.includes("extensions/builtin_components/") ? t.replace("extensions/builtin_components/", "/userData/components/") : t;
|
|
21507
21527
|
}
|
|
21508
21528
|
}
|
|
21509
21529
|
async function Lm(s, t, e) {
|
|
21510
21530
|
const i = e.indexOf("?");
|
|
21511
|
-
i >= 0 && (e = e.substring(0, i)), s.register((n) => new
|
|
21531
|
+
i >= 0 && (e = e.substring(0, i)), s.register((n) => new s2(n)), s.register((n) => new UP(n)), s.register((n) => new yO(n, t.lightmaps, e)), s.register((n) => new o2(n, e, t)), s.register((n) => new d2(n, e)), s.register((n) => new _c(n, e)), s.register((n) => new Ze(n, e)), s.register((n) => new e2(n)), pP() && s.register((n) => new hc(n)), await f2.catch((n) => {
|
|
21512
21532
|
}), s.register((n) => {
|
|
21513
21533
|
if (su) {
|
|
21514
21534
|
const o = new su(n);
|
|
21515
|
-
return o.setAnimationPointerResolver.bind(o)(new
|
|
21535
|
+
return o.setAnimationPointerResolver.bind(o)(new p2()), o;
|
|
21516
21536
|
} else
|
|
21517
|
-
return (
|
|
21537
|
+
return (u2 || B()) && console.error("Missing KHR_animation_pointer extension..."), {
|
|
21518
21538
|
name: "KHR_animation_pointer_NOT_AVAILABLE"
|
|
21519
21539
|
};
|
|
21520
21540
|
});
|
|
@@ -21525,7 +21545,7 @@ function iw(s, t) {
|
|
|
21525
21545
|
for (const e of Sr)
|
|
21526
21546
|
e.onExport && e.onExport(s, t);
|
|
21527
21547
|
}
|
|
21528
|
-
function
|
|
21548
|
+
function m2(s, t, e) {
|
|
21529
21549
|
for (const i of Sr)
|
|
21530
21550
|
i.onLoaded && i.onLoaded(s, t, e);
|
|
21531
21551
|
}
|
|
@@ -21553,12 +21573,12 @@ class nw {
|
|
|
21553
21573
|
}, n[this.name] = !0;
|
|
21554
21574
|
}
|
|
21555
21575
|
}
|
|
21556
|
-
var
|
|
21557
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
21576
|
+
var g2 = Object.defineProperty, y2 = Object.getOwnPropertyDescriptor, sw = (s, t, e, i) => {
|
|
21577
|
+
for (var n = i > 1 ? void 0 : i ? y2(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
21558
21578
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
21559
|
-
return i && n &&
|
|
21579
|
+
return i && n && g2(t, e, n), n;
|
|
21560
21580
|
};
|
|
21561
|
-
const Tl = x("debugreflectionprobe"), fb = x("noreflectionprobe"),
|
|
21581
|
+
const Tl = x("debugreflectionprobe"), fb = x("noreflectionprobe"), _2 = Symbol("reflectionProbeKey"), b2 = Symbol("original material");
|
|
21562
21582
|
var ld;
|
|
21563
21583
|
const hs = (ld = class extends I {
|
|
21564
21584
|
constructor() {
|
|
@@ -21638,7 +21658,7 @@ const hs = (ld = class extends I {
|
|
|
21638
21658
|
d.version = o.version, a ? (a.copy = d, a.material = o) : (a = {
|
|
21639
21659
|
material: o,
|
|
21640
21660
|
copy: d
|
|
21641
|
-
}, e.push(a)), d[
|
|
21661
|
+
}, e.push(a)), d[_2] = this, d[b2] = o, Tl && console.log("Set reflection", t.name, t.guid);
|
|
21642
21662
|
}
|
|
21643
21663
|
a && a.copy && (a.copy.onBeforeCompile = o.onBeforeCompile);
|
|
21644
21664
|
const h = a == null ? void 0 : a.copy;
|
|
@@ -22147,20 +22167,20 @@ Texture:`, i), this.setLightmapDebugMaterial()) : Xr && console.log("Use debugli
|
|
|
22147
22167
|
});
|
|
22148
22168
|
}
|
|
22149
22169
|
}
|
|
22150
|
-
var
|
|
22151
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
22170
|
+
var v2 = Object.defineProperty, w2 = Object.getOwnPropertyDescriptor, $s = (s, t, e, i) => {
|
|
22171
|
+
for (var n = i > 1 ? void 0 : i ? w2(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
22152
22172
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
22153
|
-
return i && n &&
|
|
22173
|
+
return i && n && v2(t, e, n), n;
|
|
22154
22174
|
};
|
|
22155
|
-
const Zl = x("debugrenderer"), mb = x("debugskinnedmesh"), gb = x("noinstancing"),
|
|
22156
|
-
class
|
|
22175
|
+
const Zl = x("debugrenderer"), mb = x("debugskinnedmesh"), gb = x("noinstancing"), x2 = x("wireframe");
|
|
22176
|
+
class S2 {
|
|
22157
22177
|
constructor() {
|
|
22158
22178
|
r(this, "path", null);
|
|
22159
22179
|
r(this, "asset", null);
|
|
22160
22180
|
r(this, "default");
|
|
22161
22181
|
}
|
|
22162
22182
|
}
|
|
22163
|
-
class
|
|
22183
|
+
class C2 {
|
|
22164
22184
|
constructor(t, e) {
|
|
22165
22185
|
r(this, "_renderer");
|
|
22166
22186
|
r(this, "_targets", []);
|
|
@@ -22373,7 +22393,7 @@ const Od = class extends I {
|
|
|
22373
22393
|
}
|
|
22374
22394
|
//@ts-ignore
|
|
22375
22395
|
get sharedMaterials() {
|
|
22376
|
-
return (!this._sharedMaterials || !this._sharedMaterials.is(this)) && (this._originalMaterials || (this._originalMaterials = []), this._sharedMaterials = new
|
|
22396
|
+
return (!this._sharedMaterials || !this._sharedMaterials.is(this)) && (this._originalMaterials || (this._originalMaterials = []), this._sharedMaterials = new C2(this, this._originalMaterials)), this._sharedMaterials;
|
|
22377
22397
|
}
|
|
22378
22398
|
static get shouldSuppressInstancing() {
|
|
22379
22399
|
return gb;
|
|
@@ -22415,7 +22435,7 @@ const Od = class extends I {
|
|
|
22415
22435
|
}
|
|
22416
22436
|
} else
|
|
22417
22437
|
this.isMeshOrSkinnedMesh(this.gameObject) ? (this.context.addBeforeRenderListener(this.gameObject, this.onBeforeRenderThree), this.renderOrder !== void 0 && this.renderOrder.length > 0 && (this.gameObject.renderOrder = this.renderOrder[0])) : this.context.addBeforeRenderListener(this.gameObject, this.onBeforeRenderThree);
|
|
22418
|
-
if (this.applyLightmapping(),
|
|
22438
|
+
if (this.applyLightmapping(), x2)
|
|
22419
22439
|
for (let t = 0; t < this.sharedMaterials.length; t++) {
|
|
22420
22440
|
const e = this.sharedMaterials[t];
|
|
22421
22441
|
e && (e.wireframe = !0);
|
|
@@ -22649,10 +22669,10 @@ class rw extends Yu {
|
|
|
22649
22669
|
this._needUpdateBoundingSphere = !0;
|
|
22650
22670
|
}
|
|
22651
22671
|
}
|
|
22652
|
-
var
|
|
22653
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
22672
|
+
var P2 = Object.defineProperty, O2 = Object.getOwnPropertyDescriptor, aw = (s, t, e, i) => {
|
|
22673
|
+
for (var n = i > 1 ? void 0 : i ? O2(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
22654
22674
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
22655
|
-
return i && n &&
|
|
22675
|
+
return i && n && P2(t, e, n), n;
|
|
22656
22676
|
};
|
|
22657
22677
|
const qh = x("debuggltfexport");
|
|
22658
22678
|
class lw extends wi {
|
|
@@ -22795,8 +22815,8 @@ typeof globalThis !== void 0 && !("OffscreenCanvas" in globalThis) && (globalThi
|
|
|
22795
22815
|
}), this.canvas;
|
|
22796
22816
|
}
|
|
22797
22817
|
});
|
|
22798
|
-
const
|
|
22799
|
-
function
|
|
22818
|
+
const M2 = x("debugprogress");
|
|
22819
|
+
function R2(s) {
|
|
22800
22820
|
s = s || /* @__PURE__ */ new Date();
|
|
22801
22821
|
const t = s.getMonth() + 1, e = s.getDate(), i = s.getHours(), n = s.getMinutes(), o = s.getSeconds(), a = (t < 10 ? "0" : "") + t, l = (e < 10 ? "0" : "") + e, c = (i < 10 ? "0" : "") + i, h = (n < 10 ? "0" : "") + n, d = (o < 10 ? "0" : "") + o;
|
|
22802
22822
|
return s.getFullYear() + a + l + "-" + c + h + d;
|
|
@@ -22844,7 +22864,7 @@ class de {
|
|
|
22844
22864
|
*/
|
|
22845
22865
|
static start(t, e) {
|
|
22846
22866
|
typeof e == "string" && (e = { parentScope: e });
|
|
22847
|
-
const i = new
|
|
22867
|
+
const i = new k2(t, e);
|
|
22848
22868
|
Jl.set(t, i);
|
|
22849
22869
|
}
|
|
22850
22870
|
/** Report progress for a formerly started scope.
|
|
@@ -22883,7 +22903,7 @@ class de {
|
|
|
22883
22903
|
}
|
|
22884
22904
|
}
|
|
22885
22905
|
const Jl = /* @__PURE__ */ new Map();
|
|
22886
|
-
class
|
|
22906
|
+
class k2 {
|
|
22887
22907
|
constructor(t, e) {
|
|
22888
22908
|
r(this, "scopeLabel");
|
|
22889
22909
|
r(this, "parentScope");
|
|
@@ -22898,7 +22918,7 @@ class kk {
|
|
|
22898
22918
|
r(this, "totalProgress", 0);
|
|
22899
22919
|
r(this, "selfReports", 0);
|
|
22900
22920
|
r(this, "totalReports", 0);
|
|
22901
|
-
this.parentScope = e != null && e.parentScope ? Jl.get(e.parentScope) : void 0, this.parentScope && (this.parentScope.childScopes.push(this), this.parentDepth = this.parentScope.parentDepth + 1), this.scopeLabel = " ".repeat(this.parentDepth * 2) + t, this.showLogs = (e == null ? void 0 : e.logTimings) ?? !!
|
|
22921
|
+
this.parentScope = e != null && e.parentScope ? Jl.get(e.parentScope) : void 0, this.parentScope && (this.parentScope.childScopes.push(this), this.parentDepth = this.parentScope.parentDepth + 1), this.scopeLabel = " ".repeat(this.parentDepth * 2) + t, this.showLogs = (e == null ? void 0 : e.logTimings) ?? !!M2, this.showLogs && console.time(this.scopeLabel), this.onProgress = e == null ? void 0 : e.onProgress;
|
|
22902
22922
|
}
|
|
22903
22923
|
report(t, e = !1) {
|
|
22904
22924
|
if (t) {
|
|
@@ -22962,7 +22982,7 @@ function dw(s) {
|
|
|
22962
22982
|
}
|
|
22963
22983
|
return e;
|
|
22964
22984
|
}
|
|
22965
|
-
const
|
|
22985
|
+
const T2 = new v(), A2 = new W(), E2 = new v(1, 1, 1), or = class {
|
|
22966
22986
|
constructor(t, e, i = null, n = null, o = null, a = null, l = null, c = null) {
|
|
22967
22987
|
r(this, "uuid");
|
|
22968
22988
|
r(this, "name");
|
|
@@ -22998,7 +23018,7 @@ const Tk = new v(), Ak = new W(), Ek = new v(1, 1, 1), or = class {
|
|
|
22998
23018
|
if (!this.transform)
|
|
22999
23019
|
return new se();
|
|
23000
23020
|
const { position: t, quaternion: e, scale: i } = this.transform, n = new se();
|
|
23001
|
-
return n.compose(t ||
|
|
23021
|
+
return n.compose(t || T2, e || A2, i || E2), n;
|
|
23002
23022
|
}
|
|
23003
23023
|
setMatrix(t) {
|
|
23004
23024
|
if (!t || !(t instanceof se)) {
|
|
@@ -23153,7 +23173,7 @@ ${d}
|
|
|
23153
23173
|
}
|
|
23154
23174
|
const Qr = `
|
|
23155
23175
|
`, Ht = "</StageRoot/Materials";
|
|
23156
|
-
class
|
|
23176
|
+
class I2 {
|
|
23157
23177
|
constructor() {
|
|
23158
23178
|
r(this, "str");
|
|
23159
23179
|
r(this, "indent");
|
|
@@ -23187,7 +23207,7 @@ class Ik {
|
|
|
23187
23207
|
return e + t;
|
|
23188
23208
|
}
|
|
23189
23209
|
}
|
|
23190
|
-
class
|
|
23210
|
+
class L2 {
|
|
23191
23211
|
constructor(t, e, i) {
|
|
23192
23212
|
r(this, "root");
|
|
23193
23213
|
r(this, "exporter");
|
|
@@ -23215,7 +23235,7 @@ class lp {
|
|
|
23215
23235
|
r(this, "exportInvisible", !1);
|
|
23216
23236
|
}
|
|
23217
23237
|
}
|
|
23218
|
-
let
|
|
23238
|
+
let D2 = class {
|
|
23219
23239
|
constructor() {
|
|
23220
23240
|
r(this, "debug");
|
|
23221
23241
|
r(this, "pruneUnusedNodes");
|
|
@@ -23228,7 +23248,7 @@ let Dk = class {
|
|
|
23228
23248
|
async parse(t, e = new lp()) {
|
|
23229
23249
|
var w, C;
|
|
23230
23250
|
e = Object.assign(new lp(), e), this.sceneAnchoringOptions = e;
|
|
23231
|
-
const i = new
|
|
23251
|
+
const i = new L2(t, this, e);
|
|
23232
23252
|
this.extensions = i.extensions;
|
|
23233
23253
|
const n = i.files, o = "model.usda";
|
|
23234
23254
|
n[o] = null;
|
|
@@ -23260,7 +23280,7 @@ let Dk = class {
|
|
|
23260
23280
|
this.debug && yb(i.document, "Hierarchy BEFORE pruning", k), pw(i.document, k), this.debug && yb(i.document, "Hierarchy AFTER pruning");
|
|
23261
23281
|
} else
|
|
23262
23282
|
this.debug && console.log("Pruning of empty nodes is disabled. This may result in a larger USDZ file.");
|
|
23263
|
-
de.report("export-usdz", { message: "Parsing document", autoStep: 10 }), await
|
|
23283
|
+
de.report("export-usdz", { message: "Parsing document", autoStep: 10 }), await j2(i, () => (de.report("export-usdz", "Building materials"), G2(a, l, e.quickLookCompatible))), de.report("export-usdz", "Invoking onAfterSerialize"), await Md(i, "onAfterSerialize");
|
|
23264
23284
|
for (const k of c) {
|
|
23265
23285
|
const { object: O, originalParent: R, newParent: E } = k;
|
|
23266
23286
|
R && R.add(O);
|
|
@@ -23283,8 +23303,8 @@ let Dk = class {
|
|
|
23283
23303
|
};
|
|
23284
23304
|
de.report("export-usdz-textures", { message: "read back texture", autoStep: !0 });
|
|
23285
23305
|
const A = O.scale !== void 0 && O.scale.x !== 1 && O.scale.y !== 1 && O.scale.z !== 1 && O.scale.w !== 1;
|
|
23286
|
-
(R.isCompressedTexture || R.isRenderTargetTexture || A) && (F = await
|
|
23287
|
-
const z = await
|
|
23306
|
+
(R.isCompressedTexture || R.isRenderTargetTexture || A) && (F = await B2(R, e.maxTextureSize, g, O.scale)), de.report("export-usdz-textures", { message: "convert texture to canvas", autoStep: !0 });
|
|
23307
|
+
const z = await z2(F.imageBitmap || F.imageData, e.maxTextureSize).catch((U) => {
|
|
23288
23308
|
console.error("Error converting texture to canvas", R, U);
|
|
23289
23309
|
});
|
|
23290
23310
|
if (z) {
|
|
@@ -23385,7 +23405,7 @@ function pw(s, t) {
|
|
|
23385
23405
|
keptChilds: n
|
|
23386
23406
|
}), c;
|
|
23387
23407
|
}
|
|
23388
|
-
async function
|
|
23408
|
+
async function j2(s, t) {
|
|
23389
23409
|
de.start("export-usdz-resources", "export-usdz");
|
|
23390
23410
|
const e = [];
|
|
23391
23411
|
for (const c of s.document.children)
|
|
@@ -23396,7 +23416,7 @@ async function jk(s, t) {
|
|
|
23396
23416
|
e[c](), h();
|
|
23397
23417
|
});
|
|
23398
23418
|
de.end("export-usdz-resources");
|
|
23399
|
-
const n = new
|
|
23419
|
+
const n = new I2(), o = s.exporter.sceneAnchoringOptions.ar;
|
|
23400
23420
|
n.beginBlock(`def Xform "${s.document.name}"`), n.beginBlock(`def Scope "Scenes" (
|
|
23401
23421
|
kind = "sceneLibrary"
|
|
23402
23422
|
)`), n.beginBlock('def Xform "Scene"', "(", !1), n.appendLine('apiSchemas = ["Preliminary_AnchoringAPI"]'), n.appendLine("customData = {"), n.appendLine(" bool preliminary_collidesWithEnvironment = 0"), n.appendLine(' string sceneName = "Scene"'), n.appendLine("}"), n.appendLine('sceneName = "Scene"'), n.closeBlock(")"), n.beginBlock(), n.appendLine(`token preliminary:anchoring:type = "${o.anchoring.type}"`), o.anchoring.type === "plane" && n.appendLine(`token preliminary:planeAnchoring:alignment = "${o.planeAnchoring.alignment}"`), o.anchoring.type === "image" && n.appendLine(`rel preliminary:imageAnchoring:referenceImage = </${s.document.name}/Scenes/Scene/AnchoringReferenceImage>`), n.appendLine();
|
|
@@ -23423,8 +23443,8 @@ function mw(s, t, e) {
|
|
|
23423
23443
|
if (!(o in t.files)) {
|
|
23424
23444
|
const a = () => {
|
|
23425
23445
|
var c, h;
|
|
23426
|
-
const l =
|
|
23427
|
-
t.files[o] = $
|
|
23446
|
+
const l = W2(i, (h = (c = s.skinnedMesh) == null ? void 0 : c.skeleton) == null ? void 0 : h.bones, t.quickLookCompatible);
|
|
23447
|
+
t.files[o] = $2(l);
|
|
23428
23448
|
};
|
|
23429
23449
|
e.push(a);
|
|
23430
23450
|
}
|
|
@@ -23444,7 +23464,7 @@ async function Md(s, t, e = null) {
|
|
|
23444
23464
|
}
|
|
23445
23465
|
}
|
|
23446
23466
|
let Xh = null, Gt = null, cp, Yr, Qh;
|
|
23447
|
-
async function
|
|
23467
|
+
async function B2(s, t = 1 / 0, e = null, i = void 0) {
|
|
23448
23468
|
cp || (cp = new Xn(2, 2, 1, 1)), Yr || (Yr = new wn({
|
|
23449
23469
|
uniforms: {
|
|
23450
23470
|
blitTexture: new po(s),
|
|
@@ -23491,17 +23511,17 @@ async function Bk(s, t = 1 / 0, e = null, i = void 0) {
|
|
|
23491
23511
|
imageBitmap: u
|
|
23492
23512
|
};
|
|
23493
23513
|
}
|
|
23494
|
-
function
|
|
23514
|
+
function F2(s) {
|
|
23495
23515
|
return typeof HTMLImageElement < "u" && s instanceof HTMLImageElement || typeof HTMLCanvasElement < "u" && s instanceof HTMLCanvasElement || typeof OffscreenCanvas < "u" && s instanceof OffscreenCanvas || typeof ImageBitmap < "u" && s instanceof ImageBitmap;
|
|
23496
23516
|
}
|
|
23497
|
-
async function
|
|
23517
|
+
async function z2(s, t = 4096) {
|
|
23498
23518
|
const e = t / Math.max(s.width, s.height), i = s.width * Math.min(1, e), n = s.height * Math.min(1, e), o = new OffscreenCanvas(i, n), a = { premultiplyAlpha: "none" };
|
|
23499
23519
|
s.width !== i && (a.resizeWidth = i), s.height !== n && (a.resizeHeight = n);
|
|
23500
23520
|
const l = await createImageBitmap(s, a), c = o.getContext("bitmaprenderer");
|
|
23501
23521
|
return c && c.transferFromImageBitmap(l), o;
|
|
23502
23522
|
}
|
|
23503
|
-
async function
|
|
23504
|
-
if (
|
|
23523
|
+
async function U2(s, t = void 0, e = !1, i = 4096) {
|
|
23524
|
+
if (F2(s)) {
|
|
23505
23525
|
const n = i / Math.max(s.width, s.height), o = new OffscreenCanvas(s.width * Math.min(1, n), s.height * Math.min(1, n)), a = o.getContext("2d", { alpha: !0, premultipliedAlpha: !1 });
|
|
23506
23526
|
if (!a)
|
|
23507
23527
|
throw new Error("Could not get canvas 2D context");
|
|
@@ -23516,7 +23536,7 @@ async function Uk(s, t = void 0, e = !1, i = 4096) {
|
|
|
23516
23536
|
throw new Error("NeedleUSDZExporter: No valid image data found. Unable to process texture.");
|
|
23517
23537
|
}
|
|
23518
23538
|
const Le = 7;
|
|
23519
|
-
function
|
|
23539
|
+
function N2() {
|
|
23520
23540
|
return `#usda 1.0
|
|
23521
23541
|
(
|
|
23522
23542
|
customLayerData = {
|
|
@@ -23527,8 +23547,8 @@ function Nk() {
|
|
|
23527
23547
|
)
|
|
23528
23548
|
`;
|
|
23529
23549
|
}
|
|
23530
|
-
function $
|
|
23531
|
-
let e =
|
|
23550
|
+
function $2(s, t) {
|
|
23551
|
+
let e = N2();
|
|
23532
23552
|
return e += s, p0(e);
|
|
23533
23553
|
}
|
|
23534
23554
|
function Yh(s) {
|
|
@@ -23588,13 +23608,13 @@ function bb(s) {
|
|
|
23588
23608
|
function Kh(s, t) {
|
|
23589
23609
|
return `(${he(s[t + 0])}, ${he(s[t + 1])}, ${he(s[t + 2])}, ${he(s[t + 3])})`;
|
|
23590
23610
|
}
|
|
23591
|
-
function
|
|
23611
|
+
function W2(s, t = [], e = !0) {
|
|
23592
23612
|
return `
|
|
23593
23613
|
def "Geometry"
|
|
23594
|
-
${
|
|
23614
|
+
${V2(s, t, e)}
|
|
23595
23615
|
`;
|
|
23596
23616
|
}
|
|
23597
|
-
function
|
|
23617
|
+
function V2(s, t = [], e = !0) {
|
|
23598
23618
|
const i = "Geometry", n = s.attributes, o = n.position.count, a = t && t.length > 0, l = [], c = [];
|
|
23599
23619
|
let h = new Array(), d = n.skinIndex;
|
|
23600
23620
|
if (a) {
|
|
@@ -23711,7 +23731,7 @@ function up(s, t) {
|
|
|
23711
23731
|
interpolation = "vertex"
|
|
23712
23732
|
)`;
|
|
23713
23733
|
case 4:
|
|
23714
|
-
return `double4[] primvars:${s} = [${
|
|
23734
|
+
return `double4[] primvars:${s} = [${H2(t, e)}] (
|
|
23715
23735
|
interpolation = "vertex"
|
|
23716
23736
|
)`;
|
|
23717
23737
|
default:
|
|
@@ -23728,7 +23748,7 @@ function Rd(s, t) {
|
|
|
23728
23748
|
}
|
|
23729
23749
|
return e.join(", ");
|
|
23730
23750
|
}
|
|
23731
|
-
function
|
|
23751
|
+
function H2(s, t) {
|
|
23732
23752
|
if (s === void 0)
|
|
23733
23753
|
return console.warn("USDZExporter: Attribute is missing. Results may be undefined."), Array(t).fill("(0, 0, 0, 0)").join(", ");
|
|
23734
23754
|
const e = [];
|
|
@@ -23757,11 +23777,11 @@ function yw(s, t, e = !1) {
|
|
|
23757
23777
|
}
|
|
23758
23778
|
return i.join(", ");
|
|
23759
23779
|
}
|
|
23760
|
-
function
|
|
23780
|
+
function G2(s, t, e = !1) {
|
|
23761
23781
|
const i = [];
|
|
23762
23782
|
for (const n in s) {
|
|
23763
23783
|
const o = s[n];
|
|
23764
|
-
i.push(
|
|
23784
|
+
i.push(q2(o, t, e));
|
|
23765
23785
|
}
|
|
23766
23786
|
return `
|
|
23767
23787
|
def "Materials"
|
|
@@ -23769,7 +23789,7 @@ function Gk(s, t, e = !1) {
|
|
|
23769
23789
|
${i.join("")}
|
|
23770
23790
|
}`;
|
|
23771
23791
|
}
|
|
23772
|
-
function
|
|
23792
|
+
function q2(s, t, e = !1) {
|
|
23773
23793
|
var g, y, _;
|
|
23774
23794
|
const i = Zg(s);
|
|
23775
23795
|
if (s.colorWrite === !1 || ((g = s.userData) == null ? void 0 : g.isShadowCatcherMaterial) || ((y = s.userData) == null ? void 0 : y.isLightBlendMaterial)) {
|
|
@@ -24241,7 +24261,7 @@ class ye {
|
|
|
24241
24261
|
}
|
|
24242
24262
|
*/
|
|
24243
24263
|
}
|
|
24244
|
-
class
|
|
24264
|
+
class X2 {
|
|
24245
24265
|
constructor(t) {
|
|
24246
24266
|
r(this, "object");
|
|
24247
24267
|
r(this, "model");
|
|
@@ -24258,7 +24278,7 @@ class Xk {
|
|
|
24258
24278
|
this.onApply(t);
|
|
24259
24279
|
}
|
|
24260
24280
|
}
|
|
24261
|
-
class bw extends
|
|
24281
|
+
class bw extends X2 {
|
|
24262
24282
|
constructor(e, i, n, o) {
|
|
24263
24283
|
super(e);
|
|
24264
24284
|
r(this, "matrix");
|
|
@@ -24284,7 +24304,7 @@ class bw extends Xk {
|
|
|
24284
24304
|
return this._disableAction ? this._disableAction : (this._disableAction = ye.fadeAction(this.object, 0, !1), this._disableAction);
|
|
24285
24305
|
}
|
|
24286
24306
|
}
|
|
24287
|
-
class
|
|
24307
|
+
class Q2 {
|
|
24288
24308
|
constructor(t) {
|
|
24289
24309
|
r(this, "actions");
|
|
24290
24310
|
r(this, "sortedActions");
|
|
@@ -24665,11 +24685,11 @@ class Jg {
|
|
|
24665
24685
|
const a = o;
|
|
24666
24686
|
typeof a.createAnimation == "function" && a.createAnimation(this, e, i);
|
|
24667
24687
|
}, !1);
|
|
24668
|
-
const n = new
|
|
24688
|
+
const n = new Y2(t, this);
|
|
24669
24689
|
this.serializers.push(n), n.registerCallback(e);
|
|
24670
24690
|
}
|
|
24671
24691
|
}
|
|
24672
|
-
class
|
|
24692
|
+
class Y2 {
|
|
24673
24693
|
constructor(t, e) {
|
|
24674
24694
|
r(this, "model");
|
|
24675
24695
|
r(this, "object");
|
|
@@ -24921,7 +24941,7 @@ class Yk {
|
|
|
24921
24941
|
h(l, "position"), h(l, "rotation"), h(l, "scale");
|
|
24922
24942
|
}
|
|
24923
24943
|
}
|
|
24924
|
-
const
|
|
24944
|
+
const K2 = x("debugusdz");
|
|
24925
24945
|
class tl {
|
|
24926
24946
|
constructor() {
|
|
24927
24947
|
r(this, "files", new Array());
|
|
@@ -24956,7 +24976,7 @@ class tl {
|
|
|
24956
24976
|
for (const e of this.files) {
|
|
24957
24977
|
const i = "audio/" + e.name;
|
|
24958
24978
|
if (t.files[i]) {
|
|
24959
|
-
|
|
24979
|
+
K2 && console.warn("Audio file with name " + i + " already exists in the context. Skipping.");
|
|
24960
24980
|
continue;
|
|
24961
24981
|
}
|
|
24962
24982
|
const a = await (await (await fetch(e.path)).blob()).arrayBuffer(), l = new Uint8Array(a);
|
|
@@ -24964,10 +24984,10 @@ class tl {
|
|
|
24964
24984
|
}
|
|
24965
24985
|
}
|
|
24966
24986
|
}
|
|
24967
|
-
var
|
|
24968
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
24987
|
+
var Z2 = Object.defineProperty, J2 = Object.getOwnPropertyDescriptor, Ve = (s, t, e, i) => {
|
|
24988
|
+
for (var n = i > 1 ? void 0 : i ? J2(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
24969
24989
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
24970
|
-
return i && n &&
|
|
24990
|
+
return i && n && Z2(t, e, n), n;
|
|
24971
24991
|
};
|
|
24972
24992
|
const Cb = x("debugusdzbehaviours");
|
|
24973
24993
|
function ah(s) {
|
|
@@ -25765,12 +25785,12 @@ const jy = class {
|
|
|
25765
25785
|
};
|
|
25766
25786
|
let So = jy;
|
|
25767
25787
|
r(So, "_instance");
|
|
25768
|
-
var
|
|
25769
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
25788
|
+
var ek = Object.defineProperty, tk = Object.getOwnPropertyDescriptor, vt = (s, t, e, i) => {
|
|
25789
|
+
for (var n = i > 1 ? void 0 : i ? tk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
25770
25790
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
25771
|
-
return i && n &&
|
|
25791
|
+
return i && n && ek(t, e, n), n;
|
|
25772
25792
|
};
|
|
25773
|
-
const ou = x("debugspriterenderer"),
|
|
25793
|
+
const ou = x("debugspriterenderer"), ik = x("wireframe"), gu = class {
|
|
25774
25794
|
static getOrCreateGeometry(t) {
|
|
25775
25795
|
if (t.__cached_geometry)
|
|
25776
25796
|
return t.__cached_geometry;
|
|
@@ -25790,7 +25810,7 @@ const ou = x("debugspriterenderer"), i2 = x("wireframe"), gu = class {
|
|
|
25790
25810
|
};
|
|
25791
25811
|
let vr = gu;
|
|
25792
25812
|
r(vr, "cache", {});
|
|
25793
|
-
class
|
|
25813
|
+
class nk {
|
|
25794
25814
|
constructor() {
|
|
25795
25815
|
r(this, "x");
|
|
25796
25816
|
r(this, "y");
|
|
@@ -26015,7 +26035,7 @@ class Ii extends I {
|
|
|
26015
26035
|
this._currentSprite.geometry = vr.getOrCreateGeometry(n), this._currentSprite.material.map = n.texture;
|
|
26016
26036
|
else {
|
|
26017
26037
|
const a = new Me({ color: 16777215, side: ki });
|
|
26018
|
-
if (
|
|
26038
|
+
if (ik && (a.wireframe = !0), this.color && (a.color || (a.color = new le()), a.color.copy(this.color), a.opacity = this.color.alpha), a.transparent = !0, a.toneMapped = this.toneMapped, a.depthWrite = !1, n.texture && !a.wireframe) {
|
|
26019
26039
|
let l = n.texture;
|
|
26020
26040
|
l[fp] !== void 0 && l[fp] !== this && this.spriteFrames > 1 && (l = n.texture = l.clone()), l[fp] = this, a.map = l;
|
|
26021
26041
|
}
|
|
@@ -26028,7 +26048,7 @@ vt([
|
|
|
26028
26048
|
f()
|
|
26029
26049
|
], Ii.prototype, "drawMode", 2);
|
|
26030
26050
|
vt([
|
|
26031
|
-
f(
|
|
26051
|
+
f(nk)
|
|
26032
26052
|
], Ii.prototype, "size", 2);
|
|
26033
26053
|
vt([
|
|
26034
26054
|
f(ce)
|
|
@@ -26054,7 +26074,7 @@ vt([
|
|
|
26054
26074
|
vt([
|
|
26055
26075
|
f(wr)
|
|
26056
26076
|
], Ii.prototype, "sprite", 1);
|
|
26057
|
-
const Pb = x("debugwebxr"),
|
|
26077
|
+
const Pb = x("debugwebxr"), sk = new se().makeRotationY(Math.PI), ba = class extends I {
|
|
26058
26078
|
constructor() {
|
|
26059
26079
|
super(...arguments);
|
|
26060
26080
|
r(this, "_arScale", 1);
|
|
@@ -26303,7 +26323,7 @@ const Pb = x("debugwebxr"), s2 = new se().makeRotationY(Math.PI), ba = class ext
|
|
|
26303
26323
|
return;
|
|
26304
26324
|
}
|
|
26305
26325
|
const n = i.parent || this.context.scene;
|
|
26306
|
-
this._rigPlacementMatrix ? (l = this._rigPlacementMatrix) == null || l.decompose(i.position, i.quaternion, i.scale) : this._rigPlacementMatrix = i.matrix.clone(), this.applyViewBasedTransform(e), e.updateMatrix(), this.context.scene.add(e), e.attach(i), e.removeFromParent(), i.scale.set(this.arScale, this.arScale, this.arScale), i.position.multiplyScalar(this.arScale), i.updateMatrix(), this.invertForward && i.matrix.premultiply(
|
|
26326
|
+
this._rigPlacementMatrix ? (l = this._rigPlacementMatrix) == null || l.decompose(i.position, i.quaternion, i.scale) : this._rigPlacementMatrix = i.matrix.clone(), this.applyViewBasedTransform(e), e.updateMatrix(), this.context.scene.add(e), e.attach(i), e.removeFromParent(), i.scale.set(this.arScale, this.arScale, this.arScale), i.position.multiplyScalar(this.arScale), i.updateMatrix(), this.invertForward && i.matrix.premultiply(sk), i.matrix.premultiply(this._startOffset), i.matrix.decompose(i.position, i.quaternion, i.scale), n.add(i);
|
|
26307
26327
|
}
|
|
26308
26328
|
};
|
|
26309
26329
|
let yn = ba;
|
|
@@ -26455,7 +26475,7 @@ const yu = class {
|
|
|
26455
26475
|
let ha = yu;
|
|
26456
26476
|
r(ha, "up", new v(0, 1, 0)), r(ha, "zero", new v(0, 0, 0)), r(ha, "one", new v(1, 1, 1));
|
|
26457
26477
|
const lo = x("debugautosync"), pp = Symbol("syncerId");
|
|
26458
|
-
class
|
|
26478
|
+
class ok {
|
|
26459
26479
|
constructor() {
|
|
26460
26480
|
r(this, "_syncers", {});
|
|
26461
26481
|
}
|
|
@@ -26464,15 +26484,15 @@ class o2 {
|
|
|
26464
26484
|
return null;
|
|
26465
26485
|
if (this._syncers[t.guid])
|
|
26466
26486
|
return this._syncers[t.guid];
|
|
26467
|
-
const e = new
|
|
26487
|
+
const e = new rk(t);
|
|
26468
26488
|
return e[pp] = t.guid, this._syncers[e[pp]] = e, e;
|
|
26469
26489
|
}
|
|
26470
26490
|
removeSyncer(t) {
|
|
26471
26491
|
delete this._syncers[t[pp]];
|
|
26472
26492
|
}
|
|
26473
26493
|
}
|
|
26474
|
-
const ey = new
|
|
26475
|
-
class
|
|
26494
|
+
const ey = new ok();
|
|
26495
|
+
class rk {
|
|
26476
26496
|
constructor(t) {
|
|
26477
26497
|
r(this, "comp");
|
|
26478
26498
|
// private getters: { [key: string]: Function } = {};
|
|
@@ -26525,18 +26545,18 @@ class r2 {
|
|
|
26525
26545
|
this._isReceiving || (lo && console.log("Property changed: " + t, e), this.hasChanges = !0, this.changedProperties[t] = e);
|
|
26526
26546
|
}
|
|
26527
26547
|
}
|
|
26528
|
-
function
|
|
26548
|
+
function ak(s, t) {
|
|
26529
26549
|
let e = t !== s;
|
|
26530
26550
|
return !e && s && t && (Array.isArray(s) && Array.isArray(t) || typeof s == "object" && typeof t == "object") && (e = !0), e;
|
|
26531
26551
|
}
|
|
26532
26552
|
const vc = Symbol("AutoSyncHandler");
|
|
26533
|
-
function
|
|
26553
|
+
function lk(s) {
|
|
26534
26554
|
if (s[vc])
|
|
26535
26555
|
return s[vc];
|
|
26536
26556
|
const t = ey.getOrCreateSyncer(s);
|
|
26537
26557
|
return t == null || t.init(s), s[vc] = t, t;
|
|
26538
26558
|
}
|
|
26539
|
-
function
|
|
26559
|
+
function ck(s) {
|
|
26540
26560
|
const t = s[vc];
|
|
26541
26561
|
t && (ey.removeSyncer(t), t.destroy(), delete s[vc]);
|
|
26542
26562
|
}
|
|
@@ -26571,8 +26591,8 @@ const xw = function(s = null) {
|
|
|
26571
26591
|
}
|
|
26572
26592
|
p = !0;
|
|
26573
26593
|
try {
|
|
26574
|
-
const _ =
|
|
26575
|
-
lo && console.log("SyncField assignment", i, "changed?", _, m, o), _ && (o == null ? void 0 : o.call(this, m, g)) !== !1 && ((y =
|
|
26594
|
+
const _ = ak(m, g);
|
|
26595
|
+
lo && console.log("SyncField assignment", i, "changed?", _, m, o), _ && (o == null ? void 0 : o.call(this, m, g)) !== !1 && ((y = lk(this)) == null || y.notifyChanged(i, m));
|
|
26576
26596
|
} finally {
|
|
26577
26597
|
p = !1;
|
|
26578
26598
|
}
|
|
@@ -26588,14 +26608,14 @@ const xw = function(s = null) {
|
|
|
26588
26608
|
};
|
|
26589
26609
|
const h = a.__internalDestroy;
|
|
26590
26610
|
a.__internalDestroy = function() {
|
|
26591
|
-
|
|
26611
|
+
ck(this), h.call(this);
|
|
26592
26612
|
};
|
|
26593
26613
|
};
|
|
26594
26614
|
};
|
|
26595
|
-
var
|
|
26596
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
26615
|
+
var hk = Object.defineProperty, dk = Object.getOwnPropertyDescriptor, ef = (s, t, e, i) => {
|
|
26616
|
+
for (var n = i > 1 ? void 0 : i ? dk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
26597
26617
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
26598
|
-
return i && n &&
|
|
26618
|
+
return i && n && hk(t, e, n), n;
|
|
26599
26619
|
};
|
|
26600
26620
|
const Yt = x("debugplayersync"), Sw = class extends I {
|
|
26601
26621
|
constructor() {
|
|
@@ -26698,7 +26718,7 @@ ef([
|
|
|
26698
26718
|
ef([
|
|
26699
26719
|
f(xe)
|
|
26700
26720
|
], dh.prototype, "onPlayerSpawned", 2);
|
|
26701
|
-
var
|
|
26721
|
+
var uk = /* @__PURE__ */ ((s) => (s.OwnerChanged = "ownerChanged", s))(uk || {}), Vl;
|
|
26702
26722
|
const Rt = (Vl = class extends I {
|
|
26703
26723
|
constructor() {
|
|
26704
26724
|
super(...arguments);
|
|
@@ -26832,10 +26852,10 @@ let en = Rt;
|
|
|
26832
26852
|
ef([
|
|
26833
26853
|
xw(en.prototype.onOwnerChange)
|
|
26834
26854
|
], en.prototype, "owner", 2);
|
|
26835
|
-
var
|
|
26836
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
26855
|
+
var fk = Object.defineProperty, pk = Object.getOwnPropertyDescriptor, sl = (s, t, e, i) => {
|
|
26856
|
+
for (var n = i > 1 ? void 0 : i ? pk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
26837
26857
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
26838
|
-
return i && n &&
|
|
26858
|
+
return i && n && fk(t, e, n), n;
|
|
26839
26859
|
};
|
|
26840
26860
|
class Ws extends I {
|
|
26841
26861
|
constructor() {
|
|
@@ -26879,10 +26899,10 @@ sl([
|
|
|
26879
26899
|
sl([
|
|
26880
26900
|
f()
|
|
26881
26901
|
], Ws.prototype, "createQRCodeButton", 2);
|
|
26882
|
-
var
|
|
26883
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
26902
|
+
var mk = Object.defineProperty, gk = Object.getOwnPropertyDescriptor, ty = (s, t, e, i) => {
|
|
26903
|
+
for (var n = i > 1 ? void 0 : i ? gk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
26884
26904
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
26885
|
-
return i && n &&
|
|
26905
|
+
return i && n && mk(t, e, n), n;
|
|
26886
26906
|
};
|
|
26887
26907
|
const Al = x("debugwebxr"), Ob = new W().setFromAxisAngle(new v(0, 1, 0), Math.PI);
|
|
26888
26908
|
class Pr extends I {
|
|
@@ -27016,10 +27036,10 @@ ty([
|
|
|
27016
27036
|
ty([
|
|
27017
27037
|
f(re)
|
|
27018
27038
|
], Pr.prototype, "rightHand", 2);
|
|
27019
|
-
var
|
|
27020
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
27039
|
+
var yk = Object.defineProperty, _k = Object.getOwnPropertyDescriptor, tf = (s, t, e, i) => {
|
|
27040
|
+
for (var n = i > 1 ? void 0 : i ? _k(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
27021
27041
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
27022
|
-
return i && n &&
|
|
27042
|
+
return i && n && yk(t, e, n), n;
|
|
27023
27043
|
};
|
|
27024
27044
|
const rs = x("debugwebxr"), Qs = new Array();
|
|
27025
27045
|
class Bs extends I {
|
|
@@ -27175,10 +27195,10 @@ tf([
|
|
|
27175
27195
|
], Bs.prototype, "customRightHand", 2);
|
|
27176
27196
|
class iy extends I {
|
|
27177
27197
|
}
|
|
27178
|
-
var
|
|
27179
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
27198
|
+
var bk = Object.defineProperty, vk = Object.getOwnPropertyDescriptor, Io = (s, t, e, i) => {
|
|
27199
|
+
for (var n = i > 1 ? void 0 : i ? vk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
27180
27200
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
27181
|
-
return i && n &&
|
|
27201
|
+
return i && n && bk(t, e, n), n;
|
|
27182
27202
|
};
|
|
27183
27203
|
const mp = x("debugwebxr");
|
|
27184
27204
|
class rn extends I {
|
|
@@ -27352,7 +27372,7 @@ class rn extends I {
|
|
|
27352
27372
|
if (u.normal) {
|
|
27353
27373
|
this.updateHitPointerPosition(o, a, u.distance);
|
|
27354
27374
|
const _ = u.normal.applyQuaternion(Ce(u.object));
|
|
27355
|
-
a.quaternion.setFromUnitVectors(
|
|
27375
|
+
a.quaternion.setFromUnitVectors(wk, _);
|
|
27356
27376
|
} else
|
|
27357
27377
|
this.updateHitPointerPosition(o, a, u.distance);
|
|
27358
27378
|
a.parent !== this.context.scene && this.context.scene.add(a);
|
|
@@ -27433,13 +27453,13 @@ Io([
|
|
|
27433
27453
|
Io([
|
|
27434
27454
|
f()
|
|
27435
27455
|
], rn.prototype, "showHits", 2);
|
|
27436
|
-
const
|
|
27437
|
-
var
|
|
27438
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
27456
|
+
const wk = new v(0, 1, 0);
|
|
27457
|
+
var xk = Object.defineProperty, Sk = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
|
|
27458
|
+
for (var n = i > 1 ? void 0 : i ? Sk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
27439
27459
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
27440
|
-
return i && n &&
|
|
27460
|
+
return i && n && xk(t, e, n), n;
|
|
27441
27461
|
};
|
|
27442
|
-
const El = x("debugwebxr"),
|
|
27462
|
+
const El = x("debugwebxr"), Ck = x("debugusdz");
|
|
27443
27463
|
var Up;
|
|
27444
27464
|
const da = (Up = class extends I {
|
|
27445
27465
|
constructor() {
|
|
@@ -27662,7 +27682,7 @@ const da = (Up = class extends I {
|
|
|
27662
27682
|
*/
|
|
27663
27683
|
handleCreatingHTML() {
|
|
27664
27684
|
if (this.createARButton || this.createVRButton || this.useQuicklookExport) {
|
|
27665
|
-
if ((X.isiOS() && X.isSafari() ||
|
|
27685
|
+
if ((X.isiOS() && X.isSafari() || Ck) && this.useQuicklookExport) {
|
|
27666
27686
|
const e = S.findObjectOfType(Ge);
|
|
27667
27687
|
if (!e || e && e.allowCreateQuicklookButton) {
|
|
27668
27688
|
const i = this.getButtonsFactory().createQuicklookButton();
|
|
@@ -27980,7 +28000,7 @@ class Pw {
|
|
|
27980
28000
|
}), o.length > 1 && console.log("WARNING: Multiple colliders detected. visionOS / iOS can only support objects with a single collider, only exporting the first collider: ", l));
|
|
27981
28001
|
}
|
|
27982
28002
|
}
|
|
27983
|
-
const
|
|
28003
|
+
const Pk = x("debugshadowcomponents");
|
|
27984
28004
|
_0.prototype.interactable = {
|
|
27985
28005
|
get() {
|
|
27986
28006
|
return this.interactive;
|
|
@@ -28060,7 +28080,7 @@ class Sn extends I {
|
|
|
28060
28080
|
const l = this._parentComponent.shadowComponent;
|
|
28061
28081
|
l && (l == null || l.add(e), o = !0);
|
|
28062
28082
|
}
|
|
28063
|
-
this.shadowComponent = e, i && i.shadowComponent && this.shadowComponent && i.shadowComponent.add(this.shadowComponent), Yc && e.add(new Mi(0.5)), this.onAfterAddedToScene(), o && MS(),
|
|
28083
|
+
this.shadowComponent = e, i && i.shadowComponent && this.shadowComponent && i.shadowComponent.add(this.shadowComponent), Yc && e.add(new Mi(0.5)), this.onAfterAddedToScene(), o && MS(), Pk && console.warn("Added shadow component", this.shadowComponent);
|
|
28064
28084
|
}
|
|
28065
28085
|
setShadowComponentOwner(e) {
|
|
28066
28086
|
if (e && (e[xi] === void 0 || e[xi] === this) && (e[xi] = this, e.children))
|
|
@@ -28089,19 +28109,19 @@ class nf extends Sn {
|
|
|
28089
28109
|
super.awake();
|
|
28090
28110
|
}
|
|
28091
28111
|
}
|
|
28092
|
-
var
|
|
28093
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
28112
|
+
var Ok = Object.defineProperty, Mk = Object.getOwnPropertyDescriptor, uh = (s, t, e, i) => {
|
|
28113
|
+
for (var n = i > 1 ? void 0 : i ? Mk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
28094
28114
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
28095
|
-
return i && n &&
|
|
28115
|
+
return i && n && Ok(t, e, n), n;
|
|
28096
28116
|
};
|
|
28097
28117
|
const gp = x("debugui"), yp = x("debuguilayout");
|
|
28098
|
-
class
|
|
28118
|
+
class Rk {
|
|
28099
28119
|
constructor() {
|
|
28100
28120
|
r(this, "width");
|
|
28101
28121
|
r(this, "height");
|
|
28102
28122
|
}
|
|
28103
28123
|
}
|
|
28104
|
-
class
|
|
28124
|
+
class kk {
|
|
28105
28125
|
constructor() {
|
|
28106
28126
|
r(this, "x");
|
|
28107
28127
|
r(this, "y");
|
|
@@ -28313,10 +28333,10 @@ uh([
|
|
|
28313
28333
|
uh([
|
|
28314
28334
|
f(oe)
|
|
28315
28335
|
], ii.prototype, "anchorMax", 2);
|
|
28316
|
-
var
|
|
28317
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
28336
|
+
var Tk = Object.defineProperty, Ak = Object.getOwnPropertyDescriptor, Mw = (s, t, e, i) => {
|
|
28337
|
+
for (var n = i > 1 ? void 0 : i ? Ak(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
28318
28338
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
28319
|
-
return i && n &&
|
|
28339
|
+
return i && n && Tk(t, e, n), n;
|
|
28320
28340
|
};
|
|
28321
28341
|
class fh extends I {
|
|
28322
28342
|
constructor() {
|
|
@@ -28331,10 +28351,10 @@ Mw([
|
|
|
28331
28351
|
Mw([
|
|
28332
28352
|
f(oe)
|
|
28333
28353
|
], fh.prototype, "effectDistance", 2);
|
|
28334
|
-
var
|
|
28335
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
28354
|
+
var Ek = Object.defineProperty, Ik = Object.getOwnPropertyDescriptor, Rw = (s, t, e, i) => {
|
|
28355
|
+
for (var n = i > 1 ? void 0 : i ? Ik(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
28336
28356
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
28337
|
-
return i && n &&
|
|
28357
|
+
return i && n && Ek(t, e, n), n;
|
|
28338
28358
|
};
|
|
28339
28359
|
const ed = {
|
|
28340
28360
|
backgroundColor: new le(1, 1, 1),
|
|
@@ -28468,10 +28488,10 @@ class sf extends ol {
|
|
|
28468
28488
|
this.uiObject && !this._flippedObject && (this._flippedObject = !0, this.uiObject.scale.y *= -1);
|
|
28469
28489
|
}
|
|
28470
28490
|
}
|
|
28471
|
-
var
|
|
28472
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
28491
|
+
var Lk = Object.defineProperty, Dk = Object.getOwnPropertyDescriptor, Vs = (s, t, e, i) => {
|
|
28492
|
+
for (var n = i > 1 ? void 0 : i ? Dk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
28473
28493
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
28474
|
-
return i && n &&
|
|
28494
|
+
return i && n && Lk(t, e, n), n;
|
|
28475
28495
|
};
|
|
28476
28496
|
const Go = x("debugtext");
|
|
28477
28497
|
var ct = /* @__PURE__ */ ((s) => (s[s.UpperLeft = 0] = "UpperLeft", s[s.UpperCenter = 1] = "UpperCenter", s[s.UpperRight = 2] = "UpperRight", s[s.MiddleLeft = 3] = "MiddleLeft", s[s.MiddleCenter = 4] = "MiddleCenter", s[s.MiddleRight = 5] = "MiddleRight", s[s.LowerLeft = 6] = "LowerLeft", s[s.LowerCenter = 7] = "LowerCenter", s[s.LowerRight = 8] = "LowerRight", s))(ct || {}), kw = /* @__PURE__ */ ((s) => (s[s.Normal = 0] = "Normal", s[s.Bold = 1] = "Bold", s[s.Italic = 2] = "Italic", s[s.BoldAndItalic = 3] = "BoldAndItalic", s))(kw || {});
|
|
@@ -28754,7 +28774,7 @@ class si extends ol {
|
|
|
28754
28774
|
if (n < 0)
|
|
28755
28775
|
return e;
|
|
28756
28776
|
const o = (d = e.substring(n + 1)) == null ? void 0 : d.toLowerCase();
|
|
28757
|
-
if (
|
|
28777
|
+
if (jk.includes(o))
|
|
28758
28778
|
return Go && console.warn("Unsupported font style: " + o), e;
|
|
28759
28779
|
const a = e.lastIndexOf("/");
|
|
28760
28780
|
let l = e;
|
|
@@ -28808,7 +28828,7 @@ class _p {
|
|
|
28808
28828
|
this.tag = t, this.previousValues = e;
|
|
28809
28829
|
}
|
|
28810
28830
|
}
|
|
28811
|
-
const
|
|
28831
|
+
const jk = [
|
|
28812
28832
|
"medium",
|
|
28813
28833
|
"mediumitalic",
|
|
28814
28834
|
"black",
|
|
@@ -28868,7 +28888,7 @@ class Tw {
|
|
|
28868
28888
|
return l.content = t, l.width = e, l.height = i, l.horizontalAlignment = n, l.verticalAlignment = o, a !== void 0 && (l.wrapMode = a), l;
|
|
28869
28889
|
}
|
|
28870
28890
|
}
|
|
28871
|
-
const
|
|
28891
|
+
const Bk = new se().makeRotationY(Math.PI), Fk = new se().makeScale(-1, 1, -1);
|
|
28872
28892
|
class ny {
|
|
28873
28893
|
get extensionName() {
|
|
28874
28894
|
return "text";
|
|
@@ -28880,8 +28900,8 @@ class ny {
|
|
|
28880
28900
|
const o = S.getComponent(t, ii);
|
|
28881
28901
|
let a = 100, l = 100;
|
|
28882
28902
|
o && (a = o.width, l = o.height);
|
|
28883
|
-
const c =
|
|
28884
|
-
o && c.premultiply(
|
|
28903
|
+
const c = Bk.clone();
|
|
28904
|
+
o && c.premultiply(Fk), e.setMatrix(c);
|
|
28885
28905
|
const h = n.color.clone();
|
|
28886
28906
|
e.material = new Tt({ color: h, emissive: h }), e.addEventListener("serialize", (d, u) => {
|
|
28887
28907
|
let p = n.text;
|
|
@@ -28941,10 +28961,10 @@ class ny {
|
|
|
28941
28961
|
}
|
|
28942
28962
|
}
|
|
28943
28963
|
}
|
|
28944
|
-
var
|
|
28945
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
28964
|
+
var zk = Object.defineProperty, Uk = Object.getOwnPropertyDescriptor, ot = (s, t, e, i) => {
|
|
28965
|
+
for (var n = i > 1 ? void 0 : i ? Uk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
28946
28966
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
28947
|
-
return i && n &&
|
|
28967
|
+
return i && n && zk(t, e, n), n;
|
|
28948
28968
|
};
|
|
28949
28969
|
const Mb = x("debuguilayout");
|
|
28950
28970
|
class rl {
|
|
@@ -29139,10 +29159,10 @@ class Iw extends Li {
|
|
|
29139
29159
|
onCalculateLayout() {
|
|
29140
29160
|
}
|
|
29141
29161
|
}
|
|
29142
|
-
var
|
|
29143
|
-
for (var n = i > 1 ? void 0 : i ? $
|
|
29162
|
+
var Nk = Object.defineProperty, $k = Object.getOwnPropertyDescriptor, Kn = (s, t, e, i) => {
|
|
29163
|
+
for (var n = i > 1 ? void 0 : i ? $k(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
29144
29164
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
29145
|
-
return i && n &&
|
|
29165
|
+
return i && n && Nk(t, e, n), n;
|
|
29146
29166
|
}, Lw = /* @__PURE__ */ ((s) => (s[s.ScreenSpaceOverlay = 0] = "ScreenSpaceOverlay", s[s.ScreenSpaceCamera = 1] = "ScreenSpaceCamera", s[s.WorldSpace = 2] = "WorldSpace", s[s.Undefined = -1] = "Undefined", s))(Lw || {});
|
|
29147
29167
|
const bp = x("debuguilayout"), Dw = class extends nf {
|
|
29148
29168
|
constructor() {
|
|
@@ -29378,10 +29398,10 @@ Kn([
|
|
|
29378
29398
|
Kn([
|
|
29379
29399
|
f()
|
|
29380
29400
|
], Nt.prototype, "planeDistance", 2);
|
|
29381
|
-
var
|
|
29382
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
29401
|
+
var Wk = Object.defineProperty, Vk = Object.getOwnPropertyDescriptor, sy = (s, t, e, i) => {
|
|
29402
|
+
for (var n = i > 1 ? void 0 : i ? Vk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
29383
29403
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
29384
|
-
return i && n &&
|
|
29404
|
+
return i && n && Wk(t, e, n), n;
|
|
29385
29405
|
};
|
|
29386
29406
|
class Or extends I {
|
|
29387
29407
|
constructor() {
|
|
@@ -29513,7 +29533,7 @@ class jw {
|
|
|
29513
29533
|
}
|
|
29514
29534
|
}
|
|
29515
29535
|
const tc = x("debugusdz");
|
|
29516
|
-
function
|
|
29536
|
+
function Hk(s, t) {
|
|
29517
29537
|
var l;
|
|
29518
29538
|
const e = [], i = S.getComponentsInChildren(s, Ut), n = S.getComponentsInChildren(s, ti), o = new Array(), a = new Array();
|
|
29519
29539
|
if (t.injectImplicitBehaviours)
|
|
@@ -29564,7 +29584,7 @@ function H2(s, t) {
|
|
|
29564
29584
|
t.registerAnimation(c.root, h);
|
|
29565
29585
|
return a;
|
|
29566
29586
|
}
|
|
29567
|
-
function
|
|
29587
|
+
function Gk(s, t) {
|
|
29568
29588
|
const e = S.getComponentsInChildren(s, qe), i = S.getComponentsInChildren(s, Cr), n = new Array(), o = new Array();
|
|
29569
29589
|
tc && console.log({ audioSources: e, playAudioOnClicks: i });
|
|
29570
29590
|
for (const a of i) {
|
|
@@ -29583,7 +29603,7 @@ function G2(s, t) {
|
|
|
29583
29603
|
}
|
|
29584
29604
|
return o;
|
|
29585
29605
|
}
|
|
29586
|
-
function
|
|
29606
|
+
function qk(s) {
|
|
29587
29607
|
return new At(
|
|
29588
29608
|
"DisableAtStart",
|
|
29589
29609
|
zt.sceneStartTrigger(),
|
|
@@ -29603,12 +29623,12 @@ function Rb(s, t) {
|
|
|
29603
29623
|
const a = document.createElement("img");
|
|
29604
29624
|
return a.id = "button", o.appendChild(a), s.domElement.shadowRoot.appendChild(i), o;
|
|
29605
29625
|
}
|
|
29606
|
-
var
|
|
29607
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
29626
|
+
var Xk = Object.defineProperty, Qk = Object.getOwnPropertyDescriptor, Et = (s, t, e, i) => {
|
|
29627
|
+
for (var n = i > 1 ? void 0 : i ? Qk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
29608
29628
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
29609
|
-
return i && n &&
|
|
29629
|
+
return i && n && Xk(t, e, n), n;
|
|
29610
29630
|
};
|
|
29611
|
-
const pi = x("debugusdz"),
|
|
29631
|
+
const pi = x("debugusdz"), Yk = x("debugusdzpruning");
|
|
29612
29632
|
class al {
|
|
29613
29633
|
constructor() {
|
|
29614
29634
|
r(this, "callToAction");
|
|
@@ -29701,7 +29721,7 @@ const Um = (hd = class extends I {
|
|
|
29701
29721
|
async exportAndOpen() {
|
|
29702
29722
|
var i;
|
|
29703
29723
|
let t = this.exportFileName ?? ((i = this.objectToExport) == null ? void 0 : i.name) ?? this.name;
|
|
29704
|
-
if (t += "-" +
|
|
29724
|
+
if (t += "-" + R2(), Rs() || (t !== "" && (t += "-"), t += "MadeWithNeedle"), this.link || (this.link = Rb(this.context, X.supportsQuickLookAR())), this.customUsdzFile)
|
|
29705
29725
|
return pi && console.log("Exporting custom usdz", this.customUsdzFile), this.openInQuickLook(this.customUsdzFile, t), null;
|
|
29706
29726
|
if (!this.objectToExport)
|
|
29707
29727
|
return console.warn("No object to export", this), null;
|
|
@@ -29755,14 +29775,14 @@ const Um = (hd = class extends I {
|
|
|
29755
29775
|
pi && We("Progressive Loading: " + n.length), await Promise.all(n), pi && We("Progressive Loading: done"), de.end("export-usdz-textures");
|
|
29756
29776
|
const a = ei.Global.Mask;
|
|
29757
29777
|
ei.Global.Set(ws.AR);
|
|
29758
|
-
const l = new
|
|
29778
|
+
const l = new D2(), c = new Jg(this.quickLookCompatible);
|
|
29759
29779
|
let h;
|
|
29760
29780
|
const d = [];
|
|
29761
29781
|
this.interactive && (d.push(new Cw()), d.push(new tl()), globalThis.true && S.getComponentsInChildren(t, _e).length > 0 && (this.physics ? (h = new Pw(), d.push(h)) : B() && console.warn("USDZExporter: Physics export is disabled, but there are active Rigidbody components in the scene. They will not be exported.")), d.push(new ny()), d.push(new jw()));
|
|
29762
29782
|
const u = [c, ...d, ...this.extensions], p = { self: this, exporter: l, extensions: u, object: t };
|
|
29763
29783
|
de.report("export-usdz", "Invoking before-export"), this.dispatchEvent(new CustomEvent("before-export", { detail: p })), this.applyWebARSessionRoot(), this._previousTimeScale = this.context.time.timeScale, this.context.time.timeScale = 0, de.report("export-usdz", "auto export animations and audio sources");
|
|
29764
29784
|
const m = new Array();
|
|
29765
|
-
this.autoExportAnimations && m.push(...
|
|
29785
|
+
this.autoExportAnimations && m.push(...Hk(t, c)), u.find((O) => O.extensionName === "Audio") && this.autoExportAudioSources && m.push(...Gk(t)), l.debug = pi, l.pruneUnusedNodes = !Yk;
|
|
29766
29786
|
const y = rr.instance.objs.map((O) => O.batchedMesh);
|
|
29767
29787
|
l.keepObject = (O) => {
|
|
29768
29788
|
let R = !0;
|
|
@@ -29782,7 +29802,7 @@ const Um = (hd = class extends I {
|
|
|
29782
29802
|
O.visible || _.push(O);
|
|
29783
29803
|
});
|
|
29784
29804
|
const b = u.find((O) => O.extensionName === "Behaviour");
|
|
29785
|
-
this.interactive && b && _.length > 0 && b.addBehavior(
|
|
29805
|
+
this.interactive && b && _.length > 0 && b.addBehavior(qk(_));
|
|
29786
29806
|
let w = !0;
|
|
29787
29807
|
this.quickLookCompatible && !this.interactive && (w = !1), this.anchoringType !== "plane" && this.anchoringType !== "none" && this.anchoringType !== "image" && this.anchoringType !== "face" && (this.anchoringType = "plane"), this.planeAnchoringAlignment !== "horizontal" && this.planeAnchoringAlignment !== "vertical" && this.planeAnchoringAlignment !== "any" && (this.planeAnchoringAlignment = "horizontal"), de.report("export-usdz", "Invoking exporter.parse");
|
|
29788
29808
|
const C = await l.parse(this.objectToExport, {
|
|
@@ -29911,10 +29931,10 @@ Et([
|
|
|
29911
29931
|
Et([
|
|
29912
29932
|
f()
|
|
29913
29933
|
], Ge.prototype, "quickLookCompatible", 2);
|
|
29914
|
-
var
|
|
29915
|
-
for (var n = i > 1 ? void 0 : i ?
|
|
29934
|
+
var Kk = Object.defineProperty, Zk = Object.getOwnPropertyDescriptor, oy = (s, t, e, i) => {
|
|
29935
|
+
for (var n = i > 1 ? void 0 : i ? Zk(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
29916
29936
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
29917
|
-
return i && n &&
|
|
29937
|
+
return i && n && Kk(t, e, n), n;
|
|
29918
29938
|
};
|
|
29919
29939
|
class ph extends I {
|
|
29920
29940
|
constructor() {
|
|
@@ -29961,10 +29981,10 @@ oy([
|
|
|
29961
29981
|
oy([
|
|
29962
29982
|
f(le)
|
|
29963
29983
|
], ph.prototype, "color", 1);
|
|
29964
|
-
var
|
|
29984
|
+
var Jk = Object.defineProperty, eT = Object.getOwnPropertyDescriptor, ry = (s, t, e, i) => {
|
|
29965
29985
|
for (var n = i > 1 ? void 0 : i ? eT(t, e) : t, o = s.length - 1, a; o >= 0; o--)
|
|
29966
29986
|
(a = s[o]) && (n = (i ? a(t, e, n) : a(n)) || n);
|
|
29967
|
-
return i && n &&
|
|
29987
|
+
return i && n && Jk(t, e, n), n;
|
|
29968
29988
|
};
|
|
29969
29989
|
class ll extends I {
|
|
29970
29990
|
constructor() {
|
|
@@ -39983,7 +40003,7 @@ const oc = (Qp = class extends I {
|
|
|
39983
40003
|
i.src = e, i.addEventListener("load", async () => {
|
|
39984
40004
|
const n = await createImageBitmap(i);
|
|
39985
40005
|
oc._imageElements.set(e, n);
|
|
39986
|
-
const o = await
|
|
40006
|
+
const o = await U2(n);
|
|
39987
40007
|
if (o) {
|
|
39988
40008
|
const l = await (await o.convertToBlob({ type: "image/png" })).arrayBuffer(), c = S.findObjectOfType(Ge);
|
|
39989
40009
|
c && this.trackedImages && (c.extensions.push(
|
|
@@ -40954,7 +40974,7 @@ async function Cc(s, t, e, i, n, o) {
|
|
|
40954
40974
|
e.includes("?") && (e = e.split("?")[0]);
|
|
40955
40975
|
for (const l of i.scenes)
|
|
40956
40976
|
l && !((a = l.animations) != null && a.length) && (l.animations = [...i.animations]);
|
|
40957
|
-
return xI(s, i), nR(i) && (
|
|
40977
|
+
return xI(s, i), nR(i) && (m2(e, i, t), await Gn().createBuiltinComponents(t, e, i, n, o || void 0)), await vI(i.scene, t, t.mainCamera), i;
|
|
40958
40978
|
}
|
|
40959
40979
|
async function vI(s, t, e) {
|
|
40960
40980
|
e || (e = t.mainCamera);
|
|
@@ -42924,7 +42944,7 @@ class BI {
|
|
|
42924
42944
|
const pD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42925
42945
|
__proto__: null,
|
|
42926
42946
|
ActionBuilder: ye,
|
|
42927
|
-
ActionCollection:
|
|
42947
|
+
ActionCollection: Q2,
|
|
42928
42948
|
ActionModel: bi,
|
|
42929
42949
|
AlignmentConstraint: Wu,
|
|
42930
42950
|
Animation: ti,
|
|
@@ -42992,7 +43012,7 @@ const pD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
42992
43012
|
EventListEvent: Ug,
|
|
42993
43013
|
EventSystem: di,
|
|
42994
43014
|
EventTrigger: Kg,
|
|
42995
|
-
FieldWithDefault:
|
|
43015
|
+
FieldWithDefault: S2,
|
|
42996
43016
|
FixedJoint: Bw,
|
|
42997
43017
|
Fog: ph,
|
|
42998
43018
|
GltfExport: Ku,
|
|
@@ -43052,7 +43072,7 @@ const pD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
43052
43072
|
PreliminaryAction: hh,
|
|
43053
43073
|
PreliminaryTrigger: Zu,
|
|
43054
43074
|
RawImage: Cy,
|
|
43055
|
-
Rect:
|
|
43075
|
+
Rect: kk,
|
|
43056
43076
|
RectTransform: ii,
|
|
43057
43077
|
ReflectionProbe: rh,
|
|
43058
43078
|
RegisteredAnimationInfo: lr,
|
|
@@ -43074,7 +43094,7 @@ const pD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
43074
43094
|
SignalReceiver: Oh,
|
|
43075
43095
|
SignalReceiverEvent: yf,
|
|
43076
43096
|
SignalTrackHandler: cu,
|
|
43077
|
-
Size:
|
|
43097
|
+
Size: Rk,
|
|
43078
43098
|
SizeBySpeedModule: Bi,
|
|
43079
43099
|
SizeOverLifetimeModule: dl,
|
|
43080
43100
|
SkinnedMeshRenderer: rw,
|
|
@@ -43260,7 +43280,7 @@ const zI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
43260
43280
|
export {
|
|
43261
43281
|
eD as $physicsKey,
|
|
43262
43282
|
ye as ActionBuilder,
|
|
43263
|
-
|
|
43283
|
+
Q2 as ActionCollection,
|
|
43264
43284
|
bi as ActionModel,
|
|
43265
43285
|
hO as Addressables,
|
|
43266
43286
|
Wu as AlignmentConstraint,
|
|
@@ -43362,7 +43382,7 @@ export {
|
|
|
43362
43382
|
Ug as EventListEvent,
|
|
43363
43383
|
di as EventSystem,
|
|
43364
43384
|
Kg as EventTrigger,
|
|
43365
|
-
|
|
43385
|
+
S2 as FieldWithDefault,
|
|
43366
43386
|
fc as FileReference,
|
|
43367
43387
|
pO as FileReferenceSerializer,
|
|
43368
43388
|
tD as FileSpawnModel,
|
|
@@ -43474,7 +43494,7 @@ export {
|
|
|
43474
43494
|
Rr as PlayableDirector,
|
|
43475
43495
|
Gc as PlayerColor,
|
|
43476
43496
|
en as PlayerState,
|
|
43477
|
-
|
|
43497
|
+
uk as PlayerStateEvent,
|
|
43478
43498
|
dh as PlayerSync,
|
|
43479
43499
|
wO as PlayerView,
|
|
43480
43500
|
xO as PlayerViewManager,
|
|
@@ -43493,7 +43513,7 @@ export {
|
|
|
43493
43513
|
Ko as RapierPhysics,
|
|
43494
43514
|
Cy as RawImage,
|
|
43495
43515
|
Ds as RaycastOptions,
|
|
43496
|
-
|
|
43516
|
+
kk as Rect,
|
|
43497
43517
|
ii as RectTransform,
|
|
43498
43518
|
rh as ReflectionProbe,
|
|
43499
43519
|
lr as RegisteredAnimationInfo,
|
|
@@ -43523,7 +43543,7 @@ export {
|
|
|
43523
43543
|
Oh as SignalReceiver,
|
|
43524
43544
|
yf as SignalReceiverEvent,
|
|
43525
43545
|
cu as SignalTrackHandler,
|
|
43526
|
-
|
|
43546
|
+
Rk as Size,
|
|
43527
43547
|
Bi as SizeBySpeedModule,
|
|
43528
43548
|
dl as SizeOverLifetimeModule,
|
|
43529
43549
|
rw as SkinnedMeshRenderer,
|
|
@@ -43571,9 +43591,9 @@ export {
|
|
|
43571
43591
|
nf as UIRootComponent,
|
|
43572
43592
|
uw as USDDocument,
|
|
43573
43593
|
jt as USDObject,
|
|
43574
|
-
|
|
43594
|
+
I2 as USDWriter,
|
|
43575
43595
|
Ge as USDZExporter,
|
|
43576
|
-
|
|
43596
|
+
D2 as USDZExporter$1,
|
|
43577
43597
|
pa as USDZText,
|
|
43578
43598
|
jw as USDZUIExtension,
|
|
43579
43599
|
UM as UriSerializer,
|
|
@@ -43635,7 +43655,7 @@ export {
|
|
|
43635
43655
|
fM as createMotion,
|
|
43636
43656
|
gi as debugNet,
|
|
43637
43657
|
Lh as debugOwner,
|
|
43638
|
-
|
|
43658
|
+
B2 as decompressGpuTexture,
|
|
43639
43659
|
Tu as deepClone,
|
|
43640
43660
|
Hn as delay,
|
|
43641
43661
|
Au as delayForFrames,
|
|
@@ -43667,7 +43687,7 @@ export {
|
|
|
43667
43687
|
zu as getComponents,
|
|
43668
43688
|
Kc as getComponentsInChildren,
|
|
43669
43689
|
Tg as getComponentsInParent,
|
|
43670
|
-
|
|
43690
|
+
R2 as getFormattedDate,
|
|
43671
43691
|
Dt as getIconElement,
|
|
43672
43692
|
G_ as getIconTexture,
|
|
43673
43693
|
dL as getIp,
|
|
@@ -43697,9 +43717,9 @@ export {
|
|
|
43697
43717
|
Tm as hasPointerEventComponent,
|
|
43698
43718
|
Rs as hasProLicense,
|
|
43699
43719
|
SC as hideDebugConsole,
|
|
43700
|
-
|
|
43720
|
+
U2 as imageToCanvas,
|
|
43701
43721
|
Wa as instantiate,
|
|
43702
|
-
|
|
43722
|
+
m2 as invokeLoadedImportPluginHooks,
|
|
43703
43723
|
LC as invokeXRSessionEnd,
|
|
43704
43724
|
IC as invokeXRSessionStart,
|
|
43705
43725
|
oO as isActiveInHierarchy,
|