@needle-tools/engine 4.10.4-beta → 4.10.4-next.f6dc9f2

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.
Files changed (62) hide show
  1. package/dist/{needle-engine.bundle-BJLfoj5u.js → needle-engine.bundle-BLWB7qT-.js} +7 -7
  2. package/dist/{needle-engine.bundle-BzGECmgP.umd.cjs → needle-engine.bundle-VwU3FjT0.umd.cjs} +7 -7
  3. package/dist/{needle-engine.bundle-Cbk1ojqe.min.js → needle-engine.bundle-qakLfSFW.min.js} +6 -6
  4. package/dist/needle-engine.js +2 -2
  5. package/dist/needle-engine.min.js +1 -1
  6. package/dist/needle-engine.umd.cjs +1 -1
  7. package/dist/{vendor-CPuBPspY.umd.cjs → vendor-BcsPRUmt.umd.cjs} +1 -1
  8. package/dist/{vendor-MBoqSyFm.js → vendor-CyfN5nor.js} +3 -0
  9. package/dist/{vendor-DPCU8cUF.min.js → vendor-DyavoogU.min.js} +1 -1
  10. package/lib/engine/xr/NeedleXRController.d.ts +1 -0
  11. package/lib/engine/xr/NeedleXRController.js +1 -0
  12. package/lib/engine/xr/NeedleXRController.js.map +1 -1
  13. package/lib/engine/xr/NeedleXRSession.d.ts +1 -0
  14. package/lib/engine/xr/NeedleXRSession.js +1 -0
  15. package/lib/engine/xr/NeedleXRSession.js.map +1 -1
  16. package/lib/engine-components/web/HoverAnimation.d.ts +0 -1
  17. package/lib/engine-components/web/HoverAnimation.js +0 -1
  18. package/lib/engine-components/web/HoverAnimation.js.map +1 -1
  19. package/lib/engine-components/web/ViewBox.d.ts +4 -5
  20. package/lib/engine-components/web/ViewBox.js +4 -5
  21. package/lib/engine-components/web/ViewBox.js.map +1 -1
  22. package/lib/engine-components/webxr/TeleportTarget.d.ts +6 -3
  23. package/lib/engine-components/webxr/TeleportTarget.js +6 -3
  24. package/lib/engine-components/webxr/TeleportTarget.js.map +1 -1
  25. package/lib/engine-components/webxr/WebARCameraBackground.d.ts +3 -0
  26. package/lib/engine-components/webxr/WebARCameraBackground.js +3 -0
  27. package/lib/engine-components/webxr/WebARCameraBackground.js.map +1 -1
  28. package/lib/engine-components/webxr/WebARSessionRoot.d.ts +2 -1
  29. package/lib/engine-components/webxr/WebARSessionRoot.js +2 -1
  30. package/lib/engine-components/webxr/WebARSessionRoot.js.map +1 -1
  31. package/lib/engine-components/webxr/WebXR.d.ts +27 -2
  32. package/lib/engine-components/webxr/WebXR.js +27 -2
  33. package/lib/engine-components/webxr/WebXR.js.map +1 -1
  34. package/lib/engine-components/webxr/WebXRRig.d.ts +4 -0
  35. package/lib/engine-components/webxr/WebXRRig.js +4 -0
  36. package/lib/engine-components/webxr/WebXRRig.js.map +1 -1
  37. package/lib/engine-components/webxr/XRFlag.d.ts +3 -0
  38. package/lib/engine-components/webxr/XRFlag.js +3 -0
  39. package/lib/engine-components/webxr/XRFlag.js.map +1 -1
  40. package/lib/engine-components/webxr/controllers/XRControllerFollow.d.ts +12 -0
  41. package/lib/engine-components/webxr/controllers/XRControllerFollow.js +12 -0
  42. package/lib/engine-components/webxr/controllers/XRControllerFollow.js.map +1 -1
  43. package/lib/engine-components/webxr/controllers/XRControllerModel.d.ts +3 -0
  44. package/lib/engine-components/webxr/controllers/XRControllerModel.js +3 -0
  45. package/lib/engine-components/webxr/controllers/XRControllerModel.js.map +1 -1
  46. package/lib/engine-components/webxr/controllers/XRControllerMovement.d.ts +8 -1
  47. package/lib/engine-components/webxr/controllers/XRControllerMovement.js +8 -1
  48. package/lib/engine-components/webxr/controllers/XRControllerMovement.js.map +1 -1
  49. package/package.json +3 -3
  50. package/src/engine/xr/NeedleXRController.ts +1 -0
  51. package/src/engine/xr/NeedleXRSession.ts +1 -0
  52. package/src/engine-components/web/HoverAnimation.ts +0 -1
  53. package/src/engine-components/web/ViewBox.ts +4 -5
  54. package/src/engine-components/webxr/TeleportTarget.ts +7 -3
  55. package/src/engine-components/webxr/WebARCameraBackground.ts +3 -0
  56. package/src/engine-components/webxr/WebARSessionRoot.ts +2 -1
  57. package/src/engine-components/webxr/WebXR.ts +27 -2
  58. package/src/engine-components/webxr/WebXRRig.ts +4 -0
  59. package/src/engine-components/webxr/XRFlag.ts +3 -0
  60. package/src/engine-components/webxr/controllers/XRControllerFollow.ts +13 -1
  61. package/src/engine-components/webxr/controllers/XRControllerModel.ts +4 -1
  62. package/src/engine-components/webxr/controllers/XRControllerMovement.ts +8 -1
@@ -1,7 +1,7 @@
1
1
  import { Vector2 as ee, Vector3 as y, Vector4 as fe, Quaternion as U, PlaneGeometry as Gn, WebGLRenderer as xr, PerspectiveCamera as le, OrthographicCamera as Xd, Scene as Si, Mesh as G, Texture as Te, Uniform$1 as Vi, Color as se, ShaderMaterial as zn, Box3 as vi, ShadowMaterial as Db, Euler as ot, MeshStandardMaterial as ft, Box3Helper as Sx, GridHelper as km, Object3D as M, Material as _e, Matrix3 as jb, Matrix4 as Z, Layers as po, Ray as mo, MathUtils as ws, AxesHelper as wi, MeshBasicMaterial as we, DoubleSide as Ci, BufferGeometry as dn, Group as lo, CylinderGeometry as Bb, SphereGeometry as Qd, BoxGeometry as va, SpriteMaterial as Cx, Sprite as Px, Shape as Ox, ExtrudeGeometry as kx, Fog as Fb, DirectionalLight as xp, PointLight as Mm, EdgesGeometry as Mx, LineSegments as zb, LineBasicMaterial as Rm, Line as wa, BufferAttribute as pt, Raycaster as Yd, Sphere as Kd, ArrayCamera as Rx, Plane as ur, SkinnedMesh as co, InterleavedBufferAttribute as Ub, Skeleton as Tx, Bone as Ex, WebGLCubeRenderTarget as Ax, CubeCamera as Ix, AnimationClip as xi, FileLoader as Tm, TextureLoader as pc, PropertyBinding as xa, KeyframeTrack as Lx, LinearSRGBColorSpace as Os, ShaderChunk as Gt, UniformsLib as Dx, DataTexture as Em, RGBAFormat as Zd, EquirectangularReflectionMapping as xs, SRGBColorSpace as ks, Clock as jx, NeutralToneMapping as Sa, AgXToneMapping as Jd, ACESFilmicToneMapping as eu, NoToneMapping as hd, PCFSoftShadowMap$1 as Bx, BasicNodeLibrary as Fx, WebGLRenderTarget as Un, DepthTexture as Nb, NearestFilter as dd, LoopRepeat as zx, LoopOnce as Sp, AnimationMixer as Am, CompressedTexture as Ux, FrontSide as go, Camera as Nx, Frustum as _y, AudioListener as $x, PositionalAudio as Wx, AudioLoader as Cp, EventDispatcher as Im, BackSide as tu, MeshDepthMaterial as Vx, CustomBlending as Hx, MaxEquation as Gx, AmbientLight as qx, HemisphereLight as Xx, AlwaysStencilFunc as Qx, GreaterEqualStencilFunc as Yx, NotEqualStencilFunc as Kx, GreaterStencilFunc as Zx, LessEqualStencilFunc as Jx, EqualStencilFunc as eS, LessStencilFunc as tS, NeverStencilFunc as by, InvertStencilOp as iS, DecrementWrapStencilOp as nS, IncrementWrapStencilOp as sS, DecrementStencilOp as oS, IncrementStencilOp as rS, ReplaceStencilOp as aS, ZeroStencilOp as lS, KeepStencilOp as cS, RawShaderMaterial as $b, GLSL3 as hS, AlwaysDepth as dS, GreaterEqualDepth as uS, GreaterDepth as fS, LessEqualDepth as pS, LessDepth as mS, NotEqualDepth as gS, EqualDepth as yS, BatchedMesh as vy, MeshPhysicalMaterial as Pp, LinearFilter as ud, UnsignedByteType as _S, RingGeometry as bS, Line3 as vS, AdditiveBlending as Wb, BoxHelper as wS, SpotLight as xS, DirectionalLightHelper as SS, CameraHelper as CS, LOD as PS, Triangle as OS, NormalBlending as kS, ReinhardToneMapping as Lm, LinearToneMapping as Dm, HalfFloatType as cf, VideoTexture as MS, CubeUVReflectionMapping as Vb, CubeTexture as RS, CompressedCubeTexture as TS, EquirectangularRefractionMapping as ES, CatmullRomCurve3 as AS, VectorKeyframeTrack as IS, QuaternionKeyframeTrack as LS, Audio as DS, ShaderLib as fd, UniformsUtils as Hb, MirroredRepeatWrapping as wy, MeshNormalMaterial as jS, AudioContext as BS, PMREMGenerator$1 as FS } from "./three-CJSAehtG.js";
2
2
  import { createLoaders as jm, getRaycastMesh as Gb, LODsManager as zo, NEEDLE_progressive as Ve, addDracoAndKTX2Loaders as zS, configureLoader as US, setKTX2TranscoderLocation as NS, setDracoDecoderLocation as $S } from "./gltf-progressive-DUR9TuAH.js";
3
3
  import { GroundedSkybox as Ca, Font as WS, TextGeometry as VS, FontLoader as HS, GLTFLoader as Ms, TransformControlsGizmo as qb, EXRLoader as Bm, RGBELoader as Xb, Stats as GS, nodeFrame as qS, OrbitControls as Qb, PositionalAudioHelper as XS, HorizontalBlurShader as QS, VerticalBlurShader as YS, GLTFExporter as Yb, strToU8 as Kb, zipSync as KS, XRControllerModelFactory as ZS, XRHandMeshModel as JS, Line2 as e1, LineGeometry as t1, LineMaterial as i1, TransformControls as n1, InteractiveGroup as s1, HTMLMesh as o1, VertexNormalsHelper as r1, OBJLoader as Fm, FBXLoader as Zb, mergeVertices as a1 } from "./three-examples-Doq0rvFU.js";
4
- import { fetchProfile as l1, MotionController as c1, $70d766613f57b014$export$2e2bcd8739ae039 as xy, ByteBuffer as h1, v5 as Sy, md5 as Cy, SIZE_PREFIX_LENGTH as Jb, Builder as zm, createNoise4D as d1, Matrix4 as hf, BatchedParticleRenderer as u1, ParticleSystem as f1, RenderMode as us, ConstantColor as p1, Vector4 as m1, ConstantValue as g1, TrailParticle as Py, WorkerBase as y1, MeshBVH as _1 } from "./vendor-MBoqSyFm.js";
4
+ import { fetchProfile as l1, MotionController as c1, $70d766613f57b014$export$2e2bcd8739ae039 as xy, ByteBuffer as h1, v5 as Sy, md5 as Cy, SIZE_PREFIX_LENGTH as Jb, Builder as zm, createNoise4D as d1, Matrix4 as hf, BatchedParticleRenderer as u1, ParticleSystem as f1, RenderMode as us, ConstantColor as p1, Vector4 as m1, ConstantValue as g1, TrailParticle as Py, WorkerBase as y1, MeshBVH as _1 } from "./vendor-CyfN5nor.js";
5
5
  import { __webpack_exports__default as Ce, __webpack_exports__Text as e0, __webpack_exports__Block as t0, __webpack_exports__update as b1, SimpleStateBehavior as v1, __webpack_exports__Inline as df, __webpack_exports__FontLibrary as Oy, ThreeMeshUI as ky } from "./three-mesh-ui-CktOi6oI.js";
6
6
  import { EffectAttribute as w1 } from "./postprocessing-DQ2pynXW.js";
7
7
  const uf = /* @__PURE__ */ new Map();
@@ -1777,9 +1777,9 @@ bo('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUIL
1777
1777
  bo('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
1778
1778
  bo('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.10.4-beta";');
1779
1779
  bo('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
1780
- bo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Tue Oct 07 2025 12:59:47 GMT+0000 (Coordinated Universal Time)";');
1780
+ bo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Wed Oct 08 2025 09:12:43 GMT+0000 (Coordinated Universal Time)";');
1781
1781
  bo('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
1782
- const jn = "4.10.4-beta", Hm = "undefined", x0 = "Tue Oct 07 2025 12:59:47 GMT+0000 (Coordinated Universal Time)";
1782
+ const jn = "4.10.4-beta", Hm = "undefined", x0 = "Wed Oct 08 2025 09:12:43 GMT+0000 (Coordinated Universal Time)";
1783
1783
  w0 && console.log(`Engine version: ${jn} (generator: ${Hm})
1784
1784
  Project built at ${x0}`);
1785
1785
  const Dl = NEEDLE_PUBLIC_KEY, uo = "needle_isActiveInHierarchy", Xr = "builtin_components", Gh = "needle_editor_guid";
@@ -3494,7 +3494,7 @@ function YC(s, e) {
3494
3494
  }, s ? new xy(s, e) : new xy(e);
3495
3495
  }
3496
3496
  async function Zy() {
3497
- const s = await import("./vendor-MBoqSyFm.js").then((e) => e.bundler);
3497
+ const s = await import("./vendor-CyfN5nor.js").then((e) => e.bundler);
3498
3498
  return console.log(s), s.default === void 0 ? s : s.default;
3499
3499
  }
3500
3500
  class KC {
@@ -3907,7 +3907,7 @@ class iP {
3907
3907
  }
3908
3908
  console.debug(`⊡ Connecting to networking backend on
3909
3909
  ` + Li);
3910
- const o = await import("./vendor-MBoqSyFm.js").then((c) => c.index), r = o.default?.WebsocketBuilder ?? o.WebsocketBuilder, a = o.default?.ExponentialBackoff ?? o.ExponentialBackoff, l = new r(Li).withMaxRetries(10).withBackoff(new a(2e3, 4)).onOpen(() => {
3910
+ const o = await import("./vendor-CyfN5nor.js").then((c) => c.index), r = o.default?.WebsocketBuilder ?? o.WebsocketBuilder, a = o.default?.ExponentialBackoff ?? o.ExponentialBackoff, l = new r(Li).withMaxRetries(10).withBackoff(new a(2e3, 4)).onOpen(() => {
3911
3911
  this._connectingToWebsocketPromise = null, this._ws = l, this.connected = !0, L() || hi ? console.log(`⊞ Connected to networking backend
3912
3912
  ` + Li) : console.debug("⊞ Connected to networking backend", Li), n(!0), this.onSendQueued(On.OnConnection);
3913
3913
  }).onClose((c) => {
@@ -6108,7 +6108,7 @@ var bd;
6108
6108
  s.runMeshBVHRaycast = e;
6109
6109
  let t = !1, i = null, n = null, o = null, r = null;
6110
6110
  function a() {
6111
- t || (t = !0, import("./vendor-MBoqSyFm.js").then((v) => v.index$1).then((v) => {
6111
+ t || (t = !0, import("./vendor-CyfN5nor.js").then((v) => v.index$1).then((v) => {
6112
6112
  i = v.acceleratedRaycast, n = v.MeshBVH, o = v.StaticGeometryGenerator, r = v.computeBoundsTree;
6113
6113
  }).catch((v) => {
6114
6114
  (Ht || L()) && console.error("Failed to load BVH library...", v.message);
@@ -21244,7 +21244,7 @@ function Nv(s) {
21244
21244
  }
21245
21245
  const JM = w("debugextensions");
21246
21246
  let Dd;
21247
- const eR = import("./vendor-MBoqSyFm.js").then((s) => s.index$2).then(async (s) => (Dd = s.GLTFAnimationPointerExtension, Dd)).catch((s) => {
21247
+ const eR = import("./vendor-CyfN5nor.js").then((s) => s.index$2).then(async (s) => (Dd = s.GLTFAnimationPointerExtension, Dd)).catch((s) => {
21248
21248
  console.warn("Failed to import GLTFLoaderAnimationPointer. Please use @needle-tools/three-animationpointer for full KHR_animation support", s);
21249
21249
  }), mr = new Array();
21250
21250
  function t2(s) {