@needle-tools/engine 2.53.0-pre → 2.55.0-pre

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 (199) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/needle-engine.d.ts +2477 -2267
  3. package/dist/needle-engine.js +425 -425
  4. package/dist/needle-engine.js.map +4 -4
  5. package/dist/needle-engine.min.js +40 -40
  6. package/dist/needle-engine.min.js.map +4 -4
  7. package/dist/needle-engine.tsbuildinfo +1 -0
  8. package/lib/engine/codegen/register_types.d.ts +1 -0
  9. package/lib/engine/codegen/register_types.js +346 -0
  10. package/lib/engine/codegen/register_types.js.map +1 -0
  11. package/lib/engine/debug/debug.d.ts +1 -0
  12. package/lib/engine/debug/debug.js +4 -0
  13. package/lib/engine/debug/debug.js.map +1 -1
  14. package/lib/engine/debug/debug_console.js +2 -1
  15. package/lib/engine/debug/debug_console.js.map +1 -1
  16. package/lib/engine/debug/debug_overlay.js +3 -1
  17. package/lib/engine/debug/debug_overlay.js.map +1 -1
  18. package/lib/engine/engine_default_parameters.d.ts +2 -2
  19. package/lib/engine/engine_element.js +4 -2
  20. package/lib/engine/engine_element.js.map +1 -1
  21. package/lib/engine/engine_element_loading.d.ts +1 -0
  22. package/lib/engine/engine_element_loading.js +17 -6
  23. package/lib/engine/engine_element_loading.js.map +1 -1
  24. package/lib/engine/engine_element_overlay.js +4 -2
  25. package/lib/engine/engine_element_overlay.js.map +1 -1
  26. package/lib/engine/engine_fileloader.d.ts +3 -0
  27. package/lib/engine/engine_fileloader.js +8 -0
  28. package/lib/engine/engine_fileloader.js.map +1 -0
  29. package/lib/engine/engine_generic_utils.d.ts +1 -0
  30. package/lib/engine/engine_generic_utils.js +14 -0
  31. package/lib/engine/engine_generic_utils.js.map +1 -0
  32. package/lib/engine/engine_input.js +4 -0
  33. package/lib/engine/engine_input.js.map +1 -1
  34. package/lib/engine/engine_lightdata.js +1 -1
  35. package/lib/engine/engine_lightdata.js.map +1 -1
  36. package/lib/engine/engine_mainloop_utils.js +8 -0
  37. package/lib/engine/engine_mainloop_utils.js.map +1 -1
  38. package/lib/engine/engine_networking_websocket.d.ts +1 -0
  39. package/lib/engine/engine_networking_websocket.js +1 -1
  40. package/lib/engine/engine_networking_websocket.js.map +1 -1
  41. package/lib/engine/engine_physics.d.ts +1 -1
  42. package/lib/engine/engine_physics.js +44 -3
  43. package/lib/engine/engine_physics.js.map +1 -1
  44. package/lib/engine/engine_physics.types.d.ts +13 -0
  45. package/lib/engine/engine_physics.types.js +7 -0
  46. package/lib/engine/engine_physics.types.js.map +1 -1
  47. package/lib/engine/engine_serialization_builtin_serializer.js +6 -3
  48. package/lib/engine/engine_serialization_builtin_serializer.js.map +1 -1
  49. package/lib/engine/engine_setup.js +2 -2
  50. package/lib/engine/engine_setup.js.map +1 -1
  51. package/lib/engine/engine_time.d.ts +1 -0
  52. package/lib/engine/engine_time.js +7 -0
  53. package/lib/engine/engine_time.js.map +1 -1
  54. package/lib/engine/engine_types.d.ts +4 -1
  55. package/lib/engine/engine_types.js.map +1 -1
  56. package/lib/engine/engine_utils.d.ts +2 -1
  57. package/lib/engine/engine_utils.js +6 -0
  58. package/lib/engine/engine_utils.js.map +1 -1
  59. package/lib/engine/extensions/NEEDLE_components.d.ts +1 -1
  60. package/lib/engine/extensions/NEEDLE_progressive.d.ts +22 -0
  61. package/lib/engine/extensions/NEEDLE_progressive.js +172 -44
  62. package/lib/engine/extensions/NEEDLE_progressive.js.map +1 -1
  63. package/lib/engine-components/Collider.d.ts +2 -0
  64. package/lib/engine-components/Collider.js +4 -0
  65. package/lib/engine-components/Collider.js.map +1 -1
  66. package/lib/engine-components/GroundProjection.d.ts +2 -1
  67. package/lib/engine-components/GroundProjection.js +19 -12
  68. package/lib/engine-components/GroundProjection.js.map +1 -1
  69. package/lib/engine-components/ParticleSystem.d.ts +1 -0
  70. package/lib/engine-components/ParticleSystem.js +10 -5
  71. package/lib/engine-components/ParticleSystem.js.map +1 -1
  72. package/lib/engine-components/ParticleSystemModules.d.ts +2 -2
  73. package/lib/engine-components/ParticleSystemModules.js +65 -55
  74. package/lib/engine-components/ParticleSystemModules.js.map +1 -1
  75. package/lib/engine-components/ReflectionProbe.d.ts +1 -1
  76. package/lib/engine-components/Renderer.d.ts +2 -1
  77. package/lib/engine-components/Renderer.js +8 -8
  78. package/lib/engine-components/Renderer.js.map +1 -1
  79. package/lib/engine-components/RigidBody.js +1 -19
  80. package/lib/engine-components/RigidBody.js.map +1 -1
  81. package/lib/engine-components/SyncedTransform.js +1 -3
  82. package/lib/engine-components/SyncedTransform.js.map +1 -1
  83. package/lib/engine-components/VideoPlayer.d.ts +2 -1
  84. package/lib/engine-components/VideoPlayer.js +54 -51
  85. package/lib/engine-components/VideoPlayer.js.map +1 -1
  86. package/lib/engine-components/Volume.js +8 -1
  87. package/lib/engine-components/Volume.js.map +1 -1
  88. package/lib/engine-components/WebARSessionRoot.js +5 -0
  89. package/lib/engine-components/WebARSessionRoot.js.map +1 -1
  90. package/lib/engine-components/WebXR.d.ts +2 -2
  91. package/lib/engine-components/WebXR.js +13 -13
  92. package/lib/engine-components/WebXR.js.map +1 -1
  93. package/lib/engine-components/WebXRAvatar.d.ts +1 -1
  94. package/lib/engine-components/WebXRController.js +1 -2
  95. package/lib/engine-components/WebXRController.js.map +1 -1
  96. package/lib/engine-components/codegen/components.d.ts +99 -99
  97. package/lib/engine-components/codegen/components.js +99 -99
  98. package/lib/engine-components/codegen/components.js.map +1 -1
  99. package/lib/engine-components/export/usdz/USDZExporter.d.ts +1 -0
  100. package/lib/engine-components/export/usdz/USDZExporter.js +17 -1
  101. package/lib/engine-components/export/usdz/USDZExporter.js.map +1 -1
  102. package/lib/engine-components/ui/Button.js +30 -0
  103. package/lib/engine-components/ui/Button.js.map +1 -1
  104. package/lib/engine-components/ui/InputField.d.ts +2 -0
  105. package/lib/engine-components/ui/InputField.js +23 -1
  106. package/lib/engine-components/ui/InputField.js.map +1 -1
  107. package/lib/engine-components/ui/Utils.d.ts +2 -0
  108. package/lib/engine-components/ui/Utils.js +10 -9
  109. package/lib/engine-components/ui/Utils.js.map +1 -1
  110. package/lib/engine-components-experimental/Presentation.d.ts +6 -0
  111. package/lib/engine-components-experimental/Presentation.js +11 -0
  112. package/lib/engine-components-experimental/Presentation.js.map +1 -0
  113. package/lib/engine-components-experimental/annotation/LineDrawer.d.ts +18 -0
  114. package/lib/engine-components-experimental/annotation/LineDrawer.js +175 -0
  115. package/lib/engine-components-experimental/annotation/LineDrawer.js.map +1 -0
  116. package/lib/engine-components-experimental/annotation/LinesManager.d.ts +54 -0
  117. package/lib/engine-components-experimental/annotation/LinesManager.js +155 -0
  118. package/lib/engine-components-experimental/annotation/LinesManager.js.map +1 -0
  119. package/lib/engine-components-experimental/networking/PlayerSync.d.ts +26 -0
  120. package/lib/engine-components-experimental/networking/PlayerSync.js +121 -0
  121. package/lib/engine-components-experimental/networking/PlayerSync.js.map +1 -0
  122. package/lib/engine-schemes/vec2.d.ts +10 -0
  123. package/lib/engine-schemes/vec2.js +26 -0
  124. package/lib/engine-schemes/vec2.js.map +1 -0
  125. package/lib/include/three/ARButton.d.ts +3 -0
  126. package/lib/include/three/ARButton.js +158 -0
  127. package/lib/include/three/ARButton.js.map +1 -0
  128. package/lib/include/three/EXT_mesh_gpu_instancing_exporter.d.ts +6 -0
  129. package/lib/include/three/EXT_mesh_gpu_instancing_exporter.js +46 -0
  130. package/lib/include/three/EXT_mesh_gpu_instancing_exporter.js.map +1 -0
  131. package/lib/include/three/VRButton.d.ts +5 -0
  132. package/lib/include/three/VRButton.js +122 -0
  133. package/lib/include/three/VRButton.js.map +1 -0
  134. package/lib/tsconfig.tsbuildinfo +1 -0
  135. package/package.json +1 -1
  136. package/src/engine/codegen/register_types.js +214 -214
  137. package/src/engine/debug/debug.ts +5 -0
  138. package/src/engine/debug/debug_console.ts +3 -2
  139. package/src/engine/debug/debug_overlay.ts +3 -1
  140. package/src/engine/engine_element.ts +4 -2
  141. package/src/engine/engine_element_loading.ts +13 -6
  142. package/src/engine/engine_element_overlay.ts +4 -2
  143. package/src/engine/engine_input.ts +4 -0
  144. package/src/engine/engine_lightdata.ts +1 -1
  145. package/src/engine/engine_mainloop_utils.ts +6 -0
  146. package/src/engine/engine_networking_websocket.ts +3 -1
  147. package/src/engine/engine_physics.ts +47 -5
  148. package/src/engine/engine_physics.types.ts +17 -0
  149. package/src/engine/engine_serialization_builtin_serializer.ts +8 -5
  150. package/src/engine/engine_setup.ts +2 -2
  151. package/src/engine/engine_time.ts +7 -1
  152. package/src/engine/engine_types.ts +5 -2
  153. package/src/engine/engine_utils.ts +7 -1
  154. package/src/engine/extensions/NEEDLE_progressive.ts +185 -43
  155. package/src/engine-components/Collider.ts +3 -0
  156. package/src/engine-components/GroundProjection.ts +18 -12
  157. package/src/engine-components/ParticleSystem.ts +10 -5
  158. package/src/engine-components/ParticleSystemModules.ts +69 -59
  159. package/src/engine-components/Renderer.ts +11 -9
  160. package/src/engine-components/RigidBody.ts +1 -20
  161. package/src/engine-components/SyncedTransform.ts +1 -3
  162. package/src/engine-components/VideoPlayer.ts +55 -51
  163. package/src/engine-components/Volume.ts +8 -1
  164. package/src/engine-components/WebARSessionRoot.ts +5 -0
  165. package/src/engine-components/WebXR.ts +17 -15
  166. package/src/engine-components/WebXRController.ts +1 -2
  167. package/src/engine-components/codegen/components.ts +99 -99
  168. package/src/engine-components/export/usdz/USDZExporter.ts +19 -2
  169. package/src/engine-components/ui/Button.ts +8 -8
  170. package/src/engine-components/ui/InputField.ts +25 -2
  171. package/src/engine-components/ui/Utils.ts +12 -11
  172. package/src/engine-components-experimental/annotation/LineDrawer.ts +10 -7
  173. package/src/engine-components-experimental/annotation/LinesManager.ts +6 -6
  174. package/src/engine-components-experimental/networking/PlayerSync.ts +1 -1
  175. package/lib/engine/engine_caching.d.ts +0 -0
  176. package/lib/engine/engine_caching.js +0 -2
  177. package/lib/engine/engine_caching.js.map +0 -1
  178. package/lib/engine/tests/simulate_avatars.d.ts +0 -0
  179. package/lib/engine/tests/simulate_avatars.js +0 -3
  180. package/lib/engine/tests/simulate_avatars.js.map +0 -1
  181. package/lib/engine-components/NavMesh.d.ts +0 -0
  182. package/lib/engine-components/NavMesh.js +0 -101
  183. package/lib/engine-components/NavMesh.js.map +0 -1
  184. package/lib/engine-components/ParticleSystemBehaviours.d.ts +0 -0
  185. package/lib/engine-components/ParticleSystemBehaviours.js +0 -2
  186. package/lib/engine-components/ParticleSystemBehaviours.js.map +0 -1
  187. package/lib/engine-components/SpringJoint.d.ts +0 -0
  188. package/lib/engine-components/SpringJoint.js +0 -43
  189. package/lib/engine-components/SpringJoint.js.map +0 -1
  190. package/lib/engine-components/ui/CanvasScaler.d.ts +0 -0
  191. package/lib/engine-components/ui/CanvasScaler.js +0 -17
  192. package/lib/engine-components/ui/CanvasScaler.js.map +0 -1
  193. package/src/engine/dist/engine_three_utils.js +0 -279
  194. package/src/engine/engine_caching.ts +0 -0
  195. package/src/engine/tests/simulate_avatars.ts +0 -2
  196. package/src/engine-components/NavMesh.ts +0 -117
  197. package/src/engine-components/ParticleSystemBehaviours.ts +0 -0
  198. package/src/engine-components/SpringJoint.ts +0 -45
  199. package/src/engine-components/ui/CanvasScaler.ts +0 -21
@@ -1,347 +1,347 @@
1
1
  import { TypeStore } from "./../engine_typestore"
2
-
2
+
3
3
  // Import types
4
+ import { __Ignore } from "../../engine-components/codegen/components.ts";
4
5
  import { AlignmentConstraint } from "../../engine-components/AlignmentConstraint.ts";
5
6
  import { Animation } from "../../engine-components/Animation.ts";
6
7
  import { AnimationCurve } from "../../engine-components/AnimationCurve.ts";
8
+ import { AnimationExtension } from "../../engine-components/export/usdz/extensions/Animation.ts";
9
+ import { AnimationTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
7
10
  import { Animator } from "../../engine-components/Animator.ts";
8
11
  import { AnimatorController } from "../../engine-components/AnimatorController.ts";
12
+ import { AttachedObject } from "../../engine-components/WebXRController.ts";
9
13
  import { AudioListener } from "../../engine-components/AudioListener.ts";
10
14
  import { AudioSource } from "../../engine-components/AudioSource.ts";
11
- import { AvatarModel } from "../../engine-components/AvatarLoader.ts";
15
+ import { AudioTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
16
+ import { Avatar_Brain_LookAt } from "../../engine-components/avatar/Avatar_Brain_LookAt.ts";
17
+ import { Avatar_MouthShapes } from "../../engine-components/avatar/Avatar_MouthShapes.ts";
18
+ import { Avatar_MustacheShake } from "../../engine-components/avatar/Avatar_MustacheShake.ts";
19
+ import { Avatar_POI } from "../../engine-components/avatar/Avatar_Brain_LookAt.ts";
20
+ import { AvatarBlink_Simple } from "../../engine-components/avatar/AvatarBlink_Simple.ts";
21
+ import { AvatarEyeLook_Rotation } from "../../engine-components/avatar/AvatarEyeLook_Rotation.ts";
12
22
  import { AvatarLoader } from "../../engine-components/AvatarLoader.ts";
23
+ import { AvatarMarker } from "../../engine-components/WebXRAvatar.ts";
24
+ import { AvatarModel } from "../../engine-components/AvatarLoader.ts";
13
25
  import { AxesHelper } from "../../engine-components/AxesHelper.ts";
26
+ import { BaseUIComponent } from "../../engine-components/ui/BaseUIComponent.ts";
14
27
  import { BasicIKConstraint } from "../../engine-components/BasicIKConstraint.ts";
28
+ import { BoxCollider } from "../../engine-components/Collider.ts";
29
+ import { BoxGizmo } from "../../engine-components/Gizmos.ts";
15
30
  import { BoxHelperComponent } from "../../engine-components/BoxHelperComponent.ts";
31
+ import { Button } from "../../engine-components/ui/Button.ts";
32
+ import { CallInfo } from "../../engine-components/EventList.ts";
16
33
  import { Camera } from "../../engine-components/Camera.ts";
34
+ import { Canvas } from "../../engine-components/ui/Canvas.ts";
35
+ import { CanvasGroup } from "../../engine-components/ui/CanvasGroup.ts";
36
+ import { CapsuleCollider } from "../../engine-components/Collider.ts";
17
37
  import { CharacterController } from "../../engine-components/CharacterController.ts";
18
38
  import { CharacterControllerInput } from "../../engine-components/CharacterController.ts";
19
39
  import { Collider } from "../../engine-components/Collider.ts";
20
- import { SphereCollider } from "../../engine-components/Collider.ts";
21
- import { BoxCollider } from "../../engine-components/Collider.ts";
22
- import { MeshCollider } from "../../engine-components/Collider.ts";
23
- import { CapsuleCollider } from "../../engine-components/Collider.ts";
24
- import { DeleteBox } from "../../engine-components/DeleteBox.ts";
40
+ import { ColorAdjustments } from "../../engine-components/Volume.ts";
41
+ import { ColorBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
42
+ import { ColorOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
43
+ import { ControlTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
25
44
  import { Deletable } from "../../engine-components/DeleteBox.ts";
45
+ import { DeleteBox } from "../../engine-components/DeleteBox.ts";
26
46
  import { DeviceFlag } from "../../engine-components/DeviceFlag.ts";
27
47
  import { DragControls } from "../../engine-components/DragControls.ts";
28
48
  import { DropListener } from "../../engine-components/DropListener.ts";
29
49
  import { Duplicatable } from "../../engine-components/Duplicatable.ts";
30
- import { CallInfo } from "../../engine-components/EventList.ts";
31
- import { EventListEvent } from "../../engine-components/EventList.ts";
50
+ import { EmissionModule } from "../../engine-components/ParticleSystemModules.ts";
32
51
  import { EventList } from "../../engine-components/EventList.ts";
52
+ import { EventListEvent } from "../../engine-components/EventList.ts";
53
+ import { EventSystem } from "../../engine-components/ui/EventSystem.ts";
33
54
  import { EventTrigger } from "../../engine-components/EventTrigger.ts";
55
+ import { FieldWithDefault } from "../../engine-components/Renderer.ts";
56
+ import { FixedJoint } from "../../engine-components/Joints.ts";
34
57
  import { FlyControls } from "../../engine-components/FlyControls.ts";
35
- import { BoxGizmo } from "../../engine-components/Gizmos.ts";
58
+ import { GltfExport } from "../../engine-components/export/gltf/GltfExport.ts";
59
+ import { GltfExportBox } from "../../engine-components/export/gltf/GltfExport.ts";
60
+ import { Gradient } from "../../engine-components/ParticleSystemModules.ts";
61
+ import { Graphic } from "../../engine-components/ui/Graphic.ts";
62
+ import { GraphicRaycaster } from "../../engine-components/ui/Raycaster.ts";
36
63
  import { GridHelper } from "../../engine-components/GridHelper.ts";
64
+ import { GridLayoutGroup } from "../../engine-components/ui/Layout.ts";
37
65
  import { GroundProjectedEnv } from "../../engine-components/GroundProjection.ts";
38
- import { Interactable } from "../../engine-components/Interactable.ts";
39
- import { UsageMarker } from "../../engine-components/Interactable.ts";
40
- import { FixedJoint } from "../../engine-components/Joints.ts";
41
66
  import { HingeJoint } from "../../engine-components/Joints.ts";
67
+ import { HorizontalLayoutGroup } from "../../engine-components/ui/Layout.ts";
68
+ import { Image } from "../../engine-components/ui/Image.ts";
69
+ import { InheritVelocityModule } from "../../engine-components/ParticleSystemModules.ts";
70
+ import { InputField } from "../../engine-components/ui/InputField.ts";
71
+ import { Interactable } from "../../engine-components/Interactable.ts";
72
+ import { Keyboard } from "../../engine-components/ui/Keyboard.ts";
73
+ import { LayoutGroup } from "../../engine-components/ui/Layout.ts";
42
74
  import { Light } from "../../engine-components/Light.ts";
43
- import { LODModel } from "../../engine-components/LODGroup.ts";
75
+ import { LimitVelocityOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
76
+ import { LineInstanceHandler } from "../../engine-components-experimental/annotation/LinesManager.ts";
77
+ import { LinesDrawer } from "../../engine-components-experimental/annotation/LineDrawer.ts";
78
+ import { LinesManager } from "../../engine-components-experimental/annotation/LinesManager.ts";
44
79
  import { LODGroup } from "../../engine-components/LODGroup.ts";
80
+ import { LODModel } from "../../engine-components/LODGroup.ts";
81
+ import { LogStats } from "../../engine-components/debug/LogStats.ts";
45
82
  import { LookAtConstraint } from "../../engine-components/LookAtConstraint.ts";
83
+ import { MainModule } from "../../engine-components/ParticleSystemModules.ts";
84
+ import { MaskableGraphic } from "../../engine-components/ui/Graphic.ts";
85
+ import { MeshCollider } from "../../engine-components/Collider.ts";
86
+ import { MeshRenderer } from "../../engine-components/Renderer.ts";
87
+ import { MinMaxCurve } from "../../engine-components/ParticleSystemModules.ts";
88
+ import { MinMaxGradient } from "../../engine-components/ParticleSystemModules.ts";
46
89
  import { NestedGltf } from "../../engine-components/NestedGltf.ts";
47
90
  import { Networking } from "../../engine-components/Networking.ts";
91
+ import { NoiseModule } from "../../engine-components/ParticleSystemModules.ts";
92
+ import { ObjectRaycaster } from "../../engine-components/ui/Raycaster.ts";
48
93
  import { OffsetConstraint } from "../../engine-components/OffsetConstraint.ts";
49
94
  import { OrbitControls } from "../../engine-components/OrbitControls.ts";
50
- import { SubEmitterSystem } from "../../engine-components/ParticleSystem.ts";
51
- import { ParticleSystemRenderer } from "../../engine-components/ParticleSystem.ts";
52
- import { ParticleSystem } from "../../engine-components/ParticleSystem.ts";
53
- import { Gradient } from "../../engine-components/ParticleSystemModules.ts";
54
- import { MinMaxCurve } from "../../engine-components/ParticleSystemModules.ts";
55
- import { MinMaxGradient } from "../../engine-components/ParticleSystemModules.ts";
56
- import { MainModule } from "../../engine-components/ParticleSystemModules.ts";
57
95
  import { ParticleBurst } from "../../engine-components/ParticleSystemModules.ts";
58
- import { EmissionModule } from "../../engine-components/ParticleSystemModules.ts";
59
- import { ColorOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
60
- import { SizeOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
61
- import { ShapeModule } from "../../engine-components/ParticleSystemModules.ts";
62
- import { NoiseModule } from "../../engine-components/ParticleSystemModules.ts";
63
- import { TrailModule } from "../../engine-components/ParticleSystemModules.ts";
64
- import { VelocityOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
65
- import { TextureSheetAnimationModule } from "../../engine-components/ParticleSystemModules.ts";
66
- import { RotationOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
67
- import { RotationBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
68
- import { LimitVelocityOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
69
- import { InheritVelocityModule } from "../../engine-components/ParticleSystemModules.ts";
70
- import { SizeBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
71
- import { ColorBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
72
96
  import { ParticleSubEmitter } from "../../engine-components/ParticleSystemSubEmitter.ts";
97
+ import { ParticleSystem } from "../../engine-components/ParticleSystem.ts";
98
+ import { ParticleSystemRenderer } from "../../engine-components/ParticleSystem.ts";
99
+ import { PlayableDirector } from "../../engine-components/timeline/PlayableDirector.ts";
73
100
  import { PlayerColor } from "../../engine-components/PlayerColor.ts";
101
+ import { PlayerState } from "../../engine-components-experimental/networking/PlayerSync.ts";
102
+ import { PlayerSync } from "../../engine-components-experimental/networking/PlayerSync.ts";
103
+ import { PointerEventData } from "../../engine-components/ui/PointerEvents.ts";
104
+ import { PresentationMode } from "../../engine-components-experimental/Presentation.ts";
105
+ import { RawImage } from "../../engine-components/ui/Image.ts";
106
+ import { Raycaster } from "../../engine-components/ui/Raycaster.ts";
107
+ import { Rect } from "../../engine-components/ui/RectTransform.ts";
108
+ import { RectTransform } from "../../engine-components/ui/RectTransform.ts";
74
109
  import { ReflectionProbe } from "../../engine-components/ReflectionProbe.ts";
75
- import { FieldWithDefault } from "../../engine-components/Renderer.ts";
110
+ import { RegisteredAnimationInfo } from "../../engine-components/export/usdz/extensions/Animation.ts";
111
+ import { RemoteSkybox } from "../../engine-components/Skybox.ts";
76
112
  import { Renderer } from "../../engine-components/Renderer.ts";
77
- import { MeshRenderer } from "../../engine-components/Renderer.ts";
78
- import { SkinnedMeshRenderer } from "../../engine-components/Renderer.ts";
79
113
  import { RendererLightmap } from "../../engine-components/RendererLightmap.ts";
114
+ import { RGBAColor } from "../../engine-components/js-extensions/RGBAColor.ts";
80
115
  import { Rigidbody } from "../../engine-components/RigidBody.ts";
116
+ import { RotationBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
117
+ import { RotationOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
81
118
  import { ScreenCapture } from "../../engine-components/ScreenCapture.ts";
82
119
  import { ShadowCatcher } from "../../engine-components/ShadowCatcher.ts";
83
- import { RemoteSkybox } from "../../engine-components/Skybox.ts";
120
+ import { ShapeModule } from "../../engine-components/ParticleSystemModules.ts";
121
+ import { SignalAsset } from "../../engine-components/timeline/SignalAsset.ts";
122
+ import { SignalReceiver } from "../../engine-components/timeline/SignalAsset.ts";
123
+ import { SignalReceiverEvent } from "../../engine-components/timeline/SignalAsset.ts";
124
+ import { SignalTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
125
+ import { Size } from "../../engine-components/ui/RectTransform.ts";
126
+ import { SizeBySpeedModule } from "../../engine-components/ParticleSystemModules.ts";
127
+ import { SizeOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
128
+ import { SkinnedMeshRenderer } from "../../engine-components/Renderer.ts";
84
129
  import { SmoothFollow } from "../../engine-components/SmoothFollow.ts";
85
- import { SpatialTriggerReceiver } from "../../engine-components/SpatialTrigger.ts";
130
+ import { SpatialHtml } from "../../engine-components/ui/SpatialHtml.ts";
86
131
  import { SpatialTrigger } from "../../engine-components/SpatialTrigger.ts";
132
+ import { SpatialTriggerReceiver } from "../../engine-components/SpatialTrigger.ts";
87
133
  import { SpectatorCamera } from "../../engine-components/SpectatorCamera.ts";
134
+ import { SphereCollider } from "../../engine-components/Collider.ts";
88
135
  import { Sprite } from "../../engine-components/SpriteRenderer.ts";
89
- import { SpriteSheet } from "../../engine-components/SpriteRenderer.ts";
90
136
  import { SpriteRenderer } from "../../engine-components/SpriteRenderer.ts";
137
+ import { SpriteSheet } from "../../engine-components/SpriteRenderer.ts";
138
+ import { SubEmitterSystem } from "../../engine-components/ParticleSystem.ts";
91
139
  import { SyncedCamera } from "../../engine-components/SyncedCamera.ts";
92
140
  import { SyncedRoom } from "../../engine-components/SyncedRoom.ts";
93
141
  import { SyncedTransform } from "../../engine-components/SyncedTransform.ts";
142
+ import { TeleportTarget } from "../../engine-components/WebXRController.ts";
94
143
  import { TestRunner } from "../../engine-components/TestRunner.ts";
95
144
  import { TestSimulateUserData } from "../../engine-components/TestRunner.ts";
145
+ import { Text } from "../../engine-components/ui/Text.ts";
146
+ import { TextureSheetAnimationModule } from "../../engine-components/ParticleSystemModules.ts";
147
+ import { ToneMapping } from "../../engine-components/Volume.ts";
148
+ import { TrailModule } from "../../engine-components/ParticleSystemModules.ts";
149
+ import { TransformData } from "../../engine-components/export/usdz/extensions/Animation.ts";
96
150
  import { TransformGizmo } from "../../engine-components/TransformGizmo.ts";
151
+ import { UIRaycastUtils } from "../../engine-components/ui/RaycastUtils.ts";
152
+ import { UIRootComponent } from "../../engine-components/ui/BaseUIComponent.ts";
153
+ import { UsageMarker } from "../../engine-components/Interactable.ts";
154
+ import { USDZExporter } from "../../engine-components/export/usdz/USDZExporter.ts";
155
+ import { VelocityOverLifetimeModule } from "../../engine-components/ParticleSystemModules.ts";
156
+ import { VerticalLayoutGroup } from "../../engine-components/ui/Layout.ts";
97
157
  import { VideoPlayer } from "../../engine-components/VideoPlayer.ts";
98
158
  import { Voip } from "../../engine-components/Voip.ts";
99
- import { VolumeParameter } from "../../engine-components/Volume.ts";
159
+ import { Volume } from "../../engine-components/Volume.ts";
100
160
  import { VolumeComponent } from "../../engine-components/Volume.ts";
101
- import { ToneMapping } from "../../engine-components/Volume.ts";
102
- import { ColorAdjustments } from "../../engine-components/Volume.ts";
161
+ import { VolumeParameter } from "../../engine-components/Volume.ts";
103
162
  import { VolumeProfile } from "../../engine-components/Volume.ts";
104
- import { Volume } from "../../engine-components/Volume.ts";
163
+ import { VRUserState } from "../../engine-components/WebXRSync.ts";
164
+ import { WebAR } from "../../engine-components/WebXR.ts";
105
165
  import { WebARSessionRoot } from "../../engine-components/WebARSessionRoot.ts";
106
166
  import { WebXR } from "../../engine-components/WebXR.ts";
107
- import { WebAR } from "../../engine-components/WebXR.ts";
108
- import { AvatarMarker } from "../../engine-components/WebXRAvatar.ts";
109
167
  import { WebXRAvatar } from "../../engine-components/WebXRAvatar.ts";
110
- import { TeleportTarget } from "../../engine-components/WebXRController.ts";
111
168
  import { WebXRController } from "../../engine-components/WebXRController.ts";
112
- import { AttachedObject } from "../../engine-components/WebXRController.ts";
169
+ import { WebXRSync } from "../../engine-components/WebXRSync.ts";
170
+ import { XRFlag } from "../../engine-components/XRFlag.ts";
113
171
  import { XRGrabModel } from "../../engine-components/WebXRGrabRendering.ts";
114
172
  import { XRGrabRendering } from "../../engine-components/WebXRGrabRendering.ts";
115
173
  import { XRRig } from "../../engine-components/WebXRRig.ts";
116
- import { VRUserState } from "../../engine-components/WebXRSync.ts";
117
- import { WebXRSync } from "../../engine-components/WebXRSync.ts";
118
174
  import { XRState } from "../../engine-components/XRFlag.ts";
119
- import { XRFlag } from "../../engine-components/XRFlag.ts";
120
- import { AvatarBlink_Simple } from "../../engine-components/avatar/AvatarBlink_Simple.ts";
121
- import { AvatarEyeLook_Rotation } from "../../engine-components/avatar/AvatarEyeLook_Rotation.ts";
122
- import { Avatar_POI } from "../../engine-components/avatar/Avatar_Brain_LookAt.ts";
123
- import { Avatar_Brain_LookAt } from "../../engine-components/avatar/Avatar_Brain_LookAt.ts";
124
- import { Avatar_MouthShapes } from "../../engine-components/avatar/Avatar_MouthShapes.ts";
125
- import { Avatar_MustacheShake } from "../../engine-components/avatar/Avatar_MustacheShake.ts";
126
- import { __Ignore } from "../../engine-components/codegen/components.ts";
127
- import { LogStats } from "../../engine-components/debug/LogStats.ts";
128
- import { RGBAColor } from "../../engine-components/js-extensions/RGBAColor.ts";
129
- import { PlayableDirector } from "../../engine-components/timeline/PlayableDirector.ts";
130
- import { SignalAsset } from "../../engine-components/timeline/SignalAsset.ts";
131
- import { SignalReceiverEvent } from "../../engine-components/timeline/SignalAsset.ts";
132
- import { SignalReceiver } from "../../engine-components/timeline/SignalAsset.ts";
133
- import { AnimationTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
134
- import { AudioTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
135
- import { SignalTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
136
- import { ControlTrackHandler } from "../../engine-components/timeline/TimelineTracks.ts";
137
- import { BaseUIComponent } from "../../engine-components/ui/BaseUIComponent.ts";
138
- import { UIRootComponent } from "../../engine-components/ui/BaseUIComponent.ts";
139
- import { Button } from "../../engine-components/ui/Button.ts";
140
- import { Canvas } from "../../engine-components/ui/Canvas.ts";
141
- import { CanvasGroup } from "../../engine-components/ui/CanvasGroup.ts";
142
- import { EventSystem } from "../../engine-components/ui/EventSystem.ts";
143
- import { Graphic } from "../../engine-components/ui/Graphic.ts";
144
- import { MaskableGraphic } from "../../engine-components/ui/Graphic.ts";
145
- import { Image } from "../../engine-components/ui/Image.ts";
146
- import { RawImage } from "../../engine-components/ui/Image.ts";
147
- import { InputField } from "../../engine-components/ui/InputField.ts";
148
- import { Keyboard } from "../../engine-components/ui/Keyboard.ts";
149
- import { LayoutGroup } from "../../engine-components/ui/Layout.ts";
150
- import { VerticalLayoutGroup } from "../../engine-components/ui/Layout.ts";
151
- import { HorizontalLayoutGroup } from "../../engine-components/ui/Layout.ts";
152
- import { GridLayoutGroup } from "../../engine-components/ui/Layout.ts";
153
- import { PointerEventData } from "../../engine-components/ui/PointerEvents.ts";
154
- import { Raycaster } from "../../engine-components/ui/Raycaster.ts";
155
- import { ObjectRaycaster } from "../../engine-components/ui/Raycaster.ts";
156
- import { GraphicRaycaster } from "../../engine-components/ui/Raycaster.ts";
157
- import { UIRaycastUtils } from "../../engine-components/ui/RaycastUtils.ts";
158
- import { Size } from "../../engine-components/ui/RectTransform.ts";
159
- import { Rect } from "../../engine-components/ui/RectTransform.ts";
160
- import { RectTransform } from "../../engine-components/ui/RectTransform.ts";
161
- import { SpatialHtml } from "../../engine-components/ui/SpatialHtml.ts";
162
- import { Text } from "../../engine-components/ui/Text.ts";
163
- import { GltfExportBox } from "../../engine-components/export/gltf/GltfExport.ts";
164
- import { GltfExport } from "../../engine-components/export/gltf/GltfExport.ts";
165
- import { USDZExporter } from "../../engine-components/export/usdz/USDZExporter.ts";
166
- import { RegisteredAnimationInfo } from "../../engine-components/export/usdz/extensions/Animation.ts";
167
- import { TransformData } from "../../engine-components/export/usdz/extensions/Animation.ts";
168
- import { AnimationExtension } from "../../engine-components/export/usdz/extensions/Animation.ts";
169
- import { PresentationMode } from "../../engine-components-experimental/Presentation.ts";
170
- import { LinesDrawer } from "../../engine-components-experimental/annotation/LineDrawer.ts";
171
- import { LineInstanceHandler } from "../../engine-components-experimental/annotation/LinesManager.ts";
172
- import { LinesManager } from "../../engine-components-experimental/annotation/LinesManager.ts";
173
- import { PlayerSync } from "../../engine-components-experimental/networking/PlayerSync.ts";
174
- import { PlayerState } from "../../engine-components-experimental/networking/PlayerSync.ts";
175
-
175
+
176
176
  // Register types
177
+ TypeStore.add("__Ignore", __Ignore);
177
178
  TypeStore.add("AlignmentConstraint", AlignmentConstraint);
178
179
  TypeStore.add("Animation", Animation);
179
180
  TypeStore.add("AnimationCurve", AnimationCurve);
181
+ TypeStore.add("AnimationExtension", AnimationExtension);
182
+ TypeStore.add("AnimationTrackHandler", AnimationTrackHandler);
180
183
  TypeStore.add("Animator", Animator);
181
184
  TypeStore.add("AnimatorController", AnimatorController);
185
+ TypeStore.add("AttachedObject", AttachedObject);
182
186
  TypeStore.add("AudioListener", AudioListener);
183
187
  TypeStore.add("AudioSource", AudioSource);
184
- TypeStore.add("AvatarModel", AvatarModel);
188
+ TypeStore.add("AudioTrackHandler", AudioTrackHandler);
189
+ TypeStore.add("Avatar_Brain_LookAt", Avatar_Brain_LookAt);
190
+ TypeStore.add("Avatar_MouthShapes", Avatar_MouthShapes);
191
+ TypeStore.add("Avatar_MustacheShake", Avatar_MustacheShake);
192
+ TypeStore.add("Avatar_POI", Avatar_POI);
193
+ TypeStore.add("AvatarBlink_Simple", AvatarBlink_Simple);
194
+ TypeStore.add("AvatarEyeLook_Rotation", AvatarEyeLook_Rotation);
185
195
  TypeStore.add("AvatarLoader", AvatarLoader);
196
+ TypeStore.add("AvatarMarker", AvatarMarker);
197
+ TypeStore.add("AvatarModel", AvatarModel);
186
198
  TypeStore.add("AxesHelper", AxesHelper);
199
+ TypeStore.add("BaseUIComponent", BaseUIComponent);
187
200
  TypeStore.add("BasicIKConstraint", BasicIKConstraint);
201
+ TypeStore.add("BoxCollider", BoxCollider);
202
+ TypeStore.add("BoxGizmo", BoxGizmo);
188
203
  TypeStore.add("BoxHelperComponent", BoxHelperComponent);
204
+ TypeStore.add("Button", Button);
205
+ TypeStore.add("CallInfo", CallInfo);
189
206
  TypeStore.add("Camera", Camera);
207
+ TypeStore.add("Canvas", Canvas);
208
+ TypeStore.add("CanvasGroup", CanvasGroup);
209
+ TypeStore.add("CapsuleCollider", CapsuleCollider);
190
210
  TypeStore.add("CharacterController", CharacterController);
191
211
  TypeStore.add("CharacterControllerInput", CharacterControllerInput);
192
212
  TypeStore.add("Collider", Collider);
193
- TypeStore.add("SphereCollider", SphereCollider);
194
- TypeStore.add("BoxCollider", BoxCollider);
195
- TypeStore.add("MeshCollider", MeshCollider);
196
- TypeStore.add("CapsuleCollider", CapsuleCollider);
197
- TypeStore.add("DeleteBox", DeleteBox);
213
+ TypeStore.add("ColorAdjustments", ColorAdjustments);
214
+ TypeStore.add("ColorBySpeedModule", ColorBySpeedModule);
215
+ TypeStore.add("ColorOverLifetimeModule", ColorOverLifetimeModule);
216
+ TypeStore.add("ControlTrackHandler", ControlTrackHandler);
198
217
  TypeStore.add("Deletable", Deletable);
218
+ TypeStore.add("DeleteBox", DeleteBox);
199
219
  TypeStore.add("DeviceFlag", DeviceFlag);
200
220
  TypeStore.add("DragControls", DragControls);
201
221
  TypeStore.add("DropListener", DropListener);
202
222
  TypeStore.add("Duplicatable", Duplicatable);
203
- TypeStore.add("CallInfo", CallInfo);
204
- TypeStore.add("EventListEvent", EventListEvent);
223
+ TypeStore.add("EmissionModule", EmissionModule);
205
224
  TypeStore.add("EventList", EventList);
225
+ TypeStore.add("EventListEvent", EventListEvent);
226
+ TypeStore.add("EventSystem", EventSystem);
206
227
  TypeStore.add("EventTrigger", EventTrigger);
228
+ TypeStore.add("FieldWithDefault", FieldWithDefault);
229
+ TypeStore.add("FixedJoint", FixedJoint);
207
230
  TypeStore.add("FlyControls", FlyControls);
208
- TypeStore.add("BoxGizmo", BoxGizmo);
231
+ TypeStore.add("GltfExport", GltfExport);
232
+ TypeStore.add("GltfExportBox", GltfExportBox);
233
+ TypeStore.add("Gradient", Gradient);
234
+ TypeStore.add("Graphic", Graphic);
235
+ TypeStore.add("GraphicRaycaster", GraphicRaycaster);
209
236
  TypeStore.add("GridHelper", GridHelper);
237
+ TypeStore.add("GridLayoutGroup", GridLayoutGroup);
210
238
  TypeStore.add("GroundProjectedEnv", GroundProjectedEnv);
211
- TypeStore.add("Interactable", Interactable);
212
- TypeStore.add("UsageMarker", UsageMarker);
213
- TypeStore.add("FixedJoint", FixedJoint);
214
239
  TypeStore.add("HingeJoint", HingeJoint);
240
+ TypeStore.add("HorizontalLayoutGroup", HorizontalLayoutGroup);
241
+ TypeStore.add("Image", Image);
242
+ TypeStore.add("InheritVelocityModule", InheritVelocityModule);
243
+ TypeStore.add("InputField", InputField);
244
+ TypeStore.add("Interactable", Interactable);
245
+ TypeStore.add("Keyboard", Keyboard);
246
+ TypeStore.add("LayoutGroup", LayoutGroup);
215
247
  TypeStore.add("Light", Light);
216
- TypeStore.add("LODModel", LODModel);
248
+ TypeStore.add("LimitVelocityOverLifetimeModule", LimitVelocityOverLifetimeModule);
249
+ TypeStore.add("LineInstanceHandler", LineInstanceHandler);
250
+ TypeStore.add("LinesDrawer", LinesDrawer);
251
+ TypeStore.add("LinesManager", LinesManager);
217
252
  TypeStore.add("LODGroup", LODGroup);
253
+ TypeStore.add("LODModel", LODModel);
254
+ TypeStore.add("LogStats", LogStats);
218
255
  TypeStore.add("LookAtConstraint", LookAtConstraint);
256
+ TypeStore.add("MainModule", MainModule);
257
+ TypeStore.add("MaskableGraphic", MaskableGraphic);
258
+ TypeStore.add("MeshCollider", MeshCollider);
259
+ TypeStore.add("MeshRenderer", MeshRenderer);
260
+ TypeStore.add("MinMaxCurve", MinMaxCurve);
261
+ TypeStore.add("MinMaxGradient", MinMaxGradient);
219
262
  TypeStore.add("NestedGltf", NestedGltf);
220
263
  TypeStore.add("Networking", Networking);
264
+ TypeStore.add("NoiseModule", NoiseModule);
265
+ TypeStore.add("ObjectRaycaster", ObjectRaycaster);
221
266
  TypeStore.add("OffsetConstraint", OffsetConstraint);
222
267
  TypeStore.add("OrbitControls", OrbitControls);
223
- TypeStore.add("SubEmitterSystem", SubEmitterSystem);
224
- TypeStore.add("ParticleSystemRenderer", ParticleSystemRenderer);
225
- TypeStore.add("ParticleSystem", ParticleSystem);
226
- TypeStore.add("Gradient", Gradient);
227
- TypeStore.add("MinMaxCurve", MinMaxCurve);
228
- TypeStore.add("MinMaxGradient", MinMaxGradient);
229
- TypeStore.add("MainModule", MainModule);
230
268
  TypeStore.add("ParticleBurst", ParticleBurst);
231
- TypeStore.add("EmissionModule", EmissionModule);
232
- TypeStore.add("ColorOverLifetimeModule", ColorOverLifetimeModule);
233
- TypeStore.add("SizeOverLifetimeModule", SizeOverLifetimeModule);
234
- TypeStore.add("ShapeModule", ShapeModule);
235
- TypeStore.add("NoiseModule", NoiseModule);
236
- TypeStore.add("TrailModule", TrailModule);
237
- TypeStore.add("VelocityOverLifetimeModule", VelocityOverLifetimeModule);
238
- TypeStore.add("TextureSheetAnimationModule", TextureSheetAnimationModule);
239
- TypeStore.add("RotationOverLifetimeModule", RotationOverLifetimeModule);
240
- TypeStore.add("RotationBySpeedModule", RotationBySpeedModule);
241
- TypeStore.add("LimitVelocityOverLifetimeModule", LimitVelocityOverLifetimeModule);
242
- TypeStore.add("InheritVelocityModule", InheritVelocityModule);
243
- TypeStore.add("SizeBySpeedModule", SizeBySpeedModule);
244
- TypeStore.add("ColorBySpeedModule", ColorBySpeedModule);
245
269
  TypeStore.add("ParticleSubEmitter", ParticleSubEmitter);
270
+ TypeStore.add("ParticleSystem", ParticleSystem);
271
+ TypeStore.add("ParticleSystemRenderer", ParticleSystemRenderer);
272
+ TypeStore.add("PlayableDirector", PlayableDirector);
246
273
  TypeStore.add("PlayerColor", PlayerColor);
274
+ TypeStore.add("PlayerState", PlayerState);
275
+ TypeStore.add("PlayerSync", PlayerSync);
276
+ TypeStore.add("PointerEventData", PointerEventData);
277
+ TypeStore.add("PresentationMode", PresentationMode);
278
+ TypeStore.add("RawImage", RawImage);
279
+ TypeStore.add("Raycaster", Raycaster);
280
+ TypeStore.add("Rect", Rect);
281
+ TypeStore.add("RectTransform", RectTransform);
247
282
  TypeStore.add("ReflectionProbe", ReflectionProbe);
248
- TypeStore.add("FieldWithDefault", FieldWithDefault);
283
+ TypeStore.add("RegisteredAnimationInfo", RegisteredAnimationInfo);
284
+ TypeStore.add("RemoteSkybox", RemoteSkybox);
249
285
  TypeStore.add("Renderer", Renderer);
250
- TypeStore.add("MeshRenderer", MeshRenderer);
251
- TypeStore.add("SkinnedMeshRenderer", SkinnedMeshRenderer);
252
286
  TypeStore.add("RendererLightmap", RendererLightmap);
287
+ TypeStore.add("RGBAColor", RGBAColor);
253
288
  TypeStore.add("Rigidbody", Rigidbody);
289
+ TypeStore.add("RotationBySpeedModule", RotationBySpeedModule);
290
+ TypeStore.add("RotationOverLifetimeModule", RotationOverLifetimeModule);
254
291
  TypeStore.add("ScreenCapture", ScreenCapture);
255
292
  TypeStore.add("ShadowCatcher", ShadowCatcher);
256
- TypeStore.add("RemoteSkybox", RemoteSkybox);
293
+ TypeStore.add("ShapeModule", ShapeModule);
294
+ TypeStore.add("SignalAsset", SignalAsset);
295
+ TypeStore.add("SignalReceiver", SignalReceiver);
296
+ TypeStore.add("SignalReceiverEvent", SignalReceiverEvent);
297
+ TypeStore.add("SignalTrackHandler", SignalTrackHandler);
298
+ TypeStore.add("Size", Size);
299
+ TypeStore.add("SizeBySpeedModule", SizeBySpeedModule);
300
+ TypeStore.add("SizeOverLifetimeModule", SizeOverLifetimeModule);
301
+ TypeStore.add("SkinnedMeshRenderer", SkinnedMeshRenderer);
257
302
  TypeStore.add("SmoothFollow", SmoothFollow);
258
- TypeStore.add("SpatialTriggerReceiver", SpatialTriggerReceiver);
303
+ TypeStore.add("SpatialHtml", SpatialHtml);
259
304
  TypeStore.add("SpatialTrigger", SpatialTrigger);
305
+ TypeStore.add("SpatialTriggerReceiver", SpatialTriggerReceiver);
260
306
  TypeStore.add("SpectatorCamera", SpectatorCamera);
307
+ TypeStore.add("SphereCollider", SphereCollider);
261
308
  TypeStore.add("Sprite", Sprite);
262
- TypeStore.add("SpriteSheet", SpriteSheet);
263
309
  TypeStore.add("SpriteRenderer", SpriteRenderer);
310
+ TypeStore.add("SpriteSheet", SpriteSheet);
311
+ TypeStore.add("SubEmitterSystem", SubEmitterSystem);
264
312
  TypeStore.add("SyncedCamera", SyncedCamera);
265
313
  TypeStore.add("SyncedRoom", SyncedRoom);
266
314
  TypeStore.add("SyncedTransform", SyncedTransform);
315
+ TypeStore.add("TeleportTarget", TeleportTarget);
267
316
  TypeStore.add("TestRunner", TestRunner);
268
317
  TypeStore.add("TestSimulateUserData", TestSimulateUserData);
318
+ TypeStore.add("Text", Text);
319
+ TypeStore.add("TextureSheetAnimationModule", TextureSheetAnimationModule);
320
+ TypeStore.add("ToneMapping", ToneMapping);
321
+ TypeStore.add("TrailModule", TrailModule);
322
+ TypeStore.add("TransformData", TransformData);
269
323
  TypeStore.add("TransformGizmo", TransformGizmo);
324
+ TypeStore.add("UIRaycastUtils", UIRaycastUtils);
325
+ TypeStore.add("UIRootComponent", UIRootComponent);
326
+ TypeStore.add("UsageMarker", UsageMarker);
327
+ TypeStore.add("USDZExporter", USDZExporter);
328
+ TypeStore.add("VelocityOverLifetimeModule", VelocityOverLifetimeModule);
329
+ TypeStore.add("VerticalLayoutGroup", VerticalLayoutGroup);
270
330
  TypeStore.add("VideoPlayer", VideoPlayer);
271
331
  TypeStore.add("Voip", Voip);
272
- TypeStore.add("VolumeParameter", VolumeParameter);
332
+ TypeStore.add("Volume", Volume);
273
333
  TypeStore.add("VolumeComponent", VolumeComponent);
274
- TypeStore.add("ToneMapping", ToneMapping);
275
- TypeStore.add("ColorAdjustments", ColorAdjustments);
334
+ TypeStore.add("VolumeParameter", VolumeParameter);
276
335
  TypeStore.add("VolumeProfile", VolumeProfile);
277
- TypeStore.add("Volume", Volume);
336
+ TypeStore.add("VRUserState", VRUserState);
337
+ TypeStore.add("WebAR", WebAR);
278
338
  TypeStore.add("WebARSessionRoot", WebARSessionRoot);
279
339
  TypeStore.add("WebXR", WebXR);
280
- TypeStore.add("WebAR", WebAR);
281
- TypeStore.add("AvatarMarker", AvatarMarker);
282
340
  TypeStore.add("WebXRAvatar", WebXRAvatar);
283
- TypeStore.add("TeleportTarget", TeleportTarget);
284
341
  TypeStore.add("WebXRController", WebXRController);
285
- TypeStore.add("AttachedObject", AttachedObject);
342
+ TypeStore.add("WebXRSync", WebXRSync);
343
+ TypeStore.add("XRFlag", XRFlag);
286
344
  TypeStore.add("XRGrabModel", XRGrabModel);
287
345
  TypeStore.add("XRGrabRendering", XRGrabRendering);
288
346
  TypeStore.add("XRRig", XRRig);
289
- TypeStore.add("VRUserState", VRUserState);
290
- TypeStore.add("WebXRSync", WebXRSync);
291
347
  TypeStore.add("XRState", XRState);
292
- TypeStore.add("XRFlag", XRFlag);
293
- TypeStore.add("AvatarBlink_Simple", AvatarBlink_Simple);
294
- TypeStore.add("AvatarEyeLook_Rotation", AvatarEyeLook_Rotation);
295
- TypeStore.add("Avatar_POI", Avatar_POI);
296
- TypeStore.add("Avatar_Brain_LookAt", Avatar_Brain_LookAt);
297
- TypeStore.add("Avatar_MouthShapes", Avatar_MouthShapes);
298
- TypeStore.add("Avatar_MustacheShake", Avatar_MustacheShake);
299
- TypeStore.add("__Ignore", __Ignore);
300
- TypeStore.add("LogStats", LogStats);
301
- TypeStore.add("RGBAColor", RGBAColor);
302
- TypeStore.add("PlayableDirector", PlayableDirector);
303
- TypeStore.add("SignalAsset", SignalAsset);
304
- TypeStore.add("SignalReceiverEvent", SignalReceiverEvent);
305
- TypeStore.add("SignalReceiver", SignalReceiver);
306
- TypeStore.add("AnimationTrackHandler", AnimationTrackHandler);
307
- TypeStore.add("AudioTrackHandler", AudioTrackHandler);
308
- TypeStore.add("SignalTrackHandler", SignalTrackHandler);
309
- TypeStore.add("ControlTrackHandler", ControlTrackHandler);
310
- TypeStore.add("BaseUIComponent", BaseUIComponent);
311
- TypeStore.add("UIRootComponent", UIRootComponent);
312
- TypeStore.add("Button", Button);
313
- TypeStore.add("Canvas", Canvas);
314
- TypeStore.add("CanvasGroup", CanvasGroup);
315
- TypeStore.add("EventSystem", EventSystem);
316
- TypeStore.add("Graphic", Graphic);
317
- TypeStore.add("MaskableGraphic", MaskableGraphic);
318
- TypeStore.add("Image", Image);
319
- TypeStore.add("RawImage", RawImage);
320
- TypeStore.add("InputField", InputField);
321
- TypeStore.add("Keyboard", Keyboard);
322
- TypeStore.add("LayoutGroup", LayoutGroup);
323
- TypeStore.add("VerticalLayoutGroup", VerticalLayoutGroup);
324
- TypeStore.add("HorizontalLayoutGroup", HorizontalLayoutGroup);
325
- TypeStore.add("GridLayoutGroup", GridLayoutGroup);
326
- TypeStore.add("PointerEventData", PointerEventData);
327
- TypeStore.add("Raycaster", Raycaster);
328
- TypeStore.add("ObjectRaycaster", ObjectRaycaster);
329
- TypeStore.add("GraphicRaycaster", GraphicRaycaster);
330
- TypeStore.add("UIRaycastUtils", UIRaycastUtils);
331
- TypeStore.add("Size", Size);
332
- TypeStore.add("Rect", Rect);
333
- TypeStore.add("RectTransform", RectTransform);
334
- TypeStore.add("SpatialHtml", SpatialHtml);
335
- TypeStore.add("Text", Text);
336
- TypeStore.add("GltfExportBox", GltfExportBox);
337
- TypeStore.add("GltfExport", GltfExport);
338
- TypeStore.add("USDZExporter", USDZExporter);
339
- TypeStore.add("RegisteredAnimationInfo", RegisteredAnimationInfo);
340
- TypeStore.add("TransformData", TransformData);
341
- TypeStore.add("AnimationExtension", AnimationExtension);
342
- TypeStore.add("PresentationMode", PresentationMode);
343
- TypeStore.add("LinesDrawer", LinesDrawer);
344
- TypeStore.add("LineInstanceHandler", LineInstanceHandler);
345
- TypeStore.add("LinesManager", LinesManager);
346
- TypeStore.add("PlayerSync", PlayerSync);
347
- TypeStore.add("PlayerState", PlayerState);
@@ -1,5 +1,6 @@
1
1
  import { addLog, LogType } from "./debug_overlay";
2
2
  import { showDebugConsole } from "./debug_console";
3
+ import { isLocalNetwork } from "../engine_networking_utils";
3
4
 
4
5
  export { showDebugConsole }
5
6
 
@@ -13,4 +14,8 @@ export function showBalloonMessage(text: string, logType: LogType = LogType.Log)
13
14
 
14
15
  export function showBalloonWarning(text: string) {
15
16
  showBalloonMessage(text, LogType.Warn);
17
+ }
18
+
19
+ export function isDevEnvironment(){
20
+ return isLocalNetwork();
16
21
  }
@@ -17,9 +17,10 @@ if (showConsole) {
17
17
  }
18
18
 
19
19
  if (!suppressConsole && (showConsole || isLocalNetwork())) {
20
- console.log("Add the ?console query parameter to the url to show the debug console (on mobile it will automatically open for local development when your get errors)");
20
+ if (isLocalNetwork())
21
+ console.log("Add the ?console query parameter to the url to show the debug console (on mobile it will automatically open for local development when your get errors)");
21
22
  const isMobile = isMobileDevice();
22
- if(isMobile){
23
+ if (isMobile) {
23
24
  beginWatchingLogs();
24
25
  createConsole(true);
25
26
  if (isMobile) {
@@ -186,7 +186,9 @@ function getMessageContainer(type: LogType, msg: string): HTMLElement {
186
186
  if (containerCache.has(type)) {
187
187
  const containers = containerCache.get(type)!;
188
188
  if (containers.length > 0) {
189
- return containers.pop()!;
189
+ const container = containers.pop()!;
190
+ container.innerHTML = msg;
191
+ return container;
190
192
  }
191
193
  }
192
194
  const element = document.createElement("div");
@@ -167,7 +167,8 @@ export class EngineElement extends HTMLElement implements INeedleEngineComponent
167
167
  }
168
168
  if (fn) {
169
169
  this.classList.add("loading");
170
- console.log("Needle Engine: Begin loading", alias ?? "");
170
+ if (debug)
171
+ console.log("Needle Engine: Begin loading", alias ?? "");
171
172
  const allowOverridingDefaultLoading = true;
172
173
  // default loading can be overriden by calling preventDefault in the onload start event
173
174
  const useDefaultLoading = this.dispatchEvent(new CustomEvent("loadstart", {
@@ -210,7 +211,8 @@ export class EngineElement extends HTMLElement implements INeedleEngineComponent
210
211
  this._loadingView?.onLoadingFinished("create scene");
211
212
  this.classList.remove("loading");
212
213
  this.classList.add("loading-finished");
213
- console.log("Needle Engine: finished loading", alias ?? "");
214
+ if (debug)
215
+ console.log("Needle Engine: finished loading", alias ?? "");
214
216
  this.dispatchEvent(new CustomEvent("loadfinished", {
215
217
  detail: {
216
218
  context: this._context,