@needle-tools/engine 3.37.8-alpha → 3.37.8-alpha.2
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 +6 -0
- package/dist/needle-engine.js +163 -163
- package/dist/needle-engine.light.js +137 -137
- package/dist/needle-engine.light.min.js +42 -42
- package/dist/needle-engine.light.umd.cjs +26 -26
- package/dist/needle-engine.min.js +21 -21
- package/dist/needle-engine.umd.cjs +27 -27
- package/lib/engine/engine_lightdata.js +6 -1
- package/lib/engine/engine_lightdata.js.map +1 -1
- package/lib/engine/engine_loaders.js +6 -3
- package/lib/engine/engine_loaders.js.map +1 -1
- package/lib/engine/engine_scenelighting.js +1 -1
- package/lib/engine/engine_scenelighting.js.map +1 -1
- package/lib/engine/engine_utils_screenshot.d.ts +20 -1
- package/lib/engine/engine_utils_screenshot.js +20 -1
- package/lib/engine/engine_utils_screenshot.js.map +1 -1
- package/lib/engine-components/Camera.d.ts +10 -3
- package/lib/engine-components/Camera.js +13 -8
- package/lib/engine-components/Camera.js.map +1 -1
- package/lib/engine-components/Skybox.js +2 -2
- package/lib/engine-components/Skybox.js.map +1 -1
- package/package.json +134 -134
- package/plugins/gltf-packer.mjs +1 -0
- package/plugins/types/userconfig.d.ts +3 -0
- package/src/engine/engine_lightdata.ts +4 -1
- package/src/engine/engine_loaders.ts +6 -3
- package/src/engine/engine_scenelighting.ts +1 -1
- package/src/engine/engine_utils_screenshot.ts +20 -1
- package/src/engine-components/Camera.ts +14 -8
- package/src/engine-components/Skybox.ts +2 -2
package/dist/needle-engine.js
CHANGED
|
@@ -27,7 +27,7 @@ function ZW() {
|
|
|
27
27
|
* Copyright 2010-2023 Three.js Authors
|
|
28
28
|
* SPDX-License-Identifier: MIT
|
|
29
29
|
*/
|
|
30
|
-
const _r = "162", qB = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, LB = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, NY = 0, ZR = 1, bY = 2, VW = 3, zW = 0, pN = 1, fN = 2, Fn = 3, AI = 0, bi = 1, pt = 2, ai = 0, Fr = 1, yQ = 2, VR = 3, zR = 4, DN = 5, ur = 100, KY = 101, JY = 102, XR = 103, Fy = 104, xY = 200, vY = 201, qY = 202, LY = 203, Ny = 204, by = 205, _Y = 206, TY = 207, HY = 208, YY = 209, OY = 210, PY = 211, WY = 212, jY = 213, ZY = 214, wN = 0, VS = 1, ku = 2, SQ = 3, Zc = 4, zS = 5, XS = 6, fp = 7, Dp = 0, VY = 1, zY = 2, Co = 0, Vc = 1, XY = 2, $Y = 3, $S = 4, A2 = 5, yN = 6, A0 = 7, $R = "attached", e2 = "detached", e0 = 300, ca = 301, Tr = 302, fs = 303, zc = 304, Sh = 306, ys = 1e3, Rg = 1001, mQ = 1002, _e = 1003, Xc = 1004, XW = 1004, WC = 1005, $W = 1005, Re = 1006, oQ = 1007, Aj = 1007, WI = 1008, ej = 1008, ut = 1009, t2 = 1010, i2 = 1011, t0 = 1012, SN = 1013, $s = 1014,
|
|
30
|
+
const _r = "162", qB = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, LB = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, NY = 0, ZR = 1, bY = 2, VW = 3, zW = 0, pN = 1, fN = 2, Fn = 3, AI = 0, bi = 1, pt = 2, ai = 0, Fr = 1, yQ = 2, VR = 3, zR = 4, DN = 5, ur = 100, KY = 101, JY = 102, XR = 103, Fy = 104, xY = 200, vY = 201, qY = 202, LY = 203, Ny = 204, by = 205, _Y = 206, TY = 207, HY = 208, YY = 209, OY = 210, PY = 211, WY = 212, jY = 213, ZY = 214, wN = 0, VS = 1, ku = 2, SQ = 3, Zc = 4, zS = 5, XS = 6, fp = 7, Dp = 0, VY = 1, zY = 2, Co = 0, Vc = 1, XY = 2, $Y = 3, $S = 4, A2 = 5, yN = 6, A0 = 7, $R = "attached", e2 = "detached", e0 = 300, ca = 301, Tr = 302, fs = 303, zc = 304, Sh = 306, ys = 1e3, Rg = 1001, mQ = 1002, _e = 1003, Xc = 1004, XW = 1004, WC = 1005, $W = 1005, Re = 1006, oQ = 1007, Aj = 1007, WI = 1008, ej = 1008, ut = 1009, t2 = 1010, i2 = 1011, t0 = 1012, SN = 1013, $s = 1014, Ai = 1015, pi = 1016, mN = 1017, kN = 1018, na = 1020, g2 = 1021, St = 1023, i0 = 1024, I2 = 1025, Nr = 1026, Hr = 1027, An = 1028, GN = 1029, yr = 1030, MN = 1031, RN = 1033, Hd = 33776, Zw = 33777, Vw = 33778, Yd = 33779, Ky = 35840, AU = 35841, Jy = 35842, eU = 35843, g0 = 36196, xy = 37492, vy = 37496, qy = 37808, tU = 37809, iU = 37810, gU = 37811, Gu = 37812, IU = 37813, oU = 37814, sU = 37815, nU = 37816, CU = 37817, aU = 37818, rU = 37819, BU = 37820, QU = 37821, Od = 36492, EU = 36494, cU = 36495, o2 = 36283, hU = 36284, lU = 36285, dU = 36286, Mu = 2200, UN = 2201, s2 = 2202, Yr = 2300, tC = 2301, zw = 2302, VB = 2400, zB = 2401, Ru = 2402, I0 = 2500, FN = 2501, n2 = 0, NN = 1, Ly = 2, C2 = 3e3, uU = 3001, eI = 3200, o0 = 3201, Zr = 0, a2 = 1, pI = "", de = "srgb", kt = "srgb-linear", wp = "display-p3", mh = "display-p3-linear", Uu = "linear", Pt = "srgb", Fu = "rec709", Nu = "p3", r2 = 0, Er = 7680, B2 = 7681, Q2 = 7682, E2 = 7683, c2 = 34055, h2 = 34056, l2 = 5386, pU = 512, d2 = 513, u2 = 514, p2 = 515, f2 = 516, D2 = 517, w2 = 518, _y = 519, y2 = 512, S2 = 513, m2 = 514, bN = 515, k2 = 516, G2 = 517, M2 = 518, R2 = 519, bu = 35044, hI = 35048, tj = 35040, ij = 35045, gj = 35049, Ij = 35041, oj = 35046, sj = 35050, nj = 35042, Cj = "100", Ty = "300 es", Hy = 1035, Hn = 2e3, Ku = 2001;
|
|
31
31
|
let Jg = class {
|
|
32
32
|
addEventListener(A, e) {
|
|
33
33
|
this._listeners === void 0 && (this._listeners = {});
|
|
@@ -3415,7 +3415,7 @@ let ie = class {
|
|
|
3415
3415
|
constructor(A, e, t = !1) {
|
|
3416
3416
|
if (Array.isArray(A))
|
|
3417
3417
|
throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");
|
|
3418
|
-
this.isBufferAttribute = !0, this.name = "", this.array = A, this.itemSize = e, this.count = A !== void 0 ? A.length / e : 0, this.normalized = t, this.usage = bu, this._updateRange = { offset: 0, count: -1 }, this.updateRanges = [], this.gpuType =
|
|
3418
|
+
this.isBufferAttribute = !0, this.name = "", this.array = A, this.itemSize = e, this.count = A !== void 0 ? A.length / e : 0, this.normalized = t, this.usage = bu, this._updateRange = { offset: 0, count: -1 }, this.updateRanges = [], this.gpuType = Ai, this.version = 0;
|
|
3419
3419
|
}
|
|
3420
3420
|
onUploadCallback() {
|
|
3421
3421
|
}
|
|
@@ -10027,7 +10027,7 @@ function Zz(g, A, e) {
|
|
|
10027
10027
|
let M = a.attributes.position.count * y, S = 1;
|
|
10028
10028
|
M > A.maxTextureSize && (S = Math.ceil(M / A.maxTextureSize), M = A.maxTextureSize);
|
|
10029
10029
|
const U = new Float32Array(M * S * 4 * c), m = new s0(U, M, S, c);
|
|
10030
|
-
m.type =
|
|
10030
|
+
m.type = Ai, m.needsUpdate = !0;
|
|
10031
10031
|
const R = y * 4;
|
|
10032
10032
|
for (let v = 0; v < c; v++) {
|
|
10033
10033
|
const b = u[v], O = f[v], J = w[v], x = M * S * 4 * v;
|
|
@@ -12509,8 +12509,8 @@ function S9(g, A, e, t, i, I, o) {
|
|
|
12509
12509
|
[G2]: g.NOTEQUAL
|
|
12510
12510
|
};
|
|
12511
12511
|
function iA(H, K, dA) {
|
|
12512
|
-
if (K.type ===
|
|
12513
|
-
if (K.magFilter === _e || K.minFilter !== WC && K.minFilter !== WI || K.type ===
|
|
12512
|
+
if (K.type === Ai && A.has("OES_texture_float_linear") === !1 && (K.magFilter === Re || K.magFilter === oQ || K.magFilter === WC || K.magFilter === WI || K.minFilter === Re || K.minFilter === oQ || K.minFilter === WC || K.minFilter === WI) && console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."), dA ? (g.texParameteri(H, g.TEXTURE_WRAP_S, oA[K.wrapS]), g.texParameteri(H, g.TEXTURE_WRAP_T, oA[K.wrapT]), (H === g.TEXTURE_3D || H === g.TEXTURE_2D_ARRAY) && g.texParameteri(H, g.TEXTURE_WRAP_R, oA[K.wrapR]), g.texParameteri(H, g.TEXTURE_MAG_FILTER, BA[K.magFilter]), g.texParameteri(H, g.TEXTURE_MIN_FILTER, BA[K.minFilter])) : (g.texParameteri(H, g.TEXTURE_WRAP_S, g.CLAMP_TO_EDGE), g.texParameteri(H, g.TEXTURE_WRAP_T, g.CLAMP_TO_EDGE), (H === g.TEXTURE_3D || H === g.TEXTURE_2D_ARRAY) && g.texParameteri(H, g.TEXTURE_WRAP_R, g.CLAMP_TO_EDGE), (K.wrapS !== Rg || K.wrapT !== Rg) && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."), g.texParameteri(H, g.TEXTURE_MAG_FILTER, M(K.magFilter)), g.texParameteri(H, g.TEXTURE_MIN_FILTER, M(K.minFilter)), K.minFilter !== _e && K.minFilter !== Re && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")), K.compareFunction && (g.texParameteri(H, g.TEXTURE_COMPARE_MODE, g.COMPARE_REF_TO_TEXTURE), g.texParameteri(H, g.TEXTURE_COMPARE_FUNC, bA[K.compareFunction])), A.has("EXT_texture_filter_anisotropic") === !0) {
|
|
12513
|
+
if (K.magFilter === _e || K.minFilter !== WC && K.minFilter !== WI || K.type === Ai && A.has("OES_texture_float_linear") === !1 || s === !1 && K.type === pi && A.has("OES_texture_half_float_linear") === !1)
|
|
12514
12514
|
return;
|
|
12515
12515
|
if (K.anisotropy > 1 || t.get(K).__currentAnisotropy) {
|
|
12516
12516
|
const fA = A.get("EXT_texture_filter_anisotropic");
|
|
@@ -12554,7 +12554,7 @@ function S9(g, A, e, t, i, I, o) {
|
|
|
12554
12554
|
let oe;
|
|
12555
12555
|
const Ue = K.mipmaps, P = s && K.isVideoTexture !== !0 && Be !== g0, rA = pe.__version === void 0 || NA === !0, AA = UA.dataReady, JA = y(K, qA, At);
|
|
12556
12556
|
if (K.isDepthTexture)
|
|
12557
|
-
Be = g.DEPTH_COMPONENT, s ? K.type ===
|
|
12557
|
+
Be = g.DEPTH_COMPONENT, s ? K.type === Ai ? Be = g.DEPTH_COMPONENT32F : K.type === $s ? Be = g.DEPTH_COMPONENT24 : K.type === na ? Be = g.DEPTH24_STENCIL8 : Be = g.DEPTH_COMPONENT16 : K.type === Ai && console.error("WebGLRenderer: Floating point depth texture requires WebGL2."), K.format === Nr && Be === g.DEPTH_COMPONENT && K.type !== t0 && K.type !== $s && (console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."), K.type = $s, VA = I.convert(K.type)), K.format === Hr && Be === g.DEPTH_COMPONENT && (Be = g.DEPTH_STENCIL, K.type !== na && (console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."), K.type = na, VA = I.convert(K.type))), rA && (P ? e.texStorage2D(g.TEXTURE_2D, 1, Be, qA.width, qA.height) : e.texImage2D(g.TEXTURE_2D, 0, Be, qA.width, qA.height, 0, re, VA, null));
|
|
12558
12558
|
else if (K.isDataTexture)
|
|
12559
12559
|
if (Ue.length > 0 && At) {
|
|
12560
12560
|
P && rA && e.texStorage2D(g.TEXTURE_2D, JA, Be, Ue[0].width, Ue[0].height);
|
|
@@ -12670,7 +12670,7 @@ function S9(g, A, e, t, i, I, o) {
|
|
|
12670
12670
|
let fA = s === !0 ? g.DEPTH_COMPONENT24 : g.DEPTH_COMPONENT16;
|
|
12671
12671
|
if (dA || ee(K)) {
|
|
12672
12672
|
const NA = K.depthTexture;
|
|
12673
|
-
NA && NA.isDepthTexture && (NA.type ===
|
|
12673
|
+
NA && NA.isDepthTexture && (NA.type === Ai ? fA = g.DEPTH_COMPONENT32F : NA.type === $s && (fA = g.DEPTH_COMPONENT24));
|
|
12674
12674
|
const UA = GA(K);
|
|
12675
12675
|
ee(K) ? n.renderbufferStorageMultisampleEXT(g.RENDERBUFFER, UA, fA, K.width, K.height) : g.renderbufferStorageMultisample(g.RENDERBUFFER, UA, fA, K.width, K.height);
|
|
12676
12676
|
} else
|
|
@@ -12863,7 +12863,7 @@ function Z2(g, A, e) {
|
|
|
12863
12863
|
return g.INT;
|
|
12864
12864
|
if (I === $s)
|
|
12865
12865
|
return g.UNSIGNED_INT;
|
|
12866
|
-
if (I ===
|
|
12866
|
+
if (I === Ai)
|
|
12867
12867
|
return g.FLOAT;
|
|
12868
12868
|
if (I === pi)
|
|
12869
12869
|
return t ? g.HALF_FLOAT : (s = A.get("OES_texture_half_float"), s !== null ? s.HALF_FLOAT_OES : null);
|
|
@@ -13975,7 +13975,7 @@ class ma {
|
|
|
13975
13975
|
}
|
|
13976
13976
|
const XA = PA === pi && (yA.has("EXT_color_buffer_half_float") || LA.isWebGL2 && yA.has("EXT_color_buffer_float"));
|
|
13977
13977
|
if (PA !== ut && VA.convert(PA) !== W.getParameter(W.IMPLEMENTATION_COLOR_READ_TYPE) && // Edge and Chrome Mac < 52 (#9513)
|
|
13978
|
-
!(PA ===
|
|
13978
|
+
!(PA === Ai && (LA.isWebGL2 || yA.has("OES_texture_float") || yA.has("WEBGL_color_buffer_float"))) && // Chrome Mac >= 52 and Firefox
|
|
13979
13979
|
!XA) {
|
|
13980
13980
|
console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");
|
|
13981
13981
|
return;
|
|
@@ -14516,7 +14516,7 @@ let Q0 = class AO {
|
|
|
14516
14516
|
A = Math.ceil(A / 4) * 4, A = Math.max(A, 4);
|
|
14517
14517
|
const e = new Float32Array(A * A * 4);
|
|
14518
14518
|
e.set(this.boneMatrices);
|
|
14519
|
-
const t = new ao(e, A, A, St,
|
|
14519
|
+
const t = new ao(e, A, A, St, Ai);
|
|
14520
14520
|
return t.needsUpdate = !0, this.boneMatrices = e, this.boneTexture = t, this;
|
|
14521
14521
|
}
|
|
14522
14522
|
getBoneByName(A) {
|
|
@@ -14623,7 +14623,7 @@ let PN = class extends uA {
|
|
|
14623
14623
|
}
|
|
14624
14624
|
setMorphAt(A, e) {
|
|
14625
14625
|
const t = e.morphTargetInfluences, i = t.length + 1;
|
|
14626
|
-
this.morphTexture === null && (this.morphTexture = new ao(new Float32Array(i * this.count), i, this.count, An,
|
|
14626
|
+
this.morphTexture === null && (this.morphTexture = new ao(new Float32Array(i * this.count), i, this.count, An, Ai));
|
|
14627
14627
|
const I = this.morphTexture.source.data.data;
|
|
14628
14628
|
let o = 0;
|
|
14629
14629
|
for (let C = 0; C < t.length; C++)
|
|
@@ -14683,7 +14683,7 @@ class Oy extends uA {
|
|
|
14683
14683
|
_initMatricesTexture() {
|
|
14684
14684
|
let A = Math.sqrt(this._maxGeometryCount * 4);
|
|
14685
14685
|
A = Math.ceil(A / 4) * 4, A = Math.max(A, 4);
|
|
14686
|
-
const e = new Float32Array(A * A * 4), t = new ao(e, A, A, St,
|
|
14686
|
+
const e = new Float32Array(A * A * 4), t = new ao(e, A, A, St, Ai);
|
|
14687
14687
|
this._matricesTexture = t;
|
|
14688
14688
|
}
|
|
14689
14689
|
_initializeGeometry(A) {
|
|
@@ -21544,7 +21544,7 @@ const I6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21544
21544
|
FileLoader: hg,
|
|
21545
21545
|
Float16BufferAttribute: Oj,
|
|
21546
21546
|
Float32BufferAttribute: Ee,
|
|
21547
|
-
FloatType:
|
|
21547
|
+
FloatType: Ai,
|
|
21548
21548
|
Fog: r0,
|
|
21549
21549
|
FogExp2: a0,
|
|
21550
21550
|
FramebufferTexture: T9,
|
|
@@ -29441,13 +29441,13 @@ function CwA(g) {
|
|
|
29441
29441
|
_U = g;
|
|
29442
29442
|
}
|
|
29443
29443
|
const Y1 = IA("debugdefines");
|
|
29444
|
-
Uh('if(!globalThis[""3.37.8-alpha""]) globalThis[""3.37.8-alpha""] = "0.0.0";');
|
|
29444
|
+
Uh('if(!globalThis[""3.37.8-alpha.2""]) globalThis[""3.37.8-alpha.2""] = "0.0.0";');
|
|
29445
29445
|
Uh('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
29446
|
-
Uh('if(!globalThis[""
|
|
29447
|
-
Uh('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.8-alpha";');
|
|
29446
|
+
Uh('if(!globalThis[""Thu May 02 2024 11:04:22 GMT+0200 (Central European Summer Time)""]) globalThis[""Thu May 02 2024 11:04:22 GMT+0200 (Central European Summer Time)""] = "unknown";');
|
|
29447
|
+
Uh('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.8-alpha.2";');
|
|
29448
29448
|
Uh('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
29449
|
-
Uh('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "
|
|
29450
|
-
const Ia = "3.37.8-alpha", Pb = "undefined", O1 = "
|
|
29449
|
+
Uh('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu May 02 2024 11:04:22 GMT+0200 (Central European Summer Time)";');
|
|
29450
|
+
const Ia = "3.37.8-alpha.2", Pb = "undefined", O1 = "Thu May 02 2024 11:04:22 GMT+0200 (Central European Summer Time)";
|
|
29451
29451
|
Y1 && console.log(`Engine version: ${Ia} (generator: ${Pb})
|
|
29452
29452
|
Project built at ${O1}`);
|
|
29453
29453
|
const Jr = "needle_isActiveInHierarchy", nc = "builtin_components", iy = "needle_editor_guid";
|
|
@@ -30647,15 +30647,15 @@ const itA = /* @__PURE__ */ new Set([St, yr, An]), xG = {
|
|
|
30647
30647
|
[CP]: Gu,
|
|
30648
30648
|
[nP]: Gu
|
|
30649
30649
|
}, vG = {
|
|
30650
|
-
[sP]:
|
|
30650
|
+
[sP]: Ai,
|
|
30651
30651
|
[gP]: pi,
|
|
30652
30652
|
[AP]: ut,
|
|
30653
30653
|
[eP]: ut,
|
|
30654
|
-
[oP]:
|
|
30654
|
+
[oP]: Ai,
|
|
30655
30655
|
[iP]: pi,
|
|
30656
30656
|
[X1]: ut,
|
|
30657
30657
|
[$1]: ut,
|
|
30658
|
-
[IP]:
|
|
30658
|
+
[IP]: Ai,
|
|
30659
30659
|
[tP]: pi,
|
|
30660
30660
|
[z1]: ut,
|
|
30661
30661
|
[V1]: ut,
|
|
@@ -30682,7 +30682,7 @@ async function gtA(g) {
|
|
|
30682
30682
|
else
|
|
30683
30683
|
throw new Error("THREE.KTX2Loader: Unsupported supercompressionScheme.");
|
|
30684
30684
|
let r;
|
|
30685
|
-
vG[A] ===
|
|
30685
|
+
vG[A] === Ai ? r = new Float32Array(
|
|
30686
30686
|
a.buffer,
|
|
30687
30687
|
a.byteOffset,
|
|
30688
30688
|
a.byteLength / Float32Array.BYTES_PER_ELEMENT
|
|
@@ -30728,7 +30728,7 @@ function Zq(g) {
|
|
|
30728
30728
|
g !== void 0 && typeof g == "string" && (pr || (pr = new Fh()), xc && console.log("Setting ktx2 transcoder path to", g), pr.setTranscoderPath(g));
|
|
30729
30729
|
}
|
|
30730
30730
|
function W0(g, A) {
|
|
30731
|
-
Zs || (Zs = new Wb(), Zs.setDecoderPath(zd), Zs.setDecoderConfig({ type: "js" }), xc && console.log("Setting draco decoder path to", zd)), pr || (pr = new Fh(), pr.setTranscoderPath(YU), xc && console.log("Setting ktx2 transcoder path to", YU)), qG || (qG = OeA, xc && console.log("Using the default meshopt decoder")), A.renderer ? pr.detectSupport(A.renderer) : console.warn("No renderer provided to detect ktx2 support - loading KTX2 textures will probably fail"), g.setDRACOLoader(Zs), g.setKTX2Loader(pr), g.setMeshoptDecoder(qG);
|
|
30731
|
+
Zs || (Zs = new Wb(), Zs.setDecoderPath(zd), Zs.setDecoderConfig({ type: "js" }), xc && console.log("Setting draco decoder path to", zd)), pr || (pr = new Fh(), pr.setTranscoderPath(YU), xc && console.log("Setting ktx2 transcoder path to", YU)), qG || (qG = OeA, xc && console.log("Using the default meshopt decoder")), A.renderer ? pr.detectSupport(A.renderer) : console.warn("No renderer provided to detect ktx2 support - loading KTX2 textures will probably fail"), g.dracoLoader || g.setDRACOLoader(Zs), g.ktx2Loader || g.setKTX2Loader(pr), g.meshoptDecoder || g.setMeshoptDecoder(qG);
|
|
30732
30732
|
}
|
|
30733
30733
|
function ItA(g, A = 1e-4) {
|
|
30734
30734
|
A = Math.max(A, Number.EPSILON);
|
|
@@ -32506,9 +32506,9 @@ var ig = Uint8Array, jI = Uint16Array, oh = Uint32Array, j0 = new ig([
|
|
|
32506
32506
|
}, EP = QP(j0, 2), cP = EP[0], jU = EP[1];
|
|
32507
32507
|
cP[28] = 258, jU[258] = 28;
|
|
32508
32508
|
var hP = QP(Z0, 0), _tA = hP[0], tL = hP[1], ZU = new jI(32768);
|
|
32509
|
-
for (var
|
|
32510
|
-
var Wa = (
|
|
32511
|
-
Wa = (Wa & 52428) >>> 2 | (Wa & 13107) << 2, Wa = (Wa & 61680) >>> 4 | (Wa & 3855) << 4, ZU[
|
|
32509
|
+
for (var ei = 0; ei < 32768; ++ei) {
|
|
32510
|
+
var Wa = (ei & 43690) >>> 1 | (ei & 21845) << 1;
|
|
32511
|
+
Wa = (Wa & 52428) >>> 2 | (Wa & 13107) << 2, Wa = (Wa & 61680) >>> 4 | (Wa & 3855) << 4, ZU[ei] = ((Wa & 65280) >>> 8 | (Wa & 255) << 8) >>> 1;
|
|
32512
32512
|
}
|
|
32513
32513
|
var $n = function(g, A, e) {
|
|
32514
32514
|
for (var t = g.length, i = 0, I = new jI(A); i < t; ++i)
|
|
@@ -32529,17 +32529,17 @@ var $n = function(g, A, e) {
|
|
|
32529
32529
|
g[i] && (s[i] = ZU[o[g[i] - 1]++] >>> 15 - g[i]);
|
|
32530
32530
|
return s;
|
|
32531
32531
|
}, Pr = new ig(288);
|
|
32532
|
-
for (var
|
|
32533
|
-
Pr[
|
|
32534
|
-
for (var
|
|
32535
|
-
Pr[
|
|
32536
|
-
for (var
|
|
32537
|
-
Pr[
|
|
32538
|
-
for (var
|
|
32539
|
-
Pr[
|
|
32532
|
+
for (var ei = 0; ei < 144; ++ei)
|
|
32533
|
+
Pr[ei] = 8;
|
|
32534
|
+
for (var ei = 144; ei < 256; ++ei)
|
|
32535
|
+
Pr[ei] = 9;
|
|
32536
|
+
for (var ei = 256; ei < 280; ++ei)
|
|
32537
|
+
Pr[ei] = 7;
|
|
32538
|
+
for (var ei = 280; ei < 288; ++ei)
|
|
32539
|
+
Pr[ei] = 8;
|
|
32540
32540
|
var zu = new ig(32);
|
|
32541
|
-
for (var
|
|
32542
|
-
zu[
|
|
32541
|
+
for (var ei = 0; ei < 32; ++ei)
|
|
32542
|
+
zu[ei] = 5;
|
|
32543
32543
|
var TtA = /* @__PURE__ */ $n(Pr, 9, 0), HtA = /* @__PURE__ */ $n(Pr, 9, 1), YtA = /* @__PURE__ */ $n(zu, 5, 0), OtA = /* @__PURE__ */ $n(zu, 5, 1), YG = function(g) {
|
|
32544
32544
|
for (var A = g[0], e = 1; e < g.length; ++e)
|
|
32545
32545
|
g[e] > A && (A = g[e]);
|
|
@@ -34877,7 +34877,7 @@ const NP = Symbol("disposed");
|
|
|
34877
34877
|
function PwA(g) {
|
|
34878
34878
|
return g[NP] === !0;
|
|
34879
34879
|
}
|
|
34880
|
-
function
|
|
34880
|
+
function Xt(g) {
|
|
34881
34881
|
var A;
|
|
34882
34882
|
if (g) {
|
|
34883
34883
|
if (g[UP] === !1) {
|
|
@@ -34885,33 +34885,33 @@ function zt(g) {
|
|
|
34885
34885
|
return;
|
|
34886
34886
|
}
|
|
34887
34887
|
if (g[NP] = !0, g instanceof yI)
|
|
34888
|
-
|
|
34888
|
+
Xt(g.environment), Xt(g.background), Xt(g.customDepthMaterial), Xt(g.customDistanceMaterial);
|
|
34889
34889
|
else if (g instanceof _o)
|
|
34890
|
-
|
|
34890
|
+
Xt(g.geometry), Xt(g.material), Xt(g.skeleton), Xt(g.bindMatrix), Xt(g.bindMatrixInverse), Xt(g.customDepthMaterial), Xt(g.customDistanceMaterial), g.geometry = null, g.material = null;
|
|
34891
34891
|
else if (g instanceof uA)
|
|
34892
|
-
|
|
34892
|
+
Xt(g.geometry), Xt(g.material), Xt(g.customDepthMaterial), Xt(g.customDistanceMaterial), g.geometry = null, g.material = null;
|
|
34893
34893
|
else if (g instanceof Se) {
|
|
34894
34894
|
bE(g);
|
|
34895
34895
|
for (const e of Object.keys(g.attributes)) {
|
|
34896
34896
|
const t = g.attributes[e];
|
|
34897
|
-
|
|
34897
|
+
Xt(t);
|
|
34898
34898
|
}
|
|
34899
34899
|
} else if (g instanceof ie || g instanceof Jo)
|
|
34900
34900
|
rQ && console.warn("BufferAttribute dispose not supported", g.count);
|
|
34901
34901
|
else if (g instanceof Array)
|
|
34902
34902
|
for (const e of g)
|
|
34903
|
-
e instanceof Le &&
|
|
34903
|
+
e instanceof Le && Xt(e);
|
|
34904
34904
|
else if (g instanceof Le) {
|
|
34905
34905
|
bE(g);
|
|
34906
34906
|
for (const t of Object.keys(g)) {
|
|
34907
34907
|
const i = g[t];
|
|
34908
|
-
i instanceof Ze && (
|
|
34908
|
+
i instanceof Ze && (Xt(i), g[t] = null);
|
|
34909
34909
|
}
|
|
34910
34910
|
const e = g.uniforms;
|
|
34911
34911
|
if (e)
|
|
34912
34912
|
for (const t of Object.keys(e)) {
|
|
34913
34913
|
const i = e[t];
|
|
34914
|
-
i instanceof Ze ? (
|
|
34914
|
+
i instanceof Ze ? (Xt(i), e[t] = null) : i instanceof SA && (Xt(i.value), i.value = null);
|
|
34915
34915
|
}
|
|
34916
34916
|
} else
|
|
34917
34917
|
g instanceof Ze ? (bE(g), bE(g.source), ((A = g.source) == null ? void 0 : A.data) instanceof ImageBitmap && bE(g.source.data)) : g instanceof Q0 ? (bE(g.boneTexture), g.boneTexture = null) : g instanceof Gp || !(g instanceof wA) && rQ && console.warn("Unknown object type", g);
|
|
@@ -34975,7 +34975,7 @@ function iS(g, A, e, t) {
|
|
|
34975
34975
|
} else if (A && i.has(A)) {
|
|
34976
34976
|
i.delete(A);
|
|
34977
34977
|
let I = e[wd] || 0;
|
|
34978
|
-
I > 0 && (I -= 1, e[wd] = I), rQ && console.warn(`🔴 Removed user of "${e.type}"`, A, e, I, "users:", i), I <= 0 && (Xd.isLoading(e) || (V0 && console.warn(`🔴 Removed all user of "${e.type}"`, e), RP() &&
|
|
34978
|
+
I > 0 && (I -= 1, e[wd] = I), rQ && console.warn(`🔴 Removed user of "${e.type}"`, A, e, I, "users:", i), I <= 0 && (Xd.isLoading(e) || (V0 && console.warn(`🔴 Removed all user of "${e.type}"`, e), RP() && Xt(e)));
|
|
34979
34979
|
}
|
|
34980
34980
|
e[g] = i;
|
|
34981
34981
|
}
|
|
@@ -39336,7 +39336,7 @@ var iI = class HP {
|
|
|
39336
39336
|
minFilter: _e,
|
|
39337
39337
|
magFilter: _e,
|
|
39338
39338
|
depthBuffer: !1,
|
|
39339
|
-
type:
|
|
39339
|
+
type: Ai
|
|
39340
39340
|
}), this.renderTarget.texture.name = "DepthDownsamplingPass.Target", this.renderTarget.texture.generateMipmaps = !1;
|
|
39341
39341
|
const s = this.resolution = new Rt(this, i, I, A);
|
|
39342
39342
|
s.addEventListener("change", (n) => this.setSize(s.baseWidth, s.baseHeight));
|
|
@@ -54388,7 +54388,7 @@ class BS extends ob {
|
|
|
54388
54388
|
}
|
|
54389
54389
|
if (Y.scanlineBlockSize = Y.lines, Y.type == 1)
|
|
54390
54390
|
switch (T) {
|
|
54391
|
-
case
|
|
54391
|
+
case Ai:
|
|
54392
54392
|
Y.getter = JA, Y.inputSize = 2;
|
|
54393
54393
|
break;
|
|
54394
54394
|
case pi:
|
|
@@ -54397,7 +54397,7 @@ class BS extends ob {
|
|
|
54397
54397
|
}
|
|
54398
54398
|
else if (Y.type == 2)
|
|
54399
54399
|
switch (T) {
|
|
54400
|
-
case
|
|
54400
|
+
case Ai:
|
|
54401
54401
|
Y.getter = Ue, Y.inputSize = 4;
|
|
54402
54402
|
break;
|
|
54403
54403
|
case pi:
|
|
@@ -54411,7 +54411,7 @@ class BS extends ob {
|
|
|
54411
54411
|
Y.outputChannels = Y.channels == 3 ? 4 : Y.channels;
|
|
54412
54412
|
const V = Y.width * Y.height * Y.outputChannels;
|
|
54413
54413
|
switch (T) {
|
|
54414
|
-
case
|
|
54414
|
+
case Ai:
|
|
54415
54415
|
Y.byteArray = new Float32Array(V), Y.channels < Y.outputChannels && Y.byteArray.fill(1, 0, V);
|
|
54416
54416
|
break;
|
|
54417
54417
|
case pi:
|
|
@@ -54567,12 +54567,12 @@ class yF extends ob {
|
|
|
54567
54567
|
const l = Q(h), p = l.width, u = l.height, f = E(h.subarray(h.pos), p, u);
|
|
54568
54568
|
let w, y, M;
|
|
54569
54569
|
switch (this.type) {
|
|
54570
|
-
case
|
|
54570
|
+
case Ai:
|
|
54571
54571
|
M = f.length / 4;
|
|
54572
54572
|
const S = new Float32Array(M * 4);
|
|
54573
54573
|
for (let m = 0; m < M; m++)
|
|
54574
54574
|
c(f, m * 4, S, m * 4);
|
|
54575
|
-
w = S, y =
|
|
54575
|
+
w = S, y = Ai;
|
|
54576
54576
|
break;
|
|
54577
54577
|
case pi:
|
|
54578
54578
|
M = f.length / 4;
|
|
@@ -54600,7 +54600,7 @@ class yF extends ob {
|
|
|
54600
54600
|
load(A, e, t, i) {
|
|
54601
54601
|
function I(o, s) {
|
|
54602
54602
|
switch (o.type) {
|
|
54603
|
-
case
|
|
54603
|
+
case Ai:
|
|
54604
54604
|
case pi:
|
|
54605
54605
|
o.colorSpace = kt, o.minFilter = Re, o.magFilter = Re, o.generateMipmaps = !1, o.flipY = !0;
|
|
54606
54606
|
break;
|
|
@@ -54682,11 +54682,13 @@ class _sA {
|
|
|
54682
54682
|
return this.tryGet(A, kr.Reflection, 0);
|
|
54683
54683
|
}
|
|
54684
54684
|
tryGet(A, e, t) {
|
|
54685
|
-
var I;
|
|
54686
54685
|
if (!A)
|
|
54687
54686
|
return p_ && console.warn("Missing source id"), null;
|
|
54688
|
-
const i =
|
|
54689
|
-
|
|
54687
|
+
const i = this._lightmaps.get(A);
|
|
54688
|
+
if (!i)
|
|
54689
|
+
return null;
|
|
54690
|
+
const I = i.get(e);
|
|
54691
|
+
return I === void 0 || !(I != null && I.length) || I.length <= t ? null : I[t];
|
|
54690
54692
|
}
|
|
54691
54693
|
}
|
|
54692
54694
|
He.lights_fragment_maps = He.lights_fragment_maps.replace("vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );", `
|
|
@@ -63455,7 +63457,7 @@ if (EI) {
|
|
|
63455
63457
|
const s = I[o];
|
|
63456
63458
|
if (s.isBufferGeometry === !0) {
|
|
63457
63459
|
const n = mt.getMeshLODInformation(s), C = n ? Math.min(A, n.lods.length) : 0;
|
|
63458
|
-
I["DEBUG:LOD"] =
|
|
63460
|
+
I["DEBUG:LOD"] = A, mt.assignMeshLOD(I, C), n && (e = Math.max(e, n.lods.length - 1));
|
|
63459
63461
|
} else if (I.isMaterial === !0) {
|
|
63460
63462
|
I["DEBUG:LOD"] = A, mt.assignTextureLOD(I, A);
|
|
63461
63463
|
break;
|
|
@@ -63635,7 +63637,7 @@ const lI = class {
|
|
|
63635
63637
|
for (const o of this.parser.associations.keys())
|
|
63636
63638
|
if (o.isMesh) {
|
|
63637
63639
|
const s = this.parser.associations.get(o);
|
|
63638
|
-
s.meshes === i && lI.registerMesh(this.url,
|
|
63640
|
+
s.meshes === i && lI.registerMesh(this.url, I.guid, o, I.lods.length, s.primitives, I);
|
|
63639
63641
|
}
|
|
63640
63642
|
}
|
|
63641
63643
|
}
|
|
@@ -63767,7 +63769,7 @@ const lI = class {
|
|
|
63767
63769
|
let mt = lI;
|
|
63768
63770
|
mt.registerTexture = (g, A, e, t) => {
|
|
63769
63771
|
EI && console.log("> Progressive: register texture", e, A.name, A.uuid, A, t), A.source && (A.source[vF] = t);
|
|
63770
|
-
const i =
|
|
63772
|
+
const i = t.guid;
|
|
63771
63773
|
lI.assignLODInformation(g, A, i, 0, 0, void 0), lI.lodInfos.set(i, t), lI.lowresCache.set(i, A);
|
|
63772
63774
|
};
|
|
63773
63775
|
mt.registerMesh = (g, A, e, t, i, I) => {
|
|
@@ -63964,13 +63966,14 @@ function PaA(g) {
|
|
|
63964
63966
|
}
|
|
63965
63967
|
class WaA {
|
|
63966
63968
|
constructor(A) {
|
|
63967
|
-
this.modelviewer = A;
|
|
63969
|
+
this._didWarnAboutMissingUrl = !1, this.modelviewer = A;
|
|
63968
63970
|
}
|
|
63969
63971
|
onBeforeUpdateLOD(A, e, t, i) {
|
|
63970
63972
|
this.tryParseMeshLOD(e, i), this.tryParseTextureLOD(e, i);
|
|
63971
63973
|
}
|
|
63972
63974
|
getUrl() {
|
|
63973
|
-
|
|
63975
|
+
let A = this.modelviewer.getAttribute("src");
|
|
63976
|
+
return A || (A = this.modelviewer.src), A || (this._didWarnAboutMissingUrl || console.warn("No url found in modelviewer", this.modelviewer), this._didWarnAboutMissingUrl = !0), A;
|
|
63974
63977
|
}
|
|
63975
63978
|
tryGetCurrentGLTF(A) {
|
|
63976
63979
|
return A._currentGLTF;
|
|
@@ -63980,11 +63983,7 @@ class WaA {
|
|
|
63980
63983
|
return;
|
|
63981
63984
|
e[Cw] = !0;
|
|
63982
63985
|
const t = this.tryGetCurrentGLTF(A), i = this.getUrl();
|
|
63983
|
-
if (
|
|
63984
|
-
console.error("No url found in modelviewer");
|
|
63985
|
-
return;
|
|
63986
|
-
}
|
|
63987
|
-
if (t && e.material) {
|
|
63986
|
+
if (i && t && e.material) {
|
|
63988
63987
|
let I = function(s) {
|
|
63989
63988
|
var C, a, r;
|
|
63990
63989
|
if (s[Cw] == !0)
|
|
@@ -64016,10 +64015,8 @@ class WaA {
|
|
|
64016
64015
|
return;
|
|
64017
64016
|
e[UT] = !0;
|
|
64018
64017
|
const t = this.getUrl();
|
|
64019
|
-
if (!t)
|
|
64020
|
-
console.error("No url found in modelviewer");
|
|
64018
|
+
if (!t)
|
|
64021
64019
|
return;
|
|
64022
|
-
}
|
|
64023
64020
|
const i = (o = (I = e.userData) == null ? void 0 : I.gltfExtensions) == null ? void 0 : o[fr];
|
|
64024
64021
|
if (i && t) {
|
|
64025
64022
|
const s = e.uuid;
|
|
@@ -64491,7 +64488,7 @@ class orA {
|
|
|
64491
64488
|
var t;
|
|
64492
64489
|
this.__currentReflectionId = A;
|
|
64493
64490
|
const e = (t = this._sceneLightSettings) == null ? void 0 : t.get(A);
|
|
64494
|
-
switch (qs && console.log("Enable reflection", A, e ? Bu[e.ambientMode] : "Unknown ambient mode"), e == null ? void 0 : e.ambientMode) {
|
|
64491
|
+
switch (qs && console.log("Enable reflection", A, e ? Bu[e.ambientMode] : "Unknown ambient mode", e), e == null ? void 0 : e.ambientMode) {
|
|
64495
64492
|
case 0:
|
|
64496
64493
|
case 4:
|
|
64497
64494
|
const i = this.internalGetReflection(A);
|
|
@@ -65704,7 +65701,7 @@ The script will be ignored. Please make sure your component extends "Behaviour"
|
|
|
65704
65701
|
const e = (A == null ? void 0 : A.new_scripts) ?? xe.Current.new_scripts;
|
|
65705
65702
|
e.includes(g) || e.push(g);
|
|
65706
65703
|
}
|
|
65707
|
-
const
|
|
65704
|
+
const zt = class {
|
|
65708
65705
|
constructor(A) {
|
|
65709
65706
|
/** The name of the context */
|
|
65710
65707
|
B(this, "name");
|
|
@@ -65841,11 +65838,11 @@ const Vt = class {
|
|
|
65841
65838
|
}
|
|
65842
65839
|
/** When a new context is created this is the framerate that will be used by default */
|
|
65843
65840
|
static get DefaultTargetFrameRate() {
|
|
65844
|
-
return
|
|
65841
|
+
return zt._defaultTargetFramerate.value;
|
|
65845
65842
|
}
|
|
65846
65843
|
/** When a new context is created this is the framerate that will be used by default */
|
|
65847
65844
|
static set DefaultTargetFrameRate(A) {
|
|
65848
|
-
|
|
65845
|
+
zt._defaultTargetFramerate.value = A;
|
|
65849
65846
|
}
|
|
65850
65847
|
/** The default parameters that will be used when creating a new WebGLRenderer.
|
|
65851
65848
|
* Modify in global context to change the default parameters for all new contexts.
|
|
@@ -65856,7 +65853,7 @@ const Vt = class {
|
|
|
65856
65853
|
* ```
|
|
65857
65854
|
*/
|
|
65858
65855
|
static get DefaultWebGLRendererParameters() {
|
|
65859
|
-
return
|
|
65856
|
+
return zt._defaultWebglRendererParameters;
|
|
65860
65857
|
}
|
|
65861
65858
|
/** The needle engine version */
|
|
65862
65859
|
get version() {
|
|
@@ -65976,7 +65973,7 @@ const Vt = class {
|
|
|
65976
65973
|
/** calling this function will dispose the current renderer and create a new one */
|
|
65977
65974
|
createNewRenderer(A) {
|
|
65978
65975
|
var e, t, i;
|
|
65979
|
-
if ((e = this.renderer) == null || e.dispose(), A = { ...
|
|
65976
|
+
if ((e = this.renderer) == null || e.dispose(), A = { ...zt.DefaultWebGLRendererParameters, ...A }, !A.canvas) {
|
|
65980
65977
|
const I = (i = (t = this.domElement) == null ? void 0 : t.shadowRoot) == null ? void 0 : i.querySelector("canvas");
|
|
65981
65978
|
I && (A.canvas = I, Yg && console.log("Using canvas from shadow root", I));
|
|
65982
65979
|
}
|
|
@@ -66050,7 +66047,7 @@ const Vt = class {
|
|
|
66050
66047
|
} catch (i) {
|
|
66051
66048
|
console.error("Error in on dispose callback:", i, t);
|
|
66052
66049
|
}
|
|
66053
|
-
(e = this.domElement) != null && e.parentElement && this.domElement.parentElement.removeChild(this.domElement), this._isCreated = !1, dt.dispatchCallback(Wi.ContextDestroyed, this), dt.unregister(this),
|
|
66050
|
+
(e = this.domElement) != null && e.parentElement && this.domElement.parentElement.removeChild(this.domElement), this._isCreated = !1, dt.dispatchCallback(Wi.ContextDestroyed, this), dt.unregister(this), zt.Current === this && (zt.Current = null);
|
|
66054
66051
|
}
|
|
66055
66052
|
registerCoroutineUpdate(A, e, t) {
|
|
66056
66053
|
return typeof (e == null ? void 0 : e.next) != "function" ? (console.error("Registered invalid coroutine function from " + A.name + `
|
|
@@ -66158,10 +66155,10 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66158
66155
|
(Yg || ue()) && console.error("Needle Engine dependencies failed to load", Q);
|
|
66159
66156
|
}).then(() => {
|
|
66160
66157
|
Yg && console.log("Needle Engine dependencies are ready");
|
|
66161
|
-
})), this.clear(), this.isManagedExternally === !1 && (this.createNewRenderer(), (s = this.renderer) == null || s.setAnimationLoop(null)), await la(1),
|
|
66158
|
+
})), this.clear(), this.isManagedExternally === !1 && (this.createNewRenderer(), (s = this.renderer) == null || s.setAnimationLoop(null)), await la(1), zt.Current = this, await dt.dispatchCallback(Wi.ContextCreationStart, this);
|
|
66162
66159
|
let i = !0, I;
|
|
66163
66160
|
try {
|
|
66164
|
-
|
|
66161
|
+
zt.Current = this, A ? I = await this.internalLoadInitialContent(e, A) : I = [];
|
|
66165
66162
|
} catch (Q) {
|
|
66166
66163
|
console.error(Q), i = !1;
|
|
66167
66164
|
}
|
|
@@ -66169,7 +66166,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66169
66166
|
return !1;
|
|
66170
66167
|
if (this.internalOnUpdateVisible(), !this.renderer)
|
|
66171
66168
|
return Yg && console.warn("Context has no renderer (perhaps it was disconnected?", this.domElement.isConnected), !1;
|
|
66172
|
-
!this.isManagedExternally && !this.domElement.shadowRoot && this.domElement.prepend(this.renderer.domElement),
|
|
66169
|
+
!this.isManagedExternally && !this.domElement.shadowRoot && this.domElement.prepend(this.renderer.domElement), zt.Current = this, zt.Current = this;
|
|
66173
66170
|
for (let Q = 0; Q < this.new_scripts.length; Q++) {
|
|
66174
66171
|
const E = this.new_scripts[Q];
|
|
66175
66172
|
if (E.gameObject !== void 0 && E.gameObject !== null) {
|
|
@@ -66180,9 +66177,9 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66180
66177
|
}
|
|
66181
66178
|
if (this.post_setup_callbacks)
|
|
66182
66179
|
for (let Q = 0; Q < this.post_setup_callbacks.length; Q++)
|
|
66183
|
-
|
|
66180
|
+
zt.Current = this, await this.post_setup_callbacks[Q](this);
|
|
66184
66181
|
if (!this.mainCamera) {
|
|
66185
|
-
|
|
66182
|
+
zt.Current = this;
|
|
66186
66183
|
let Q = null;
|
|
66187
66184
|
ch(this.scene, (E) => {
|
|
66188
66185
|
const c = E;
|
|
@@ -66195,11 +66192,11 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66195
66192
|
}
|
|
66196
66193
|
}), Q ? this.setCurrentCamera(Q) : !dt.dispatchCallback(Wi.MissingCamera, this, { files: I }) && !this.mainCamera && !this.isManagedExternally && console.warn("Missing camera in main scene", this);
|
|
66197
66194
|
}
|
|
66198
|
-
if (this.input.bindEvents(),
|
|
66195
|
+
if (this.input.bindEvents(), zt.Current = this, gS(this), this.physics.engine && ((n = this.physics.engine) == null || n.step(0), (C = this.physics.engine) == null || C.postStep()), !this.isManagedExternally && this.composer && this.mainCamera) {
|
|
66199
66196
|
const Q = new Am(this.scene, this.mainCamera);
|
|
66200
66197
|
this.renderer.setSize(this.domWidth, this.domHeight), this.composer.addPass(Q), this.composer.setSize(this.domWidth, this.domHeight);
|
|
66201
66198
|
}
|
|
66202
|
-
this._sizeChanged = !0, this._stats && (this._stats.showPanel(0), (a = this.domElement.shadowRoot) == null || a.appendChild(this._stats.dom)), Yg && LU(this.scene, !0), this.targetFrameRate === void 0 ? (Yg && console.warn("No target framerate set, using default",
|
|
66199
|
+
this._sizeChanged = !0, this._stats && (this._stats.showPanel(0), (a = this.domElement.shadowRoot) == null || a.appendChild(this._stats.dom)), Yg && LU(this.scene, !0), this.targetFrameRate === void 0 ? (Yg && console.warn("No target framerate set, using default", zt.DefaultTargetFrameRate), this.targetFrameRate = zt._defaultTargetFramerate) : Yg && console.log("Target framerate set to", this.targetFrameRate), this._dispatchReadyAfterFrame = !0;
|
|
66203
66200
|
const o = dt.dispatchCallback(Wi.ContextCreated, this, { files: I });
|
|
66204
66201
|
return o && ("internalSetLoadingMessage" in this.domElement && typeof this.domElement.internalSetLoadingMessage == "function" && ((r = this.domElement) == null || r.internalSetLoadingMessage("finish loading")), await o), wB(this, Wi.ContextCreated), Yg && console.log("Context Created...", this.renderer, this.renderer.domElement), this._isCreating = !1, this.isManagedExternally || this.restartRenderLoop(), o;
|
|
66205
66202
|
}
|
|
@@ -66281,9 +66278,9 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66281
66278
|
return !1;
|
|
66282
66279
|
this._accumulatedTime = 0;
|
|
66283
66280
|
}
|
|
66284
|
-
if ((i = this._stats) == null || i.begin(),
|
|
66281
|
+
if ((i = this._stats) == null || i.begin(), zt.Current = this, this.onHandlePaused())
|
|
66285
66282
|
return !1;
|
|
66286
|
-
for (
|
|
66283
|
+
for (zt.Current = this, this.time.update(), crA && console.log("FPS", this.time.smoothedFps.toFixed(0)), gS(this), ny(this.scene), JP(this), wB(
|
|
66287
66284
|
this,
|
|
66288
66285
|
-1
|
|
66289
66286
|
/* Start */
|
|
@@ -66303,7 +66300,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66303
66300
|
this._currentFrameEvent = 0;
|
|
66304
66301
|
for (let I = 0; I < this.scripts_earlyUpdate.length; I++) {
|
|
66305
66302
|
const o = this.scripts_earlyUpdate[I];
|
|
66306
|
-
o.activeAndEnabled && o.earlyUpdate !== void 0 && (
|
|
66303
|
+
o.activeAndEnabled && o.earlyUpdate !== void 0 && (zt.Current = this, o.earlyUpdate());
|
|
66307
66304
|
}
|
|
66308
66305
|
if (this.executeCoroutines(
|
|
66309
66306
|
0
|
|
@@ -66317,7 +66314,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66317
66314
|
this._currentFrameEvent = 1;
|
|
66318
66315
|
for (let I = 0; I < this.scripts_update.length; I++) {
|
|
66319
66316
|
const o = this.scripts_update[I];
|
|
66320
|
-
o.activeAndEnabled && o.update !== void 0 && (
|
|
66317
|
+
o.activeAndEnabled && o.update !== void 0 && (zt.Current = this, o.update());
|
|
66321
66318
|
}
|
|
66322
66319
|
if (this.executeCoroutines(
|
|
66323
66320
|
1
|
|
@@ -66331,7 +66328,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66331
66328
|
this._currentFrameEvent = 2;
|
|
66332
66329
|
for (let I = 0; I < this.scripts_lateUpdate.length; I++) {
|
|
66333
66330
|
const o = this.scripts_lateUpdate[I];
|
|
66334
|
-
o.activeAndEnabled && o.lateUpdate !== void 0 && (
|
|
66331
|
+
o.activeAndEnabled && o.lateUpdate !== void 0 && (zt.Current = this, o.lateUpdate());
|
|
66335
66332
|
}
|
|
66336
66333
|
if (this.executeCoroutines(
|
|
66337
66334
|
2
|
|
@@ -66346,7 +66343,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66346
66343
|
this._currentFrameEvent = 3;
|
|
66347
66344
|
for (let I = 0; I < this.scripts_onBeforeRender.length; I++) {
|
|
66348
66345
|
const o = this.scripts_onBeforeRender[I];
|
|
66349
|
-
o.activeAndEnabled && o.onBeforeRender !== void 0 && (
|
|
66346
|
+
o.activeAndEnabled && o.onBeforeRender !== void 0 && (zt.Current = this, o.onBeforeRender(e));
|
|
66350
66347
|
}
|
|
66351
66348
|
if (this.executeCoroutines(
|
|
66352
66349
|
3
|
|
@@ -66382,7 +66379,7 @@ Start a coroutine from a component by calling "this.startCoroutine(myCoroutine()
|
|
|
66382
66379
|
if (this.isVisibleToUser || this.runInBackground) {
|
|
66383
66380
|
for (let A = 0; A < this.scripts_onAfterRender.length; A++) {
|
|
66384
66381
|
const e = this.scripts_onAfterRender[A];
|
|
66385
|
-
e.activeAndEnabled && e.onAfterRender !== void 0 && (
|
|
66382
|
+
e.activeAndEnabled && e.onAfterRender !== void 0 && (zt.Current = this, e.onAfterRender());
|
|
66386
66383
|
}
|
|
66387
66384
|
if (this.executeCoroutines(
|
|
66388
66385
|
4
|
|
@@ -66408,7 +66405,7 @@ Memory:`, { ...this.renderer.info.memory })), this._dispatchReadyAfterFrame && (
|
|
|
66408
66405
|
ErA && console.log("Paused?", A, "context:" + this.alias);
|
|
66409
66406
|
for (let e = 0; e < this.scripts_pausedChanged.length; e++) {
|
|
66410
66407
|
const t = this.scripts_pausedChanged[e];
|
|
66411
|
-
t.activeAndEnabled && t.onPausedChanged !== void 0 && (
|
|
66408
|
+
t.activeAndEnabled && t.onPausedChanged !== void 0 && (zt.Current = this, t.onPausedChanged(A, this._wasPaused));
|
|
66412
66409
|
}
|
|
66413
66410
|
}
|
|
66414
66411
|
return this._wasPaused = A, A;
|
|
@@ -66474,7 +66471,7 @@ Memory:`, { ...this.renderer.info.memory })), this._dispatchReadyAfterFrame && (
|
|
|
66474
66471
|
}
|
|
66475
66472
|
}
|
|
66476
66473
|
};
|
|
66477
|
-
let xe =
|
|
66474
|
+
let xe = zt;
|
|
66478
66475
|
B(xe, "_defaultTargetFramerate", { value: 60 }), B(xe, "_defaultWebglRendererParameters", {
|
|
66479
66476
|
antialias: !0,
|
|
66480
66477
|
alpha: !1,
|
|
@@ -66710,7 +66707,7 @@ function IC(g, A = !0, e = !1) {
|
|
|
66710
66707
|
for (const t of uy)
|
|
66711
66708
|
t.gameObject = null, t.context = null;
|
|
66712
66709
|
for (const t of py)
|
|
66713
|
-
GrA(t, !0), e &&
|
|
66710
|
+
GrA(t, !0), e && Xt(t), biA(t);
|
|
66714
66711
|
py.length = 0, uy.length = 0;
|
|
66715
66712
|
}
|
|
66716
66713
|
function YF(g, A = !0, e = !0) {
|
|
@@ -70735,7 +70732,7 @@ class xt extends FA {
|
|
|
70735
70732
|
/** @internal */
|
|
70736
70733
|
onEnable() {
|
|
70737
70734
|
this._enableTime = this.context.time.time;
|
|
70738
|
-
const e = aA.getComponent(this.gameObject,
|
|
70735
|
+
const e = aA.getComponent(this.gameObject, Vt);
|
|
70739
70736
|
this._camera = e;
|
|
70740
70737
|
let t = e == null ? void 0 : e.cam;
|
|
70741
70738
|
if (!t && this.gameObject instanceof Oe && (t = this.gameObject), t && jT(t, this, !0), !this._controls && t instanceof Oe) {
|
|
@@ -70791,7 +70788,7 @@ class xt extends FA {
|
|
|
70791
70788
|
}
|
|
70792
70789
|
__handleSetTargetWhenBecomingActiveTheFirstTime() {
|
|
70793
70790
|
if (!this._didSetTarget && (this._didSetTarget = !0, this.autoTarget)) {
|
|
70794
|
-
const e = aA.getComponent(this.gameObject,
|
|
70791
|
+
const e = aA.getComponent(this.gameObject, Vt);
|
|
70795
70792
|
if (e && !this.setLookTargetFromConstraint()) {
|
|
70796
70793
|
this.debugLog && console.log("NO TARGET");
|
|
70797
70794
|
const i = Te(e.cam).length(), I = new k(0, 0, -i).applyMatrix4(e.cam.matrixWorld);
|
|
@@ -71192,7 +71189,7 @@ const Fd = (Tw = class extends FA {
|
|
|
71192
71189
|
}
|
|
71193
71190
|
/** @internal */
|
|
71194
71191
|
onEnable() {
|
|
71195
|
-
HC && console.log(`Camera enabled: "${this.name}". ClearFlags=${hh[this._clearFlags]}`, this), this.buildCamera(), (this.tag == "MainCamera" || !this.context.mainCameraComponent) && (this.context.setCurrentCamera(this), RBA(this)), this.applyClearFlagsIfIsActiveCamera();
|
|
71192
|
+
HC && console.log(`Camera enabled: "${this.name}". ClearFlags=${hh[this._clearFlags]}`, this), this.buildCamera(), (this.tag == "MainCamera" || !this.context.mainCameraComponent) && (this.context.setCurrentCamera(this), RBA(this)), this.applyClearFlagsIfIsActiveCamera({ applySkybox: !0 });
|
|
71196
71193
|
}
|
|
71197
71194
|
/** @internal */
|
|
71198
71195
|
onDisable() {
|
|
@@ -71227,18 +71224,18 @@ const Fd = (Tw = class extends FA {
|
|
|
71227
71224
|
}
|
|
71228
71225
|
this._cam = e, this._cam.layers.mask = this._cullingMask, this.tag == "MainCamera" && this.context.setCurrentCamera(this);
|
|
71229
71226
|
}
|
|
71230
|
-
applyClearFlagsIfIsActiveCamera() {
|
|
71231
|
-
this.context.mainCameraComponent === this && this.applyClearFlags();
|
|
71227
|
+
applyClearFlagsIfIsActiveCamera(A) {
|
|
71228
|
+
this.context.mainCameraComponent === this && this.applyClearFlags(A);
|
|
71232
71229
|
}
|
|
71233
71230
|
/** Apply this camera's clear flags and related settings to the renderer */
|
|
71234
|
-
applyClearFlags() {
|
|
71231
|
+
applyClearFlags(A) {
|
|
71235
71232
|
if (!this._cam) {
|
|
71236
71233
|
HC && console.log("Camera does not exist (apply clear flags)");
|
|
71237
71234
|
return;
|
|
71238
71235
|
}
|
|
71239
71236
|
if (this.fieldOfView = this._fov, HC) {
|
|
71240
|
-
const
|
|
71241
|
-
console.debug(
|
|
71237
|
+
const e = `Camera "${this.name}" clear flags: ${hh[this._clearFlags]}`;
|
|
71238
|
+
console.debug(e);
|
|
71242
71239
|
}
|
|
71243
71240
|
switch (this._clearFlags) {
|
|
71244
71241
|
case 1:
|
|
@@ -71246,12 +71243,12 @@ const Fd = (Tw = class extends FA {
|
|
|
71246
71243
|
this.context.scene.background = null, this.context.renderer.setClearColor(0, 0);
|
|
71247
71244
|
return;
|
|
71248
71245
|
}
|
|
71249
|
-
this.
|
|
71246
|
+
(!this.scene.background || !this._skybox || (A == null ? void 0 : A.applySkybox) === !0) && this.applySceneSkybox(), this._backgroundBlurriness !== void 0 ? this.context.scene.backgroundBlurriness = this._backgroundBlurriness : HC && console.warn(`Camera "${this.name}" has no background blurriness`), this._backgroundIntensity !== void 0 ? this.context.scene.backgroundIntensity = this._backgroundIntensity : HC && console.warn(`Camera "${this.name}" has no background intensity`);
|
|
71250
71247
|
break;
|
|
71251
71248
|
case 2:
|
|
71252
71249
|
if (this._backgroundColor) {
|
|
71253
|
-
let
|
|
71254
|
-
Fd.backgroundShouldBeTransparent(this.context) && (
|
|
71250
|
+
let e = this._backgroundColor.alpha;
|
|
71251
|
+
Fd.backgroundShouldBeTransparent(this.context) && (e = this.ARBackgroundAlpha ?? 0), this.context.scene.background = null, this.context.renderer.setClearColor(this._backgroundColor, e);
|
|
71255
71252
|
} else
|
|
71256
71253
|
HC && console.warn(`Camera "${this.name}" has no background color`, this);
|
|
71257
71254
|
break;
|
|
@@ -71260,8 +71257,11 @@ const Fd = (Tw = class extends FA {
|
|
|
71260
71257
|
break;
|
|
71261
71258
|
}
|
|
71262
71259
|
}
|
|
71263
|
-
|
|
71264
|
-
|
|
71260
|
+
/**
|
|
71261
|
+
* Apply the skybox to the scene
|
|
71262
|
+
*/
|
|
71263
|
+
applySceneSkybox() {
|
|
71264
|
+
this._skybox || (this._skybox = new MBA(this)), this._skybox.apply();
|
|
71265
71265
|
}
|
|
71266
71266
|
/** Used to determine if the background should be transparent when in pass through AR
|
|
71267
71267
|
* @returns true when in XR on a pass through device where the background shouldbe invisible
|
|
@@ -71279,49 +71279,49 @@ const Fd = (Tw = class extends FA {
|
|
|
71279
71279
|
return A.isInAR && t === "opaque" && ((o = navigator.userAgent) != null && o.includes("OculusBrowser") || (s = navigator.userAgent) != null && s.includes("Mozilla") && ((n = navigator.userAgent) != null && n.includes("Mobile WebXRViewer/v2"))) && (i = !0), e._transparent = i, i;
|
|
71280
71280
|
}
|
|
71281
71281
|
}, B(Tw, "_origin", new k()), B(Tw, "_direction", new k()), Tw);
|
|
71282
|
-
let
|
|
71282
|
+
let Vt = Fd;
|
|
71283
71283
|
co([
|
|
71284
71284
|
D()
|
|
71285
|
-
],
|
|
71285
|
+
], Vt.prototype, "aspect", 1);
|
|
71286
71286
|
co([
|
|
71287
71287
|
D()
|
|
71288
|
-
],
|
|
71288
|
+
], Vt.prototype, "fieldOfView", 1);
|
|
71289
71289
|
co([
|
|
71290
71290
|
D()
|
|
71291
|
-
],
|
|
71291
|
+
], Vt.prototype, "nearClipPlane", 1);
|
|
71292
71292
|
co([
|
|
71293
71293
|
D()
|
|
71294
|
-
],
|
|
71294
|
+
], Vt.prototype, "farClipPlane", 1);
|
|
71295
71295
|
co([
|
|
71296
71296
|
D()
|
|
71297
|
-
],
|
|
71297
|
+
], Vt.prototype, "clearFlags", 1);
|
|
71298
71298
|
co([
|
|
71299
71299
|
D()
|
|
71300
|
-
],
|
|
71300
|
+
], Vt.prototype, "orthographic", 2);
|
|
71301
71301
|
co([
|
|
71302
71302
|
D()
|
|
71303
|
-
],
|
|
71303
|
+
], Vt.prototype, "orthographicSize", 2);
|
|
71304
71304
|
co([
|
|
71305
71305
|
D()
|
|
71306
|
-
],
|
|
71306
|
+
], Vt.prototype, "ARBackgroundAlpha", 2);
|
|
71307
71307
|
co([
|
|
71308
71308
|
D()
|
|
71309
|
-
],
|
|
71309
|
+
], Vt.prototype, "cullingMask", 1);
|
|
71310
71310
|
co([
|
|
71311
71311
|
D()
|
|
71312
|
-
],
|
|
71312
|
+
], Vt.prototype, "backgroundBlurriness", 1);
|
|
71313
71313
|
co([
|
|
71314
71314
|
D()
|
|
71315
|
-
],
|
|
71315
|
+
], Vt.prototype, "backgroundIntensity", 1);
|
|
71316
71316
|
co([
|
|
71317
71317
|
D()
|
|
71318
|
-
],
|
|
71318
|
+
], Vt.prototype, "environmentIntensity", 1);
|
|
71319
71319
|
co([
|
|
71320
71320
|
D(Jt)
|
|
71321
|
-
],
|
|
71321
|
+
], Vt.prototype, "backgroundColor", 1);
|
|
71322
71322
|
co([
|
|
71323
71323
|
D(dQ)
|
|
71324
|
-
],
|
|
71324
|
+
], Vt.prototype, "targetTexture", 1);
|
|
71325
71325
|
class MBA {
|
|
71326
71326
|
constructor(A) {
|
|
71327
71327
|
B(this, "_camera");
|
|
@@ -71332,7 +71332,7 @@ class MBA {
|
|
|
71332
71332
|
var A;
|
|
71333
71333
|
return (A = this._camera) == null ? void 0 : A.context;
|
|
71334
71334
|
}
|
|
71335
|
-
|
|
71335
|
+
apply() {
|
|
71336
71336
|
this._skybox = this.context.lightmaps.tryGetSkybox(this._camera.sourceId), this._skybox ? this.context.scene.background !== this._skybox && (HC && console.log(`Camera "${this._camera.name}" set skybox`, this._camera, this._skybox), this._skybox.mapping = fs, this.context.scene.background = this._skybox) : (this._did_log_failed_to_find_skybox || (this._did_log_failed_to_find_skybox = !0, console.warn(`Camera "${this._camera.name}" failed to load/find skybox texture`, this._camera.sourceId, this.context.lightmaps, "Current background: ", this.context.scene.background)), (HC || ue()) && Ji(`Camera "${this._camera.name}" has no skybox texture`));
|
|
71337
71337
|
}
|
|
71338
71338
|
}
|
|
@@ -71354,7 +71354,7 @@ class pQ extends FA {
|
|
|
71354
71354
|
const e = this.listener;
|
|
71355
71355
|
if (e == null || e.parent)
|
|
71356
71356
|
return;
|
|
71357
|
-
const t = this.context.mainCameraComponent || aA.getComponentInParent(this.gameObject,
|
|
71357
|
+
const t = this.context.mainCameraComponent || aA.getComponentInParent(this.gameObject, Vt);
|
|
71358
71358
|
t != null && t.cam ? t.cam.add(e) : this.gameObject.add(e);
|
|
71359
71359
|
});
|
|
71360
71360
|
}
|
|
@@ -76914,7 +76914,7 @@ BC([
|
|
|
76914
76914
|
D()
|
|
76915
76915
|
], kI.prototype, "scaleFactor", 1);
|
|
76916
76916
|
BC([
|
|
76917
|
-
D(
|
|
76917
|
+
D(Vt)
|
|
76918
76918
|
], kI.prototype, "worldCamera", 2);
|
|
76919
76919
|
BC([
|
|
76920
76920
|
D()
|
|
@@ -78855,7 +78855,7 @@ class U8 extends iI {
|
|
|
78855
78855
|
format: THREE.RedFormat,
|
|
78856
78856
|
type: THREE.FloatType
|
|
78857
78857
|
});*/
|
|
78858
|
-
new KO(this.width / 2, this.height / 2, 2), this.depthDownsampleTarget.texture[0].format = An, this.depthDownsampleTarget.texture[0].type =
|
|
78858
|
+
new KO(this.width / 2, this.height / 2, 2), this.depthDownsampleTarget.texture[0].format = An, this.depthDownsampleTarget.texture[0].type = Ai, this.depthDownsampleTarget.texture[0].minFilter = _e, this.depthDownsampleTarget.texture[0].magFilter = _e, this.depthDownsampleTarget.texture[0].depthBuffer = !1, this.depthDownsampleTarget.texture[1].format = St, this.depthDownsampleTarget.texture[1].type = pi, this.depthDownsampleTarget.texture[1].minFilter = _e, this.depthDownsampleTarget.texture[1].magFilter = _e, this.depthDownsampleTarget.texture[1].depthBuffer = !1, this.depthDownsampleQuad = new FB(new be(fEA))) : (this.depthDownsampleTarget && (this.depthDownsampleTarget.dispose(), this.depthDownsampleTarget = null), this.depthDownsampleQuad && (this.depthDownsampleQuad.dispose(), this.depthDownsampleQuad = null));
|
|
78859
78859
|
}
|
|
78860
78860
|
detectTransparency() {
|
|
78861
78861
|
if (this.autoDetectTransparency) {
|
|
@@ -87173,7 +87173,7 @@ class X8 extends FA {
|
|
|
87173
87173
|
}
|
|
87174
87174
|
onEnable() {
|
|
87175
87175
|
var t;
|
|
87176
|
-
const e = (t = aA.getComponent(this.gameObject,
|
|
87176
|
+
const e = (t = aA.getComponent(this.gameObject, Vt)) == null ? void 0 : t.cam;
|
|
87177
87177
|
if (!e) {
|
|
87178
87178
|
console.warn("FlyControls: Requires a Camera component on the same object as this component.");
|
|
87179
87179
|
return;
|
|
@@ -95118,7 +95118,7 @@ function hY(g) {
|
|
|
95118
95118
|
}
|
|
95119
95119
|
async function suA(g) {
|
|
95120
95120
|
const A = await g;
|
|
95121
|
-
FP(A, !0),
|
|
95121
|
+
FP(A, !0), Xt(A);
|
|
95122
95122
|
}
|
|
95123
95123
|
function nuA(g, A) {
|
|
95124
95124
|
const e = BW();
|
|
@@ -95201,7 +95201,7 @@ class pa extends FA {
|
|
|
95201
95201
|
/** @internal */
|
|
95202
95202
|
onDisable() {
|
|
95203
95203
|
var e;
|
|
95204
|
-
this.context.scene.environment === this._prevLoadedEnvironment && (this.context.scene.environment = this._prevEnvironment,
|
|
95204
|
+
this.context.scene.environment === this._prevLoadedEnvironment && (this.context.scene.environment = this._prevEnvironment, Vt.backgroundShouldBeTransparent(this.context) || (this.context.scene.background = this._prevBackground), this._prevLoadedEnvironment = void 0), this.unregisterDropEvents(), (e = this.context.mainCameraComponent) == null || e.applyClearFlags();
|
|
95205
95205
|
}
|
|
95206
95206
|
urlChangedSyncField() {
|
|
95207
95207
|
this.allowNetworking && this.url && this.isRemoteTexture(this.url) && this.setSkybox(this.url);
|
|
@@ -95216,7 +95216,7 @@ class pa extends FA {
|
|
|
95216
95216
|
var o;
|
|
95217
95217
|
if (!this.activeAndEnabled || !e)
|
|
95218
95218
|
return !1;
|
|
95219
|
-
if (t ?? (t = e), this.isValidTextureType(t) || console.warn("Potentially invalid skybox url", t, "on", this.name), Es && console.log("
|
|
95219
|
+
if (t ?? (t = e), this.isValidTextureType(t) || console.warn("Potentially invalid skybox url", t, "on", this.name), Es && console.log("Set remote skybox url: " + e), this._prevUrl === e && this._prevLoadedEnvironment)
|
|
95220
95220
|
return this.applySkybox(), !0;
|
|
95221
95221
|
(o = this._prevLoadedEnvironment) == null || o.dispose(), this._prevLoadedEnvironment = void 0, this._prevUrl = e;
|
|
95222
95222
|
const i = await this.loadTexture(e, t);
|
|
@@ -95245,7 +95245,7 @@ class pa extends FA {
|
|
|
95245
95245
|
applySkybox() {
|
|
95246
95246
|
var t;
|
|
95247
95247
|
const e = this._prevLoadedEnvironment;
|
|
95248
|
-
e && (e.mapping = zc, e.needsUpdate = !0, this.context.scene.background !== e && (this._prevBackground = this.context.scene.background), this.context.scene.environment !== e && (this._prevEnvironment = this.context.scene.environment), Es && console.log("Set remote skybox", this.url), this.environment && (this.context.scene.environment = e), this.background && !
|
|
95248
|
+
e && (e.mapping = zc, e.needsUpdate = !0, this.context.scene.background !== e && (this._prevBackground = this.context.scene.background), this.context.scene.environment !== e && (this._prevEnvironment = this.context.scene.environment), Es && console.log("Set remote skybox", this.url, !Vt.backgroundShouldBeTransparent(this.context)), this.environment && (this.context.scene.environment = e), this.background && !Vt.backgroundShouldBeTransparent(this.context) && (this.context.scene.background = e), ((t = this.context.mainCameraComponent) == null ? void 0 : t.backgroundBlurriness) !== void 0 && (this.context.scene.backgroundBlurriness = this.context.mainCameraComponent.backgroundBlurriness));
|
|
95249
95249
|
}
|
|
95250
95250
|
isRemoteTexture(e) {
|
|
95251
95251
|
return e.startsWith("http://") || e.startsWith("https://");
|
|
@@ -97280,7 +97280,7 @@ class bJ extends FA {
|
|
|
97280
97280
|
return this.isSpectating && ((e = this.target) == null ? void 0 : e.currentObject) === ((t = this.context.players.getPlayerView(this.localId)) == null ? void 0 : t.currentObject);
|
|
97281
97281
|
}
|
|
97282
97282
|
awake() {
|
|
97283
|
-
if (this._debug = new YuA(this.context, this), this._networking = new WuA(this.context, this), this._networking.awake(), aA.setActive(this.gameObject, !1), this.cam = aA.getComponent(this.gameObject,
|
|
97283
|
+
if (this._debug = new YuA(this.context, this), this._networking = new WuA(this.context, this), this._networking.awake(), aA.setActive(this.gameObject, !1), this.cam = aA.getComponent(this.gameObject, Vt), !this.cam) {
|
|
97284
97284
|
console.warn("SpectatorCamera: Spectator camera needs camera component on the same object.", this);
|
|
97285
97285
|
return;
|
|
97286
97286
|
}
|
|
@@ -98876,10 +98876,10 @@ class CE extends FA {
|
|
|
98876
98876
|
else {
|
|
98877
98877
|
const c = aA.instantiate(this.dataTemplate.asset);
|
|
98878
98878
|
if (Q = c, c instanceof uA)
|
|
98879
|
-
|
|
98879
|
+
Xt(c.geometry), c.geometry = this.createGeometry(C), E(c.material);
|
|
98880
98880
|
else if (c instanceof so)
|
|
98881
98881
|
for (const l of c.children)
|
|
98882
|
-
l instanceof uA && (
|
|
98882
|
+
l instanceof uA && (Xt(l.geometry), l.geometry = this.createGeometry(C), E(l.material));
|
|
98883
98883
|
const d = c.getComponent(Wh);
|
|
98884
98884
|
if (d) {
|
|
98885
98885
|
const l = c;
|
|
@@ -99101,7 +99101,7 @@ const MpA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
99101
99101
|
BoxHelperComponent: Xs,
|
|
99102
99102
|
Button: tB,
|
|
99103
99103
|
CallInfo: sp,
|
|
99104
|
-
Camera:
|
|
99104
|
+
Camera: Vt,
|
|
99105
99105
|
CameraTargetReachedEvent: wS,
|
|
99106
99106
|
Canvas: kI,
|
|
99107
99107
|
CanvasGroup: JQ,
|
|
@@ -99327,7 +99327,7 @@ X.add("BoxGizmo", jh);
|
|
|
99327
99327
|
X.add("BoxHelperComponent", Xs);
|
|
99328
99328
|
X.add("Button", tB);
|
|
99329
99329
|
X.add("CallInfo", sp);
|
|
99330
|
-
X.add("Camera",
|
|
99330
|
+
X.add("Camera", Vt);
|
|
99331
99331
|
X.add("CameraTargetReachedEvent", wS);
|
|
99332
99332
|
X.add("Canvas", kI);
|
|
99333
99333
|
X.add("CanvasGroup", JQ);
|
|
@@ -100298,7 +100298,7 @@ function eA(g, A) {
|
|
|
100298
100298
|
return g.ptr;
|
|
100299
100299
|
}
|
|
100300
100300
|
let _d = null;
|
|
100301
|
-
function
|
|
100301
|
+
function $t() {
|
|
100302
100302
|
return _d !== null && _d.byteLength !== 0 || (_d = new Float32Array(G.memory.buffer)), _d;
|
|
100303
100303
|
}
|
|
100304
100304
|
let Ht = 128;
|
|
@@ -100308,7 +100308,7 @@ function ni(g) {
|
|
|
100308
100308
|
return ct[--Ht] = g, Ht;
|
|
100309
100309
|
}
|
|
100310
100310
|
function mY(g, A) {
|
|
100311
|
-
return g >>>= 0,
|
|
100311
|
+
return g >>>= 0, $t().subarray(g / 4, g / 4 + A);
|
|
100312
100312
|
}
|
|
100313
100313
|
let Td = null;
|
|
100314
100314
|
function xW() {
|
|
@@ -100317,7 +100317,7 @@ function xW() {
|
|
|
100317
100317
|
let Ro = 0;
|
|
100318
100318
|
function xB(g, A) {
|
|
100319
100319
|
const e = A(4 * g.length, 4) >>> 0;
|
|
100320
|
-
return
|
|
100320
|
+
return $t().set(g, e / 4), Ro = g.length, e;
|
|
100321
100321
|
}
|
|
100322
100322
|
function _w(g, A) {
|
|
100323
100323
|
const e = A(4 * g.length, 4) >>> 0;
|
|
@@ -100463,7 +100463,7 @@ class li {
|
|
|
100463
100463
|
try {
|
|
100464
100464
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
100465
100465
|
G.rawcolliderset_coRadius(i, this.__wbg_ptr, A);
|
|
100466
|
-
var e = Ye()[i / 4 + 0], t =
|
|
100466
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
100467
100467
|
return e === 0 ? void 0 : t;
|
|
100468
100468
|
} finally {
|
|
100469
100469
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -100476,7 +100476,7 @@ class li {
|
|
|
100476
100476
|
try {
|
|
100477
100477
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
100478
100478
|
G.rawcolliderset_coHalfHeight(i, this.__wbg_ptr, A);
|
|
100479
|
-
var e = Ye()[i / 4 + 0], t =
|
|
100479
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
100480
100480
|
return e === 0 ? void 0 : t;
|
|
100481
100481
|
} finally {
|
|
100482
100482
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -100489,7 +100489,7 @@ class li {
|
|
|
100489
100489
|
try {
|
|
100490
100490
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
100491
100491
|
G.rawcolliderset_coRoundRadius(i, this.__wbg_ptr, A);
|
|
100492
|
-
var e = Ye()[i / 4 + 0], t =
|
|
100492
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
100493
100493
|
return e === 0 ? void 0 : t;
|
|
100494
100494
|
} finally {
|
|
100495
100495
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101006,7 +101006,7 @@ class WpA {
|
|
|
101006
101006
|
try {
|
|
101007
101007
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101008
101008
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_rest_length(i, this.__wbg_ptr, A);
|
|
101009
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101009
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101010
101010
|
return e === 0 ? void 0 : t;
|
|
101011
101011
|
} finally {
|
|
101012
101012
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101019,7 +101019,7 @@ class WpA {
|
|
|
101019
101019
|
try {
|
|
101020
101020
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101021
101021
|
G.rawdynamicraycastvehiclecontroller_wheel_max_suspension_travel(i, this.__wbg_ptr, A);
|
|
101022
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101022
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101023
101023
|
return e === 0 ? void 0 : t;
|
|
101024
101024
|
} finally {
|
|
101025
101025
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101032,7 +101032,7 @@ class WpA {
|
|
|
101032
101032
|
try {
|
|
101033
101033
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101034
101034
|
G.rawdynamicraycastvehiclecontroller_wheel_radius(i, this.__wbg_ptr, A);
|
|
101035
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101035
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101036
101036
|
return e === 0 ? void 0 : t;
|
|
101037
101037
|
} finally {
|
|
101038
101038
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101045,7 +101045,7 @@ class WpA {
|
|
|
101045
101045
|
try {
|
|
101046
101046
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101047
101047
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_stiffness(i, this.__wbg_ptr, A);
|
|
101048
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101048
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101049
101049
|
return e === 0 ? void 0 : t;
|
|
101050
101050
|
} finally {
|
|
101051
101051
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101058,7 +101058,7 @@ class WpA {
|
|
|
101058
101058
|
try {
|
|
101059
101059
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101060
101060
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_compression(i, this.__wbg_ptr, A);
|
|
101061
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101061
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101062
101062
|
return e === 0 ? void 0 : t;
|
|
101063
101063
|
} finally {
|
|
101064
101064
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101071,7 +101071,7 @@ class WpA {
|
|
|
101071
101071
|
try {
|
|
101072
101072
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101073
101073
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_relaxation(i, this.__wbg_ptr, A);
|
|
101074
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101074
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101075
101075
|
return e === 0 ? void 0 : t;
|
|
101076
101076
|
} finally {
|
|
101077
101077
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101084,7 +101084,7 @@ class WpA {
|
|
|
101084
101084
|
try {
|
|
101085
101085
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101086
101086
|
G.rawdynamicraycastvehiclecontroller_wheel_max_suspension_force(i, this.__wbg_ptr, A);
|
|
101087
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101087
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101088
101088
|
return e === 0 ? void 0 : t;
|
|
101089
101089
|
} finally {
|
|
101090
101090
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101097,7 +101097,7 @@ class WpA {
|
|
|
101097
101097
|
try {
|
|
101098
101098
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101099
101099
|
G.rawdynamicraycastvehiclecontroller_wheel_brake(i, this.__wbg_ptr, A);
|
|
101100
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101100
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101101
101101
|
return e === 0 ? void 0 : t;
|
|
101102
101102
|
} finally {
|
|
101103
101103
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101110,7 +101110,7 @@ class WpA {
|
|
|
101110
101110
|
try {
|
|
101111
101111
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101112
101112
|
G.rawdynamicraycastvehiclecontroller_wheel_steering(i, this.__wbg_ptr, A);
|
|
101113
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101113
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101114
101114
|
return e === 0 ? void 0 : t;
|
|
101115
101115
|
} finally {
|
|
101116
101116
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101123,7 +101123,7 @@ class WpA {
|
|
|
101123
101123
|
try {
|
|
101124
101124
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101125
101125
|
G.rawdynamicraycastvehiclecontroller_wheel_engine_force(i, this.__wbg_ptr, A);
|
|
101126
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101126
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101127
101127
|
return e === 0 ? void 0 : t;
|
|
101128
101128
|
} finally {
|
|
101129
101129
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101150,7 +101150,7 @@ class WpA {
|
|
|
101150
101150
|
try {
|
|
101151
101151
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101152
101152
|
G.rawdynamicraycastvehiclecontroller_wheel_friction_slip(i, this.__wbg_ptr, A);
|
|
101153
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101153
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101154
101154
|
return e === 0 ? void 0 : t;
|
|
101155
101155
|
} finally {
|
|
101156
101156
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101163,7 +101163,7 @@ class WpA {
|
|
|
101163
101163
|
try {
|
|
101164
101164
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101165
101165
|
G.rawdynamicraycastvehiclecontroller_wheel_side_friction_stiffness(i, this.__wbg_ptr, A);
|
|
101166
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101166
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101167
101167
|
return e === 0 ? void 0 : t;
|
|
101168
101168
|
} finally {
|
|
101169
101169
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101176,7 +101176,7 @@ class WpA {
|
|
|
101176
101176
|
try {
|
|
101177
101177
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101178
101178
|
G.rawdynamicraycastvehiclecontroller_wheel_rotation(i, this.__wbg_ptr, A);
|
|
101179
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101179
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101180
101180
|
return e === 0 ? void 0 : t;
|
|
101181
101181
|
} finally {
|
|
101182
101182
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101186,7 +101186,7 @@ class WpA {
|
|
|
101186
101186
|
try {
|
|
101187
101187
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101188
101188
|
G.rawdynamicraycastvehiclecontroller_wheel_forward_impulse(i, this.__wbg_ptr, A);
|
|
101189
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101189
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101190
101190
|
return e === 0 ? void 0 : t;
|
|
101191
101191
|
} finally {
|
|
101192
101192
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101196,7 +101196,7 @@ class WpA {
|
|
|
101196
101196
|
try {
|
|
101197
101197
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101198
101198
|
G.rawdynamicraycastvehiclecontroller_wheel_side_impulse(i, this.__wbg_ptr, A);
|
|
101199
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101199
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101200
101200
|
return e === 0 ? void 0 : t;
|
|
101201
101201
|
} finally {
|
|
101202
101202
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101206,7 +101206,7 @@ class WpA {
|
|
|
101206
101206
|
try {
|
|
101207
101207
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101208
101208
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_force(i, this.__wbg_ptr, A);
|
|
101209
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101209
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101210
101210
|
return e === 0 ? void 0 : t;
|
|
101211
101211
|
} finally {
|
|
101212
101212
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101224,7 +101224,7 @@ class WpA {
|
|
|
101224
101224
|
try {
|
|
101225
101225
|
const i = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101226
101226
|
G.rawdynamicraycastvehiclecontroller_wheel_suspension_length(i, this.__wbg_ptr, A);
|
|
101227
|
-
var e = Ye()[i / 4 + 0], t =
|
|
101227
|
+
var e = Ye()[i / 4 + 0], t = $t()[i / 4 + 1];
|
|
101228
101228
|
return e === 0 ? void 0 : t;
|
|
101229
101229
|
} finally {
|
|
101230
101230
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101576,7 +101576,7 @@ class jpA {
|
|
|
101576
101576
|
try {
|
|
101577
101577
|
const t = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101578
101578
|
G.rawkinematiccharactercontroller_autostepMaxHeight(t, this.__wbg_ptr);
|
|
101579
|
-
var A = Ye()[t / 4 + 0], e =
|
|
101579
|
+
var A = Ye()[t / 4 + 0], e = $t()[t / 4 + 1];
|
|
101580
101580
|
return A === 0 ? void 0 : e;
|
|
101581
101581
|
} finally {
|
|
101582
101582
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101586,7 +101586,7 @@ class jpA {
|
|
|
101586
101586
|
try {
|
|
101587
101587
|
const t = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101588
101588
|
G.rawkinematiccharactercontroller_autostepMinWidth(t, this.__wbg_ptr);
|
|
101589
|
-
var A = Ye()[t / 4 + 0], e =
|
|
101589
|
+
var A = Ye()[t / 4 + 0], e = $t()[t / 4 + 1];
|
|
101590
101590
|
return A === 0 ? void 0 : e;
|
|
101591
101591
|
} finally {
|
|
101592
101592
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -101621,7 +101621,7 @@ class jpA {
|
|
|
101621
101621
|
try {
|
|
101622
101622
|
const t = G.__wbindgen_add_to_stack_pointer(-16);
|
|
101623
101623
|
G.rawkinematiccharactercontroller_snapToGroundDistance(t, this.__wbg_ptr);
|
|
101624
|
-
var A = Ye()[t / 4 + 0], e =
|
|
101624
|
+
var A = Ye()[t / 4 + 0], e = $t()[t / 4 + 1];
|
|
101625
101625
|
return A === 0 ? void 0 : e;
|
|
101626
101626
|
} finally {
|
|
101627
101627
|
G.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -106113,7 +106113,7 @@ dt.registerCallback(Wi.MissingCamera, (g) => {
|
|
|
106113
106113
|
HS && console.warn("Creating missing camera");
|
|
106114
106114
|
const A = g.context.scene, e = new wA();
|
|
106115
106115
|
e.name = "Default Fallback Camera", A.add(e);
|
|
106116
|
-
const t = new
|
|
106116
|
+
const t = new Vt();
|
|
106117
106117
|
t.sourceId = ((s = (o = g.files) == null ? void 0 : o[0]) == null ? void 0 : s.src) ?? "unknown", (n = g.context.domElement.getAttribute("skybox-image")) != null && n.length || 0 > 0 || g.context.lightmaps.tryGetSkybox(t.sourceId) ? t.clearFlags = hh.Skybox : t.clearFlags = hh.SolidColor, t.backgroundColor = new Jt(0.5, 0.5, 0.5, 1), t.fieldOfView = 35, t.backgroundBlurriness = 0.2;
|
|
106118
106118
|
const i = lQ(e, t, !0);
|
|
106119
106119
|
e.position.x = 0, e.position.y = 1, e.position.z = 2;
|
|
@@ -107187,7 +107187,7 @@ export {
|
|
|
107187
107187
|
Wn as ButtonsFactory,
|
|
107188
107188
|
wQA as CallDirection,
|
|
107189
107189
|
sp as CallInfo,
|
|
107190
|
-
|
|
107190
|
+
Vt as Camera,
|
|
107191
107191
|
wS as CameraTargetReachedEvent,
|
|
107192
107192
|
kI as Canvas,
|
|
107193
107193
|
JQ as CanvasGroup,
|
|
@@ -107517,7 +107517,7 @@ export {
|
|
|
107517
107517
|
sF as deserializeObject,
|
|
107518
107518
|
IC as destroy,
|
|
107519
107519
|
xrA as destroyComponentInstance,
|
|
107520
|
-
|
|
107520
|
+
Xt as disposeObjectResources,
|
|
107521
107521
|
Rr as disposeStream,
|
|
107522
107522
|
loA as download,
|
|
107523
107523
|
C4 as download_file,
|