@onerjs/core 9.0.2 → 9.0.4

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 (476) hide show
  1. package/Buffers/buffer.pure.js +4 -0
  2. package/Buffers/buffer.pure.js.map +1 -1
  3. package/Cameras/camera.pure.d.ts +14 -0
  4. package/Cameras/camera.pure.js +15 -0
  5. package/Cameras/camera.pure.js.map +1 -1
  6. package/Compute/computeShader.pure.d.ts +2 -1
  7. package/Compute/computeShader.pure.js +29 -10
  8. package/Compute/computeShader.pure.js.map +1 -1
  9. package/Culling/ray.core.js +22 -9
  10. package/Culling/ray.core.js.map +1 -1
  11. package/Engines/IDrawContext.d.ts +2 -0
  12. package/Engines/IDrawContext.js.map +1 -1
  13. package/Engines/Native/nativeInterfaces.d.ts +55 -4
  14. package/Engines/Native/nativeInterfaces.js.map +1 -1
  15. package/Engines/Native/nativeRenderTargetWrapper.d.ts +1 -0
  16. package/Engines/Native/nativeRenderTargetWrapper.js +5 -1
  17. package/Engines/Native/nativeRenderTargetWrapper.js.map +1 -1
  18. package/Engines/Processors/shaderCodeInliner.d.ts +2 -0
  19. package/Engines/Processors/shaderCodeInliner.js +251 -6
  20. package/Engines/Processors/shaderCodeInliner.js.map +1 -1
  21. package/Engines/Processors/shaderProcessor.js +10 -1
  22. package/Engines/Processors/shaderProcessor.js.map +1 -1
  23. package/Engines/WebGPU/Extensions/engine.debugging.pure.js +12 -0
  24. package/Engines/WebGPU/Extensions/engine.debugging.pure.js.map +1 -1
  25. package/Engines/WebGPU/Extensions/engine.multiRender.pure.js +0 -1
  26. package/Engines/WebGPU/Extensions/engine.multiRender.pure.js.map +1 -1
  27. package/Engines/WebGPU/Extensions/engine.query.pure.js +5 -0
  28. package/Engines/WebGPU/Extensions/engine.query.pure.js.map +1 -1
  29. package/Engines/WebGPU/webgpuBufferManager.js +7 -0
  30. package/Engines/WebGPU/webgpuBufferManager.js.map +1 -1
  31. package/Engines/WebGPU/webgpuCacheTextureView.d.ts +1 -1
  32. package/Engines/WebGPU/webgpuCacheTextureView.js +20 -8
  33. package/Engines/WebGPU/webgpuCacheTextureView.js.map +1 -1
  34. package/Engines/WebGPU/webgpuDrawContext.d.ts +2 -0
  35. package/Engines/WebGPU/webgpuDrawContext.js +6 -0
  36. package/Engines/WebGPU/webgpuDrawContext.js.map +1 -1
  37. package/Engines/WebGPU/webgpuQuerySet.d.ts +3 -3
  38. package/Engines/WebGPU/webgpuQuerySet.js +23 -9
  39. package/Engines/WebGPU/webgpuQuerySet.js.map +1 -1
  40. package/Engines/WebGPU/webgpuRenderPassCommandStream.d.ts +156 -0
  41. package/Engines/WebGPU/webgpuRenderPassCommandStream.js +323 -0
  42. package/Engines/WebGPU/webgpuRenderPassCommandStream.js.map +1 -0
  43. package/Engines/WebGPU/webgpuTextureManager.d.ts +1 -1
  44. package/Engines/WebGPU/webgpuTextureManager.js +4 -3
  45. package/Engines/WebGPU/webgpuTextureManager.js.map +1 -1
  46. package/Engines/WebGPU/webgpuTimestampQuery.d.ts +3 -1
  47. package/Engines/WebGPU/webgpuTimestampQuery.js +9 -6
  48. package/Engines/WebGPU/webgpuTimestampQuery.js.map +1 -1
  49. package/Engines/abstractEngine.pure.d.ts +2 -0
  50. package/Engines/abstractEngine.pure.js +14 -5
  51. package/Engines/abstractEngine.pure.js.map +1 -1
  52. package/Engines/constants.d.ts +6 -0
  53. package/Engines/constants.js +6 -0
  54. package/Engines/constants.js.map +1 -1
  55. package/Engines/engine.d.ts +198 -24
  56. package/Engines/pure.d.ts +1 -0
  57. package/Engines/pure.js +1 -0
  58. package/Engines/pure.js.map +1 -1
  59. package/Engines/renderCommandBatcher.pure.d.ts +16 -0
  60. package/Engines/renderCommandBatcher.pure.js +24 -0
  61. package/Engines/renderCommandBatcher.pure.js.map +1 -0
  62. package/Engines/thinEngine.functions.js +3 -2
  63. package/Engines/thinEngine.functions.js.map +1 -1
  64. package/Engines/thinEngine.pure.js +18 -2
  65. package/Engines/thinEngine.pure.js.map +1 -1
  66. package/Engines/thinNativeEngine.pure.d.ts +10 -7
  67. package/Engines/thinNativeEngine.pure.js +117 -46
  68. package/Engines/thinNativeEngine.pure.js.map +1 -1
  69. package/Engines/thinWebGPUEngine.d.ts +8 -0
  70. package/Engines/thinWebGPUEngine.js +11 -0
  71. package/Engines/thinWebGPUEngine.js.map +1 -1
  72. package/Engines/webgpuEngine.pure.d.ts +60 -1
  73. package/Engines/webgpuEngine.pure.js +238 -42
  74. package/Engines/webgpuEngine.pure.js.map +1 -1
  75. package/FlowGraph/Blocks/Data/Audio/flowGraphGetSoundVolumeBlock.pure.d.ts +3 -3
  76. package/FlowGraph/Blocks/Data/Audio/flowGraphGetSoundVolumeBlock.pure.js +2 -1
  77. package/FlowGraph/Blocks/Data/Audio/flowGraphGetSoundVolumeBlock.pure.js.map +1 -1
  78. package/FlowGraph/Blocks/Data/Audio/flowGraphIsSoundPlayingBlock.pure.d.ts +3 -3
  79. package/FlowGraph/Blocks/Data/Audio/flowGraphIsSoundPlayingBlock.pure.js +2 -1
  80. package/FlowGraph/Blocks/Data/Audio/flowGraphIsSoundPlayingBlock.pure.js.map +1 -1
  81. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.d.ts +5 -0
  82. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.js +8 -0
  83. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.js.map +1 -0
  84. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.pure.d.ts +77 -0
  85. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.pure.js +141 -0
  86. package/FlowGraph/Blocks/Event/flowGraphMeshIntersectionEventBlock.pure.js.map +1 -0
  87. package/FlowGraph/Blocks/Event/flowGraphSoundEndedEventBlock.pure.d.ts +5 -3
  88. package/FlowGraph/Blocks/Event/flowGraphSoundEndedEventBlock.pure.js +38 -7
  89. package/FlowGraph/Blocks/Event/flowGraphSoundEndedEventBlock.pure.js.map +1 -1
  90. package/FlowGraph/Blocks/Event/index.d.ts +1 -0
  91. package/FlowGraph/Blocks/Event/index.js +1 -0
  92. package/FlowGraph/Blocks/Event/index.js.map +1 -1
  93. package/FlowGraph/Blocks/Event/pure.d.ts +1 -0
  94. package/FlowGraph/Blocks/Event/pure.js +1 -0
  95. package/FlowGraph/Blocks/Event/pure.js.map +1 -1
  96. package/FlowGraph/Blocks/Execution/Audio/flowGraphPauseSoundBlock.pure.d.ts +3 -3
  97. package/FlowGraph/Blocks/Execution/Audio/flowGraphPauseSoundBlock.pure.js +2 -1
  98. package/FlowGraph/Blocks/Execution/Audio/flowGraphPauseSoundBlock.pure.js.map +1 -1
  99. package/FlowGraph/Blocks/Execution/Audio/flowGraphPlaySoundBlock.pure.d.ts +3 -3
  100. package/FlowGraph/Blocks/Execution/Audio/flowGraphPlaySoundBlock.pure.js +2 -1
  101. package/FlowGraph/Blocks/Execution/Audio/flowGraphPlaySoundBlock.pure.js.map +1 -1
  102. package/FlowGraph/Blocks/Execution/Audio/flowGraphSetSoundVolumeBlock.pure.d.ts +3 -3
  103. package/FlowGraph/Blocks/Execution/Audio/flowGraphSetSoundVolumeBlock.pure.js +2 -1
  104. package/FlowGraph/Blocks/Execution/Audio/flowGraphSetSoundVolumeBlock.pure.js.map +1 -1
  105. package/FlowGraph/Blocks/Execution/Audio/flowGraphStopSoundBlock.pure.d.ts +3 -3
  106. package/FlowGraph/Blocks/Execution/Audio/flowGraphStopSoundBlock.pure.js +2 -1
  107. package/FlowGraph/Blocks/Execution/Audio/flowGraphStopSoundBlock.pure.js.map +1 -1
  108. package/FlowGraph/Blocks/allBlocks.pure.js +2 -0
  109. package/FlowGraph/Blocks/allBlocks.pure.js.map +1 -1
  110. package/FlowGraph/Blocks/flowGraphBlockFactory.js +2 -0
  111. package/FlowGraph/Blocks/flowGraphBlockFactory.js.map +1 -1
  112. package/FlowGraph/Blocks/flowGraphBlockNames.d.ts +1 -0
  113. package/FlowGraph/Blocks/flowGraphBlockNames.js +1 -0
  114. package/FlowGraph/Blocks/flowGraphBlockNames.js.map +1 -1
  115. package/FlowGraph/flowGraph.d.ts +12 -1
  116. package/FlowGraph/flowGraph.js +38 -0
  117. package/FlowGraph/flowGraph.js.map +1 -1
  118. package/FlowGraph/flowGraphCoordinator.d.ts +44 -0
  119. package/FlowGraph/flowGraphCoordinator.js +141 -0
  120. package/FlowGraph/flowGraphCoordinator.js.map +1 -1
  121. package/FlowGraph/flowGraphDataConnection.pure.js +41 -14
  122. package/FlowGraph/flowGraphDataConnection.pure.js.map +1 -1
  123. package/FlowGraph/flowGraphParser.js +105 -5
  124. package/FlowGraph/flowGraphParser.js.map +1 -1
  125. package/FlowGraph/flowGraphSoundAssets.d.ts +40 -0
  126. package/FlowGraph/flowGraphSoundAssets.js +33 -0
  127. package/FlowGraph/flowGraphSoundAssets.js.map +1 -0
  128. package/FlowGraph/index.d.ts +1 -0
  129. package/FlowGraph/index.js +1 -0
  130. package/FlowGraph/index.js.map +1 -1
  131. package/FlowGraph/pure.d.ts +1 -0
  132. package/FlowGraph/pure.js +1 -0
  133. package/FlowGraph/pure.js.map +1 -1
  134. package/FlowGraph/serialization.d.ts +8 -0
  135. package/FlowGraph/serialization.js +31 -12
  136. package/FlowGraph/serialization.js.map +1 -1
  137. package/FlowGraph/typeDefinitions.d.ts +25 -0
  138. package/FlowGraph/typeDefinitions.js.map +1 -1
  139. package/FrameGraph/Tasks/PostProcesses/taaTask.js +2 -0
  140. package/FrameGraph/Tasks/PostProcesses/taaTask.js.map +1 -1
  141. package/Instrumentation/engineInstrumentation.d.ts +1 -0
  142. package/Instrumentation/engineInstrumentation.js +25 -6
  143. package/Instrumentation/engineInstrumentation.js.map +1 -1
  144. package/Lights/Clustered/clusteredLightContainer.pure.js +2 -0
  145. package/Lights/Clustered/clusteredLightContainer.pure.js.map +1 -1
  146. package/Lights/Shadows/cascadedShadowGenerator.pure.d.ts +36 -1
  147. package/Lights/Shadows/cascadedShadowGenerator.pure.js +202 -27
  148. package/Lights/Shadows/cascadedShadowGenerator.pure.js.map +1 -1
  149. package/Lights/directionalLight.pure.d.ts +24 -10
  150. package/Lights/directionalLight.pure.js +29 -11
  151. package/Lights/directionalLight.pure.js.map +1 -1
  152. package/Loading/sceneLoader.d.ts +1 -1
  153. package/Loading/sceneLoader.js +1 -1
  154. package/Loading/sceneLoader.js.map +1 -1
  155. package/Materials/GaussianSplatting/gaussianSplattingMaterial.pure.js +4 -4
  156. package/Materials/GaussianSplatting/gaussianSplattingMaterial.pure.js.map +1 -1
  157. package/Materials/Node/Blocks/Dual/lightBlock.pure.js +1 -1
  158. package/Materials/Node/Blocks/Dual/lightBlock.pure.js.map +1 -1
  159. package/Materials/Node/Blocks/Input/inputBlock.pure.js +4 -0
  160. package/Materials/Node/Blocks/Input/inputBlock.pure.js.map +1 -1
  161. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.pure.d.ts +9 -0
  162. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.pure.js +23 -3
  163. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.pure.js.map +1 -1
  164. package/Materials/PBR/openpbrMaterial.pure.js +1 -1
  165. package/Materials/PBR/openpbrMaterial.pure.js.map +1 -1
  166. package/Materials/PBR/pbrBaseMaterial.pure.d.ts +9 -0
  167. package/Materials/PBR/pbrBaseMaterial.pure.js +60 -1
  168. package/Materials/PBR/pbrBaseMaterial.pure.js.map +1 -1
  169. package/Materials/PBR/pbrBaseSimpleMaterial.d.ts +11 -0
  170. package/Materials/PBR/pbrBaseSimpleMaterial.js +21 -2
  171. package/Materials/PBR/pbrBaseSimpleMaterial.js.map +1 -1
  172. package/Materials/PBR/pbrMaterial.pure.d.ts +12 -0
  173. package/Materials/PBR/pbrMaterial.pure.js +23 -3
  174. package/Materials/PBR/pbrMaterial.pure.js.map +1 -1
  175. package/Materials/Textures/Filtering/hdrIrradianceFiltering.d.ts +1 -0
  176. package/Materials/Textures/Filtering/hdrIrradianceFiltering.js +10 -0
  177. package/Materials/Textures/Filtering/hdrIrradianceFiltering.js.map +1 -1
  178. package/Materials/Textures/HTML/htmlInCanvasPolyfill.d.ts +5 -0
  179. package/Materials/Textures/HTML/htmlInCanvasPolyfill.js +7 -0
  180. package/Materials/Textures/HTML/htmlInCanvasPolyfill.js.map +1 -1
  181. package/Materials/Textures/HTML/htmlInteractionManager.d.ts +9 -3
  182. package/Materials/Textures/HTML/htmlInteractionManager.js +64 -5
  183. package/Materials/Textures/HTML/htmlInteractionManager.js.map +1 -1
  184. package/Materials/Textures/HTML/htmlTexture.d.ts +11 -11
  185. package/Materials/Textures/HTML/htmlTexture.js +106 -65
  186. package/Materials/Textures/HTML/htmlTexture.js.map +1 -1
  187. package/Materials/Textures/Loaders/internalTextureLoader.d.ts +2 -1
  188. package/Materials/Textures/Loaders/internalTextureLoader.js.map +1 -1
  189. package/Materials/Textures/Loaders/ktxTextureLoader.d.ts +2 -1
  190. package/Materials/Textures/Loaders/ktxTextureLoader.js +4 -50
  191. package/Materials/Textures/Loaders/ktxTextureLoader.js.map +1 -1
  192. package/Materials/Textures/Procedurals/proceduralTexture.pure.js +10 -0
  193. package/Materials/Textures/Procedurals/proceduralTexture.pure.js.map +1 -1
  194. package/Materials/Textures/dynamicTexture.pure.js +6 -0
  195. package/Materials/Textures/dynamicTexture.pure.js.map +1 -1
  196. package/Materials/Textures/ktx2encoderTypes.d.ts +51 -0
  197. package/Materials/Textures/ktx2encoderTypes.js +2 -0
  198. package/Materials/Textures/ktx2encoderTypes.js.map +1 -0
  199. package/Materials/Textures/renderTargetTexture.pure.js +10 -2
  200. package/Materials/Textures/renderTargetTexture.pure.js.map +1 -1
  201. package/Materials/Textures/textureMerger.d.ts +11 -0
  202. package/Materials/Textures/textureMerger.js +34 -19
  203. package/Materials/Textures/textureMerger.js.map +1 -1
  204. package/Materials/Textures/textureProcessor.d.ts +145 -0
  205. package/Materials/Textures/textureProcessor.js +445 -45
  206. package/Materials/Textures/textureProcessor.js.map +1 -1
  207. package/Materials/Textures/textureSampling.functions.d.ts +41 -0
  208. package/Materials/Textures/textureSampling.functions.js +82 -0
  209. package/Materials/Textures/textureSampling.functions.js.map +1 -0
  210. package/Materials/drawWrapper.d.ts +8 -0
  211. package/Materials/drawWrapper.js +19 -0
  212. package/Materials/drawWrapper.js.map +1 -1
  213. package/Materials/effect.pure.d.ts +6 -0
  214. package/Materials/effect.pure.js +28 -6
  215. package/Materials/effect.pure.js.map +1 -1
  216. package/Materials/effect.webgl.functions.pure.js +1 -1
  217. package/Materials/effect.webgl.functions.pure.js.map +1 -1
  218. package/Materials/material.pure.d.ts +5 -0
  219. package/Materials/material.pure.js +9 -2
  220. package/Materials/material.pure.js.map +1 -1
  221. package/Materials/materialFlags.d.ts +6 -0
  222. package/Materials/materialFlags.js +14 -0
  223. package/Materials/materialFlags.js.map +1 -1
  224. package/Materials/materialHelper.functions.d.ts +2 -1
  225. package/Materials/materialHelper.functions.js +36 -2
  226. package/Materials/materialHelper.functions.js.map +1 -1
  227. package/Materials/materialHelper.geometryrendering.js +19 -16
  228. package/Materials/materialHelper.geometryrendering.js.map +1 -1
  229. package/Materials/materialPluginManager.pure.js +12 -8
  230. package/Materials/materialPluginManager.pure.js.map +1 -1
  231. package/Materials/prePassConfiguration.js +19 -16
  232. package/Materials/prePassConfiguration.js.map +1 -1
  233. package/Materials/shaderMaterial.pure.js +19 -6
  234. package/Materials/shaderMaterial.pure.js.map +1 -1
  235. package/Materials/shadowDepthWrapper.d.ts +6 -0
  236. package/Materials/shadowDepthWrapper.js +17 -0
  237. package/Materials/shadowDepthWrapper.js.map +1 -1
  238. package/Meshes/Compression/dracoCodec.d.ts +14 -0
  239. package/Meshes/Compression/dracoCodec.js +22 -0
  240. package/Meshes/Compression/dracoCodec.js.map +1 -1
  241. package/Meshes/Compression/dracoDecoder.d.ts +1 -0
  242. package/Meshes/Compression/dracoDecoder.js +27 -0
  243. package/Meshes/Compression/dracoDecoder.js.map +1 -1
  244. package/Meshes/Compression/dracoEncoder.d.ts +1 -0
  245. package/Meshes/Compression/dracoEncoder.js +8 -0
  246. package/Meshes/Compression/dracoEncoder.js.map +1 -1
  247. package/Meshes/Compression/meshoptCompression.d.ts +1 -0
  248. package/Meshes/Compression/meshoptCompression.js +9 -0
  249. package/Meshes/Compression/meshoptCompression.js.map +1 -1
  250. package/Meshes/GaussianSplatting/gaussianSplattingGpuSorter.d.ts +415 -0
  251. package/Meshes/GaussianSplatting/gaussianSplattingGpuSorter.js +912 -0
  252. package/Meshes/GaussianSplatting/gaussianSplattingGpuSorter.js.map +1 -0
  253. package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.d.ts +3 -0
  254. package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js +40 -9
  255. package/Meshes/GaussianSplatting/gaussianSplattingMesh.pure.js.map +1 -1
  256. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.d.ts +112 -8
  257. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js +696 -74
  258. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js.map +1 -1
  259. package/Meshes/abstractMesh.pure.js +12 -4
  260. package/Meshes/abstractMesh.pure.js.map +1 -1
  261. package/Meshes/geometry.d.ts +5 -0
  262. package/Meshes/geometry.js +25 -0
  263. package/Meshes/geometry.js.map +1 -1
  264. package/Meshes/index.d.ts +1 -0
  265. package/Meshes/index.js +1 -0
  266. package/Meshes/index.js.map +1 -1
  267. package/Meshes/mesh.pure.d.ts +7 -0
  268. package/Meshes/mesh.pure.js +18 -13
  269. package/Meshes/mesh.pure.js.map +1 -1
  270. package/Meshes/pure.d.ts +1 -0
  271. package/Meshes/pure.js +1 -0
  272. package/Meshes/pure.js.map +1 -1
  273. package/Meshes/subMesh.pure.d.ts +3 -0
  274. package/Meshes/subMesh.pure.js +26 -0
  275. package/Meshes/subMesh.pure.js.map +1 -1
  276. package/Meshes/thinInstanceMesh.pure.js +5 -3
  277. package/Meshes/thinInstanceMesh.pure.js.map +1 -1
  278. package/Misc/index.d.ts +1 -0
  279. package/Misc/index.js +1 -0
  280. package/Misc/index.js.map +1 -1
  281. package/Misc/khronosTextureContainer2.d.ts +3 -2
  282. package/Misc/khronosTextureContainer2.js +24 -6
  283. package/Misc/khronosTextureContainer2.js.map +1 -1
  284. package/Misc/khronosTextureContainer2Encoder.d.ts +166 -0
  285. package/Misc/khronosTextureContainer2Encoder.js +556 -0
  286. package/Misc/khronosTextureContainer2Encoder.js.map +1 -0
  287. package/Misc/khronosTextureContainer2EncoderWorker.d.ts +61 -0
  288. package/Misc/khronosTextureContainer2EncoderWorker.js +55 -0
  289. package/Misc/khronosTextureContainer2EncoderWorker.js.map +1 -0
  290. package/Misc/pure.d.ts +1 -0
  291. package/Misc/pure.js +1 -0
  292. package/Misc/pure.js.map +1 -1
  293. package/Misc/textureFormat.functions.d.ts +6 -0
  294. package/Misc/textureFormat.functions.js +54 -0
  295. package/Misc/textureFormat.functions.js.map +1 -0
  296. package/Misc/textureTools.d.ts +6 -2
  297. package/Misc/textureTools.js +100 -42
  298. package/Misc/textureTools.js.map +1 -1
  299. package/Misc/tools.pure.js +1 -1
  300. package/Misc/tools.pure.js.map +1 -1
  301. package/Particles/Node/Blocks/systemBlock.pure.d.ts +1 -1
  302. package/Particles/Node/Blocks/systemBlock.pure.js +6 -3
  303. package/Particles/Node/Blocks/systemBlock.pure.js.map +1 -1
  304. package/Particles/computeShaderParticleSystem.pure.js +5 -0
  305. package/Particles/computeShaderParticleSystem.pure.js.map +1 -1
  306. package/Particles/gpuParticleSystem.pure.d.ts +2 -0
  307. package/Particles/gpuParticleSystem.pure.js +25 -1
  308. package/Particles/gpuParticleSystem.pure.js.map +1 -1
  309. package/Particles/solidParticle.d.ts +5 -0
  310. package/Particles/solidParticle.js +5 -0
  311. package/Particles/solidParticle.js.map +1 -1
  312. package/Particles/solidParticleSystem.d.ts +10 -0
  313. package/Particles/solidParticleSystem.js +72 -13
  314. package/Particles/solidParticleSystem.js.map +1 -1
  315. package/Particles/thinParticleSystem.pure.js +4 -0
  316. package/Particles/thinParticleSystem.pure.js.map +1 -1
  317. package/PostProcesses/RenderPipeline/Pipelines/taaMaterialManager.pure.d.ts +27 -6
  318. package/PostProcesses/RenderPipeline/Pipelines/taaMaterialManager.pure.js +60 -5
  319. package/PostProcesses/RenderPipeline/Pipelines/taaMaterialManager.pure.js.map +1 -1
  320. package/PostProcesses/thinTAAPostProcess.d.ts +1 -0
  321. package/PostProcesses/thinTAAPostProcess.js +17 -1
  322. package/PostProcesses/thinTAAPostProcess.js.map +1 -1
  323. package/PostProcesses/volumetricLightScatteringPostProcess.pure.d.ts +2 -1
  324. package/PostProcesses/volumetricLightScatteringPostProcess.pure.js +6 -5
  325. package/PostProcesses/volumetricLightScatteringPostProcess.pure.js.map +1 -1
  326. package/Rendering/boundingBoxRenderer.pure.js +2 -3
  327. package/Rendering/boundingBoxRenderer.pure.js.map +1 -1
  328. package/Rendering/geometryBufferRenderer.pure.js +8 -2
  329. package/Rendering/geometryBufferRenderer.pure.js.map +1 -1
  330. package/Rendering/objectRenderer.d.ts +1 -0
  331. package/Rendering/objectRenderer.js +14 -0
  332. package/Rendering/objectRenderer.js.map +1 -1
  333. package/Shaders/ShadersInclude/bumpFragmentMainFunctions.js +2 -2
  334. package/Shaders/ShadersInclude/bumpFragmentMainFunctions.js.map +1 -1
  335. package/Shaders/ShadersInclude/bumpVertex.js +1 -1
  336. package/Shaders/ShadersInclude/bumpVertex.js.map +1 -1
  337. package/Shaders/ShadersInclude/bumpVertexDeclaration.js +1 -1
  338. package/Shaders/ShadersInclude/bumpVertexDeclaration.js.map +1 -1
  339. package/Shaders/ShadersInclude/hdrFilteringFunctions.js +5 -1
  340. package/Shaders/ShadersInclude/hdrFilteringFunctions.js.map +1 -1
  341. package/Shaders/ShadersInclude/helperFunctions.js +2 -2
  342. package/Shaders/ShadersInclude/helperFunctions.js.map +1 -1
  343. package/Shaders/ShadersInclude/openpbrBackgroundTransmission.js +1 -1
  344. package/Shaders/ShadersInclude/openpbrBackgroundTransmission.js.map +1 -1
  345. package/Shaders/ShadersInclude/openpbrVertexDeclaration.js +6 -0
  346. package/Shaders/ShadersInclude/openpbrVertexDeclaration.js.map +1 -1
  347. package/Shaders/ShadersInclude/pbrBlockFinalLitComponents.js +11 -1
  348. package/Shaders/ShadersInclude/pbrBlockFinalLitComponents.js.map +1 -1
  349. package/Shaders/ShadersInclude/pbrBlockNormalFinal.js +9 -0
  350. package/Shaders/ShadersInclude/pbrBlockNormalFinal.js.map +1 -1
  351. package/Shaders/ShadersInclude/pbrBlockReflectance.js +1 -1
  352. package/Shaders/ShadersInclude/pbrBlockReflectance.js.map +1 -1
  353. package/Shaders/ShadersInclude/pbrClusteredLightingFunctions.js +1 -1
  354. package/Shaders/ShadersInclude/pbrClusteredLightingFunctions.js.map +1 -1
  355. package/Shaders/ShadersInclude/pbrFragmentDeclaration.js +7 -1
  356. package/Shaders/ShadersInclude/pbrFragmentDeclaration.js.map +1 -1
  357. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.js +1 -0
  358. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.js.map +1 -1
  359. package/Shaders/ShadersInclude/pbrIBLFunctions.js +12 -0
  360. package/Shaders/ShadersInclude/pbrIBLFunctions.js.map +1 -1
  361. package/Shaders/ShadersInclude/pbrUboDeclaration.js +1 -1
  362. package/Shaders/ShadersInclude/pbrUboDeclaration.js.map +1 -1
  363. package/Shaders/ShadersInclude/pbrVertexDeclaration.js +3 -0
  364. package/Shaders/ShadersInclude/pbrVertexDeclaration.js.map +1 -1
  365. package/Shaders/geometry.vertex.js +6 -6
  366. package/Shaders/geometry.vertex.js.map +1 -1
  367. package/Shaders/gpuUpdateParticles.vertex.js +1 -1
  368. package/Shaders/gpuUpdateParticles.vertex.js.map +1 -1
  369. package/Shaders/lod.fragment.js +15 -2
  370. package/Shaders/lod.fragment.js.map +1 -1
  371. package/Shaders/lod3D.fragment.js +15 -2
  372. package/Shaders/lod3D.fragment.js.map +1 -1
  373. package/Shaders/lodCube.fragment.js +15 -2
  374. package/Shaders/lodCube.fragment.js.map +1 -1
  375. package/Shaders/openpbr.vertex.js +2 -0
  376. package/Shaders/openpbr.vertex.js.map +1 -1
  377. package/Shaders/pbr.fragment.js +12 -1
  378. package/Shaders/pbr.fragment.js.map +1 -1
  379. package/Shaders/pbr.vertex.js +2 -0
  380. package/Shaders/pbr.vertex.js.map +1 -1
  381. package/Shaders/textureMerger.fragment.js +28 -0
  382. package/Shaders/textureMerger.fragment.js.map +1 -1
  383. package/Shaders/textureProcessor.fragment.js +26 -4
  384. package/Shaders/textureProcessor.fragment.js.map +1 -1
  385. package/Shaders/volumetricLightScattering.fragment.js +1 -1
  386. package/Shaders/volumetricLightScattering.fragment.js.map +1 -1
  387. package/ShadersWGSL/ShadersInclude/bumpFragmentMainFunctions.js +2 -2
  388. package/ShadersWGSL/ShadersInclude/bumpFragmentMainFunctions.js.map +1 -1
  389. package/ShadersWGSL/ShadersInclude/bumpVertex.js +1 -1
  390. package/ShadersWGSL/ShadersInclude/bumpVertex.js.map +1 -1
  391. package/ShadersWGSL/ShadersInclude/bumpVertexDeclaration.js +1 -1
  392. package/ShadersWGSL/ShadersInclude/bumpVertexDeclaration.js.map +1 -1
  393. package/ShadersWGSL/ShadersInclude/hdrFilteringFunctions.js +1 -1
  394. package/ShadersWGSL/ShadersInclude/hdrFilteringFunctions.js.map +1 -1
  395. package/ShadersWGSL/ShadersInclude/helperFunctions.js +2 -2
  396. package/ShadersWGSL/ShadersInclude/helperFunctions.js.map +1 -1
  397. package/ShadersWGSL/ShadersInclude/lightFragment.js +44 -2
  398. package/ShadersWGSL/ShadersInclude/lightFragment.js.map +1 -1
  399. package/ShadersWGSL/ShadersInclude/lightUboDeclaration.js +17 -3
  400. package/ShadersWGSL/ShadersInclude/lightUboDeclaration.js.map +1 -1
  401. package/ShadersWGSL/ShadersInclude/lightVxUboDeclaration.js +12 -1
  402. package/ShadersWGSL/ShadersInclude/lightVxUboDeclaration.js.map +1 -1
  403. package/ShadersWGSL/ShadersInclude/openpbrBackgroundTransmission.js +1 -1
  404. package/ShadersWGSL/ShadersInclude/openpbrBackgroundTransmission.js.map +1 -1
  405. package/ShadersWGSL/ShadersInclude/pbrBlockFinalLitComponents.js +11 -1
  406. package/ShadersWGSL/ShadersInclude/pbrBlockFinalLitComponents.js.map +1 -1
  407. package/ShadersWGSL/ShadersInclude/pbrBlockNormalFinal.js +9 -0
  408. package/ShadersWGSL/ShadersInclude/pbrBlockNormalFinal.js.map +1 -1
  409. package/ShadersWGSL/ShadersInclude/pbrBlockReflectance.js +1 -1
  410. package/ShadersWGSL/ShadersInclude/pbrBlockReflectance.js.map +1 -1
  411. package/ShadersWGSL/ShadersInclude/pbrClusteredLightingFunctions.js +1 -1
  412. package/ShadersWGSL/ShadersInclude/pbrClusteredLightingFunctions.js.map +1 -1
  413. package/ShadersWGSL/ShadersInclude/pbrDirectLightingSetupFunctions.js +1 -1
  414. package/ShadersWGSL/ShadersInclude/pbrDirectLightingSetupFunctions.js.map +1 -1
  415. package/ShadersWGSL/ShadersInclude/pbrFragmentSamplersDeclaration.js +1 -0
  416. package/ShadersWGSL/ShadersInclude/pbrFragmentSamplersDeclaration.js.map +1 -1
  417. package/ShadersWGSL/ShadersInclude/pbrIBLFunctions.js +8 -0
  418. package/ShadersWGSL/ShadersInclude/pbrIBLFunctions.js.map +1 -1
  419. package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.js +1 -1
  420. package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.js.map +1 -1
  421. package/ShadersWGSL/ShadersInclude/prePassVertex.js +2 -2
  422. package/ShadersWGSL/ShadersInclude/prePassVertex.js.map +1 -1
  423. package/ShadersWGSL/ShadersInclude/prePassVertexDeclaration.js +1 -1
  424. package/ShadersWGSL/ShadersInclude/prePassVertexDeclaration.js.map +1 -1
  425. package/ShadersWGSL/ShadersInclude/sceneUboDeclaration.js +3 -1
  426. package/ShadersWGSL/ShadersInclude/sceneUboDeclaration.js.map +1 -1
  427. package/ShadersWGSL/ShadersInclude/shadowsVertex.js +16 -0
  428. package/ShadersWGSL/ShadersInclude/shadowsVertex.js.map +1 -1
  429. package/ShadersWGSL/default.fragment.js +4 -4
  430. package/ShadersWGSL/default.fragment.js.map +1 -1
  431. package/ShadersWGSL/default.vertex.js +1 -1
  432. package/ShadersWGSL/default.vertex.js.map +1 -1
  433. package/ShadersWGSL/gaussianSplatting.vertex.js +3 -3
  434. package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
  435. package/ShadersWGSL/gpuUpdateParticles.compute.js +1 -1
  436. package/ShadersWGSL/gpuUpdateParticles.compute.js.map +1 -1
  437. package/ShadersWGSL/gsSortCount.compute.d.ts +5 -0
  438. package/ShadersWGSL/gsSortCount.compute.js +19 -0
  439. package/ShadersWGSL/gsSortCount.compute.js.map +1 -0
  440. package/ShadersWGSL/gsSortKeys.compute.d.ts +5 -0
  441. package/ShadersWGSL/gsSortKeys.compute.js +49 -0
  442. package/ShadersWGSL/gsSortKeys.compute.js.map +1 -0
  443. package/ShadersWGSL/gsSortOutput.compute.d.ts +5 -0
  444. package/ShadersWGSL/gsSortOutput.compute.js +28 -0
  445. package/ShadersWGSL/gsSortOutput.compute.js.map +1 -0
  446. package/ShadersWGSL/gsSortScanLocal.compute.d.ts +5 -0
  447. package/ShadersWGSL/gsSortScanLocal.compute.js +23 -0
  448. package/ShadersWGSL/gsSortScanLocal.compute.js.map +1 -0
  449. package/ShadersWGSL/gsSortScanSums.compute.d.ts +5 -0
  450. package/ShadersWGSL/gsSortScanSums.compute.js +19 -0
  451. package/ShadersWGSL/gsSortScanSums.compute.js.map +1 -0
  452. package/ShadersWGSL/gsSortScatter.compute.d.ts +5 -0
  453. package/ShadersWGSL/gsSortScatter.compute.js +33 -0
  454. package/ShadersWGSL/gsSortScatter.compute.js.map +1 -0
  455. package/ShadersWGSL/lod.fragment.js +14 -2
  456. package/ShadersWGSL/lod.fragment.js.map +1 -1
  457. package/ShadersWGSL/lod3D.fragment.js +14 -2
  458. package/ShadersWGSL/lod3D.fragment.js.map +1 -1
  459. package/ShadersWGSL/lodCube.fragment.js +14 -2
  460. package/ShadersWGSL/lodCube.fragment.js.map +1 -1
  461. package/ShadersWGSL/openpbr.vertex.js +3 -1
  462. package/ShadersWGSL/openpbr.vertex.js.map +1 -1
  463. package/ShadersWGSL/pbr.fragment.js +11 -0
  464. package/ShadersWGSL/pbr.fragment.js.map +1 -1
  465. package/ShadersWGSL/pbr.vertex.js +3 -1
  466. package/ShadersWGSL/pbr.vertex.js.map +1 -1
  467. package/ShadersWGSL/textureMerger.fragment.js +40 -4
  468. package/ShadersWGSL/textureMerger.fragment.js.map +1 -1
  469. package/ShadersWGSL/textureProcessor.fragment.js +26 -4
  470. package/ShadersWGSL/textureProcessor.fragment.js.map +1 -1
  471. package/Sprites/spriteRenderer.js +15 -5
  472. package/Sprites/spriteRenderer.js.map +1 -1
  473. package/package.json +1 -1
  474. package/scene.pure.d.ts +23 -1
  475. package/scene.pure.js +83 -1
  476. package/scene.pure.js.map +1 -1
@@ -1,6 +1,7 @@
1
1
  /** This file must only contain pure code and pure imports */
2
2
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
3
3
  import { RichTypeAny } from "../../../flowGraphRichTypes.pure.js";
4
+ import { ResolveFlowGraphSound } from "../../../flowGraphSoundAssets.js";
4
5
  import { RegisterClass } from "../../../../Misc/typeStore.js";
5
6
  /**
6
7
  * @experimental
@@ -19,7 +20,7 @@ export class FlowGraphPauseSoundBlock extends FlowGraphExecutionBlockWithOutSign
19
20
  * @internal
20
21
  */
21
22
  _execute(context, _callingSignal) {
22
- const soundValue = this.sound.getValue(context);
23
+ const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));
23
24
  if (!soundValue) {
24
25
  this._reportError(context, "No sound provided");
25
26
  this.out._activateSignal(context);
@@ -1 +1 @@
1
- {"version":3,"file":"flowGraphPauseSoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphPauseSoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAM/D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,wBAAyB,SAAQ,oCAAoC;IAM9E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,IAAI,UAAU,CAAC,KAAK,8BAAsB,EAAE,CAAC;YACzC,UAAU,CAAC,MAAM,EAAE,CAAC;QACxB,CAAC;aAAM,IAAI,UAAU,CAAC,KAAK,gCAAwB,IAAI,UAAU,CAAC,KAAK,+BAAuB,EAAE,CAAC;YAC7F,UAAU,CAAC,KAAK,EAAE,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,4EAA2C;IAC/C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,gCAAgC;IAC5C,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,uEAAsC,wBAAwB,CAAC,CAAC;AACjF,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type AbstractSound } from \"../../../../AudioV2/abstractAudio/abstractSound\";\nimport { SoundState } from \"../../../../AudioV2/soundState\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that pauses an Audio V2 sound. If the sound is already paused, resumes it.\n */\nexport class FlowGraphPauseSoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to pause or resume.\n */\n public readonly sound: FlowGraphDataConnection<AbstractSound>;\n\n /**\n * Constructs a new FlowGraphPauseSoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = this.sound.getValue(context);\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n if (soundValue.state === SoundState.Paused) {\n soundValue.resume();\n } else if (soundValue.state === SoundState.Starting || soundValue.state === SoundState.Started) {\n soundValue.pause();\n }\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioPauseSound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphPauseSoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphPauseSoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioPauseSound, FlowGraphPauseSoundBlock);\n}\n"]}
1
+ {"version":3,"file":"flowGraphPauseSoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphPauseSoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAgC,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEpG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,wBAAyB,SAAQ,oCAAoC;IAM9E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QAChF,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,IAAI,UAAU,CAAC,KAAK,8BAAsB,EAAE,CAAC;YACzC,UAAU,CAAC,MAAM,EAAE,CAAC;QACxB,CAAC;aAAM,IAAI,UAAU,CAAC,KAAK,gCAAwB,IAAI,UAAU,CAAC,KAAK,+BAAuB,EAAE,CAAC;YAC7F,UAAU,CAAC,KAAK,EAAE,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,4EAA2C;IAC/C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,gCAAgC;IAC5C,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,uEAAsC,wBAAwB,CAAC,CAAC;AACjF,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type FlowGraphSoundReference, ResolveFlowGraphSound } from \"../../../flowGraphSoundAssets\";\nimport { SoundState } from \"../../../../AudioV2/soundState\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that pauses an Audio V2 sound. If the sound is already paused, resumes it.\n */\nexport class FlowGraphPauseSoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to pause or resume. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.\n */\n public readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;\n\n /**\n * Constructs a new FlowGraphPauseSoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n if (soundValue.state === SoundState.Paused) {\n soundValue.resume();\n } else if (soundValue.state === SoundState.Starting || soundValue.state === SoundState.Started) {\n soundValue.pause();\n }\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioPauseSound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphPauseSoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphPauseSoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioPauseSound, FlowGraphPauseSoundBlock);\n}\n"]}
@@ -4,16 +4,16 @@ import { type FlowGraphDataConnection } from "../../../flowGraphDataConnection.p
4
4
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
5
5
  import { type FlowGraphSignalConnection } from "../../../flowGraphSignalConnection.pure.js";
6
6
  import { type IFlowGraphBlockConfiguration } from "../../../flowGraphBlock.js";
7
- import { type AbstractSound } from "../../../../AudioV2/abstractAudio/abstractSound.js";
7
+ import { type FlowGraphSoundReference } from "../../../flowGraphSoundAssets.js";
8
8
  /**
9
9
  * @experimental
10
10
  * A block that plays an Audio V2 sound.
11
11
  */
12
12
  export declare class FlowGraphPlaySoundBlock extends FlowGraphExecutionBlockWithOutSignal {
13
13
  /**
14
- * Input connection: The sound to play.
14
+ * Input connection: The sound to play. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.
15
15
  */
16
- readonly sound: FlowGraphDataConnection<AbstractSound>;
16
+ readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;
17
17
  /**
18
18
  * Input connection: The volume to play at (0–1). Defaults to 1.
19
19
  */
@@ -1,6 +1,7 @@
1
1
  /** This file must only contain pure code and pure imports */
2
2
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
3
3
  import { RichTypeAny, RichTypeBoolean, RichTypeNumber } from "../../../flowGraphRichTypes.pure.js";
4
+ import { ResolveFlowGraphSound } from "../../../flowGraphSoundAssets.js";
4
5
  import { RegisterClass } from "../../../../Misc/typeStore.js";
5
6
  /**
6
7
  * @experimental
@@ -22,7 +23,7 @@ export class FlowGraphPlaySoundBlock extends FlowGraphExecutionBlockWithOutSigna
22
23
  * @internal
23
24
  */
24
25
  _execute(context, _callingSignal) {
25
- const soundValue = this.sound.getValue(context);
26
+ const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));
26
27
  if (!soundValue) {
27
28
  this._reportError(context, "No sound provided");
28
29
  this.out._activateSignal(context);
@@ -1 +1 @@
1
- {"version":3,"file":"flowGraphPlaySoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphPlaySoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAKhG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,uBAAwB,SAAQ,oCAAoC;IAqB7E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAA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IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,qEAAqC,uBAAuB,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny, RichTypeBoolean, RichTypeNumber } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type AbstractSound } from \"../../../../AudioV2/abstractAudio/abstractSound\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that plays an Audio V2 sound.\n */\nexport class FlowGraphPlaySoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to play.\n */\n public readonly sound: FlowGraphDataConnection<AbstractSound>;\n\n /**\n * Input connection: The volume to play at (0–1). Defaults to 1.\n */\n public readonly volume: FlowGraphDataConnection<number>;\n\n /**\n * Input connection: The time offset in seconds to start playback from. Defaults to 0.\n */\n public readonly startOffset: FlowGraphDataConnection<number>;\n\n /**\n * Input connection: Whether the sound should loop. Defaults to false.\n */\n public readonly loop: FlowGraphDataConnection<boolean>;\n\n /**\n * Constructs a new FlowGraphPlaySoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n this.volume = this.registerDataInput(\"volume\", RichTypeNumber, 1);\n this.startOffset = this.registerDataInput(\"startOffset\", RichTypeNumber, 0);\n this.loop = this.registerDataInput(\"loop\", RichTypeBoolean, false);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = this.sound.getValue(context);\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n const vol = this.volume.getValue(context);\n const offset = this.startOffset.getValue(context);\n const loopVal = this.loop.getValue(context);\n soundValue.play({ volume: vol, startOffset: offset, loop: loopVal });\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioPlaySound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphPlaySoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphPlaySoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioPlaySound, FlowGraphPlaySoundBlock);\n}\n"]}
1
+ {"version":3,"file":"flowGraphPlaySoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphPlaySoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIhG,OAAO,EAAgC,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,uBAAwB,SAAQ,oCAAoC;IAqB7E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,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C;IAEnB,aAAa,qEAAqC,uBAAuB,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny, RichTypeBoolean, RichTypeNumber } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type FlowGraphSoundReference, ResolveFlowGraphSound } from \"../../../flowGraphSoundAssets\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that plays an Audio V2 sound.\n */\nexport class FlowGraphPlaySoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to play. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.\n */\n public readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;\n\n /**\n * Input connection: The volume to play at (0–1). Defaults to 1.\n */\n public readonly volume: FlowGraphDataConnection<number>;\n\n /**\n * Input connection: The time offset in seconds to start playback from. Defaults to 0.\n */\n public readonly startOffset: FlowGraphDataConnection<number>;\n\n /**\n * Input connection: Whether the sound should loop. Defaults to false.\n */\n public readonly loop: FlowGraphDataConnection<boolean>;\n\n /**\n * Constructs a new FlowGraphPlaySoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n this.volume = this.registerDataInput(\"volume\", RichTypeNumber, 1);\n this.startOffset = this.registerDataInput(\"startOffset\", RichTypeNumber, 0);\n this.loop = this.registerDataInput(\"loop\", RichTypeBoolean, false);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n const vol = this.volume.getValue(context);\n const offset = this.startOffset.getValue(context);\n const loopVal = this.loop.getValue(context);\n soundValue.play({ volume: vol, startOffset: offset, loop: loopVal });\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioPlaySound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphPlaySoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphPlaySoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioPlaySound, FlowGraphPlaySoundBlock);\n}\n"]}
@@ -4,16 +4,16 @@ import { type FlowGraphDataConnection } from "../../../flowGraphDataConnection.p
4
4
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
5
5
  import { type FlowGraphSignalConnection } from "../../../flowGraphSignalConnection.pure.js";
6
6
  import { type IFlowGraphBlockConfiguration } from "../../../flowGraphBlock.js";
7
- import { type AbstractSound } from "../../../../AudioV2/abstractAudio/abstractSound.js";
7
+ import { type FlowGraphSoundReference } from "../../../flowGraphSoundAssets.js";
8
8
  /**
9
9
  * @experimental
10
10
  * A block that sets the volume of an Audio V2 sound.
11
11
  */
12
12
  export declare class FlowGraphSetSoundVolumeBlock extends FlowGraphExecutionBlockWithOutSignal {
13
13
  /**
14
- * Input connection: The sound to set the volume on.
14
+ * Input connection: The sound to set the volume on. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.
15
15
  */
16
- readonly sound: FlowGraphDataConnection<AbstractSound>;
16
+ readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;
17
17
  /**
18
18
  * Input connection: The target volume (0–1). Defaults to 1.
19
19
  */
@@ -1,6 +1,7 @@
1
1
  /** This file must only contain pure code and pure imports */
2
2
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
3
3
  import { RichTypeAny, RichTypeNumber } from "../../../flowGraphRichTypes.pure.js";
4
+ import { ResolveFlowGraphSound } from "../../../flowGraphSoundAssets.js";
4
5
  import { RegisterClass } from "../../../../Misc/typeStore.js";
5
6
  /**
6
7
  * @experimental
@@ -20,7 +21,7 @@ export class FlowGraphSetSoundVolumeBlock extends FlowGraphExecutionBlockWithOut
20
21
  * @internal
21
22
  */
22
23
  _execute(context, _callingSignal) {
23
- const soundValue = this.sound.getValue(context);
24
+ const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));
24
25
  if (!soundValue) {
25
26
  this._reportError(context, "No sound provided");
26
27
  this.out._activateSignal(context);
@@ -1 +1 @@
1
- {"version":3,"file":"flowGraphSetSoundVolumeBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphSetSoundVolumeBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAK/E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,4BAA6B,SAAQ,oCAAoC;IAWlF;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAC1C,UAAU,CAAC,MAAM,GAAG,GAAG,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,+EAA0C;IAC9C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,oCAAoC;IAChD,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,0EAAqC,4BAA4B,CAAC,CAAC;AACpF,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny, RichTypeNumber } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type AbstractSound } from \"../../../../AudioV2/abstractAudio/abstractSound\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that sets the volume of an Audio V2 sound.\n */\nexport class FlowGraphSetSoundVolumeBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to set the volume on.\n */\n public readonly sound: FlowGraphDataConnection<AbstractSound>;\n\n /**\n * Input connection: The target volume (0–1). Defaults to 1.\n */\n public readonly volume: FlowGraphDataConnection<number>;\n\n /**\n * Constructs a new FlowGraphSetSoundVolumeBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n this.volume = this.registerDataInput(\"volume\", RichTypeNumber, 1);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = this.sound.getValue(context);\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n const vol = this.volume.getValue(context);\n soundValue.volume = vol;\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioSetVolume;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphSetSoundVolumeBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphSetSoundVolumeBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioSetVolume, FlowGraphSetSoundVolumeBlock);\n}\n"]}
1
+ {"version":3,"file":"flowGraphSetSoundVolumeBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphSetSoundVolumeBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAI/E,OAAO,EAAgC,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,4BAA6B,SAAQ,oCAAoC;IAWlF;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QAChF,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAC1C,UAAU,CAAC,MAAM,GAAG,GAAG,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,+EAA0C;IAC9C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,oCAAoC;IAChD,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,0EAAqC,4BAA4B,CAAC,CAAC;AACpF,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny, RichTypeNumber } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type FlowGraphSoundReference, ResolveFlowGraphSound } from \"../../../flowGraphSoundAssets\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that sets the volume of an Audio V2 sound.\n */\nexport class FlowGraphSetSoundVolumeBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to set the volume on. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.\n */\n public readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;\n\n /**\n * Input connection: The target volume (0–1). Defaults to 1.\n */\n public readonly volume: FlowGraphDataConnection<number>;\n\n /**\n * Constructs a new FlowGraphSetSoundVolumeBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n this.volume = this.registerDataInput(\"volume\", RichTypeNumber, 1);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n const vol = this.volume.getValue(context);\n soundValue.volume = vol;\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioSetVolume;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphSetSoundVolumeBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphSetSoundVolumeBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioSetVolume, FlowGraphSetSoundVolumeBlock);\n}\n"]}
@@ -4,16 +4,16 @@ import { type FlowGraphDataConnection } from "../../../flowGraphDataConnection.p
4
4
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
5
5
  import { type FlowGraphSignalConnection } from "../../../flowGraphSignalConnection.pure.js";
6
6
  import { type IFlowGraphBlockConfiguration } from "../../../flowGraphBlock.js";
7
- import { type AbstractSound } from "../../../../AudioV2/abstractAudio/abstractSound.js";
7
+ import { type FlowGraphSoundReference } from "../../../flowGraphSoundAssets.js";
8
8
  /**
9
9
  * @experimental
10
10
  * A block that stops an Audio V2 sound.
11
11
  */
12
12
  export declare class FlowGraphStopSoundBlock extends FlowGraphExecutionBlockWithOutSignal {
13
13
  /**
14
- * Input connection: The sound to stop.
14
+ * Input connection: The sound to stop. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.
15
15
  */
16
- readonly sound: FlowGraphDataConnection<AbstractSound>;
16
+ readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;
17
17
  /**
18
18
  * Constructs a new FlowGraphStopSoundBlock.
19
19
  * @param config - optional configuration for the block
@@ -1,6 +1,7 @@
1
1
  /** This file must only contain pure code and pure imports */
2
2
  import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
3
3
  import { RichTypeAny } from "../../../flowGraphRichTypes.pure.js";
4
+ import { ResolveFlowGraphSound } from "../../../flowGraphSoundAssets.js";
4
5
  import { RegisterClass } from "../../../../Misc/typeStore.js";
5
6
  /**
6
7
  * @experimental
@@ -19,7 +20,7 @@ export class FlowGraphStopSoundBlock extends FlowGraphExecutionBlockWithOutSigna
19
20
  * @internal
20
21
  */
21
22
  _execute(context, _callingSignal) {
22
- const soundValue = this.sound.getValue(context);
23
+ const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));
23
24
  if (!soundValue) {
24
25
  this._reportError(context, "No sound provided");
25
26
  this.out._activateSignal(context);
@@ -1 +1 @@
1
- {"version":3,"file":"flowGraphStopSoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphStopSoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAK/D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,uBAAwB,SAAQ,oCAAoC;IAM7E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,UAAU,CAAC,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,0EAA0C;IAC9C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,+BAA+B;IAC3C,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,qEAAqC,uBAAuB,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type AbstractSound } from \"../../../../AudioV2/abstractAudio/abstractSound\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that stops an Audio V2 sound.\n */\nexport class FlowGraphStopSoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to stop.\n */\n public readonly sound: FlowGraphDataConnection<AbstractSound>;\n\n /**\n * Constructs a new FlowGraphStopSoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = this.sound.getValue(context);\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n soundValue.stop();\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioStopSound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphStopSoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphStopSoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioStopSound, FlowGraphStopSoundBlock);\n}\n"]}
1
+ {"version":3,"file":"flowGraphStopSoundBlock.pure.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FlowGraph/Blocks/Execution/Audio/flowGraphStopSoundBlock.pure.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAI7D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAgC,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;GAGG;AACH,MAAM,OAAO,uBAAwB,SAAQ,oCAAoC;IAM7E;;;OAGG;IACH,YAAmB,MAAqC;QACpD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACa,QAAQ,CAAC,OAAyB,EAAE,cAAyC;QACzF,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QAChF,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAClC,OAAO;QACX,CAAC;QACD,UAAU,CAAC,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACa,YAAY;QACxB,0EAA0C;IAC9C,CAAC;CACJ;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,UAAU,+BAA+B;IAC3C,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,aAAa,qEAAqC,uBAAuB,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["/** This file must only contain pure code and pure imports */\n\nimport { type FlowGraphContext } from \"../../../flowGraphContext\";\nimport { type FlowGraphDataConnection } from \"../../../flowGraphDataConnection.pure\";\nimport { FlowGraphExecutionBlockWithOutSignal } from \"../../../flowGraphExecutionBlockWithOutSignal\";\nimport { RichTypeAny } from \"../../../flowGraphRichTypes.pure\";\nimport { type FlowGraphSignalConnection } from \"../../../flowGraphSignalConnection.pure\";\nimport { FlowGraphBlockNames } from \"../../flowGraphBlockNames\";\nimport { type IFlowGraphBlockConfiguration } from \"../../../flowGraphBlock\";\nimport { type FlowGraphSoundReference, ResolveFlowGraphSound } from \"../../../flowGraphSoundAssets\";\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\n\n/**\n * @experimental\n * A block that stops an Audio V2 sound.\n */\nexport class FlowGraphStopSoundBlock extends FlowGraphExecutionBlockWithOutSignal {\n /**\n * Input connection: The sound to stop. Accepts an Audio V2 sound or the name of a sound asset declared on the coordinator.\n */\n public readonly sound: FlowGraphDataConnection<FlowGraphSoundReference>;\n\n /**\n * Constructs a new FlowGraphStopSoundBlock.\n * @param config - optional configuration for the block\n */\n public constructor(config?: IFlowGraphBlockConfiguration) {\n super(config);\n this.sound = this.registerDataInput(\"sound\", RichTypeAny);\n }\n\n /**\n * @internal\n */\n public override _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void {\n const soundValue = ResolveFlowGraphSound(context, this.sound.getValue(context));\n if (!soundValue) {\n this._reportError(context, \"No sound provided\");\n this.out._activateSignal(context);\n return;\n }\n soundValue.stop();\n this.out._activateSignal(context);\n }\n\n /**\n * @returns class name of the block.\n */\n public override getClassName(): string {\n return FlowGraphBlockNames.AudioStopSound;\n }\n}\n\nlet _Registered = false;\n/**\n * Register side effects for flowGraphStopSoundBlock.\n * Safe to call multiple times; only the first call has an effect.\n */\nexport function RegisterFlowGraphStopSoundBlock(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterClass(FlowGraphBlockNames.AudioStopSound, FlowGraphStopSoundBlock);\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  // Event blocks
2
+ import { RegisterFlowGraphMeshIntersectionEventBlock } from "./Event/flowGraphMeshIntersectionEventBlock.pure.js";
2
3
  import { RegisterFlowGraphMeshPickEventBlock } from "./Event/flowGraphMeshPickEventBlock.pure.js";
3
4
  import { RegisterFlowGraphPointerOutEventBlock } from "./Event/flowGraphPointerOutEventBlock.pure.js";
4
5
  import { RegisterFlowGraphPointerOverEventBlock } from "./Event/flowGraphPointerOverEventBlock.pure.js";
@@ -52,6 +53,7 @@ import { RegisterFlowGraphTransformCoordinatesSystemBlock } from "./Data/flowGra
52
53
  * Registers all event flow graph blocks for deserialization.
53
54
  */
54
55
  export function RegisterFlowGraphEventBlocks() {
56
+ RegisterFlowGraphMeshIntersectionEventBlock();
55
57
  RegisterFlowGraphMeshPickEventBlock();
56
58
  RegisterFlowGraphPointerOutEventBlock();
57
59
  RegisterFlowGraphPointerOverEventBlock();
@@ -1 +1 @@
1
- {"version":3,"file":"allBlocks.pure.js","sourceRoot":"","sources":["../../../../../dev/core/src/FlowGraph/Blocks/allBlocks.pure.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EA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,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;;;;;GAOG;AACH,MAAM,UAAU,0BAA0B;IACtC,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,4BAA4B,EAAE,CAAC;IAC/B,gCAAgC,EAAE,CAAC;IACnC,2BAA2B,EAAE,CAAC;AAClC,CAAC","sourcesContent":["// Event blocks\nimport { RegisterFlowGraphMeshPickEventBlock } from \"./Event/flowGraphMeshPickEventBlock.pure\";\nimport { RegisterFlowGraphPointerOutEventBlock } from \"./Event/flowGraphPointerOutEventBlock.pure\";\nimport { RegisterFlowGraphPointerOverEventBlock } from \"./Event/flowGraphPointerOverEventBlock.pure\";\nimport { RegisterFlowGraphReceiveCustomEventBlock } from \"./Event/flowGraphReceiveCustomEventBlock.pure\";\nimport { RegisterFlowGraphSceneReadyEventBlock } from \"./Event/flowGraphSceneReadyEventBlock.pure\";\nimport { RegisterFlowGraphSceneTickEventBlock } from \"./Event/flowGraphSceneTickEventBlock.pure\";\nimport { RegisterFlowGraphSendCustomEventBlock } from \"./Event/flowGraphSendCustomEventBlock.pure\";\n\n// Execution blocks\nimport { RegisterFlowGraphBezierCurveEasingBlock } from \"./Execution/Animation/flowGraphBezierCurveEasingBlock.pure\";\nimport { RegisterFlowGraphEasingBlock } from \"./Execution/Animation/flowGraphEasingBlock.pure\";\nimport { RegisterFlowGraphInterpolationBlock } from \"./Execution/Animation/flowGraphInterpolationBlock.pure\";\nimport { RegisterFlowGraphPauseAnimationBlock } from \"./Execution/Animation/flowGraphPauseAnimationBlock.pure\";\nimport { RegisterFlowGraphPlayAnimationBlock } from \"./Execution/Animation/flowGraphPlayAnimationBlock.pure\";\nimport { RegisterFlowGraphStopAnimationBlock } from \"./Execution/Animation/flowGraphStopAnimationBlock.pure\";\nimport { RegisterFlowGraphBranchBlock } from \"./Execution/ControlFlow/flowGraphBranchBlock.pure\";\nimport { RegisterFlowGraphCancelDelayBlock } from \"./Execution/ControlFlow/flowGraphCancelDelayBlock.pure\";\nimport { RegisterFlowGraphCounterBlock } from \"./Execution/ControlFlow/flowGraphCounterBlock.pure\";\nimport { RegisterFlowGraphDebounceBlock } from \"./Execution/ControlFlow/flowGraphDebounceBlock.pure\";\nimport { RegisterFlowGraphDoNBlock } from \"./Execution/ControlFlow/flowGraphDoNBlock.pure\";\nimport { RegisterFlowGraphFlipFlopBlock } from \"./Execution/ControlFlow/flowGraphFlipFlopBlock.pure\";\nimport { RegisterFlowGraphForLoopBlock } from \"./Execution/ControlFlow/flowGraphForLoopBlock.pure\";\nimport { RegisterFlowGraphMultiGateBlock } from \"./Execution/ControlFlow/flowGraphMultiGateBlock.pure\";\nimport { RegisterFlowGraphSequenceBlock } from \"./Execution/ControlFlow/flowGraphSequenceBlock.pure\";\nimport { RegisterFlowGraphSetDelayBlock } from \"./Execution/ControlFlow/flowGraphSetDelayBlock.pure\";\nimport { RegisterFlowGraphSwitchBlock } from \"./Execution/ControlFlow/flowGraphSwitchBlock.pure\";\nimport { RegisterFlowGraphThrottleBlock } from \"./Execution/ControlFlow/flowGraphThrottleBlock.pure\";\nimport { RegisterFlowGraphWaitAllBlock } from \"./Execution/ControlFlow/flowGraphWaitAllBlock.pure\";\nimport { RegisterFlowGraphWhileLoopBlock } from \"./Execution/ControlFlow/flowGraphWhileLoopBlock.pure\";\nimport { RegisterFlowGraphConsoleLogBlock } from \"./Execution/flowGraphConsoleLogBlock.pure\";\nimport { RegisterFlowGraphSetPropertyBlock } from \"./Execution/flowGraphSetPropertyBlock.pure\";\nimport { RegisterFlowGraphSetVariableBlock } from \"./Execution/flowGraphSetVariableBlock.pure\";\n\n// Data blocks\nimport { RegisterFlowGraphArrayIndexBlock } from \"./Data/Utils/flowGraphArrayIndexBlock.pure\";\nimport { RegisterFlowGraphContextBlock } from \"./Data/Utils/flowGraphContextBlock.pure\";\nimport { RegisterFlowGraphFunctionReferenceBlock } from \"./Data/Utils/flowGraphFunctionReferenceBlock.pure\";\nimport { RegisterFlowGraphIndexOfBlock } from \"./Data/Utils/flowGraphIndexOfBlock.pure\";\nimport { RegisterFlowGraphJsonPointerParserBlock } from \"./Data/Transformers/flowGraphJsonPointerParserBlock.pure\";\nimport { RegisterFlowGraphTypeToTypeBlocks } from \"./Data/Transformers/flowGraphTypeToTypeBlocks.pure\";\nimport { RegisterFlowGraphMathBlocks } from \"./Data/Math/flowGraphMathBlocks.pure\";\nimport { RegisterFlowGraphMathCombineExtractBlocks } from \"./Data/Math/flowGraphMathCombineExtractBlocks.pure\";\nimport { RegisterFlowGraphMatrixMathBlocks } from \"./Data/Math/flowGraphMatrixMathBlocks.pure\";\nimport { RegisterFlowGraphVectorMathBlocks } from \"./Data/Math/flowGraphVectorMathBlocks.pure\";\nimport { RegisterFlowGraphConditionalDataBlock } from \"./Data/flowGraphConditionalDataBlock.pure\";\nimport { RegisterFlowGraphConstantBlock } from \"./Data/flowGraphConstantBlock.pure\";\nimport { RegisterFlowGraphDataSwitchBlock } from \"./Data/flowGraphDataSwitchBlock.pure\";\nimport { RegisterFlowGraphGetAssetBlock } from \"./Data/flowGraphGetAssetBlock.pure\";\nimport { RegisterFlowGraphGetPropertyBlock } from \"./Data/flowGraphGetPropertyBlock.pure\";\nimport { RegisterFlowGraphGetVariableBlock } from \"./Data/flowGraphGetVariableBlock.pure\";\nimport { RegisterFlowGraphTransformCoordinatesSystemBlock } from \"./Data/flowGraphTransformCoordinatesSystemBlock.pure\";\n\n/**\n * Registers all event flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphEventBlocks(): void {\n RegisterFlowGraphMeshPickEventBlock();\n RegisterFlowGraphPointerOutEventBlock();\n RegisterFlowGraphPointerOverEventBlock();\n RegisterFlowGraphReceiveCustomEventBlock();\n RegisterFlowGraphSceneReadyEventBlock();\n RegisterFlowGraphSceneTickEventBlock();\n RegisterFlowGraphSendCustomEventBlock();\n}\n\n/**\n * Registers all execution flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphExecutionBlocks(): void {\n // Animation\n RegisterFlowGraphBezierCurveEasingBlock();\n RegisterFlowGraphEasingBlock();\n RegisterFlowGraphInterpolationBlock();\n RegisterFlowGraphPauseAnimationBlock();\n RegisterFlowGraphPlayAnimationBlock();\n RegisterFlowGraphStopAnimationBlock();\n // Control flow\n RegisterFlowGraphBranchBlock();\n RegisterFlowGraphCancelDelayBlock();\n RegisterFlowGraphCounterBlock();\n RegisterFlowGraphDebounceBlock();\n RegisterFlowGraphDoNBlock();\n RegisterFlowGraphFlipFlopBlock();\n RegisterFlowGraphForLoopBlock();\n RegisterFlowGraphMultiGateBlock();\n RegisterFlowGraphSequenceBlock();\n RegisterFlowGraphSetDelayBlock();\n RegisterFlowGraphSwitchBlock();\n RegisterFlowGraphThrottleBlock();\n RegisterFlowGraphWaitAllBlock();\n RegisterFlowGraphWhileLoopBlock();\n // Other execution\n RegisterFlowGraphConsoleLogBlock();\n RegisterFlowGraphSetPropertyBlock();\n RegisterFlowGraphSetVariableBlock();\n}\n\n/**\n * Registers all data flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphDataBlocks(): void {\n // Utils\n RegisterFlowGraphArrayIndexBlock();\n RegisterFlowGraphContextBlock();\n RegisterFlowGraphFunctionReferenceBlock();\n RegisterFlowGraphIndexOfBlock();\n // Transformers\n RegisterFlowGraphJsonPointerParserBlock();\n RegisterFlowGraphTypeToTypeBlocks();\n // Math\n RegisterFlowGraphMathBlocks();\n RegisterFlowGraphMathCombineExtractBlocks();\n RegisterFlowGraphMatrixMathBlocks();\n RegisterFlowGraphVectorMathBlocks();\n // Other data\n RegisterFlowGraphConditionalDataBlock();\n RegisterFlowGraphConstantBlock();\n RegisterFlowGraphDataSwitchBlock();\n RegisterFlowGraphGetAssetBlock();\n RegisterFlowGraphGetPropertyBlock();\n RegisterFlowGraphGetVariableBlock();\n RegisterFlowGraphTransformCoordinatesSystemBlock();\n}\n\nlet _Registered = false;\n/**\n * Registers all flow graph blocks in the type store.\n *\n * Note: Unlike other block systems, FlowGraph deserialization uses dynamic `import()` via\n * `blockFactory()` and does NOT require pre-registration. This function is provided for\n * architectural consistency and for scenarios where eager class registration is needed\n * (e.g., external tooling that queries the type store).\n */\nexport function RegisterAllFlowGraphBlocks(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterFlowGraphEventBlocks();\n RegisterFlowGraphExecutionBlocks();\n RegisterFlowGraphDataBlocks();\n}\n"]}
1
+ {"version":3,"file":"allBlocks.pure.js","sourceRoot":"","sources":["../../../../../dev/core/src/FlowGraph/Blocks/allBlocks.pure.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,EAAE,2CAA2C,EAAE,MAAM,kDAAkD,CAAC;AAC/G,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAEnG,mBAAmB;AACnB,OAAO,EAAE,uCAAuC,EAAE,MAAM,4DAA4D,CAAC;AACrH,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,mCAAmC,EAAE,MAAM,wDAAwD,CAAC;AAC7G,OAAO,EAAE,oCAAoC,EAAE,MAAM,yDAAyD,CAAC;AAC/G,OAAO,EAAE,mCAAmC,EAAE,MAAM,wDAAwD,CAAC;AAC7G,OAAO,EAAE,mCAAmC,EAAE,MAAM,wDAAwD,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,EAAE,iCAAiC,E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AE,CAAC;IACjC,8BAA8B,EAAE,CAAC;IACjC,4BAA4B,EAAE,CAAC;IAC/B,8BAA8B,EAAE,CAAC;IACjC,6BAA6B,EAAE,CAAC;IAChC,+BAA+B,EAAE,CAAC;IAClC,kBAAkB;IAClB,gCAAgC,EAAE,CAAC;IACnC,iCAAiC,EAAE,CAAC;IACpC,iCAAiC,EAAE,CAAC;AACxC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,2BAA2B;IACvC,QAAQ;IACR,gCAAgC,EAAE,CAAC;IACnC,6BAA6B,EAAE,CAAC;IAChC,uCAAuC,EAAE,CAAC;IAC1C,6BAA6B,EAAE,CAAC;IAChC,eAAe;IACf,uCAAuC,EAAE,CAAC;IAC1C,iCAAiC,EAAE,CAAC;IACpC,OAAO;IACP,2BAA2B,EAAE,CAAC;IAC9B,yCAAyC,EAAE,CAAC;IAC5C,iCAAiC,EAAE,CAAC;IACpC,iCAAiC,EAAE,CAAC;IACpC,aAAa;IACb,qCAAqC,EAAE,CAAC;IACxC,8BAA8B,EAAE,CAAC;IACjC,gCAAgC,EAAE,CAAC;IACnC,8BAA8B,EAAE,CAAC;IACjC,iCAAiC,EAAE,CAAC;IACpC,iCAAiC,EAAE,CAAC;IACpC,gDAAgD,EAAE,CAAC;AACvD,CAAC;AAED,IAAI,WAAW,GAAG,KAAK,CAAC;AACxB;;;;;;;GAOG;AACH,MAAM,UAAU,0BAA0B;IACtC,IAAI,WAAW,EAAE,CAAC;QACd,OAAO;IACX,CAAC;IACD,WAAW,GAAG,IAAI,CAAC;IAEnB,4BAA4B,EAAE,CAAC;IAC/B,gCAAgC,EAAE,CAAC;IACnC,2BAA2B,EAAE,CAAC;AAClC,CAAC","sourcesContent":["// Event blocks\nimport { RegisterFlowGraphMeshIntersectionEventBlock } from \"./Event/flowGraphMeshIntersectionEventBlock.pure\";\nimport { RegisterFlowGraphMeshPickEventBlock } from \"./Event/flowGraphMeshPickEventBlock.pure\";\nimport { RegisterFlowGraphPointerOutEventBlock } from \"./Event/flowGraphPointerOutEventBlock.pure\";\nimport { RegisterFlowGraphPointerOverEventBlock } from \"./Event/flowGraphPointerOverEventBlock.pure\";\nimport { RegisterFlowGraphReceiveCustomEventBlock } from \"./Event/flowGraphReceiveCustomEventBlock.pure\";\nimport { RegisterFlowGraphSceneReadyEventBlock } from \"./Event/flowGraphSceneReadyEventBlock.pure\";\nimport { RegisterFlowGraphSceneTickEventBlock } from \"./Event/flowGraphSceneTickEventBlock.pure\";\nimport { RegisterFlowGraphSendCustomEventBlock } from \"./Event/flowGraphSendCustomEventBlock.pure\";\n\n// Execution blocks\nimport { RegisterFlowGraphBezierCurveEasingBlock } from \"./Execution/Animation/flowGraphBezierCurveEasingBlock.pure\";\nimport { RegisterFlowGraphEasingBlock } from \"./Execution/Animation/flowGraphEasingBlock.pure\";\nimport { RegisterFlowGraphInterpolationBlock } from \"./Execution/Animation/flowGraphInterpolationBlock.pure\";\nimport { RegisterFlowGraphPauseAnimationBlock } from \"./Execution/Animation/flowGraphPauseAnimationBlock.pure\";\nimport { RegisterFlowGraphPlayAnimationBlock } from \"./Execution/Animation/flowGraphPlayAnimationBlock.pure\";\nimport { RegisterFlowGraphStopAnimationBlock } from \"./Execution/Animation/flowGraphStopAnimationBlock.pure\";\nimport { RegisterFlowGraphBranchBlock } from \"./Execution/ControlFlow/flowGraphBranchBlock.pure\";\nimport { RegisterFlowGraphCancelDelayBlock } from \"./Execution/ControlFlow/flowGraphCancelDelayBlock.pure\";\nimport { RegisterFlowGraphCounterBlock } from \"./Execution/ControlFlow/flowGraphCounterBlock.pure\";\nimport { RegisterFlowGraphDebounceBlock } from \"./Execution/ControlFlow/flowGraphDebounceBlock.pure\";\nimport { RegisterFlowGraphDoNBlock } from \"./Execution/ControlFlow/flowGraphDoNBlock.pure\";\nimport { RegisterFlowGraphFlipFlopBlock } from \"./Execution/ControlFlow/flowGraphFlipFlopBlock.pure\";\nimport { RegisterFlowGraphForLoopBlock } from \"./Execution/ControlFlow/flowGraphForLoopBlock.pure\";\nimport { RegisterFlowGraphMultiGateBlock } from \"./Execution/ControlFlow/flowGraphMultiGateBlock.pure\";\nimport { RegisterFlowGraphSequenceBlock } from \"./Execution/ControlFlow/flowGraphSequenceBlock.pure\";\nimport { RegisterFlowGraphSetDelayBlock } from \"./Execution/ControlFlow/flowGraphSetDelayBlock.pure\";\nimport { RegisterFlowGraphSwitchBlock } from \"./Execution/ControlFlow/flowGraphSwitchBlock.pure\";\nimport { RegisterFlowGraphThrottleBlock } from \"./Execution/ControlFlow/flowGraphThrottleBlock.pure\";\nimport { RegisterFlowGraphWaitAllBlock } from \"./Execution/ControlFlow/flowGraphWaitAllBlock.pure\";\nimport { RegisterFlowGraphWhileLoopBlock } from \"./Execution/ControlFlow/flowGraphWhileLoopBlock.pure\";\nimport { RegisterFlowGraphConsoleLogBlock } from \"./Execution/flowGraphConsoleLogBlock.pure\";\nimport { RegisterFlowGraphSetPropertyBlock } from \"./Execution/flowGraphSetPropertyBlock.pure\";\nimport { RegisterFlowGraphSetVariableBlock } from \"./Execution/flowGraphSetVariableBlock.pure\";\n\n// Data blocks\nimport { RegisterFlowGraphArrayIndexBlock } from \"./Data/Utils/flowGraphArrayIndexBlock.pure\";\nimport { RegisterFlowGraphContextBlock } from \"./Data/Utils/flowGraphContextBlock.pure\";\nimport { RegisterFlowGraphFunctionReferenceBlock } from \"./Data/Utils/flowGraphFunctionReferenceBlock.pure\";\nimport { RegisterFlowGraphIndexOfBlock } from \"./Data/Utils/flowGraphIndexOfBlock.pure\";\nimport { RegisterFlowGraphJsonPointerParserBlock } from \"./Data/Transformers/flowGraphJsonPointerParserBlock.pure\";\nimport { RegisterFlowGraphTypeToTypeBlocks } from \"./Data/Transformers/flowGraphTypeToTypeBlocks.pure\";\nimport { RegisterFlowGraphMathBlocks } from \"./Data/Math/flowGraphMathBlocks.pure\";\nimport { RegisterFlowGraphMathCombineExtractBlocks } from \"./Data/Math/flowGraphMathCombineExtractBlocks.pure\";\nimport { RegisterFlowGraphMatrixMathBlocks } from \"./Data/Math/flowGraphMatrixMathBlocks.pure\";\nimport { RegisterFlowGraphVectorMathBlocks } from \"./Data/Math/flowGraphVectorMathBlocks.pure\";\nimport { RegisterFlowGraphConditionalDataBlock } from \"./Data/flowGraphConditionalDataBlock.pure\";\nimport { RegisterFlowGraphConstantBlock } from \"./Data/flowGraphConstantBlock.pure\";\nimport { RegisterFlowGraphDataSwitchBlock } from \"./Data/flowGraphDataSwitchBlock.pure\";\nimport { RegisterFlowGraphGetAssetBlock } from \"./Data/flowGraphGetAssetBlock.pure\";\nimport { RegisterFlowGraphGetPropertyBlock } from \"./Data/flowGraphGetPropertyBlock.pure\";\nimport { RegisterFlowGraphGetVariableBlock } from \"./Data/flowGraphGetVariableBlock.pure\";\nimport { RegisterFlowGraphTransformCoordinatesSystemBlock } from \"./Data/flowGraphTransformCoordinatesSystemBlock.pure\";\n\n/**\n * Registers all event flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphEventBlocks(): void {\n RegisterFlowGraphMeshIntersectionEventBlock();\n RegisterFlowGraphMeshPickEventBlock();\n RegisterFlowGraphPointerOutEventBlock();\n RegisterFlowGraphPointerOverEventBlock();\n RegisterFlowGraphReceiveCustomEventBlock();\n RegisterFlowGraphSceneReadyEventBlock();\n RegisterFlowGraphSceneTickEventBlock();\n RegisterFlowGraphSendCustomEventBlock();\n}\n\n/**\n * Registers all execution flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphExecutionBlocks(): void {\n // Animation\n RegisterFlowGraphBezierCurveEasingBlock();\n RegisterFlowGraphEasingBlock();\n RegisterFlowGraphInterpolationBlock();\n RegisterFlowGraphPauseAnimationBlock();\n RegisterFlowGraphPlayAnimationBlock();\n RegisterFlowGraphStopAnimationBlock();\n // Control flow\n RegisterFlowGraphBranchBlock();\n RegisterFlowGraphCancelDelayBlock();\n RegisterFlowGraphCounterBlock();\n RegisterFlowGraphDebounceBlock();\n RegisterFlowGraphDoNBlock();\n RegisterFlowGraphFlipFlopBlock();\n RegisterFlowGraphForLoopBlock();\n RegisterFlowGraphMultiGateBlock();\n RegisterFlowGraphSequenceBlock();\n RegisterFlowGraphSetDelayBlock();\n RegisterFlowGraphSwitchBlock();\n RegisterFlowGraphThrottleBlock();\n RegisterFlowGraphWaitAllBlock();\n RegisterFlowGraphWhileLoopBlock();\n // Other execution\n RegisterFlowGraphConsoleLogBlock();\n RegisterFlowGraphSetPropertyBlock();\n RegisterFlowGraphSetVariableBlock();\n}\n\n/**\n * Registers all data flow graph blocks for deserialization.\n */\nexport function RegisterFlowGraphDataBlocks(): void {\n // Utils\n RegisterFlowGraphArrayIndexBlock();\n RegisterFlowGraphContextBlock();\n RegisterFlowGraphFunctionReferenceBlock();\n RegisterFlowGraphIndexOfBlock();\n // Transformers\n RegisterFlowGraphJsonPointerParserBlock();\n RegisterFlowGraphTypeToTypeBlocks();\n // Math\n RegisterFlowGraphMathBlocks();\n RegisterFlowGraphMathCombineExtractBlocks();\n RegisterFlowGraphMatrixMathBlocks();\n RegisterFlowGraphVectorMathBlocks();\n // Other data\n RegisterFlowGraphConditionalDataBlock();\n RegisterFlowGraphConstantBlock();\n RegisterFlowGraphDataSwitchBlock();\n RegisterFlowGraphGetAssetBlock();\n RegisterFlowGraphGetPropertyBlock();\n RegisterFlowGraphGetVariableBlock();\n RegisterFlowGraphTransformCoordinatesSystemBlock();\n}\n\nlet _Registered = false;\n/**\n * Registers all flow graph blocks in the type store.\n *\n * Note: Unlike other block systems, FlowGraph deserialization uses dynamic `import()` via\n * `blockFactory()` and does NOT require pre-registration. This function is provided for\n * architectural consistency and for scenarios where eager class registration is needed\n * (e.g., external tooling that queries the type store).\n */\nexport function RegisterAllFlowGraphBlocks(): void {\n if (_Registered) {\n return;\n }\n _Registered = true;\n\n RegisterFlowGraphEventBlocks();\n RegisterFlowGraphExecutionBlocks();\n RegisterFlowGraphDataBlocks();\n}\n"]}
@@ -73,6 +73,8 @@ export function blockFactory(blockName) {
73
73
  return async () => await _LoadBlock(import("./Event/flowGraphStopEventPropagationBlock.pure.js"), "FlowGraphStopEventPropagationBlock");
74
74
  case "FlowGraphMeshPickEventBlock" /* FlowGraphBlockNames.MeshPickEvent */:
75
75
  return async () => await _LoadBlock(import("./Event/flowGraphMeshPickEventBlock.pure.js"), "FlowGraphMeshPickEventBlock");
76
+ case "FlowGraphMeshIntersectionEventBlock" /* FlowGraphBlockNames.MeshIntersectionEvent */:
77
+ return async () => await _LoadBlock(import("./Event/flowGraphMeshIntersectionEventBlock.pure.js"), "FlowGraphMeshIntersectionEventBlock");
76
78
  case "FlowGraphEBlock" /* FlowGraphBlockNames.E */:
77
79
  return async () => await _LoadBlock(import("./Data/Math/flowGraphMathBlocks.pure.js"), "FlowGraphEBlock");
78
80
  case "FlowGraphPIBlock" /* FlowGraphBlockNames.PI */: