@needle-tools/engine 4.15.0-next.f391a30 → 4.16.0-next.0798cbb

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 (393) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +92 -46
  3. package/SKILL.md +240 -0
  4. package/components.needle.json +1 -1
  5. package/dist/{gltf-progressive-DYL3SLVb.min.js → gltf-progressive-DQa78GTA.min.js} +1 -1
  6. package/dist/{gltf-progressive-CMwJPwEt.umd.cjs → gltf-progressive-LOFTyzy4.umd.cjs} +1 -1
  7. package/dist/{gltf-progressive-CTlvpS3A.js → gltf-progressive-_wvokUUu.js} +3 -3
  8. package/dist/{materialx-NDD0y4JY.umd.cjs → materialx-BrPdNmQT.umd.cjs} +1 -1
  9. package/dist/{materialx-4jJLLe9Q.js → materialx-CT8J50pg.js} +2 -2
  10. package/dist/{materialx-Bt9FHwco.min.js → materialx-D_ofN96q.min.js} +1 -1
  11. package/dist/{needle-engine.bundle-DsTdfmeb.min.js → needle-engine.bundle-D-KMaXfY.min.js} +109 -111
  12. package/dist/{needle-engine.bundle-C1BFRZDF.umd.cjs → needle-engine.bundle-DEWMFvfK.umd.cjs} +114 -116
  13. package/dist/{needle-engine.bundle-DB4kLWO_.js → needle-engine.bundle-Dz6Tag-6.js} +3209 -3206
  14. package/dist/needle-engine.d.ts +48 -320
  15. package/dist/needle-engine.js +4 -4
  16. package/dist/needle-engine.min.js +1 -1
  17. package/dist/needle-engine.umd.cjs +1 -1
  18. package/dist/{postprocessing-De9ZpJrk.js → postprocessing-C-WOZQC5.js} +2 -2
  19. package/dist/{postprocessing-DYmYOVm4.umd.cjs → postprocessing-CtXfLXvp.umd.cjs} +1 -1
  20. package/dist/{postprocessing-BN-f4viE.min.js → postprocessing-DXm8YKbQ.min.js} +1 -1
  21. package/dist/{three-examples-C0ZCCA_K.js → three-examples.js} +1 -1
  22. package/dist/{three-examples-DmTY8tGr.min.js → three-examples.min.js} +1 -1
  23. package/dist/{three-examples-BHqRVpO_.umd.cjs → three-examples.umd.cjs} +1 -1
  24. package/dist/{three-mesh-ui-BlakAItG.js → three-mesh-ui-B-lqrZWj.js} +1 -1
  25. package/dist/{three-mesh-ui-D828VbQp.umd.cjs → three-mesh-ui-Chib781Y.umd.cjs} +1 -1
  26. package/dist/{three-mesh-ui-5HVE2RV-.min.js → three-mesh-ui-n3JU4M2W.min.js} +1 -1
  27. package/dist/{three-BjYim-vL.umd.cjs → three.umd.cjs} +1 -1
  28. package/dist/{vendor-ixwD-vv2.js → vendor-BsRxp-FT.js} +1 -1
  29. package/dist/{vendor-CIDkyBaO.umd.cjs → vendor-BwxpsdCm.umd.cjs} +1 -1
  30. package/dist/{vendor-BxK0WKmT.min.js → vendor-DZ45lcA8.min.js} +1 -1
  31. package/lib/asap/needle-asap.js.map +1 -1
  32. package/lib/asap/sessiongranted.js.map +1 -1
  33. package/lib/engine/analytics/index.d.ts +1 -1
  34. package/lib/engine/analytics/lcp.js.map +1 -1
  35. package/lib/engine/assets/index.js.map +1 -1
  36. package/lib/engine/debug/debug.d.ts +4 -4
  37. package/lib/engine/debug/debug.js +6 -6
  38. package/lib/engine/debug/debug.js.map +1 -1
  39. package/lib/engine/debug/debug_console.js.map +1 -1
  40. package/lib/engine/debug/debug_overlay.d.ts +16 -1
  41. package/lib/engine/debug/debug_overlay.js +47 -10
  42. package/lib/engine/debug/debug_overlay.js.map +1 -1
  43. package/lib/engine/debug/debug_spatial_console.js.map +1 -1
  44. package/lib/engine/debug/debug_spector.js.map +1 -1
  45. package/lib/engine/engine_accessibility.js.map +1 -1
  46. package/lib/engine/engine_addressables.d.ts +6 -3
  47. package/lib/engine/engine_addressables.js +10 -3
  48. package/lib/engine/engine_addressables.js.map +1 -1
  49. package/lib/engine/engine_animation.js.map +1 -1
  50. package/lib/engine/engine_application.d.ts +0 -7
  51. package/lib/engine/engine_application.js.map +1 -1
  52. package/lib/engine/engine_assetdatabase.js.map +1 -1
  53. package/lib/engine/engine_audio.js.map +1 -1
  54. package/lib/engine/engine_camera.fit.js.map +1 -1
  55. package/lib/engine/engine_camera.js.map +1 -1
  56. package/lib/engine/engine_components.js.map +1 -1
  57. package/lib/engine/engine_components_internal.js.map +1 -1
  58. package/lib/engine/engine_constants.js.map +1 -1
  59. package/lib/engine/engine_context.d.ts +0 -1
  60. package/lib/engine/engine_context.js +1 -1
  61. package/lib/engine/engine_context.js.map +1 -1
  62. package/lib/engine/engine_context_registry.js.map +1 -1
  63. package/lib/engine/engine_coroutine.js.map +1 -1
  64. package/lib/engine/engine_create_objects.js.map +1 -1
  65. package/lib/engine/engine_editor-sync.d.ts +1 -1
  66. package/lib/engine/engine_gameobject.js.map +1 -1
  67. package/lib/engine/engine_generic_utils.js.map +1 -1
  68. package/lib/engine/engine_gizmos.js.map +1 -1
  69. package/lib/engine/engine_gltf.js.map +1 -1
  70. package/lib/engine/engine_gltf_builtin_components.js +2 -2
  71. package/lib/engine/engine_gltf_builtin_components.js.map +1 -1
  72. package/lib/engine/engine_hot_reload.js.map +1 -1
  73. package/lib/engine/engine_input.d.ts +0 -1
  74. package/lib/engine/engine_input.js.map +1 -1
  75. package/lib/engine/engine_instancing.js.map +1 -1
  76. package/lib/engine/engine_license.js.map +1 -1
  77. package/lib/engine/engine_lifecycle_functions_internal.js.map +1 -1
  78. package/lib/engine/engine_lightdata.js.map +1 -1
  79. package/lib/engine/engine_loaders.callbacks.js.map +1 -1
  80. package/lib/engine/engine_loaders.d.ts +7 -4
  81. package/lib/engine/engine_loaders.gltf.js.map +1 -1
  82. package/lib/engine/engine_loaders.js +7 -4
  83. package/lib/engine/engine_loaders.js.map +1 -1
  84. package/lib/engine/engine_lods.js.map +1 -1
  85. package/lib/engine/engine_mainloop_utils.d.ts +0 -1
  86. package/lib/engine/engine_mainloop_utils.js.map +1 -1
  87. package/lib/engine/engine_materialpropertyblock.js.map +1 -1
  88. package/lib/engine/engine_math.js.map +1 -1
  89. package/lib/engine/engine_networking.js.map +1 -1
  90. package/lib/engine/engine_networking_auto.js.map +1 -1
  91. package/lib/engine/engine_networking_blob.js.map +1 -1
  92. package/lib/engine/engine_networking_files.js.map +1 -1
  93. package/lib/engine/engine_networking_instantiate.js.map +1 -1
  94. package/lib/engine/engine_networking_peer.js.map +1 -1
  95. package/lib/engine/engine_networking_streams.js +2 -0
  96. package/lib/engine/engine_networking_streams.js.map +1 -1
  97. package/lib/engine/engine_patcher.js.map +1 -1
  98. package/lib/engine/engine_physics.d.ts +2 -2
  99. package/lib/engine/engine_physics.js.map +1 -1
  100. package/lib/engine/engine_physics_rapier.js.map +1 -1
  101. package/lib/engine/engine_playerview.js.map +1 -1
  102. package/lib/engine/engine_pmrem.js.map +1 -1
  103. package/lib/engine/engine_scenelighting.d.ts +1 -1
  104. package/lib/engine/engine_scenelighting.js.map +1 -1
  105. package/lib/engine/engine_serialization_builtin_serializer.js.map +1 -1
  106. package/lib/engine/engine_serialization_core.js.map +1 -1
  107. package/lib/engine/engine_serialization_decorator.d.ts +2 -2
  108. package/lib/engine/engine_serialization_decorator.js.map +1 -1
  109. package/lib/engine/engine_shaders.js.map +1 -1
  110. package/lib/engine/engine_shims.js.map +1 -1
  111. package/lib/engine/engine_texture.js.map +1 -1
  112. package/lib/engine/engine_three_utils.js.map +1 -1
  113. package/lib/engine/engine_time_utils.js.map +1 -1
  114. package/lib/engine/engine_tonemapping.js.map +1 -1
  115. package/lib/engine/engine_types.d.ts +0 -1
  116. package/lib/engine/engine_types.js.map +1 -1
  117. package/lib/engine/engine_typestore.js.map +1 -1
  118. package/lib/engine/engine_util_decorator.js +1 -1
  119. package/lib/engine/engine_util_decorator.js.map +1 -1
  120. package/lib/engine/engine_utils.js.map +1 -1
  121. package/lib/engine/engine_utils_attributes.js.map +1 -1
  122. package/lib/engine/engine_utils_format.js.map +1 -1
  123. package/lib/engine/engine_utils_qrcode.js.map +1 -1
  124. package/lib/engine/engine_utils_screenshot.js.map +1 -1
  125. package/lib/engine/engine_utils_screenshot.xr.js.map +1 -1
  126. package/lib/engine/export/gltf/EXT_mesh_gpu_instancing_exporter.js.map +1 -1
  127. package/lib/engine/export/gltf/Writers.js.map +1 -1
  128. package/lib/engine/export/gltf/index.js.map +1 -1
  129. package/lib/engine/export/state.js.map +1 -1
  130. package/lib/engine/extensions/EXT_texture_exr.js.map +1 -1
  131. package/lib/engine/extensions/NEEDLE_components.js.map +1 -1
  132. package/lib/engine/extensions/NEEDLE_gameobject_data.js.map +1 -1
  133. package/lib/engine/extensions/NEEDLE_lighting_settings.js.map +1 -1
  134. package/lib/engine/extensions/NEEDLE_lightmaps.js.map +1 -1
  135. package/lib/engine/extensions/NEEDLE_materialx.js.map +1 -1
  136. package/lib/engine/extensions/NEEDLE_persistent_assets.js.map +1 -1
  137. package/lib/engine/extensions/NEEDLE_render_objects.js.map +1 -1
  138. package/lib/engine/extensions/NEEDLE_techniques_webgl.js.map +1 -1
  139. package/lib/engine/extensions/extension_utils.js.map +1 -1
  140. package/lib/engine/extensions/extensions.js.map +1 -1
  141. package/lib/engine/extensions/usage_tracker.js.map +1 -1
  142. package/lib/engine/js-extensions/ExtensionUtils.js.map +1 -1
  143. package/lib/engine/js-extensions/Object3D.js.map +1 -1
  144. package/lib/engine/js-extensions/RGBAColor.js.map +1 -1
  145. package/lib/engine/js-extensions/Vector.js.map +1 -1
  146. package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js.map +1 -1
  147. package/lib/engine/shaders/shaderData.d.ts +6 -6
  148. package/lib/engine/tests/test_utils.js.map +1 -1
  149. package/lib/engine/webcomponents/WebXRButtons.d.ts +0 -1
  150. package/lib/engine/webcomponents/WebXRButtons.js.map +1 -1
  151. package/lib/engine/webcomponents/buttons.js.map +1 -1
  152. package/lib/engine/webcomponents/fonts.js.map +1 -1
  153. package/lib/engine/webcomponents/icons.js.map +1 -1
  154. package/lib/engine/webcomponents/logo-element.d.ts +3 -6
  155. package/lib/engine/webcomponents/logo-element.js +0 -18
  156. package/lib/engine/webcomponents/logo-element.js.map +1 -1
  157. package/lib/engine/webcomponents/needle menu/needle-menu-spatial.js.map +1 -1
  158. package/lib/engine/webcomponents/needle menu/needle-menu.d.ts +7 -10
  159. package/lib/engine/webcomponents/needle menu/needle-menu.js +4 -16
  160. package/lib/engine/webcomponents/needle menu/needle-menu.js.map +1 -1
  161. package/lib/engine/webcomponents/needle-button.js.map +1 -1
  162. package/lib/engine/webcomponents/needle-engine.ar-overlay.d.ts +0 -1
  163. package/lib/engine/webcomponents/needle-engine.ar-overlay.js.map +1 -1
  164. package/lib/engine/webcomponents/needle-engine.d.ts +0 -4
  165. package/lib/engine/webcomponents/needle-engine.js +1 -11
  166. package/lib/engine/webcomponents/needle-engine.js.map +1 -1
  167. package/lib/engine/webcomponents/needle-engine.loading.js.map +1 -1
  168. package/lib/engine/xr/NeedleXRController.d.ts +0 -1
  169. package/lib/engine/xr/NeedleXRController.js +1 -1
  170. package/lib/engine/xr/NeedleXRController.js.map +1 -1
  171. package/lib/engine/xr/NeedleXRSession.d.ts +0 -1
  172. package/lib/engine/xr/NeedleXRSession.js.map +1 -1
  173. package/lib/engine/xr/NeedleXRSync.d.ts +0 -1
  174. package/lib/engine/xr/NeedleXRSync.js.map +1 -1
  175. package/lib/engine/xr/SceneTransition.js.map +1 -1
  176. package/lib/engine/xr/TempXRContext.d.ts +0 -1
  177. package/lib/engine/xr/TempXRContext.js.map +1 -1
  178. package/lib/engine/xr/events.js.map +1 -1
  179. package/lib/engine/xr/internal.js.map +1 -1
  180. package/lib/engine/xr/usdz.js.map +1 -1
  181. package/lib/engine/xr/utils.js.map +1 -1
  182. package/lib/engine-components/AlignmentConstraint.js.map +1 -1
  183. package/lib/engine-components/Animation.js.map +1 -1
  184. package/lib/engine-components/AnimationCurve.js.map +1 -1
  185. package/lib/engine-components/AnimationUtils.js.map +1 -1
  186. package/lib/engine-components/AnimationUtilsAutoplay.js.map +1 -1
  187. package/lib/engine-components/Animator.js.map +1 -1
  188. package/lib/engine-components/AnimatorController.js +1 -1
  189. package/lib/engine-components/AnimatorController.js.map +1 -1
  190. package/lib/engine-components/AudioListener.js.map +1 -1
  191. package/lib/engine-components/AudioSource.js.map +1 -1
  192. package/lib/engine-components/AvatarLoader.js.map +1 -1
  193. package/lib/engine-components/AxesHelper.js.map +1 -1
  194. package/lib/engine-components/BoxHelperComponent.js.map +1 -1
  195. package/lib/engine-components/Camera.js.map +1 -1
  196. package/lib/engine-components/CameraUtils.js.map +1 -1
  197. package/lib/engine-components/CharacterController.js.map +1 -1
  198. package/lib/engine-components/Collider.js.map +1 -1
  199. package/lib/engine-components/Component.d.ts +0 -1
  200. package/lib/engine-components/Component.js.map +1 -1
  201. package/lib/engine-components/ContactShadows.d.ts +0 -1
  202. package/lib/engine-components/ContactShadows.js.map +1 -1
  203. package/lib/engine-components/DeleteBox.js.map +1 -1
  204. package/lib/engine-components/DeviceFlag.js.map +1 -1
  205. package/lib/engine-components/DragControls.js +10 -0
  206. package/lib/engine-components/DragControls.js.map +1 -1
  207. package/lib/engine-components/DropListener.js.map +1 -1
  208. package/lib/engine-components/Duplicatable.js +8 -1
  209. package/lib/engine-components/Duplicatable.js.map +1 -1
  210. package/lib/engine-components/EventList.js.map +1 -1
  211. package/lib/engine-components/EventTrigger.js.map +1 -1
  212. package/lib/engine-components/Gizmos.js.map +1 -1
  213. package/lib/engine-components/GridHelper.js.map +1 -1
  214. package/lib/engine-components/GroundProjection.js.map +1 -1
  215. package/lib/engine-components/Joints.js.map +1 -1
  216. package/lib/engine-components/LODGroup.js.map +1 -1
  217. package/lib/engine-components/Light.js.map +1 -1
  218. package/lib/engine-components/NeedleMenu.js.map +1 -1
  219. package/lib/engine-components/NestedGltf.js.map +1 -1
  220. package/lib/engine-components/Networking.js.map +1 -1
  221. package/lib/engine-components/OffsetConstraint.js.map +1 -1
  222. package/lib/engine-components/OrbitControls.js.map +1 -1
  223. package/lib/engine-components/PlayerColor.js.map +1 -1
  224. package/lib/engine-components/ReflectionProbe.js.map +1 -1
  225. package/lib/engine-components/Renderer.js +2 -1
  226. package/lib/engine-components/Renderer.js.map +1 -1
  227. package/lib/engine-components/RendererInstancing.js.map +1 -1
  228. package/lib/engine-components/RendererLightmap.js.map +1 -1
  229. package/lib/engine-components/RigidBody.js.map +1 -1
  230. package/lib/engine-components/SceneSwitcher.js.map +1 -1
  231. package/lib/engine-components/ScreenCapture.js.map +1 -1
  232. package/lib/engine-components/SeeThrough.js.map +1 -1
  233. package/lib/engine-components/ShadowCatcher.js.map +1 -1
  234. package/lib/engine-components/Skybox.js.map +1 -1
  235. package/lib/engine-components/SmoothFollow.js.map +1 -1
  236. package/lib/engine-components/SpatialTrigger.js.map +1 -1
  237. package/lib/engine-components/SpectatorCamera.js.map +1 -1
  238. package/lib/engine-components/SpriteRenderer.js.map +1 -1
  239. package/lib/engine-components/SyncedCamera.js.map +1 -1
  240. package/lib/engine-components/SyncedRoom.js +1 -1
  241. package/lib/engine-components/SyncedRoom.js.map +1 -1
  242. package/lib/engine-components/SyncedTransform.js.map +1 -1
  243. package/lib/engine-components/TestRunner.js.map +1 -1
  244. package/lib/engine-components/TransformGizmo.js.map +1 -1
  245. package/lib/engine-components/VideoPlayer.js.map +1 -1
  246. package/lib/engine-components/Voip.js.map +1 -1
  247. package/lib/engine-components/avatar/AvatarBlink_Simple.js.map +1 -1
  248. package/lib/engine-components/avatar/AvatarEyeLook_Rotation.js.map +1 -1
  249. package/lib/engine-components/avatar/Avatar_Brain_LookAt.js.map +1 -1
  250. package/lib/engine-components/avatar/Avatar_MouthShapes.js.map +1 -1
  251. package/lib/engine-components/avatar/Avatar_MustacheShake.js.map +1 -1
  252. package/lib/engine-components/debug/LogStats.js.map +1 -1
  253. package/lib/engine-components/export/gltf/GltfExport.js +1 -1
  254. package/lib/engine-components/export/gltf/GltfExport.js.map +1 -1
  255. package/lib/engine-components/export/usdz/ThreeUSDZExporter.d.ts +1 -1
  256. package/lib/engine-components/export/usdz/ThreeUSDZExporter.js +23 -23
  257. package/lib/engine-components/export/usdz/ThreeUSDZExporter.js.map +1 -1
  258. package/lib/engine-components/export/usdz/USDZExporter.js.map +1 -1
  259. package/lib/engine-components/export/usdz/extensions/Animation.d.ts +2 -2
  260. package/lib/engine-components/export/usdz/extensions/Animation.js.map +1 -1
  261. package/lib/engine-components/export/usdz/extensions/NodeMaterialConverter.js.map +1 -1
  262. package/lib/engine-components/export/usdz/extensions/USDZText.js.map +1 -1
  263. package/lib/engine-components/export/usdz/extensions/USDZUI.js.map +1 -1
  264. package/lib/engine-components/export/usdz/extensions/behavior/Actions.js.map +1 -1
  265. package/lib/engine-components/export/usdz/extensions/behavior/AudioExtension.js.map +1 -1
  266. package/lib/engine-components/export/usdz/extensions/behavior/Behaviour.js.map +1 -1
  267. package/lib/engine-components/export/usdz/extensions/behavior/BehaviourComponents.js.map +1 -1
  268. package/lib/engine-components/export/usdz/extensions/behavior/BehavioursBuilder.js.map +1 -1
  269. package/lib/engine-components/export/usdz/extensions/behavior/PhysicsExtension.js.map +1 -1
  270. package/lib/engine-components/export/usdz/utils/animationutils.js.map +1 -1
  271. package/lib/engine-components/export/usdz/utils/quicklook.js.map +1 -1
  272. package/lib/engine-components/particlesystem/ParticleSystem.js.map +1 -1
  273. package/lib/engine-components/particlesystem/ParticleSystemModules.js.map +1 -1
  274. package/lib/engine-components/particlesystem/ParticleSystemSubEmitter.js.map +1 -1
  275. package/lib/engine-components/postprocessing/Effects/Antialiasing.js.map +1 -1
  276. package/lib/engine-components/postprocessing/Effects/BloomEffect.js +2 -2
  277. package/lib/engine-components/postprocessing/Effects/BloomEffect.js.map +1 -1
  278. package/lib/engine-components/postprocessing/Effects/ChromaticAberration.js.map +1 -1
  279. package/lib/engine-components/postprocessing/Effects/ColorAdjustments.js.map +1 -1
  280. package/lib/engine-components/postprocessing/Effects/DepthOfField.js.map +1 -1
  281. package/lib/engine-components/postprocessing/Effects/Pixelation.js.map +1 -1
  282. package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusion.js +2 -2
  283. package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusion.js.map +1 -1
  284. package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusionN8.js.map +1 -1
  285. package/lib/engine-components/postprocessing/Effects/Tonemapping.js.map +1 -1
  286. package/lib/engine-components/postprocessing/Effects/Tonemapping.utils.d.ts +3 -3
  287. package/lib/engine-components/postprocessing/Effects/Tonemapping.utils.js.map +1 -1
  288. package/lib/engine-components/postprocessing/PostProcessingEffect.js.map +1 -1
  289. package/lib/engine-components/postprocessing/PostProcessingHandler.js.map +1 -1
  290. package/lib/engine-components/postprocessing/Volume.js.map +1 -1
  291. package/lib/engine-components/postprocessing/VolumeParameter.js.map +1 -1
  292. package/lib/engine-components/postprocessing/VolumeProfile.js.map +1 -1
  293. package/lib/engine-components/postprocessing/utils.js.map +1 -1
  294. package/lib/engine-components/splines/Spline.js.map +1 -1
  295. package/lib/engine-components/splines/SplineWalker.js.map +1 -1
  296. package/lib/engine-components/timeline/PlayableDirector.js.map +1 -1
  297. package/lib/engine-components/timeline/SignalAsset.js.map +1 -1
  298. package/lib/engine-components/timeline/TimelineTracks.js.map +1 -1
  299. package/lib/engine-components/ui/BaseUIComponent.js.map +1 -1
  300. package/lib/engine-components/ui/Button.js.map +1 -1
  301. package/lib/engine-components/ui/Canvas.js.map +1 -1
  302. package/lib/engine-components/ui/CanvasGroup.js.map +1 -1
  303. package/lib/engine-components/ui/EventSystem.js.map +1 -1
  304. package/lib/engine-components/ui/Graphic.js.map +1 -1
  305. package/lib/engine-components/ui/Image.js.map +1 -1
  306. package/lib/engine-components/ui/InputField.js.map +1 -1
  307. package/lib/engine-components/ui/Layout.js.map +1 -1
  308. package/lib/engine-components/ui/PointerEvents.d.ts +0 -1
  309. package/lib/engine-components/ui/PointerEvents.js.map +1 -1
  310. package/lib/engine-components/ui/RaycastUtils.js.map +1 -1
  311. package/lib/engine-components/ui/Raycaster.js.map +1 -1
  312. package/lib/engine-components/ui/RectTransform.js +2 -2
  313. package/lib/engine-components/ui/RectTransform.js.map +1 -1
  314. package/lib/engine-components/ui/SpatialHtml.js.map +1 -1
  315. package/lib/engine-components/ui/Text.js.map +1 -1
  316. package/lib/engine-components/ui/Utils.js.map +1 -1
  317. package/lib/engine-components/utils/EnvironmentScene.js.map +1 -1
  318. package/lib/engine-components/utils/LookAt.js.map +1 -1
  319. package/lib/engine-components/utils/OpenURL.js.map +1 -1
  320. package/lib/engine-components/web/Clickthrough.js.map +1 -1
  321. package/lib/engine-components/web/CursorFollow.js.map +1 -1
  322. package/lib/engine-components/web/HoverAnimation.js.map +1 -1
  323. package/lib/engine-components/web/ScrollFollow.js.map +1 -1
  324. package/lib/engine-components/web/ViewBox.js +2 -1
  325. package/lib/engine-components/web/ViewBox.js.map +1 -1
  326. package/lib/engine-components/webxr/Avatar.js.map +1 -1
  327. package/lib/engine-components/webxr/WebARCameraBackground.d.ts +0 -1
  328. package/lib/engine-components/webxr/WebARCameraBackground.js.map +1 -1
  329. package/lib/engine-components/webxr/WebARSessionRoot.d.ts +0 -1
  330. package/lib/engine-components/webxr/WebARSessionRoot.js.map +1 -1
  331. package/lib/engine-components/webxr/WebXR.d.ts +0 -1
  332. package/lib/engine-components/webxr/WebXR.js.map +1 -1
  333. package/lib/engine-components/webxr/WebXRImageTracking.d.ts +0 -1
  334. package/lib/engine-components/webxr/WebXRImageTracking.js.map +1 -1
  335. package/lib/engine-components/webxr/WebXRPlaneTracking.d.ts +2 -3
  336. package/lib/engine-components/webxr/WebXRPlaneTracking.js.map +1 -1
  337. package/lib/engine-components/webxr/WebXRRig.d.ts +0 -1
  338. package/lib/engine-components/webxr/WebXRRig.js.map +1 -1
  339. package/lib/engine-components/webxr/XRFlag.js.map +1 -1
  340. package/lib/engine-components/webxr/controllers/XRControllerFollow.d.ts +0 -1
  341. package/lib/engine-components/webxr/controllers/XRControllerFollow.js.map +1 -1
  342. package/lib/engine-components/webxr/controllers/XRControllerModel.d.ts +0 -1
  343. package/lib/engine-components/webxr/controllers/XRControllerModel.js.map +1 -1
  344. package/lib/engine-components/webxr/controllers/XRControllerMovement.js.map +1 -1
  345. package/lib/engine-components-experimental/Presentation.js.map +1 -1
  346. package/lib/engine-components-experimental/networking/PlayerSync.js.map +1 -1
  347. package/lib/engine-schemes/schemes.js.map +1 -1
  348. package/lib/needle-engine.js.map +1 -1
  349. package/package.json +7 -5
  350. package/plugins/common/buildinfo.js +1 -1
  351. package/plugins/common/license.js +5 -6
  352. package/plugins/common/logger.js +104 -14
  353. package/plugins/types/userconfig.d.ts +2 -0
  354. package/plugins/vite/ai.js +4 -18
  355. package/plugins/vite/alias.js +0 -13
  356. package/plugins/vite/asap.js +1 -1
  357. package/plugins/vite/build-pipeline.js +2 -5
  358. package/plugins/vite/buildinfo.js +9 -9
  359. package/plugins/vite/copyfiles.js +19 -16
  360. package/plugins/vite/custom-element-data.js +4 -4
  361. package/plugins/vite/dependencies.js +45 -18
  362. package/plugins/vite/dependency-watcher.js +10 -8
  363. package/plugins/vite/imports-logger.js +14 -12
  364. package/plugins/vite/local-files-analysis.js +10 -12
  365. package/plugins/vite/local-files-core.js +8 -8
  366. package/plugins/vite/local-files-types.d.ts +49 -11
  367. package/plugins/vite/local-files-utils.js +14 -10
  368. package/plugins/vite/logger.client.js +4 -4
  369. package/plugins/vite/logger.js +7 -7
  370. package/plugins/vite/logging.js +26 -3
  371. package/plugins/vite/pwa.js +6 -5
  372. package/plugins/vite/reload.js +27 -24
  373. package/src/asap/needle-asap.ts +1 -1
  374. package/src/engine/debug/debug.ts +8 -7
  375. package/src/engine/debug/debug_overlay.ts +66 -12
  376. package/src/engine/debug/debug_spector.ts +1 -1
  377. package/src/engine/engine_addressables.ts +11 -3
  378. package/src/engine/engine_application.ts +0 -7
  379. package/src/engine/engine_context.ts +1 -1
  380. package/src/engine/engine_gltf_builtin_components.ts +1 -1
  381. package/src/engine/engine_loaders.ts +7 -4
  382. package/src/engine/engine_networking_streams.ts +1 -0
  383. package/src/engine/engine_util_decorator.ts +2 -2
  384. package/src/engine/webcomponents/logo-element.ts +3 -20
  385. package/src/engine/webcomponents/needle menu/needle-menu.ts +11 -25
  386. package/src/engine/webcomponents/needle-engine.ts +1 -13
  387. package/src/engine-components/DragControls.ts +14 -0
  388. package/src/engine-components/Duplicatable.ts +9 -1
  389. package/src/engine-components/Renderer.ts +2 -1
  390. package/src/engine-components/SyncedRoom.ts +1 -1
  391. package/src/engine-components/export/usdz/USDZExporter.ts +1 -1
  392. /package/dist/{three-Bvk2VKbF.js → three.js} +0 -0
  393. /package/dist/{three-IG2qPafA.min.js → three.min.js} +0 -0
@@ -1,5 +1,3 @@
1
- /// <reference types="webxr" />
2
-
3
1
  import { AnimationAction } from 'three';
4
2
  import { AnimationClip } from 'three';
5
3
  import { AnimationMixer } from 'three';
@@ -533,8 +531,8 @@ export declare class AnimationCurve {
533
531
  export declare class AnimationExtension implements IUSDExporterExtension {
534
532
  get extensionName(): string;
535
533
  get animationData(): Map<Object3D<Object3DEventMap>, TransformData[]>;
536
- get registeredClips(): IterableIterator<AnimationClip>;
537
- get animatedRoots(): IterableIterator<Object3D<Object3DEventMap>>;
534
+ get registeredClips(): MapIterator<AnimationClip>;
535
+ get animatedRoots(): MapIterator<Object3D<Object3DEventMap>>;
538
536
  get holdClipMap(): Map<AnimationClip, AnimationClip>;
539
537
  /** For each animated object, contains time/pos/rot/scale samples in the format that USD needs,
540
538
  * ready to be written to the .usda file.
@@ -1310,13 +1308,16 @@ export declare class AssetReference {
1310
1308
  private _loadingPromise;
1311
1309
  /**
1312
1310
  * @returns `true` if the asset has been loaded (via preload) or if it exists already (assigned to `asset`) */
1313
- isLoaded(): boolean | ArrayBuffer;
1311
+ isLoaded(): boolean | ArrayBufferLike;
1314
1312
  /** frees previously allocated memory and destroys the current `asset` instance (if any) */
1315
1313
  unload(): void;
1316
1314
  /** loads the asset binary without creating an instance */
1317
1315
  preload(): Promise<ArrayBufferLike | null>;
1318
- /** Loads the asset and creates one instance (assigned to `asset`)
1319
- * @returns the loaded asset
1316
+ /** Loads the asset and returns a single shared instance (assigned to {@link asset}).
1317
+ * Calling this multiple times will **not** create additional instances — it returns the same `Object3D`.
1318
+ * To create a new independent clone, use {@link instantiate} instead.
1319
+ * @param prog Optional progress callback invoked during download.
1320
+ * @returns The loaded root `Object3D`, or `null` if loading fails.
1320
1321
  */
1321
1322
  loadAssetAsync(prog?: ProgressCallback | null): Promise<Object3D | null>;
1322
1323
  /** loads and returns a new instance of `asset` */
@@ -1918,6 +1919,22 @@ declare enum Axis {
1918
1919
  Vertical = "y"
1919
1920
  }
1920
1921
 
1922
+ declare type BalloonOptions = {
1923
+ type: LogType;
1924
+ /**
1925
+ * A key can be used to update an existing message instead of showing a new one.
1926
+ */
1927
+ key?: string;
1928
+ /**
1929
+ * If true, only show this message once. If the same message is logged again, it will be ignored. Note that messages are considered the same if their text is identical, so using this with dynamic values might lead to unexpected results.
1930
+ */
1931
+ once?: boolean;
1932
+ /**
1933
+ * Duration in seconds for how long the message should be shown. By default, messages will be shown for 10 seconds.
1934
+ */
1935
+ duration?: number;
1936
+ };
1937
+
1921
1938
  /**
1922
1939
  * Derive from this class if you want to implement your own UI components.
1923
1940
  * It provides utility methods and simplifies managing the underlying three-mesh-ui hierarchy.
@@ -2104,7 +2121,7 @@ export declare namespace BlobStorage {
2104
2121
  export function upload(file: File, opts?: UploadOptions): Promise<Upload_Result | null>;
2105
2122
  export function getBlobUrlForKey(key: string): string;
2106
2123
  export function download(url: string, progressCallback?: (prog: ProgressEvent) => void): Promise<Uint8Array | null>;
2107
- {};
2124
+ export {};
2108
2125
  }
2109
2126
 
2110
2127
  /**
@@ -8830,7 +8847,7 @@ export declare namespace InternalScreenshotUtils {
8830
8847
  [key: string]: boolean | number;
8831
8848
  };
8832
8849
  }): FullscreenPlane;
8833
- {};
8850
+ export {};
8834
8851
  }
8835
8852
 
8836
8853
  /* Excluded from this release type: invokeLoadedImportPluginHooks */
@@ -9780,10 +9797,13 @@ export declare class LimitVelocityOverLifetimeModule {
9780
9797
  }
9781
9798
 
9782
9799
  /**
9783
- * Load a 3D model file from a remote URL
9784
- * @param url URL to glTF, FBX or OBJ file
9785
- * @param options
9786
- * @returns A promise that resolves to the loaded model or undefined if the loading failed
9800
+ * Load a 3D model file from a URL (glTF, glb, FBX, OBJ, or any format with a registered loader).
9801
+ * @param url URL to the model file.
9802
+ * @param options Optional loading configuration.
9803
+ * @param options.context The Needle Engine context to load into. Defaults to `Context.Current`.
9804
+ * @param options.seed Seed for generating unique component IDs.
9805
+ * @param options.onprogress Callback invoked with download progress events.
9806
+ * @returns A promise that resolves to the loaded {@link Model} (`GLTF | FBX | OBJ | CustomModel`), or `undefined` if loading fails.
9787
9807
  */
9788
9808
  export declare function loadAsset(url: string, options?: {
9789
9809
  context?: Context;
@@ -10927,7 +10947,7 @@ export declare namespace NeedleEngineModelLoader {
10927
10947
  *
10928
10948
  */
10929
10949
  export function onDetermineModelMimetype(callback: MimetypeCallback): (() => void);
10930
- {};
10950
+ export {};
10931
10951
  }
10932
10952
 
10933
10953
  /**
@@ -10987,10 +11007,7 @@ export declare class NeedleEngineWebComponent extends HTMLElement implements INe
10987
11007
  private _previousSrc;
10988
11008
  /** @private set to true after <needle-engine> did load completely at least once. Set to false when < to false when <needle-engine> is removed from the document removed from the document */
10989
11009
  private _didFullyLoad;
10990
- private _didInitialize;
10991
11010
  constructor();
10992
- private ensureInitialized;
10993
- private initializeDom;
10994
11011
  /* Excluded from this release type: connectedCallback */
10995
11012
  /* Excluded from this release type: disconnectedCallback */
10996
11013
  connectedMoveCallback(): void;
@@ -11444,7 +11461,7 @@ export declare class NeedleUSDZExporter {
11444
11461
  keepObject?: (object: Object3D) => boolean;
11445
11462
  beforeWritingDocument?: () => void;
11446
11463
  constructor();
11447
- parse(scene: Object3D | null | undefined, options?: USDZExporterOptions): Promise<Uint8Array>;
11464
+ parse(scene: Object3D | null | undefined, options?: USDZExporterOptions): Promise<Uint8Array<ArrayBufferLike>>;
11448
11465
  }
11449
11466
 
11450
11467
  /**
@@ -12234,9 +12251,9 @@ export declare class NestedGltf extends Component {
12234
12251
 
12235
12252
  declare enum NEToneMappingMode {
12236
12253
  None = 0,
12237
- Neutral = 1,
12238
- ACES = 2,
12239
- AgX = 3,
12254
+ Neutral = 1,// Neutral tonemapper, close to Reinhard
12255
+ ACES = 2,// ACES Filmic reference tonemapper (custom approximation)
12256
+ AgX = 3,// AgX Filmic tonemapper
12240
12257
  KhronosNeutral = 4
12241
12258
  }
12242
12259
 
@@ -14115,13 +14132,13 @@ export declare class OrbitControls extends Component implements ICameraControlle
14115
14132
  raycastPhysicsFast(origin: Vec2 | Vec3, direction?: Vec3 | undefined, maxDistance?: number, solid?: boolean): {
14116
14133
  point: Vector3;
14117
14134
  collider: ICollider;
14118
- normal?: Vector3 | undefined;
14135
+ normal?: Vector3;
14119
14136
  } | null;
14120
14137
  /**@deprecated use `this.context.physics.engine.raycastAndGetNormal` {@link IPhysicsEngine.raycastAndGetNormal} */
14121
14138
  raycastPhysicsFastAndGetNormal(origin: Vec2 | Vec3, direction?: Vec3 | undefined, maxDistance?: number, solid?: boolean): {
14122
14139
  point: Vector3;
14123
14140
  collider: ICollider;
14124
- normal?: Vector3 | undefined;
14141
+ normal?: Vector3;
14125
14142
  } | null;
14126
14143
  /**@deprecated use this.context.physics.engine.sphereOverlap */
14127
14144
  sphereOverlapPhysics(point: Vector3, radius: number): ShapeOverlapResult[] | null;
@@ -16045,7 +16062,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
16045
16062
  /** the current environment intensity */
16046
16063
  get environmentIntensity(): number;
16047
16064
  /** Get all currently registered scene light settings */
16048
- get sceneLightSettings(): IterableIterator<SceneLightSettings> | undefined;
16065
+ get sceneLightSettings(): MapIterator<SceneLightSettings> | undefined;
16049
16066
  /** set the scene lighting from a specific scene. Will disable any previously enabled lighting settings */
16050
16067
  enable(sourceId: SourceIdentifier | AssetReference): boolean;
16051
16068
  /** disable the lighting of a specific scene, will only have any effect if it is currently active */
@@ -17592,7 +17609,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
17592
17609
  * @see {@link syncField} for automatic network synchronization
17593
17610
  * @link https://engine.needle.tools/docs/reference/typescript-decorators.html#serializable
17594
17611
  */
17595
- export declare const serializable: <T>(type?: Constructor<T> | TypeResolver<T> | (Constructor<any> | TypeResolver<T>)[] | null | undefined) => (_target: any, _propertyKey: string | {
17612
+ export declare const serializable: <T>(type?: Constructor<T> | null | Array<Constructor<any> | TypeResolver<T>> | TypeResolver<T>) => (_target: any, _propertyKey: string | {
17596
17613
  name: string;
17597
17614
  }) => void;
17598
17615
 
@@ -17617,7 +17634,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
17617
17634
  }
17618
17635
 
17619
17636
  /** Please use {@link serializable} - this version has a typo and will be removed in future versions */
17620
- export declare const serializeable: <T>(type?: Constructor<T> | TypeResolver<T> | (Constructor<any> | TypeResolver<T>)[] | null | undefined) => (_target: any, _propertyKey: string | {
17637
+ export declare const serializeable: <T>(type?: Constructor<T> | null | Array<Constructor<any> | TypeResolver<T>> | TypeResolver<T>) => (_target: any, _propertyKey: string | {
17621
17638
  name: string;
17622
17639
  }) => void;
17623
17640
 
@@ -17963,13 +17980,13 @@ export declare class OrbitControls extends Component implements ICameraControlle
17963
17980
  }
17964
17981
 
17965
17982
  /** Displays an error message on screen for a certain amount of time */
17966
- export declare function showBalloonError(text: string): void;
17983
+ export declare function showBalloonError(text: string, options?: Partial<BalloonOptions>): void;
17967
17984
 
17968
17985
  /** Displays a debug message on screen for a certain amount of time */
17969
- export declare function showBalloonMessage(text: string, logType?: LogType): void;
17986
+ export declare function showBalloonMessage(text: string, options?: Partial<BalloonOptions>): void;
17970
17987
 
17971
17988
  /** Displays a warning message on screen for a certain amount of time */
17972
- export declare function showBalloonWarning(text: string): void;
17989
+ export declare function showBalloonWarning(text: string, options?: Partial<BalloonOptions>): void;
17973
17990
 
17974
17991
  export declare function showDebugConsole(): void;
17975
17992
 
@@ -22299,8 +22316,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
22299
22316
  /**
22300
22317
  * Returns all tracked planes
22301
22318
  */
22302
- get trackedPlanes(): IterableIterator<XRPlaneContext>;
22303
- get trackedMeshes(): IterableIterator<XRPlaneContext>;
22319
+ get trackedPlanes(): MapIterator<XRPlaneContext>;
22320
+ get trackedMeshes(): MapIterator<XRPlaneContext>;
22304
22321
  /* Excluded from this release type: onBeforeXR */
22305
22322
  /* Excluded from this release type: onEnterXR */
22306
22323
  onLeaveXR(_args: NeedleXREventArgs): void;
@@ -22710,88 +22727,6 @@ export declare class OrbitControls extends Component implements ICameraControlle
22710
22727
  export { }
22711
22728
 
22712
22729
 
22713
- declare global {
22714
- interface HTMLElementTagNameMap {
22715
- "needle-engine": NeedleEngineWebComponent;
22716
- }
22717
- }
22718
-
22719
-
22720
- declare global {
22721
- interface Navigator {
22722
- userActivation?: {
22723
- isActive: boolean;
22724
- };
22725
- }
22726
- }
22727
-
22728
- export declare namespace NEEDLE_ENGINE_FEATURE_FLAGS {
22729
- let experimentalSmartHierarchyUpdate: boolean;
22730
- }
22731
-
22732
- /**
22733
- * External dependencies that are loaded on demand either by the engine automatically when needed or they can be loaded manually by calling the `load` function.
22734
- *
22735
- * Use the `ready` function to wait for the module to be loaded if you do not wand to trigger a load.
22736
- *
22737
- * If a module is already loaded it's also available in the `MODULE` variable.
22738
- */
22739
- export declare namespace MODULES {
22740
- namespace MaterialX {
22741
- type TYPE = typeof import("@needle-tools/materialx");
22742
- let MODULE: TYPE;
22743
- let MAYBEMODULE: TYPE | null;
22744
- /** Wait for the module to be loaded (doesn't trigger a load) */
22745
- function ready(): Promise<TYPE>;
22746
- /** Load the module */
22747
- function load(): Promise<TYPE>;
22748
- }
22749
- namespace RAPIER_PHYSICS {
22750
- type TYPE = typeof import("@dimforge/rapier3d-compat");
22751
- let MODULE: TYPE;
22752
- let MAYBEMODULE: TYPE | null;
22753
- /** Wait for the module to be loaded (doesn't trigger a load) */
22754
- function ready(): Promise<TYPE>;
22755
- /** Load the module */
22756
- function load(): Promise<TYPE>;
22757
- }
22758
- namespace POSTPROCESSING {
22759
- type TYPE = typeof import("postprocessing");
22760
- let MODULE: TYPE;
22761
- let MAYBEMODULE: TYPE | null;
22762
- /** Wait for the module to be loaded (doesn't trigger a load) */
22763
- function ready(): Promise<TYPE>;
22764
- /** Load the module */
22765
- function load(): Promise<TYPE>;
22766
- }
22767
- namespace POSTPROCESSING_AO {
22768
- type TYPE = typeof import("n8ao");
22769
- let MODULE: TYPE;
22770
- let MAYBEMODULE: TYPE | null;
22771
- /** Wait for the module to be loaded (doesn't trigger a load) */
22772
- function ready(): Promise<TYPE>;
22773
- /** Load the module */
22774
- function load(): Promise<TYPE>;
22775
- }
22776
- }
22777
-
22778
-
22779
- export declare namespace PreviewHelper {
22780
- type PreviewInfo = {
22781
- position?: Vector3Like | Vec3;
22782
- size?: Vector3Like | Vec3;
22783
- };
22784
- function addPreview(params: {
22785
- parent: Object3D;
22786
- guid: string;
22787
- } & PreviewInfo): {
22788
- object: Object3D;
22789
- onProgress: (downloadProgress: number) => void;
22790
- };
22791
- function removePreview(guid: string): void;
22792
- }
22793
-
22794
-
22795
22730
  declare module 'three' {
22796
22731
  interface SkinnedMesh {
22797
22732
  staticGenerator?: StaticGeometryGenerator;
@@ -22814,55 +22749,6 @@ declare module 'three' {
22814
22749
  }
22815
22750
 
22816
22751
 
22817
- declare global {
22818
- interface NavigatorUAData {
22819
- platform: string;
22820
- }
22821
- interface Navigator {
22822
- userAgentData?: NavigatorUAData;
22823
- }
22824
- }
22825
-
22826
-
22827
- /**
22828
- * Utility functions to detect certain device types (mobile, desktop), browsers, or capabilities.
22829
- * @category Utilities
22830
- */
22831
- export declare namespace DeviceUtilities {
22832
- /** @returns `true` for MacOS or Windows devices. `false` for Hololens and other headsets. */
22833
- function isDesktop(): boolean;
22834
- /** @returns `true` if it's a phone or tablet */
22835
- function isMobileDevice(): boolean;
22836
- /** @deprecated use {@link isiPad} instead */
22837
- function isIPad(): boolean;
22838
- /** @returns `true` if we're currently on an iPad */
22839
- function isiPad(): boolean;
22840
- /** @returns `true` if we're currently on an Android device */
22841
- function isAndroidDevice(): boolean;
22842
- /** @returns `true` if we're currently using the Mozilla XR Browser (only available for iOS) */
22843
- function isMozillaXR(): boolean;
22844
- /** @returns `true` if we're currently in the Needle App Clip */
22845
- function isNeedleAppClip(): boolean;
22846
- /** @returns `true` for MacOS devices */
22847
- function isMacOS(): boolean;
22848
- /** @returns `true` for VisionOS devices */
22849
- function isVisionOS(): boolean;
22850
- /** @returns `true` for mobile Apple devices like iPad, iPhone, iPod, Vision Pro, ... */
22851
- function isiOS(): boolean;
22852
- /** @returns `true` if we're currently on safari */
22853
- function isSafari(): boolean;
22854
- /** @returns `true` for Meta Quest devices and browser. */
22855
- function isQuest(): boolean;
22856
- /** @returns `true` if the browser has `<a rel="ar">` support, which indicates USDZ QuickLook support. */
22857
- function supportsQuickLookAR(): boolean;
22858
- /** @returns `true` if the user allowed to use the microphone */
22859
- function microphonePermissionsGranted(): Promise<boolean>;
22860
- function getiOSVersion(): string | null;
22861
- function getChromeVersion(): string | null;
22862
- function getSafariVersion(): string | null;
22863
- }
22864
-
22865
-
22866
22752
  declare module 'three/examples/jsm/controls/OrbitControls.js' {
22867
22753
  interface OrbitControls {
22868
22754
  _sphericalDelta: import("three").Spherical;
@@ -22878,120 +22764,6 @@ declare module 'three/examples/jsm/controls/OrbitControls.js' {
22878
22764
  }
22879
22765
 
22880
22766
 
22881
- declare global {
22882
- interface ViewTimeline {
22883
- axis: 'block' | 'inline';
22884
- currentTime: {
22885
- unit: 'seconds' | 'percent';
22886
- value: number;
22887
- };
22888
- duration: {
22889
- unit: 'seconds' | 'percent';
22890
- value: number;
22891
- };
22892
- source: Element | null;
22893
- startOffset: {
22894
- unit: 'px';
22895
- value: number;
22896
- };
22897
- endOffset: {
22898
- unit: 'px';
22899
- value: number;
22900
- };
22901
- }
22902
- }
22903
-
22904
-
22905
- declare global {
22906
- interface Window {
22907
- SPECTOR?: {
22908
- Spector: new () => Spector;
22909
- };
22910
- }
22911
- interface Spector {
22912
- displayUI: () => void;
22913
- setCanvas: (canvas: HTMLCanvasElement) => void;
22914
- spyCanvases: boolean;
22915
- startCaptureOnNextFrame: () => void;
22916
- captureCanvas: (canvas: HTMLCanvasElement) => any;
22917
- }
22918
- }
22919
-
22920
-
22921
- declare global {
22922
- interface HTMLElementTagNameMap {
22923
- "needle-logo-element": NeedleLogoElement;
22924
- }
22925
- }
22926
-
22927
-
22928
- export declare namespace MaterialX {
22929
- /**
22930
- * Utility function to load a MaterialX material from a URL. This can be used in your own code to load MaterialX materials outside of the glTF loading process. The URL should point to a MaterialX XML file.
22931
- */
22932
- function loadFromUrl(urlOrXML: string, opts?: {
22933
- url?: string;
22934
- loadingManager?: LoadingManager;
22935
- materialNameOrIndex?: number | string;
22936
- }): Promise<import("three").Material | null>;
22937
- }
22938
-
22939
- /**
22940
- * @internal
22941
- */
22942
- export declare namespace InternalAttributeUtils {
22943
- /**
22944
- * Checks if the given value is considered "falsey" in the context of HTML attributes.
22945
- * A value is considered falsey if it is "0" or "false" (case-insensitive).
22946
- *
22947
- * @param value - The attribute value to check.
22948
- * @returns True if the value is falsey, otherwise false.
22949
- */
22950
- function isFalsey(value: string | null): boolean;
22951
- /**
22952
- * Retrieves the value of the specified attribute from the given element.
22953
- * If the attribute value is considered falsey, it returns null.
22954
- * @returns The attribute value or null if falsey.
22955
- */
22956
- function getAttributeValueIfNotFalsey(element: Element, attributeName: string, opts?: {
22957
- onAttribute: (value: string) => void;
22958
- }): string | null;
22959
- /**
22960
- * Retrieves the value of the specified attribute from the given element.
22961
- * If the attribute value is considered falsey, it returns false.
22962
- * If the attribute is not set at all, it returns null.
22963
- * @returns The attribute value, false if falsey, or null if not set.
22964
- *
22965
- * @example
22966
- * ```typescript
22967
- * const result = HTMLAttributeUtils.getAttributeAndCheckFalsey(element, 'data-example', {
22968
- * onAttribute: (value, falsey) => {
22969
- * console.log(`Attribute value: ${value}
22970
- * , Is falsey: ${falsey}`);
22971
- * }
22972
- * });
22973
- *
22974
- * if (result === false) {
22975
- * console.log('The attribute is set to a falsey value.');
22976
- * } else if (result === null) {
22977
- * console.log('The attribute is not set.');
22978
- * } else {
22979
- * console.log(`The attribute value is: ${result}`);
22980
- * }
22981
- * ```
22982
- */
22983
- function getAttributeAndCheckFalsey(element: Element, attributeName: string, opts?: {
22984
- onAttribute: (value: string, falsey: boolean) => void;
22985
- }): false | string | null;
22986
- }
22987
-
22988
- declare global {
22989
- interface HTMLElementTagNameMap {
22990
- "needle-button": NeedleButtonElement;
22991
- }
22992
- }
22993
-
22994
-
22995
22767
  declare module 'three' {
22996
22768
  interface Object3D {
22997
22769
  get guid(): string | undefined;
@@ -23132,52 +22904,8 @@ declare module 'three' {
23132
22904
  }
23133
22905
 
23134
22906
 
23135
- /**
23136
- * @category Splines
23137
- * @see {@link SplineContainer} for the main spline component that defines the path and knots
23138
- */
23139
- export declare namespace SplineUtils {
23140
- /**
23141
- * Creates a SplineContainer from an array of points.
23142
- * @param positions The positions of the knots.
23143
- * @param closed Whether the spline is closed (the last knot connects to the first).
23144
- * @param tension The tension of the spline. 0 is no tension, 1 is high tension (straight lines between knots). Default is 0.75.
23145
- * @return The created SplineContainer component - add it to an Object3D to use it.
23146
- */
23147
- function createFromPoints(positions: Vector3[], closed?: boolean, tension?: number): SplineContainer;
23148
- }
23149
-
23150
- declare global {
23151
- interface HTMLElementTagNameMap {
23152
- "needle-logo-element": NeedleLogoElement;
23153
- }
23154
- }
23155
-
23156
-
23157
- /**
23158
- * Internal registry for USDZ exporters. This is used by NeedleXRSession.start("immersive-ar")
23159
- */
23160
- export declare namespace InternalUSDZRegistry {
23161
- function exportAndOpen(): boolean;
23162
- function registerExporter(exporter: USDZExporter): void;
23163
- function unregisterExporter(exporter: USDZExporter): void;
23164
- }
23165
-
23166
-
23167
22907
  declare module 'three' {
23168
22908
  interface Vector3 {
23169
22909
  slerp(end: Vector3, t: number): Vector3;
23170
22910
  }
23171
22911
  }
23172
-
23173
- export declare namespace LCP {
23174
- function observe(): void;
23175
- }
23176
-
23177
- /**
23178
- * @param args - The arguments to initialize the performance analytics with.
23179
- */
23180
- export declare module NeedleEnginePerformanceAnalytics {
23181
- function init(...args: Array<"lcp">): void;
23182
- }
23183
-
@@ -1,7 +1,7 @@
1
- import { GameObject as r, onClear as i, onDestroy as a, onInitialized as s, onAfterRender as l, onBeforeRender as d, onUpdate as c, onStart as m, TypeStore as p, loadAsset as g, NeedleXRSession as u, Context as S, VERSION as C, Component as y, Components as E } from "./needle-engine.bundle-DB4kLWO_.js";
2
- import { $componentName as A, $physicsKey as T, ActionBuilder as b, ActionCollection as M, ActionModel as I, Addressables as D, AlignmentConstraint as O, AmbientMode as x, Animation as k, AnimationCurve as L, AnimationExtension as N, AnimationTrackHandler as B, AnimationUtils as F, Animator as w, AnimatorConditionMode as U, AnimatorController as G, AnimatorControllerParameterType as W, AnimatorStateInfo as H, Antialiasing as X, Application as z, AssetDatabase as V, AssetReference as _, Attractor as j, AudioExtension as Z, AudioListener as K, AudioSource as Q, AudioTrackHandler as $, Avatar as Y, AvatarBlink_Simple as J, AvatarEyeLook_Rotation as q, AvatarLoader as ee, AvatarMarker as te, AvatarModel as oe, Avatar_Brain_LookAt as re, Avatar_MouthShapes as ne, Avatar_MustacheShake as ie, Avatar_POI as ae, Axes as se, AxesHelper as le, BUILD_TIME as de, BaseUIComponent as ce, BasicIKConstraint as me, BehaviorExtension as pe, BehaviorModel as ge, Component$1 as ue, BlobStorage as Se, BloomEffect as Ce, BoxCollider as ye, BoxGizmo as Ee, BoxHelperComponent as Re, Button as he, ButtonsFactory as fe, CallDirection as ve, CallInfo as Pe, Camera as Ae, CameraTargetReachedEvent as Te, Canvas as be, CanvasGroup as Me, CapsuleCollider as Ie, ChangeMaterialOnClick as De, ChangeTransformOnClick as Oe, CharacterController as xe, CharacterControllerInput as ke, ChromaticAberration as Le, CircularBuffer as Ne, ClearFlags as Be, ClickThrough as Fe, ClipExtrapolation as we, Collider as Ue, Collision as Ge, CollisionDetectionMode as We, ColorAdjustments as He, ColorBySpeedModule as Xe, ColorOverLifetimeModule as ze, Component$1 as Ve, ComponentLifecycleEvents as _e, ConnectionEvents as je, ContactPoint as Ze, ContactShadows as Ke, ContextArgs as Qe, ContextEvent as $e, ContextRegistry as Ye, ControlTrackHandler as Je, CursorFollow as qe, CustomBranding as et, CustomShader as tt, DefaultReflectionMode as ot, Deletable as rt, DeleteBox as nt, DepthOfField as it, DeviceFlag as at, DeviceUtilities as st, DocumentExtension as lt, DragControls as dt, DragMode as ct, DropListener as mt, Duplicatable as pt, EffectWrapper as gt, EmissionModule as ut, EmphasizeOnClick as St, EngineLoadingView as Ct, EnvironmentScene as yt, EventList as Et, EventListEvent as Rt, EventSystem as ht, EventTrigger as ft, FieldWithDefault as vt, FileReference as Pt, FileReferenceSerializer as At, FileSpawnModel as Tt, File_Event as bt, FixedJoint as Mt, Fog as It, FrameEvent as Dt, GENERATOR as Ot, Gizmos as xt, GltfExport as kt, GltfExportBox as Lt, Gradient as Nt, Graphic as Bt, GraphicRaycaster as Ft, Graphics as wt, GridHelper as Ut, GridLayoutGroup as Gt, GroundProjectedEnv as Wt, GroupActionModel as Ht, HideFlags as Xt, HideOnStart as zt, HingeJoint as Vt, HorizontalLayoutGroup as _t, HostData as jt, HoverAnimation as Zt, Image as Kt, ImageReference as Qt, ImageReferenceSerializer as $t, InheritVelocityModule as Yt, Input as Jt, InputEventQueue as qt, InputEvents as eo, InputField as to, InstanceHandle as oo, InstancingHandler as ro, InstancingUtil as no, InstantiateEvent as io, InstantiateIdProvider as ao, InstantiateOptions as so, Interactable as lo, InternalScreenshotUtils as co, JoinedRoomResponse as mo, KeyEventArgs as po, Keyframe as go, LODGroup as uo, LODModel as So, LeftRoomResponse as Co, Light as yo, LightData as Eo, LimitVelocityOverLifetimeModule as Ro, LoadingElementOptions as ho, LogStats as fo, LogType as vo, LookAt as Po, LookAtConstraint as Ao, MainModule as To, MarkerTrackHandler as bo, MarkerType as Mo, MaskableGraphic as Io, MaterialPropertyBlock as Do, MaterialX as Oo, Mathf as xo, MeshCollider as ko, MeshRenderer as Lo, MinMaxCurve as No, MinMaxGradient as Bo, NEEDLE_ENGINE_FEATURE_FLAGS as Fo, MODULES as wo, NEKeyboardEvent as Uo, NEPointerEvent as Go, NeedleButtonElement as Wo, ContextRegistry as Ho, NeedleEngineModelLoader as Xo, NeedleEngineWebComponent as zo, NeedleMenu as Vo, NeedlePatchesKey as _o, USDZExporter as jo, NeedleXRController as Zo, NeedleXRSync as Ko, NeedleXRUtils as Qo, NestedGltf as $o, NetworkConnection as Yo, NetworkedStreamEvents as Jo, NetworkedStreams as qo, Networking as er, NewInstanceModel as tr, NoiseModule as or, ObjectRaycaster as rr, ObjectUtils as nr, OffsetConstraint as ir, OneEuroFilter as ar, OneEuroFilterXYZ as sr, OpenURL as lr, OrbitControls as dr, Outline as cr, OwnershipEvent as mr, OwnershipModel as pr, PUBLIC_KEY as gr, Padding as ur, ParticleBurst as Sr, ParticleSubEmitter as Cr, ParticleSystem as yr, ParticleSystemBaseBehaviour as Er, ParticleSystemRenderer as Rr, ParticleSystemShapeType as hr, PeerHandle as fr, PeerNetworking as vr, Physics as Pr, PhysicsExtension as Ar, PhysicsMaterialCombine as Tr, PixelationEffect as br, PlayAnimationOnClick as Mr, PlayAudioOnClick as Ir, PlayableDirector as Dr, PlayerColor as Or, PlayerState as xr, PlayerStateEvent as kr, PlayerSync as Lr, PlayerView as Nr, PlayerViewManager as Br, PointerEventData as Fr, PointerType as wr, PostProcessingEffect as Ur, PostProcessingEffectOrder as Gr, PostProcessingHandler as Wr, Volume as Hr, PreliminaryAction as Xr, PreliminaryTrigger as zr, PreviewHelper as Vr, PrimitiveType as _r, Progress as jr, PromiseAllWithErrors as Zr, PromiseErrorResult as Kr, RGBAColor as Qr, RapierPhysics as $r, RawImage as Yr, RaycastOptions as Jr, Rect as qr, RectTransform as en, ReflectionProbe as tn, RegisteredAnimationInfo as on, RemoteSkybox as rn, RenderTexture as nn, RenderTextureSerializer as an, Renderer as sn, RendererData as ln, RendererLightmap as dn, Rigidbody as cn, RigidbodyConstraints as mn, RoomEvents as pn, RotationBySpeedModule as gn, RotationOverLifetimeModule as un, SceneLightSettings as Sn, SceneSwitcher as Cn, ScreenCapture as yn, ScreenSpaceAmbientOcclusion as En, ScreenSpaceAmbientOcclusionN8 as Rn, ScrollFollow as hn, SeeThrough as fn, SendQueue as vn, SerializationContext as Pn, SetActiveOnClick as An, ShadowCatcher as Tn, ShapeModule as bn, ShapeOverlapResult as Mn, SharpeningEffect as In, SignalAsset as Dn, SignalReceiver as On, SignalReceiverEvent as xn, SignalTrackHandler as kn, Size as Ln, SizeBySpeedModule as Nn, SizeOverLifetimeModule as Bn, SkinnedMeshRenderer as Fn, SmoothFollow as wn, SpatialGrabRaycaster as Un, SpatialHtml as Gn, SpatialTrigger as Wn, SpatialTriggerReceiver as Hn, SpectatorCamera as Xn, SphereCollider as zn, SphereIntersection as Vn, SplineContainer as _n, SplineData as jn, SplineUtils as Zn, SplineWalker as Kn, Sprite as Qn, SpriteData as $n, SpriteRenderer as Yn, SpriteSheet as Jn, StateMachineBehaviour as qn, StreamEndedEvent as ei, StreamReceivedEvent as ti, SubEmitterSystem as oi, SyncedCamera as ri, SyncedRoom as ni, SyncedTransform as ii, TapGestureTrigger as ai, TeleportTarget as si, TestRunner as li, TestSimulateUserData as di, Text as ci, TextBuilder as mi, TextExtension as pi, TextureSheetAnimationModule as gi, TiltShiftEffect as ui, Time as Si, ToneMappingEffect as Ci, TrackHandler as yi, TrackType as Ei, TrailModule as Ri, TransformData as hi, TransformGizmo as fi, TriggerBuilder as vi, TriggerModel as Pi, UIRaycastUtils as Ai, UIRootComponent as Ti, USDDocument as bi, USDObject as Mi, USDWriter as Ii, USDZExporter$1 as Di, USDZText as Oi, USDZUIExtension as xi, UriSerializer as ki, UsageMarker as Li, UserJoinedOrLeftRoomModel as Ni, VariantAction as Bi, VelocityOverLifetimeModule as Fi, VerticalLayoutGroup as wi, VideoPlayer as Ui, ViewBox as Gi, ViewDevice as Wi, Vignette as Hi, VisibilityAction as Xi, Voip as zi, Volume as Vi, VolumeParameter as _i, VolumeProfile as ji, WaitForFrames as Zi, WaitForPromise as Ki, WaitForSeconds as Qi, Watch as $i, WebARCameraBackground as Yi, WebARSessionRoot as Ji, WebXR as qi, WebXRButtonFactory as ea, WebXRImageTracking as ta, WebXRImageTrackingModel as oa, WebXRPlaneTracking as ra, WebXRTrackedImage as na, XRControllerFollow as ia, XRControllerModel as aa, XRControllerMovement as sa, XRFlag as la, XRRig as da, XRState as ca, XRStateFlag as ma, __Ignore as pa, __internalNotifyObjectDestroyed as ga, activeInHierarchyFieldName as ua, addAttributeChangeCallback as Sa, addComponent as Ca, addCustomExtensionPlugin as ya, addNewComponent as Ea, addPatch as Ra, apply as ha, applyHMRChanges as fa, applyPrototypeExtensions as va, beginListenDestroy as Pa, beginListenInstantiate as Aa, binaryIdentifierCasts as Ta, build_scene_functions as ba, builtinComponentKeyName as Ma, calculateProgress01 as Ia, clearMessages as Da, clearMessages as Oa, colorSerializer as xa, compareAssociation as ka, componentSerializer as La, copyTexture as Na, createMotion as Ba, debugNet as Fa, debugOwner as wa, decompressGpuTexture as Ua, deepClone as Ga, delay as Wa, delayForFrames as Ha, deserializeObject as Xa, destroy as za, destroyComponentInstance as Va, determineMimeTypeFromExtension as _a, disposeObjectResources as ja, disposeStream as Za, editorGuidKeyName as Ka, enableSpatialConsole as Qa, euler as $a, eventListSerializer as Ya, exportAsGLTF as Ja, findByGuid as qa, findObjectOfType as es, findObjectsOfType as ts, findResourceUsers as os, fitCamera as rs, fitObjectIntoVolume as ns, foreachComponent as is, foreachComponentEnumerator as as, forward as ss, generateQRCode as ls, generateSeed as ds, getBoundingBox as cs, getCameraController as ms, getComponent as ps, getComponentInChildren as gs, getComponentInParent as us, getComponents as Ss, getComponentsInChildren as Cs, getComponentsInParent as ys, getFormattedDate as Es, getIconElement as Rs, getIconTexture as hs, getLoader as fs, getOrAddComponent as vs, getParam as Ps, getParentHierarchyPath as As, getPath as Ts, getPeerOptions as bs, getPeerjsInstance as Ms, getResourceUserCount as Is, getTempColor as Ds, getTempQuaternion as Os, getTempVector as xs, getUrlParams as ks, getVisibleInCustomShadowRendering as Ls, getWorldDirection as Ns, getWorldEuler as Bs, getWorldPosition as Fs, getWorldQuaternion as ws, getWorldRotation as Us, getWorldScale as Gs, hasCommercialLicense as Ws, hasIndieLicense as Hs, hasPointerEventComponent as Xs, hasProLicense as zs, hideDebugConsole as Vs, imageToCanvas as _s, instantiate as js, invokeLoadedImportPluginHooks as Zs, invokeXRSessionEnd as Ks, invokeXRSessionStart as Qs, isActiveInHierarchy as $s, isActiveSelf as Ys, isAndroidDevice as Js, isAnimationAction as qs, isComponent as el, isDebugMode as tl, isDesktop as ol, isDestroyed as rl, isDevEnvironment as nl, isDisposed as il, isExporting as al, isGLTFModel as sl, isHostedOnGlitch as ll, isHotReloadEnabled as dl, isHotReloading as cl, isIPad as ml, isIconElement as pl, isLocalNetwork as gl, isMacOS as ul, isMobileDevice as Sl, isMozillaXR as Cl, isQuest as yl, isResourceTrackingEnabled as El, isSafari as Rl, isUsingInstancing as hl, isiOS as fl, isiPad as vl, loadPMREM as Pl, loadSync as Al, logHierarchy as Tl, lookAtInverse as bl, lookAtObject as Ml, lookAtScreenPoint as Il, makeId as Dl, makeIdFromRandomWords as Ol, makeNameSafe as xl, markAsInstancedRendered as kl, microphonePermissionsGranted as Ll, nameof as Nl, nameofFactory as Bl, objectSerializer as Fl, offXRSessionEnd as wl, offXRSessionStart as Ul, onXRSessionEnd as Gl, onXRSessionStart as Wl, parseSync as Hl, placeOnSurface as Xl, postprocessFBXMaterials as zl, prefix as Vl, pushState as _l, randomNumber as jl, registerBinaryType as Zl, registerComponent as Kl, registerComponentExtension as Ql, registerCustomEffectType as $l, registerExportExtensions as Yl, registerExtensions as Jl, registerHotReloadType as ql, registerLoader as ed, registerPrefabProvider as td, registerPrototypeExtensions as od, registerType as rd, relativePathPrefix as nd, removeAttributeChangeCallback as id, removeComponent as ad, removeCustomImportExtensionType as sd, removePatch as ld, resolveUrl as dd, sanitizeString as cd, saveImage as md, screenshot as pd, screenshot2 as gd, sendDestroyed as ud, serializable as Sd, serializeObject as Cd, serializeable as yd, setActive as Ed, setAllowBalloonMessages as Rd, setAllowOverlayMessages as hd, setAutoFitEnabled as fd, setCameraController as vd, setDestroyed as Pd, setDevEnvironment as Ad, setDisposable as Td, setDontDestroy as bd, setOrAddParamsToUrl as Md, setParam as Id, setParamWithoutReload as Dd, setPeerOptions as Od, setResourceTrackingEnabled as xd, setState as kd, setVisibleInCustomShadowRendering as Ld, setWorldEuler as Nd, setWorldPosition as Bd, setWorldPositionXYZ as Fd, setWorldQuaternion as wd, setWorldQuaternionXYZW as Ud, setWorldRotation as Gd, setWorldRotationXYZ as Wd, setWorldScale as Hd, showBalloonError as Xd, showBalloonMessage as zd, showBalloonWarning as Vd, showDebugConsole as _d, slerp as jd, syncDestroy as Zd, syncField as Kd, syncInstantiate as Qd, textureToCanvas as $d, toSourceId as Yd, tryCastBinary as Jd, tryDetermineMimetypeFromBinary as qd, tryDetermineMimetypeFromURL as ec, tryFindObject as tc, tryGetGuid as oc, unregisterHotReloadType as rc, unwatchWrite as nc, useForAutoFit as ic, validate as ac, watchWrite as sc } from "./needle-engine.bundle-DB4kLWO_.js";
3
- import { NEEDLE_progressive as dc } from "./gltf-progressive-CTlvpS3A.js";
4
- import { THREE as R } from "./three-Bvk2VKbF.js";
1
+ import { GameObject as r, onClear as i, onDestroy as a, onInitialized as s, onAfterRender as l, onBeforeRender as d, onUpdate as c, onStart as m, TypeStore as p, loadAsset as g, NeedleXRSession as u, Context as S, VERSION as C, Component as y, Components as E } from "./needle-engine.bundle-Dz6Tag-6.js";
2
+ import { $componentName as A, $physicsKey as T, ActionBuilder as b, ActionCollection as M, ActionModel as I, Addressables as D, AlignmentConstraint as O, AmbientMode as x, Animation as k, AnimationCurve as L, AnimationExtension as N, AnimationTrackHandler as B, AnimationUtils as F, Animator as w, AnimatorConditionMode as U, AnimatorController as G, AnimatorControllerParameterType as W, AnimatorStateInfo as H, Antialiasing as X, Application as z, AssetDatabase as V, AssetReference as _, Attractor as j, AudioExtension as Z, AudioListener as K, AudioSource as Q, AudioTrackHandler as $, Avatar as Y, AvatarBlink_Simple as J, AvatarEyeLook_Rotation as q, AvatarLoader as ee, AvatarMarker as te, AvatarModel as oe, Avatar_Brain_LookAt as re, Avatar_MouthShapes as ne, Avatar_MustacheShake as ie, Avatar_POI as ae, Axes as se, AxesHelper as le, BUILD_TIME as de, BaseUIComponent as ce, BasicIKConstraint as me, BehaviorExtension as pe, BehaviorModel as ge, Component$1 as ue, BlobStorage as Se, BloomEffect as Ce, BoxCollider as ye, BoxGizmo as Ee, BoxHelperComponent as Re, Button as he, ButtonsFactory as fe, CallDirection as ve, CallInfo as Pe, Camera as Ae, CameraTargetReachedEvent as Te, Canvas as be, CanvasGroup as Me, CapsuleCollider as Ie, ChangeMaterialOnClick as De, ChangeTransformOnClick as Oe, CharacterController as xe, CharacterControllerInput as ke, ChromaticAberration as Le, CircularBuffer as Ne, ClearFlags as Be, ClickThrough as Fe, ClipExtrapolation as we, Collider as Ue, Collision as Ge, CollisionDetectionMode as We, ColorAdjustments as He, ColorBySpeedModule as Xe, ColorOverLifetimeModule as ze, Component$1 as Ve, ComponentLifecycleEvents as _e, ConnectionEvents as je, ContactPoint as Ze, ContactShadows as Ke, ContextArgs as Qe, ContextEvent as $e, ContextRegistry as Ye, ControlTrackHandler as Je, CursorFollow as qe, CustomBranding as et, CustomShader as tt, DefaultReflectionMode as ot, Deletable as rt, DeleteBox as nt, DepthOfField as it, DeviceFlag as at, DeviceUtilities as st, DocumentExtension as lt, DragControls as dt, DragMode as ct, DropListener as mt, Duplicatable as pt, EffectWrapper as gt, EmissionModule as ut, EmphasizeOnClick as St, EngineLoadingView as Ct, EnvironmentScene as yt, EventList as Et, EventListEvent as Rt, EventSystem as ht, EventTrigger as ft, FieldWithDefault as vt, FileReference as Pt, FileReferenceSerializer as At, FileSpawnModel as Tt, File_Event as bt, FixedJoint as Mt, Fog as It, FrameEvent as Dt, GENERATOR as Ot, Gizmos as xt, GltfExport as kt, GltfExportBox as Lt, Gradient as Nt, Graphic as Bt, GraphicRaycaster as Ft, Graphics as wt, GridHelper as Ut, GridLayoutGroup as Gt, GroundProjectedEnv as Wt, GroupActionModel as Ht, HideFlags as Xt, HideOnStart as zt, HingeJoint as Vt, HorizontalLayoutGroup as _t, HostData as jt, HoverAnimation as Zt, Image as Kt, ImageReference as Qt, ImageReferenceSerializer as $t, InheritVelocityModule as Yt, Input as Jt, InputEventQueue as qt, InputEvents as eo, InputField as to, InstanceHandle as oo, InstancingHandler as ro, InstancingUtil as no, InstantiateEvent as io, InstantiateIdProvider as ao, InstantiateOptions as so, Interactable as lo, InternalScreenshotUtils as co, JoinedRoomResponse as mo, KeyEventArgs as po, Keyframe as go, LODGroup as uo, LODModel as So, LeftRoomResponse as Co, Light as yo, LightData as Eo, LimitVelocityOverLifetimeModule as Ro, LoadingElementOptions as ho, LogStats as fo, LogType as vo, LookAt as Po, LookAtConstraint as Ao, MainModule as To, MarkerTrackHandler as bo, MarkerType as Mo, MaskableGraphic as Io, MaterialPropertyBlock as Do, MaterialX as Oo, Mathf as xo, MeshCollider as ko, MeshRenderer as Lo, MinMaxCurve as No, MinMaxGradient as Bo, NEEDLE_ENGINE_FEATURE_FLAGS as Fo, MODULES as wo, NEKeyboardEvent as Uo, NEPointerEvent as Go, NeedleButtonElement as Wo, ContextRegistry as Ho, NeedleEngineModelLoader as Xo, NeedleEngineWebComponent as zo, NeedleMenu as Vo, NeedlePatchesKey as _o, USDZExporter as jo, NeedleXRController as Zo, NeedleXRSync as Ko, NeedleXRUtils as Qo, NestedGltf as $o, NetworkConnection as Yo, NetworkedStreamEvents as Jo, NetworkedStreams as qo, Networking as er, NewInstanceModel as tr, NoiseModule as or, ObjectRaycaster as rr, ObjectUtils as nr, OffsetConstraint as ir, OneEuroFilter as ar, OneEuroFilterXYZ as sr, OpenURL as lr, OrbitControls as dr, Outline as cr, OwnershipEvent as mr, OwnershipModel as pr, PUBLIC_KEY as gr, Padding as ur, ParticleBurst as Sr, ParticleSubEmitter as Cr, ParticleSystem as yr, ParticleSystemBaseBehaviour as Er, ParticleSystemRenderer as Rr, ParticleSystemShapeType as hr, PeerHandle as fr, PeerNetworking as vr, Physics as Pr, PhysicsExtension as Ar, PhysicsMaterialCombine as Tr, PixelationEffect as br, PlayAnimationOnClick as Mr, PlayAudioOnClick as Ir, PlayableDirector as Dr, PlayerColor as Or, PlayerState as xr, PlayerStateEvent as kr, PlayerSync as Lr, PlayerView as Nr, PlayerViewManager as Br, PointerEventData as Fr, PointerType as wr, PostProcessingEffect as Ur, PostProcessingEffectOrder as Gr, PostProcessingHandler as Wr, Volume as Hr, PreliminaryAction as Xr, PreliminaryTrigger as zr, PreviewHelper as Vr, PrimitiveType as _r, Progress as jr, PromiseAllWithErrors as Zr, PromiseErrorResult as Kr, RGBAColor as Qr, RapierPhysics as $r, RawImage as Yr, RaycastOptions as Jr, Rect as qr, RectTransform as en, ReflectionProbe as tn, RegisteredAnimationInfo as on, RemoteSkybox as rn, RenderTexture as nn, RenderTextureSerializer as an, Renderer as sn, RendererData as ln, RendererLightmap as dn, Rigidbody as cn, RigidbodyConstraints as mn, RoomEvents as pn, RotationBySpeedModule as gn, RotationOverLifetimeModule as un, SceneLightSettings as Sn, SceneSwitcher as Cn, ScreenCapture as yn, ScreenSpaceAmbientOcclusion as En, ScreenSpaceAmbientOcclusionN8 as Rn, ScrollFollow as hn, SeeThrough as fn, SendQueue as vn, SerializationContext as Pn, SetActiveOnClick as An, ShadowCatcher as Tn, ShapeModule as bn, ShapeOverlapResult as Mn, SharpeningEffect as In, SignalAsset as Dn, SignalReceiver as On, SignalReceiverEvent as xn, SignalTrackHandler as kn, Size as Ln, SizeBySpeedModule as Nn, SizeOverLifetimeModule as Bn, SkinnedMeshRenderer as Fn, SmoothFollow as wn, SpatialGrabRaycaster as Un, SpatialHtml as Gn, SpatialTrigger as Wn, SpatialTriggerReceiver as Hn, SpectatorCamera as Xn, SphereCollider as zn, SphereIntersection as Vn, SplineContainer as _n, SplineData as jn, SplineUtils as Zn, SplineWalker as Kn, Sprite as Qn, SpriteData as $n, SpriteRenderer as Yn, SpriteSheet as Jn, StateMachineBehaviour as qn, StreamEndedEvent as ei, StreamReceivedEvent as ti, SubEmitterSystem as oi, SyncedCamera as ri, SyncedRoom as ni, SyncedTransform as ii, TapGestureTrigger as ai, TeleportTarget as si, TestRunner as li, TestSimulateUserData as di, Text as ci, TextBuilder as mi, TextExtension as pi, TextureSheetAnimationModule as gi, TiltShiftEffect as ui, Time as Si, ToneMappingEffect as Ci, TrackHandler as yi, TrackType as Ei, TrailModule as Ri, TransformData as hi, TransformGizmo as fi, TriggerBuilder as vi, TriggerModel as Pi, UIRaycastUtils as Ai, UIRootComponent as Ti, USDDocument as bi, USDObject as Mi, USDWriter as Ii, USDZExporter$1 as Di, USDZText as Oi, USDZUIExtension as xi, UriSerializer as ki, UsageMarker as Li, UserJoinedOrLeftRoomModel as Ni, VariantAction as Bi, VelocityOverLifetimeModule as Fi, VerticalLayoutGroup as wi, VideoPlayer as Ui, ViewBox as Gi, ViewDevice as Wi, Vignette as Hi, VisibilityAction as Xi, Voip as zi, Volume as Vi, VolumeParameter as _i, VolumeProfile as ji, WaitForFrames as Zi, WaitForPromise as Ki, WaitForSeconds as Qi, Watch as $i, WebARCameraBackground as Yi, WebARSessionRoot as Ji, WebXR as qi, WebXRButtonFactory as ea, WebXRImageTracking as ta, WebXRImageTrackingModel as oa, WebXRPlaneTracking as ra, WebXRTrackedImage as na, XRControllerFollow as ia, XRControllerModel as aa, XRControllerMovement as sa, XRFlag as la, XRRig as da, XRState as ca, XRStateFlag as ma, __Ignore as pa, __internalNotifyObjectDestroyed as ga, activeInHierarchyFieldName as ua, addAttributeChangeCallback as Sa, addComponent as Ca, addCustomExtensionPlugin as ya, addNewComponent as Ea, addPatch as Ra, apply as ha, applyHMRChanges as fa, applyPrototypeExtensions as va, beginListenDestroy as Pa, beginListenInstantiate as Aa, binaryIdentifierCasts as Ta, build_scene_functions as ba, builtinComponentKeyName as Ma, calculateProgress01 as Ia, clearMessages as Da, clearMessages as Oa, colorSerializer as xa, compareAssociation as ka, componentSerializer as La, copyTexture as Na, createMotion as Ba, debugNet as Fa, debugOwner as wa, decompressGpuTexture as Ua, deepClone as Ga, delay as Wa, delayForFrames as Ha, deserializeObject as Xa, destroy as za, destroyComponentInstance as Va, determineMimeTypeFromExtension as _a, disposeObjectResources as ja, disposeStream as Za, editorGuidKeyName as Ka, enableSpatialConsole as Qa, euler as $a, eventListSerializer as Ya, exportAsGLTF as Ja, findByGuid as qa, findObjectOfType as es, findObjectsOfType as ts, findResourceUsers as os, fitCamera as rs, fitObjectIntoVolume as ns, foreachComponent as is, foreachComponentEnumerator as as, forward as ss, generateQRCode as ls, generateSeed as ds, getBoundingBox as cs, getCameraController as ms, getComponent as ps, getComponentInChildren as gs, getComponentInParent as us, getComponents as Ss, getComponentsInChildren as Cs, getComponentsInParent as ys, getFormattedDate as Es, getIconElement as Rs, getIconTexture as hs, getLoader as fs, getOrAddComponent as vs, getParam as Ps, getParentHierarchyPath as As, getPath as Ts, getPeerOptions as bs, getPeerjsInstance as Ms, getResourceUserCount as Is, getTempColor as Ds, getTempQuaternion as Os, getTempVector as xs, getUrlParams as ks, getVisibleInCustomShadowRendering as Ls, getWorldDirection as Ns, getWorldEuler as Bs, getWorldPosition as Fs, getWorldQuaternion as ws, getWorldRotation as Us, getWorldScale as Gs, hasCommercialLicense as Ws, hasIndieLicense as Hs, hasPointerEventComponent as Xs, hasProLicense as zs, hideDebugConsole as Vs, imageToCanvas as _s, instantiate as js, invokeLoadedImportPluginHooks as Zs, invokeXRSessionEnd as Ks, invokeXRSessionStart as Qs, isActiveInHierarchy as $s, isActiveSelf as Ys, isAndroidDevice as Js, isAnimationAction as qs, isComponent as el, isDebugMode as tl, isDesktop as ol, isDestroyed as rl, isDevEnvironment as nl, isDisposed as il, isExporting as al, isGLTFModel as sl, isHostedOnGlitch as ll, isHotReloadEnabled as dl, isHotReloading as cl, isIPad as ml, isIconElement as pl, isLocalNetwork as gl, isMacOS as ul, isMobileDevice as Sl, isMozillaXR as Cl, isQuest as yl, isResourceTrackingEnabled as El, isSafari as Rl, isUsingInstancing as hl, isiOS as fl, isiPad as vl, loadPMREM as Pl, loadSync as Al, logHierarchy as Tl, lookAtInverse as bl, lookAtObject as Ml, lookAtScreenPoint as Il, makeId as Dl, makeIdFromRandomWords as Ol, makeNameSafe as xl, markAsInstancedRendered as kl, microphonePermissionsGranted as Ll, nameof as Nl, nameofFactory as Bl, objectSerializer as Fl, offXRSessionEnd as wl, offXRSessionStart as Ul, onXRSessionEnd as Gl, onXRSessionStart as Wl, parseSync as Hl, placeOnSurface as Xl, postprocessFBXMaterials as zl, prefix as Vl, pushState as _l, randomNumber as jl, registerBinaryType as Zl, registerComponent as Kl, registerComponentExtension as Ql, registerCustomEffectType as $l, registerExportExtensions as Yl, registerExtensions as Jl, registerHotReloadType as ql, registerLoader as ed, registerPrefabProvider as td, registerPrototypeExtensions as od, registerType as rd, relativePathPrefix as nd, removeAttributeChangeCallback as id, removeComponent as ad, removeCustomImportExtensionType as sd, removePatch as ld, resolveUrl as dd, sanitizeString as cd, saveImage as md, screenshot as pd, screenshot2 as gd, sendDestroyed as ud, serializable as Sd, serializeObject as Cd, serializeable as yd, setActive as Ed, setAllowBalloonMessages as Rd, setAllowOverlayMessages as hd, setAutoFitEnabled as fd, setCameraController as vd, setDestroyed as Pd, setDevEnvironment as Ad, setDisposable as Td, setDontDestroy as bd, setOrAddParamsToUrl as Md, setParam as Id, setParamWithoutReload as Dd, setPeerOptions as Od, setResourceTrackingEnabled as xd, setState as kd, setVisibleInCustomShadowRendering as Ld, setWorldEuler as Nd, setWorldPosition as Bd, setWorldPositionXYZ as Fd, setWorldQuaternion as wd, setWorldQuaternionXYZW as Ud, setWorldRotation as Gd, setWorldRotationXYZ as Wd, setWorldScale as Hd, showBalloonError as Xd, showBalloonMessage as zd, showBalloonWarning as Vd, showDebugConsole as _d, slerp as jd, syncDestroy as Zd, syncField as Kd, syncInstantiate as Qd, textureToCanvas as $d, toSourceId as Yd, tryCastBinary as Jd, tryDetermineMimetypeFromBinary as qd, tryDetermineMimetypeFromURL as ec, tryFindObject as tc, tryGetGuid as oc, unregisterHotReloadType as rc, unwatchWrite as nc, useForAutoFit as ic, validate as ac, watchWrite as sc } from "./needle-engine.bundle-Dz6Tag-6.js";
3
+ import { NEEDLE_progressive as dc } from "./gltf-progressive-_wvokUUu.js";
4
+ import { THREE as R } from "./three.js";
5
5
  const t = {
6
6
  VERSION: C,
7
7
  Context: S,