@adobe/data-gpu 0.9.75 → 0.9.76

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 (383) hide show
  1. package/CLAUDE.md +9 -0
  2. package/README.md +36 -0
  3. package/dist/core/core-plugin.d.ts +1 -1
  4. package/dist/core/public.d.ts +2 -0
  5. package/dist/core/public.js +4 -0
  6. package/dist/core/public.js.map +1 -0
  7. package/dist/graphics/animation/animation-data-plugin.d.ts +8 -0
  8. package/dist/graphics/animation/animation-plugin.d.ts +10 -2
  9. package/dist/graphics/camera/camera-plugin.d.ts +3 -3
  10. package/dist/graphics/camera/orbit/attach-orbit-drag.d.ts +1 -21
  11. package/dist/graphics/camera/orbit/attach-orbit-drag.js +0 -10
  12. package/dist/graphics/camera/orbit/attach-orbit-drag.js.map +1 -1
  13. package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +6 -6
  14. package/dist/graphics/camera/orbit/orbit-data-plugin.js +1 -1
  15. package/dist/graphics/camera/orbit/orbit-data-plugin.js.map +1 -1
  16. package/dist/graphics/camera/orbit/orbit-drag-service.d.ts +11 -0
  17. package/dist/graphics/camera/orbit/orbit-drag-service.js +3 -0
  18. package/dist/graphics/camera/orbit/orbit-drag-service.js.map +1 -0
  19. package/dist/graphics/camera/orbit/orbit-plugin.d.ts +6 -6
  20. package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +8 -8
  21. package/dist/graphics/camera/orbit/orbit-system-plugin.js +6 -9
  22. package/dist/graphics/camera/orbit/orbit-system-plugin.js.map +1 -1
  23. package/dist/graphics/camera/orbit/orbit.d.ts +5 -5
  24. package/dist/graphics/camera/orbit/public.d.ts +2 -2
  25. package/dist/graphics/camera/orbit/public.js +2 -1
  26. package/dist/graphics/camera/orbit/public.js.map +1 -1
  27. package/dist/graphics/graphics-plugin.d.ts +1 -1
  28. package/dist/graphics/index.d.ts +1 -0
  29. package/dist/graphics/index.js +3 -0
  30. package/dist/graphics/index.js.map +1 -0
  31. package/dist/graphics/picking/picking-plugin.d.ts +9871 -1912
  32. package/dist/graphics/picking/picking-plugin.js +3 -3
  33. package/dist/graphics/picking/picking-plugin.js.map +1 -1
  34. package/dist/graphics/public.d.ts +38 -0
  35. package/dist/graphics/public.js +40 -0
  36. package/dist/graphics/public.js.map +1 -0
  37. package/dist/graphics/rendering/bone-collider-plugin.d.ts +2967 -486
  38. package/dist/graphics/rendering/bone-collider-plugin.js +13 -12
  39. package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
  40. package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -0
  41. package/dist/graphics/rendering/display-transform-plugin.js +2 -2
  42. package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
  43. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +2857 -403
  44. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +9 -9
  45. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
  46. package/dist/graphics/rendering/interpolation-plugin.d.ts +1040 -156
  47. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +3017 -538
  48. package/dist/graphics/rendering/jolt-ragdoll-plugin.js +6 -6
  49. package/dist/graphics/rendering/jolt-ragdoll-plugin.js.map +1 -1
  50. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +1123 -0
  51. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +79 -0
  52. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -0
  53. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.d.ts +1 -0
  54. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js +18 -0
  55. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js.map +1 -0
  56. package/dist/graphics/rendering/material-palette-gpu/material-palette.d.ts +25 -0
  57. package/dist/graphics/rendering/material-palette-gpu/material-palette.js +27 -0
  58. package/dist/graphics/rendering/material-palette-gpu/material-palette.js.map +1 -0
  59. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.d.ts +3 -0
  60. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js +22 -0
  61. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js.map +1 -0
  62. package/dist/graphics/rendering/model-collider-plugin.d.ts +2903 -663
  63. package/dist/graphics/rendering/model-collider-plugin.js +11 -34
  64. package/dist/graphics/rendering/model-collider-plugin.js.map +1 -1
  65. package/dist/graphics/rendering/pbr-core-plugin.d.ts +16 -8
  66. package/dist/graphics/rendering/pbr-core-plugin.js +16 -19
  67. package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
  68. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +3514 -0
  69. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js +189 -0
  70. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js.map +1 -0
  71. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.d.ts +7 -0
  72. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js +124 -0
  73. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js.map +1 -0
  74. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +769 -571
  75. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +98 -79
  76. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -1
  77. package/dist/graphics/rendering/pbr-render/primitive-render-shared.d.ts +43 -0
  78. package/dist/graphics/rendering/pbr-render/primitive-render-shared.js +59 -0
  79. package/dist/graphics/rendering/pbr-render/primitive-render-shared.js.map +1 -0
  80. package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +2930 -270
  81. package/dist/graphics/rendering/skinning/skinning-plugin.js +19 -40
  82. package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
  83. package/dist/graphics/scene/model/geometry/public.d.ts +1 -0
  84. package/dist/graphics/scene/model/mesh/mesh.d.ts +13 -0
  85. package/dist/graphics/scene/model/mesh/mesh.js +3 -0
  86. package/dist/graphics/scene/model/mesh/mesh.js.map +1 -0
  87. package/dist/graphics/scene/model/mesh/public.d.ts +1 -0
  88. package/dist/graphics/scene/model/mesh/public.js +3 -0
  89. package/dist/graphics/scene/model/mesh/public.js.map +1 -0
  90. package/dist/graphics/scene/model/mesh-plugin.d.ts +5177 -0
  91. package/dist/graphics/scene/model/mesh-plugin.js +87 -0
  92. package/dist/graphics/scene/model/mesh-plugin.js.map +1 -0
  93. package/dist/graphics/scene/model/model-loader-plugin.d.ts +2728 -295
  94. package/dist/graphics/scene/model/model-loader-plugin.js +24 -42
  95. package/dist/graphics/scene/model/model-loader-plugin.js.map +1 -1
  96. package/dist/graphics/scene/model/model-plugin.d.ts +1 -352
  97. package/dist/graphics/scene/model/model-plugin.js +1 -37
  98. package/dist/graphics/scene/model/model-plugin.js.map +1 -1
  99. package/dist/graphics/scene/model/model.d.ts +2 -6
  100. package/dist/graphics/scene/model/model.js.map +1 -1
  101. package/dist/graphics/scene/model/public.d.ts +1 -1
  102. package/dist/graphics/scene/model/public.js +2 -1
  103. package/dist/graphics/scene/model/public.js.map +1 -1
  104. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.d.ts +4 -0
  105. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js +25 -0
  106. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js.map +1 -0
  107. package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +233 -386
  108. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +87 -18
  109. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
  110. package/dist/graphics/scene/model/shape/shape-spec.d.ts +17 -0
  111. package/dist/graphics/scene/model/shape/shape-spec.js +3 -0
  112. package/dist/graphics/scene/model/shape/shape-spec.js.map +1 -0
  113. package/dist/graphics/scene/model/world-bounds-plugin.d.ts +2670 -245
  114. package/dist/graphics/scene/model/world-bounds-plugin.js +6 -25
  115. package/dist/graphics/scene/model/world-bounds-plugin.js.map +1 -1
  116. package/dist/graphics/scene/node/node-data-plugin.d.ts +15 -4
  117. package/dist/graphics/scene/node/node-data-plugin.js +12 -5
  118. package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
  119. package/dist/graphics/scene/node/node-data-plugin.test.d.ts +1 -0
  120. package/dist/graphics/scene/node/node-data-plugin.test.js +40 -0
  121. package/dist/graphics/scene/node/node-data-plugin.test.js.map +1 -0
  122. package/dist/graphics/scene/node/node-plugin.d.ts +8 -1
  123. package/dist/graphics/scene/node/transform-plugin.d.ts +8 -1
  124. package/dist/graphics/scene/scene-plugin.d.ts +2353 -100
  125. package/dist/graphics/scene/scene-plugin.js +3 -3
  126. package/dist/graphics/scene/scene-plugin.js.map +1 -1
  127. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +3 -3
  128. package/dist/index.d.ts +1 -53
  129. package/dist/index.js +1 -54
  130. package/dist/index.js.map +1 -1
  131. package/dist/material/assemble-material-row.d.ts +4 -0
  132. package/dist/material/assemble-material-row.js +22 -0
  133. package/dist/material/assemble-material-row.js.map +1 -0
  134. package/dist/material/definitions.d.ts +833 -0
  135. package/dist/material/definitions.js +423 -0
  136. package/dist/material/definitions.js.map +1 -0
  137. package/dist/material/emission-mode.d.ts +8 -0
  138. package/dist/material/emission-mode.js +9 -0
  139. package/dist/material/emission-mode.js.map +1 -0
  140. package/dist/material/index.d.ts +1 -0
  141. package/dist/material/index.js +3 -0
  142. package/dist/material/index.js.map +1 -0
  143. package/dist/material/json/from-json-string.d.ts +2 -0
  144. package/dist/material/json/from-json-string.js +12 -0
  145. package/dist/material/json/from-json-string.js.map +1 -0
  146. package/dist/material/json/from-json.d.ts +10 -0
  147. package/dist/material/json/from-json.js +16 -0
  148. package/dist/material/json/from-json.js.map +1 -0
  149. package/dist/material/json/from-json.test.d.ts +1 -0
  150. package/dist/material/json/from-json.test.js +46 -0
  151. package/dist/material/json/from-json.test.js.map +1 -0
  152. package/dist/material/json/is-properties-json.d.ts +2 -0
  153. package/dist/material/json/is-properties-json.js +65 -0
  154. package/dist/material/json/is-properties-json.js.map +1 -0
  155. package/dist/material/json/library-json.d.ts +3 -0
  156. package/dist/material/json/library-json.js +2 -0
  157. package/dist/material/json/library-json.js.map +1 -0
  158. package/dist/material/json/load-json.d.ts +7 -0
  159. package/dist/material/json/load-json.js +10 -0
  160. package/dist/material/json/load-json.js.map +1 -0
  161. package/dist/material/json/properties-json.d.ts +25 -0
  162. package/dist/material/json/properties-json.js +2 -0
  163. package/dist/material/json/properties-json.js.map +1 -0
  164. package/dist/material/json/public.d.ts +9 -0
  165. package/dist/material/json/public.js +6 -0
  166. package/dist/material/json/public.js.map +1 -0
  167. package/dist/material/json/to-definition.d.ts +5 -0
  168. package/dist/material/json/to-definition.js +65 -0
  169. package/dist/material/json/to-definition.js.map +1 -0
  170. package/dist/material/material-by-name-lookup.d.ts +11 -0
  171. package/dist/material/material-by-name-lookup.js +3 -0
  172. package/dist/material/material-by-name-lookup.js.map +1 -0
  173. package/dist/material/material-defaults.d.ts +23 -0
  174. package/dist/material/material-defaults.js +25 -0
  175. package/dist/material/material-defaults.js.map +1 -0
  176. package/dist/material/material-definition.d.ts +3 -0
  177. package/dist/material/material-definition.js +2 -0
  178. package/dist/material/material-definition.js.map +1 -0
  179. package/dist/material/material-name.d.ts +2 -0
  180. package/dist/material/material-name.js +2 -0
  181. package/dist/material/material-name.js.map +1 -0
  182. package/dist/material/material-plugin.d.ts +891 -22
  183. package/dist/material/material-plugin.js +46 -21
  184. package/dist/material/material-plugin.js.map +1 -1
  185. package/dist/material/material-plugin.test.d.ts +1 -0
  186. package/dist/material/material-plugin.test.js +87 -0
  187. package/dist/material/material-plugin.test.js.map +1 -0
  188. package/dist/material/material.d.ts +27 -29
  189. package/dist/material/material.js +0 -1
  190. package/dist/material/material.js.map +1 -1
  191. package/dist/material/public.d.ts +12 -2
  192. package/dist/material/public.js +12 -2
  193. package/dist/material/public.js.map +1 -1
  194. package/dist/material/require-material.d.ts +4 -0
  195. package/dist/material/require-material.js +10 -0
  196. package/dist/material/require-material.js.map +1 -0
  197. package/dist/material/standard-material-names.d.ts +2 -0
  198. package/dist/material/standard-material-names.js +4 -0
  199. package/dist/material/standard-material-names.js.map +1 -0
  200. package/dist/material/standard-materials.d.ts +1 -1
  201. package/dist/material/standard-materials.js +17 -24
  202. package/dist/material/standard-materials.js.map +1 -1
  203. package/dist/material/stress-strain-curve/create.d.ts +8 -0
  204. package/dist/material/stress-strain-curve/create.js +2 -0
  205. package/dist/material/stress-strain-curve/create.js.map +1 -0
  206. package/dist/material/stress-strain-curve/public.d.ts +2 -0
  207. package/dist/material/stress-strain-curve/public.js +3 -0
  208. package/dist/material/stress-strain-curve/public.js.map +1 -0
  209. package/dist/material/stress-strain-curve/schema.d.ts +52 -0
  210. package/dist/material/stress-strain-curve/schema.js +19 -0
  211. package/dist/material/stress-strain-curve/schema.js.map +1 -0
  212. package/dist/material/stress-strain-curve/schema.test.d.ts +1 -0
  213. package/dist/material/stress-strain-curve/schema.test.js +18 -0
  214. package/dist/material/stress-strain-curve/schema.test.js.map +1 -0
  215. package/dist/material/stress-strain-curve/stress-strain-curve.d.ts +4 -0
  216. package/dist/material/stress-strain-curve/stress-strain-curve.js +2 -0
  217. package/dist/material/stress-strain-curve/stress-strain-curve.js.map +1 -0
  218. package/dist/physics/body/collider-shape/mass-from-volume.d.ts +2 -0
  219. package/dist/physics/body/collider-shape/mass-from-volume.js +4 -0
  220. package/dist/physics/body/collider-shape/mass-from-volume.js.map +1 -0
  221. package/dist/physics/body/collider-shape/mass-from-volume.test.d.ts +1 -0
  222. package/dist/physics/body/collider-shape/mass-from-volume.test.js +8 -0
  223. package/dist/physics/body/collider-shape/mass-from-volume.test.js.map +1 -0
  224. package/dist/physics/collider-primitive-render-archetype.d.ts +2 -0
  225. package/dist/physics/collider-primitive-render-archetype.js +3 -0
  226. package/dist/physics/collider-primitive-render-archetype.js.map +1 -0
  227. package/dist/physics/collider-primitive-render-archetypes.d.ts +2 -0
  228. package/dist/physics/collider-primitive-render-archetypes.js +9 -0
  229. package/dist/physics/collider-primitive-render-archetypes.js.map +1 -0
  230. package/dist/physics/index.d.ts +1 -0
  231. package/dist/physics/index.js +3 -0
  232. package/dist/physics/index.js.map +1 -0
  233. package/dist/physics/is-voxel-shape-physics-pending.d.ts +3 -0
  234. package/dist/physics/is-voxel-shape-physics-pending.js +7 -0
  235. package/dist/physics/is-voxel-shape-physics-pending.js.map +1 -0
  236. package/dist/physics/physics-clock/physics-clock.d.ts +15 -0
  237. package/dist/physics/physics-clock/physics-clock.js +3 -0
  238. package/dist/physics/physics-clock/physics-clock.js.map +1 -0
  239. package/dist/physics/physics-clock-plugin.d.ts +2 -22
  240. package/dist/physics/physics-clock-plugin.js +0 -2
  241. package/dist/physics/physics-clock-plugin.js.map +1 -1
  242. package/dist/physics/physics-clock.test.js.map +1 -1
  243. package/dist/physics/physics-data-plugin.d.ts +889 -13
  244. package/dist/physics/physics-data-plugin.js +8 -6
  245. package/dist/physics/physics-data-plugin.js.map +1 -1
  246. package/dist/physics/public.d.ts +21 -0
  247. package/dist/physics/public.js +23 -0
  248. package/dist/physics/public.js.map +1 -0
  249. package/dist/physics/ragdoll/bone-capsule.d.ts +8 -0
  250. package/dist/physics/ragdoll/bone-capsule.js +3 -0
  251. package/dist/physics/ragdoll/bone-capsule.js.map +1 -0
  252. package/dist/physics/ragdoll/fit-bone-capsules-input.d.ts +11 -0
  253. package/dist/physics/ragdoll/fit-bone-capsules-input.js +3 -0
  254. package/dist/physics/ragdoll/fit-bone-capsules-input.js.map +1 -0
  255. package/dist/physics/ragdoll/fit-bone-capsules.d.ts +2 -38
  256. package/dist/physics/ragdoll/fit-bone-capsules.js +13 -0
  257. package/dist/physics/ragdoll/fit-bone-capsules.js.map +1 -1
  258. package/dist/physics/ragdoll/fit-bone-capsules.test.js.map +1 -1
  259. package/dist/physics/ragdoll/skin-vertices.d.ts +6 -0
  260. package/dist/physics/ragdoll/skin-vertices.js +3 -0
  261. package/dist/physics/ragdoll/skin-vertices.js.map +1 -0
  262. package/dist/physics/rigid-body-components.d.ts +2 -0
  263. package/dist/physics/rigid-body-components.js +13 -0
  264. package/dist/physics/rigid-body-components.js.map +1 -0
  265. package/dist/physics/solvers/jolt-solver-plugin.d.ts +918 -41
  266. package/dist/physics/solvers/jolt-solver-plugin.js +19 -3
  267. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  268. package/dist/physics/solvers/rapier-solver-plugin.d.ts +918 -41
  269. package/dist/physics/solvers/rapier-solver-plugin.js +7 -2
  270. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  271. package/dist/physics/solvers/solver-benchmark-options.d.ts +14 -0
  272. package/dist/physics/solvers/solver-benchmark-options.js +3 -0
  273. package/dist/physics/solvers/solver-benchmark-options.js.map +1 -0
  274. package/dist/physics/solvers/solver-benchmark-result.d.ts +15 -0
  275. package/dist/physics/solvers/solver-benchmark-result.js +3 -0
  276. package/dist/physics/solvers/solver-benchmark-result.js.map +1 -0
  277. package/dist/physics/solvers/solver-benchmark.d.ts +2 -43
  278. package/dist/physics/solvers/solver-benchmark.js.map +1 -1
  279. package/dist/physics/static-collider-components.d.ts +2 -0
  280. package/dist/physics/static-collider-components.js +10 -0
  281. package/dist/physics/static-collider-components.js.map +1 -0
  282. package/package.json +14 -2
  283. package/src/core/public.ts +4 -0
  284. package/src/graphics/camera/orbit/attach-orbit-drag.ts +7 -27
  285. package/src/graphics/camera/orbit/orbit-data-plugin.ts +1 -1
  286. package/src/graphics/camera/orbit/orbit-drag-service.ts +13 -0
  287. package/src/graphics/camera/orbit/orbit-system-plugin.ts +6 -9
  288. package/src/graphics/camera/orbit/orbit.ts +5 -5
  289. package/src/graphics/camera/orbit/public.ts +2 -2
  290. package/src/graphics/index.ts +3 -0
  291. package/src/graphics/picking/picking-plugin.ts +4 -4
  292. package/src/graphics/public.ts +40 -0
  293. package/src/graphics/rendering/bone-collider-plugin.ts +16 -12
  294. package/src/graphics/rendering/display-transform-plugin.ts +2 -2
  295. package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +9 -9
  296. package/src/graphics/rendering/interpolation.test.ts +1 -1
  297. package/src/graphics/rendering/jolt-ragdoll-plugin.ts +11 -7
  298. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +86 -0
  299. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu.test.ts +20 -0
  300. package/src/graphics/rendering/material-palette-gpu/material-palette.ts +41 -0
  301. package/src/graphics/rendering/material-palette-gpu/palette-bind-group.ts +24 -0
  302. package/src/graphics/rendering/model-collider-plugin.ts +19 -35
  303. package/src/graphics/rendering/pbr-core-plugin.ts +16 -19
  304. package/src/graphics/rendering/pbr-render/{pbr-render-plugin.ts → pbr-factor-render-plugin.ts} +60 -111
  305. package/src/graphics/rendering/pbr-render/{pbr-array-shader.wgsl.ts → pbr-factor-shader.wgsl.ts} +19 -40
  306. package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +95 -69
  307. package/src/graphics/rendering/pbr-render/primitive-render-shared.ts +76 -0
  308. package/src/graphics/rendering/skinning/skinning-plugin.ts +23 -41
  309. package/src/graphics/scene/model/geometry/public.ts +1 -1
  310. package/src/graphics/scene/model/mesh/mesh.ts +18 -0
  311. package/src/graphics/scene/model/mesh/public.ts +3 -0
  312. package/src/graphics/scene/model/mesh-plugin.ts +102 -0
  313. package/src/graphics/scene/model/model-loader-plugin.ts +25 -43
  314. package/src/graphics/scene/model/model-plugin.ts +1 -44
  315. package/src/graphics/scene/model/model.ts +2 -6
  316. package/src/graphics/scene/model/public.ts +3 -1
  317. package/src/graphics/scene/model/shape/bounds-from-shape-mesh.ts +20 -0
  318. package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +97 -18
  319. package/src/graphics/scene/model/shape/shape-spec.ts +9 -0
  320. package/src/graphics/scene/model/world-bounds-plugin.ts +6 -25
  321. package/src/graphics/scene/node/node-data-plugin.test.ts +47 -0
  322. package/src/graphics/scene/node/node-data-plugin.ts +12 -5
  323. package/src/graphics/scene/scene-plugin.ts +3 -3
  324. package/src/index.ts +1 -70
  325. package/src/material/assemble-material-row.ts +26 -0
  326. package/src/material/definitions.ts +427 -0
  327. package/src/material/emission-mode.ts +11 -0
  328. package/src/material/index.ts +3 -0
  329. package/src/material/json/from-json-string.ts +11 -0
  330. package/src/material/json/from-json.test.ts +50 -0
  331. package/src/material/json/from-json.ts +23 -0
  332. package/src/material/json/is-properties-json.ts +77 -0
  333. package/src/material/json/library-json.ts +4 -0
  334. package/src/material/json/load-json.ts +15 -0
  335. package/src/material/json/properties-json.ts +25 -0
  336. package/src/material/json/public.ts +9 -0
  337. package/src/material/json/to-definition.ts +70 -0
  338. package/src/material/material-by-name-lookup.ts +10 -0
  339. package/src/material/material-defaults.ts +26 -0
  340. package/src/material/material-definition.ts +4 -0
  341. package/src/material/material-name.ts +3 -0
  342. package/src/material/material-plugin.test.ts +97 -0
  343. package/src/material/material-plugin.ts +67 -39
  344. package/src/material/material.ts +35 -34
  345. package/src/material/public.ts +12 -2
  346. package/src/material/require-material.ts +15 -0
  347. package/src/material/standard-material-names.ts +4 -0
  348. package/src/material/standard-materials.ts +21 -27
  349. package/src/material/stress-strain-curve/create.ts +9 -0
  350. package/src/material/stress-strain-curve/public.ts +2 -0
  351. package/src/material/stress-strain-curve/schema.test.ts +20 -0
  352. package/src/material/stress-strain-curve/schema.ts +20 -0
  353. package/src/material/stress-strain-curve/stress-strain-curve.ts +11 -0
  354. package/src/physics/README.md +9 -1
  355. package/src/physics/body/collider-shape/mass-from-volume.test.ts +8 -0
  356. package/src/physics/body/collider-shape/mass-from-volume.ts +4 -0
  357. package/src/physics/collider-primitive-render-archetype.ts +5 -0
  358. package/src/physics/collider-primitive-render-archetypes.ts +9 -0
  359. package/src/physics/index.ts +3 -0
  360. package/src/physics/is-voxel-shape-physics-pending.ts +9 -0
  361. package/src/physics/physics-clock/physics-clock.ts +17 -0
  362. package/src/physics/physics-clock-plugin.ts +1 -24
  363. package/src/physics/physics-clock.test.ts +2 -1
  364. package/src/physics/physics-data-plugin.ts +8 -6
  365. package/src/physics/public.ts +23 -0
  366. package/src/physics/ragdoll/bone-capsule.ts +11 -0
  367. package/src/physics/ragdoll/fit-bone-capsules-input.ts +14 -0
  368. package/src/physics/ragdoll/fit-bone-capsules.test.ts +2 -1
  369. package/src/physics/ragdoll/fit-bone-capsules.ts +2 -27
  370. package/src/physics/ragdoll/skin-vertices.ts +8 -0
  371. package/src/physics/rigid-body-components.ts +13 -0
  372. package/src/physics/solvers/README.md +4 -0
  373. package/src/physics/solvers/jolt-solver-plugin.ts +19 -5
  374. package/src/physics/solvers/rapier-solver-plugin.ts +5 -2
  375. package/src/physics/solvers/solver-benchmark-options.ts +16 -0
  376. package/src/physics/solvers/solver-benchmark-result.ts +17 -0
  377. package/src/physics/solvers/solver-benchmark.ts +2 -35
  378. package/src/physics/static-collider-components.ts +10 -0
  379. package/tsconfig.tsbuildinfo +1 -1
  380. package/src/graphics/rendering/material-gpu/material-arrays.ts +0 -113
  381. package/src/graphics/rendering/material-gpu/material-bind-group.ts +0 -61
  382. package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +0 -95
  383. package/src/graphics/scene/model/geometry/geometry.ts +0 -12
@@ -1,24 +1,7 @@
1
1
  import { Aabb, type Vec3 } from "@adobe/data/math";
2
2
  /**
3
- * worldBoundsCreate
4
- * query: Model-_worldBounds
5
- * write: _worldBounds (archetype migration; unit placeholder)
6
- *
7
- * Adds the `_worldBounds` column to any Model that doesn't have it yet, so
8
- * `worldBoundsSystem` can write directly without further migration.
9
- *
10
- * worldBoundsSystem
11
- * query: Model+_worldMatrix+_worldBounds
12
- * read: geometry → _bounds, _worldMatrix
13
- * write: _worldBounds
14
- *
15
- * Transforms the asset-space AABB on each Model's `geometry` by the Model's
16
- * `_worldMatrix` (all 8 corners, reduce to min/max) and writes the result.
17
- * Geometries still loading have no `_bounds` yet — those Models are skipped
18
- * until the asset finishes; their `_worldBounds` stays at its placeholder.
19
- *
20
- * Cost: one matrix-vec multiply × 8 corners × N visible Models, per frame.
21
- * At N=1000 that's ~8K vec3 ops; well under 0.1ms on modern CPUs.
3
+ * worldBounds — derives `_worldBounds` on `Model` rows from each instance's
4
+ * mesh `localBounds` and `_worldMatrix`.
22
5
  */
23
6
  export declare const worldBounds: {
24
7
  readonly components: {
@@ -70,6 +53,7 @@ export declare const worldBounds: {
70
53
  readonly default: number;
71
54
  };
72
55
  readonly _worldMatrix: {
56
+ readonly nonPersistent: true;
73
57
  readonly type: "array";
74
58
  readonly items: {
75
59
  readonly type: "number";
@@ -81,6 +65,7 @@ export declare const worldBounds: {
81
65
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
82
66
  };
83
67
  readonly _worldBounds: {
68
+ readonly nonPersistent: true;
84
69
  readonly type: "object";
85
70
  readonly properties: {
86
71
  readonly min: {
@@ -114,16 +99,230 @@ export declare const worldBounds: {
114
99
  };
115
100
  };
116
101
  } & {} & {
102
+ readonly material: {
103
+ readonly type: "integer";
104
+ readonly minimum: -2147483648;
105
+ readonly maximum: 2147483647;
106
+ readonly default: number;
107
+ };
108
+ readonly name: {
109
+ readonly type: "string";
110
+ };
111
+ readonly density: {
112
+ readonly type: "number";
113
+ readonly precision: 1;
114
+ readonly default: number;
115
+ };
116
+ readonly restitution: {
117
+ readonly type: "number";
118
+ readonly precision: 1;
119
+ readonly default: number;
120
+ };
121
+ readonly friction: {
122
+ readonly type: "number";
123
+ readonly precision: 1;
124
+ readonly default: number;
125
+ };
126
+ readonly compliance: {
127
+ readonly type: "number";
128
+ readonly precision: 1;
129
+ readonly default: number;
130
+ };
131
+ readonly heatCapacity: {
132
+ readonly type: "number";
133
+ readonly precision: 1;
134
+ readonly default: number;
135
+ };
136
+ readonly viscosity: {
137
+ readonly type: "number";
138
+ readonly precision: 1;
139
+ readonly default: number;
140
+ };
141
+ readonly thermalConductivity: {
142
+ readonly type: "number";
143
+ readonly precision: 1;
144
+ readonly default: number;
145
+ };
146
+ readonly stressStrainCurve: {
147
+ readonly type: "object";
148
+ readonly layout: "packed";
149
+ readonly properties: {
150
+ readonly tensileYieldStrainStress: {
151
+ readonly type: "array";
152
+ readonly items: {
153
+ readonly type: "number";
154
+ readonly precision: 1;
155
+ readonly default: number;
156
+ };
157
+ readonly minItems: 2;
158
+ readonly maxItems: 2;
159
+ readonly default: readonly [0, 0];
160
+ };
161
+ readonly tensileFractureStrainStress: {
162
+ readonly type: "array";
163
+ readonly items: {
164
+ readonly type: "number";
165
+ readonly precision: 1;
166
+ readonly default: number;
167
+ };
168
+ readonly minItems: 2;
169
+ readonly maxItems: 2;
170
+ readonly default: readonly [0, 0];
171
+ };
172
+ readonly compressiveYieldStrainStress: {
173
+ readonly type: "array";
174
+ readonly items: {
175
+ readonly type: "number";
176
+ readonly precision: 1;
177
+ readonly default: number;
178
+ };
179
+ readonly minItems: 2;
180
+ readonly maxItems: 2;
181
+ readonly default: readonly [0, 0];
182
+ };
183
+ readonly compressiveFractureStrainStress: {
184
+ readonly type: "array";
185
+ readonly items: {
186
+ readonly type: "number";
187
+ readonly precision: 1;
188
+ readonly default: number;
189
+ };
190
+ readonly minItems: 2;
191
+ readonly maxItems: 2;
192
+ readonly default: readonly [0, 0];
193
+ };
194
+ };
195
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
196
+ };
197
+ readonly baseColorFactor: {
198
+ readonly type: "array";
199
+ readonly items: {
200
+ readonly type: "number";
201
+ readonly precision: 1;
202
+ readonly default: number;
203
+ };
204
+ readonly minItems: 4;
205
+ readonly maxItems: 4;
206
+ readonly default: readonly [0, 0, 0, 0];
207
+ };
208
+ readonly emissiveFactor: {
209
+ readonly type: "array";
210
+ readonly items: {
211
+ readonly type: "number";
212
+ readonly precision: 1;
213
+ readonly default: number;
214
+ };
215
+ readonly minItems: 3;
216
+ readonly maxItems: 3;
217
+ readonly default: readonly [0, 0, 0];
218
+ };
219
+ readonly metallicFactor: {
220
+ readonly type: "number";
221
+ readonly precision: 1;
222
+ readonly default: number;
223
+ };
224
+ readonly roughnessFactor: {
225
+ readonly type: "number";
226
+ readonly precision: 1;
227
+ readonly default: number;
228
+ };
229
+ readonly normalScale: {
230
+ readonly type: "number";
231
+ readonly precision: 1;
232
+ readonly default: number;
233
+ };
234
+ readonly occlusionStrength: {
235
+ readonly type: "number";
236
+ readonly precision: 1;
237
+ readonly default: number;
238
+ };
239
+ readonly irReflectance: {
240
+ readonly type: "number";
241
+ readonly precision: 1;
242
+ readonly default: number;
243
+ };
244
+ readonly irEmission: {
245
+ readonly type: "number";
246
+ readonly precision: 1;
247
+ readonly default: number;
248
+ };
249
+ readonly emissionMode: {
250
+ readonly type: "integer";
251
+ readonly minimum: 0;
252
+ readonly maximum: 4294967295;
253
+ readonly default: number;
254
+ };
255
+ readonly baseColorUrl: {
256
+ readonly type: "string";
257
+ };
258
+ readonly metallicRoughnessUrl: {
259
+ readonly type: "string";
260
+ };
261
+ readonly normalUrl: {
262
+ readonly type: "string";
263
+ };
264
+ readonly occlusionUrl: {
265
+ readonly type: "string";
266
+ };
267
+ readonly emissiveUrl: {
268
+ readonly type: "string";
269
+ };
270
+ } & {
271
+ readonly mesh: {
272
+ readonly type: "integer";
273
+ readonly minimum: -2147483648;
274
+ readonly maximum: 2147483647;
275
+ readonly default: number;
276
+ };
277
+ readonly gltfUrl: {
278
+ readonly type: "string";
279
+ };
280
+ readonly shapeSpec: {
281
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
282
+ };
283
+ readonly voxelVolumeSize: {
284
+ readonly default: Vec3 | null;
285
+ };
286
+ readonly localBounds: {
287
+ readonly default: Aabb | null;
288
+ };
289
+ readonly skinJointTemplate: {
290
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
291
+ };
292
+ readonly skinInverseBindMatrices: {
293
+ readonly default: Float32Array | null;
294
+ };
295
+ readonly animationClipRefs: {
296
+ readonly default: number[];
297
+ };
298
+ readonly cpuCollisionPositions: {
299
+ readonly default: Float32Array | null;
300
+ };
301
+ readonly cpuCollisionIndices: {
302
+ readonly default: Uint32Array | null;
303
+ };
304
+ readonly cpuSkin: {
305
+ readonly default: {
306
+ positions: Float32Array;
307
+ joints: Uint32Array;
308
+ weights: Float32Array;
309
+ } | null;
310
+ };
311
+ } & {
117
312
  readonly _vertexBuffer: {
118
313
  readonly default: GPUBuffer | null;
314
+ readonly nonPersistent: true;
119
315
  };
120
316
  readonly _skinVertexBuffer: {
121
317
  readonly default: GPUBuffer | null;
318
+ readonly nonPersistent: true;
122
319
  };
123
320
  readonly _indexBuffer: {
124
321
  readonly default: GPUBuffer | null;
322
+ readonly nonPersistent: true;
125
323
  };
126
324
  readonly _indexCount: {
325
+ readonly nonPersistent: true;
127
326
  readonly type: "integer";
128
327
  readonly minimum: 0;
129
328
  readonly maximum: 4294967295;
@@ -131,23 +330,28 @@ export declare const worldBounds: {
131
330
  };
132
331
  readonly _indexFormat: {
133
332
  readonly default: GPUIndexFormat;
333
+ readonly nonPersistent: true;
134
334
  };
135
335
  readonly _materialBindGroup: {
136
336
  readonly default: GPUBindGroup | null;
337
+ readonly nonPersistent: true;
137
338
  };
138
- readonly _geometry: {
339
+ readonly _mesh: {
340
+ readonly nonPersistent: true;
139
341
  readonly type: "integer";
140
342
  readonly minimum: -2147483648;
141
343
  readonly maximum: 2147483647;
142
344
  readonly default: number;
143
345
  };
144
346
  readonly _material: {
347
+ readonly nonPersistent: true;
145
348
  readonly type: "integer";
146
349
  readonly minimum: -2147483648;
147
350
  readonly maximum: 2147483647;
148
351
  readonly default: number;
149
352
  };
150
353
  readonly _nodeLocalMatrix: {
354
+ readonly nonPersistent: true;
151
355
  readonly type: "array";
152
356
  readonly items: {
153
357
  readonly type: "number";
@@ -159,6 +363,7 @@ export declare const worldBounds: {
159
363
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
160
364
  };
161
365
  readonly _skeletonModelRef: {
366
+ readonly nonPersistent: true;
162
367
  readonly type: "integer";
163
368
  readonly minimum: -2147483648;
164
369
  readonly maximum: 2147483647;
@@ -166,16 +371,7 @@ export declare const worldBounds: {
166
371
  };
167
372
  readonly _skeletonJointMatrixBindGroup: {
168
373
  readonly default: GPUBindGroup | null;
169
- };
170
- } & {
171
- readonly modelUrl: {
172
- readonly type: "string";
173
- };
174
- readonly geometry: {
175
- readonly type: "integer";
176
- readonly minimum: -2147483648;
177
- readonly maximum: 2147483647;
178
- readonly default: number;
374
+ readonly nonPersistent: true;
179
375
  };
180
376
  } & {
181
377
  readonly animationClipTracks: {
@@ -207,43 +403,24 @@ export declare const worldBounds: {
207
403
  };
208
404
  readonly animationLoop: {
209
405
  readonly type: "boolean";
406
+ readonly default: boolean;
210
407
  };
211
408
  readonly animationPlaying: {
212
409
  readonly type: "boolean";
410
+ readonly default: boolean;
213
411
  };
214
412
  readonly animationObservable: {
215
413
  readonly type: "boolean";
216
414
  readonly const: true;
217
415
  readonly default: true;
218
416
  };
219
- } & {
220
- readonly _bounds: {
221
- readonly default: Aabb | null;
222
- };
223
- readonly _skinJointTemplate: {
224
- readonly default: import("./gltf/parse-skin.js").JointTemplate[];
225
- };
226
- readonly _skinInverseBindMatrices: {
227
- readonly default: Float32Array | null;
228
- };
229
- readonly _animationClipRefs: {
230
- readonly default: number[];
231
- };
232
- readonly _cpuPositions: {
233
- readonly default: Float32Array | null;
234
- };
235
- readonly _cpuIndices: {
236
- readonly default: Uint32Array | null;
237
- };
238
- readonly _cpuSkin: {
239
- readonly default: {
240
- positions: Float32Array;
241
- joints: Uint32Array;
242
- weights: Float32Array;
243
- } | null;
244
- };
245
417
  };
246
418
  readonly resources: {} & {
419
+ readonly _gltfMeshByUrl: {
420
+ readonly default: Map<string, number> | null;
421
+ readonly nonPersistent: true;
422
+ };
423
+ } & {
247
424
  readonly frameTime: {
248
425
  readonly default: import("../../../core/frame-time/public.js");
249
426
  readonly nonPersistent: true;
@@ -265,77 +442,1677 @@ export declare const worldBounds: {
265
442
  readonly archetypes: {
266
443
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
267
444
  } & {} & {} & {
268
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
269
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
445
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
446
+ } & {
447
+ readonly GltfMeshPending: readonly ["gltfUrl"];
448
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
449
+ readonly StaticMesh: readonly ["localBounds"];
450
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
451
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
452
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
270
453
  } & {
271
- readonly Geometry: readonly ["modelUrl"];
272
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
454
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
455
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
273
456
  } & {
274
457
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
275
458
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
276
459
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
277
- } & {} & {} & {};
278
- readonly transactions: {} & {} & {} & {
279
- readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
280
- readonly modelUrl: {
281
- readonly type: "string";
282
- };
283
- readonly geometry: {
460
+ } & {} & {};
461
+ readonly transactions: {} & {} & {
462
+ readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
463
+ readonly material: {
284
464
  readonly type: "integer";
285
465
  readonly minimum: -2147483648;
286
466
  readonly maximum: 2147483647;
287
467
  readonly default: number;
288
468
  };
289
- } & {
290
- readonly visible: {
291
- readonly type: "boolean";
292
- readonly const: true;
293
- readonly default: true;
469
+ readonly name: {
470
+ readonly type: "string";
294
471
  };
295
- readonly position: {
296
- readonly type: "array";
297
- readonly items: {
298
- readonly type: "number";
299
- readonly precision: 1;
300
- readonly default: number;
301
- };
302
- readonly minItems: 3;
303
- readonly maxItems: 3;
304
- readonly default: readonly [0, 0, 0];
472
+ readonly density: {
473
+ readonly type: "number";
474
+ readonly precision: 1;
475
+ readonly default: number;
305
476
  };
306
- readonly rotation: {
307
- readonly type: "array";
308
- readonly items: {
309
- readonly type: "number";
310
- readonly precision: 1;
311
- readonly default: number;
312
- };
313
- readonly minItems: 4;
314
- readonly maxItems: 4;
315
- readonly default: readonly [0, 0, 0, 1];
316
- readonly interpolators: {
317
- readonly linear: (q1: any, q2: any, t: number) => any;
318
- };
477
+ readonly restitution: {
478
+ readonly type: "number";
479
+ readonly precision: 1;
480
+ readonly default: number;
319
481
  };
320
- readonly scale: {
321
- readonly type: "array";
322
- readonly items: {
323
- readonly type: "number";
324
- readonly precision: 1;
325
- readonly default: number;
326
- };
327
- readonly minItems: 3;
328
- readonly maxItems: 3;
329
- readonly default: readonly [0, 0, 0];
482
+ readonly friction: {
483
+ readonly type: "number";
484
+ readonly precision: 1;
485
+ readonly default: number;
330
486
  };
331
- readonly parent: {
332
- readonly type: "integer";
333
- readonly minimum: -2147483648;
334
- readonly maximum: 2147483647;
487
+ readonly compliance: {
488
+ readonly type: "number";
489
+ readonly precision: 1;
335
490
  readonly default: number;
336
491
  };
337
- readonly _worldMatrix: {
338
- readonly type: "array";
492
+ readonly heatCapacity: {
493
+ readonly type: "number";
494
+ readonly precision: 1;
495
+ readonly default: number;
496
+ };
497
+ readonly viscosity: {
498
+ readonly type: "number";
499
+ readonly precision: 1;
500
+ readonly default: number;
501
+ };
502
+ readonly thermalConductivity: {
503
+ readonly type: "number";
504
+ readonly precision: 1;
505
+ readonly default: number;
506
+ };
507
+ readonly stressStrainCurve: {
508
+ readonly type: "object";
509
+ readonly layout: "packed";
510
+ readonly properties: {
511
+ readonly tensileYieldStrainStress: {
512
+ readonly type: "array";
513
+ readonly items: {
514
+ readonly type: "number";
515
+ readonly precision: 1;
516
+ readonly default: number;
517
+ };
518
+ readonly minItems: 2;
519
+ readonly maxItems: 2;
520
+ readonly default: readonly [0, 0];
521
+ };
522
+ readonly tensileFractureStrainStress: {
523
+ readonly type: "array";
524
+ readonly items: {
525
+ readonly type: "number";
526
+ readonly precision: 1;
527
+ readonly default: number;
528
+ };
529
+ readonly minItems: 2;
530
+ readonly maxItems: 2;
531
+ readonly default: readonly [0, 0];
532
+ };
533
+ readonly compressiveYieldStrainStress: {
534
+ readonly type: "array";
535
+ readonly items: {
536
+ readonly type: "number";
537
+ readonly precision: 1;
538
+ readonly default: number;
539
+ };
540
+ readonly minItems: 2;
541
+ readonly maxItems: 2;
542
+ readonly default: readonly [0, 0];
543
+ };
544
+ readonly compressiveFractureStrainStress: {
545
+ readonly type: "array";
546
+ readonly items: {
547
+ readonly type: "number";
548
+ readonly precision: 1;
549
+ readonly default: number;
550
+ };
551
+ readonly minItems: 2;
552
+ readonly maxItems: 2;
553
+ readonly default: readonly [0, 0];
554
+ };
555
+ };
556
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
557
+ };
558
+ readonly baseColorFactor: {
559
+ readonly type: "array";
560
+ readonly items: {
561
+ readonly type: "number";
562
+ readonly precision: 1;
563
+ readonly default: number;
564
+ };
565
+ readonly minItems: 4;
566
+ readonly maxItems: 4;
567
+ readonly default: readonly [0, 0, 0, 0];
568
+ };
569
+ readonly emissiveFactor: {
570
+ readonly type: "array";
571
+ readonly items: {
572
+ readonly type: "number";
573
+ readonly precision: 1;
574
+ readonly default: number;
575
+ };
576
+ readonly minItems: 3;
577
+ readonly maxItems: 3;
578
+ readonly default: readonly [0, 0, 0];
579
+ };
580
+ readonly metallicFactor: {
581
+ readonly type: "number";
582
+ readonly precision: 1;
583
+ readonly default: number;
584
+ };
585
+ readonly roughnessFactor: {
586
+ readonly type: "number";
587
+ readonly precision: 1;
588
+ readonly default: number;
589
+ };
590
+ readonly normalScale: {
591
+ readonly type: "number";
592
+ readonly precision: 1;
593
+ readonly default: number;
594
+ };
595
+ readonly occlusionStrength: {
596
+ readonly type: "number";
597
+ readonly precision: 1;
598
+ readonly default: number;
599
+ };
600
+ readonly irReflectance: {
601
+ readonly type: "number";
602
+ readonly precision: 1;
603
+ readonly default: number;
604
+ };
605
+ readonly irEmission: {
606
+ readonly type: "number";
607
+ readonly precision: 1;
608
+ readonly default: number;
609
+ };
610
+ readonly emissionMode: {
611
+ readonly type: "integer";
612
+ readonly minimum: 0;
613
+ readonly maximum: 4294967295;
614
+ readonly default: number;
615
+ };
616
+ readonly baseColorUrl: {
617
+ readonly type: "string";
618
+ };
619
+ readonly metallicRoughnessUrl: {
620
+ readonly type: "string";
621
+ };
622
+ readonly normalUrl: {
623
+ readonly type: "string";
624
+ };
625
+ readonly occlusionUrl: {
626
+ readonly type: "string";
627
+ };
628
+ readonly emissiveUrl: {
629
+ readonly type: "string";
630
+ };
631
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
632
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
633
+ }, {
634
+ readonly materialByName: {
635
+ readonly key: "name";
636
+ readonly unique: true;
637
+ readonly archetype: "Material";
638
+ };
639
+ }>, row: import("../../../material/public.js")) => number;
640
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
641
+ readonly material: {
642
+ readonly type: "integer";
643
+ readonly minimum: -2147483648;
644
+ readonly maximum: 2147483647;
645
+ readonly default: number;
646
+ };
647
+ readonly name: {
648
+ readonly type: "string";
649
+ };
650
+ readonly density: {
651
+ readonly type: "number";
652
+ readonly precision: 1;
653
+ readonly default: number;
654
+ };
655
+ readonly restitution: {
656
+ readonly type: "number";
657
+ readonly precision: 1;
658
+ readonly default: number;
659
+ };
660
+ readonly friction: {
661
+ readonly type: "number";
662
+ readonly precision: 1;
663
+ readonly default: number;
664
+ };
665
+ readonly compliance: {
666
+ readonly type: "number";
667
+ readonly precision: 1;
668
+ readonly default: number;
669
+ };
670
+ readonly heatCapacity: {
671
+ readonly type: "number";
672
+ readonly precision: 1;
673
+ readonly default: number;
674
+ };
675
+ readonly viscosity: {
676
+ readonly type: "number";
677
+ readonly precision: 1;
678
+ readonly default: number;
679
+ };
680
+ readonly thermalConductivity: {
681
+ readonly type: "number";
682
+ readonly precision: 1;
683
+ readonly default: number;
684
+ };
685
+ readonly stressStrainCurve: {
686
+ readonly type: "object";
687
+ readonly layout: "packed";
688
+ readonly properties: {
689
+ readonly tensileYieldStrainStress: {
690
+ readonly type: "array";
691
+ readonly items: {
692
+ readonly type: "number";
693
+ readonly precision: 1;
694
+ readonly default: number;
695
+ };
696
+ readonly minItems: 2;
697
+ readonly maxItems: 2;
698
+ readonly default: readonly [0, 0];
699
+ };
700
+ readonly tensileFractureStrainStress: {
701
+ readonly type: "array";
702
+ readonly items: {
703
+ readonly type: "number";
704
+ readonly precision: 1;
705
+ readonly default: number;
706
+ };
707
+ readonly minItems: 2;
708
+ readonly maxItems: 2;
709
+ readonly default: readonly [0, 0];
710
+ };
711
+ readonly compressiveYieldStrainStress: {
712
+ readonly type: "array";
713
+ readonly items: {
714
+ readonly type: "number";
715
+ readonly precision: 1;
716
+ readonly default: number;
717
+ };
718
+ readonly minItems: 2;
719
+ readonly maxItems: 2;
720
+ readonly default: readonly [0, 0];
721
+ };
722
+ readonly compressiveFractureStrainStress: {
723
+ readonly type: "array";
724
+ readonly items: {
725
+ readonly type: "number";
726
+ readonly precision: 1;
727
+ readonly default: number;
728
+ };
729
+ readonly minItems: 2;
730
+ readonly maxItems: 2;
731
+ readonly default: readonly [0, 0];
732
+ };
733
+ };
734
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
735
+ };
736
+ readonly baseColorFactor: {
737
+ readonly type: "array";
738
+ readonly items: {
739
+ readonly type: "number";
740
+ readonly precision: 1;
741
+ readonly default: number;
742
+ };
743
+ readonly minItems: 4;
744
+ readonly maxItems: 4;
745
+ readonly default: readonly [0, 0, 0, 0];
746
+ };
747
+ readonly emissiveFactor: {
748
+ readonly type: "array";
749
+ readonly items: {
750
+ readonly type: "number";
751
+ readonly precision: 1;
752
+ readonly default: number;
753
+ };
754
+ readonly minItems: 3;
755
+ readonly maxItems: 3;
756
+ readonly default: readonly [0, 0, 0];
757
+ };
758
+ readonly metallicFactor: {
759
+ readonly type: "number";
760
+ readonly precision: 1;
761
+ readonly default: number;
762
+ };
763
+ readonly roughnessFactor: {
764
+ readonly type: "number";
765
+ readonly precision: 1;
766
+ readonly default: number;
767
+ };
768
+ readonly normalScale: {
769
+ readonly type: "number";
770
+ readonly precision: 1;
771
+ readonly default: number;
772
+ };
773
+ readonly occlusionStrength: {
774
+ readonly type: "number";
775
+ readonly precision: 1;
776
+ readonly default: number;
777
+ };
778
+ readonly irReflectance: {
779
+ readonly type: "number";
780
+ readonly precision: 1;
781
+ readonly default: number;
782
+ };
783
+ readonly irEmission: {
784
+ readonly type: "number";
785
+ readonly precision: 1;
786
+ readonly default: number;
787
+ };
788
+ readonly emissionMode: {
789
+ readonly type: "integer";
790
+ readonly minimum: 0;
791
+ readonly maximum: 4294967295;
792
+ readonly default: number;
793
+ };
794
+ readonly baseColorUrl: {
795
+ readonly type: "string";
796
+ };
797
+ readonly metallicRoughnessUrl: {
798
+ readonly type: "string";
799
+ };
800
+ readonly normalUrl: {
801
+ readonly type: "string";
802
+ };
803
+ readonly occlusionUrl: {
804
+ readonly type: "string";
805
+ };
806
+ readonly emissiveUrl: {
807
+ readonly type: "string";
808
+ };
809
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
810
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
811
+ }, {
812
+ readonly materialByName: {
813
+ readonly key: "name";
814
+ readonly unique: true;
815
+ readonly archetype: "Material";
816
+ };
817
+ }>, args: {
818
+ name: string;
819
+ definition: import("../../../material/material-definition.js").MaterialDefinition;
820
+ }) => number;
821
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
822
+ readonly material: {
823
+ readonly type: "integer";
824
+ readonly minimum: -2147483648;
825
+ readonly maximum: 2147483647;
826
+ readonly default: number;
827
+ };
828
+ readonly name: {
829
+ readonly type: "string";
830
+ };
831
+ readonly density: {
832
+ readonly type: "number";
833
+ readonly precision: 1;
834
+ readonly default: number;
835
+ };
836
+ readonly restitution: {
837
+ readonly type: "number";
838
+ readonly precision: 1;
839
+ readonly default: number;
840
+ };
841
+ readonly friction: {
842
+ readonly type: "number";
843
+ readonly precision: 1;
844
+ readonly default: number;
845
+ };
846
+ readonly compliance: {
847
+ readonly type: "number";
848
+ readonly precision: 1;
849
+ readonly default: number;
850
+ };
851
+ readonly heatCapacity: {
852
+ readonly type: "number";
853
+ readonly precision: 1;
854
+ readonly default: number;
855
+ };
856
+ readonly viscosity: {
857
+ readonly type: "number";
858
+ readonly precision: 1;
859
+ readonly default: number;
860
+ };
861
+ readonly thermalConductivity: {
862
+ readonly type: "number";
863
+ readonly precision: 1;
864
+ readonly default: number;
865
+ };
866
+ readonly stressStrainCurve: {
867
+ readonly type: "object";
868
+ readonly layout: "packed";
869
+ readonly properties: {
870
+ readonly tensileYieldStrainStress: {
871
+ readonly type: "array";
872
+ readonly items: {
873
+ readonly type: "number";
874
+ readonly precision: 1;
875
+ readonly default: number;
876
+ };
877
+ readonly minItems: 2;
878
+ readonly maxItems: 2;
879
+ readonly default: readonly [0, 0];
880
+ };
881
+ readonly tensileFractureStrainStress: {
882
+ readonly type: "array";
883
+ readonly items: {
884
+ readonly type: "number";
885
+ readonly precision: 1;
886
+ readonly default: number;
887
+ };
888
+ readonly minItems: 2;
889
+ readonly maxItems: 2;
890
+ readonly default: readonly [0, 0];
891
+ };
892
+ readonly compressiveYieldStrainStress: {
893
+ readonly type: "array";
894
+ readonly items: {
895
+ readonly type: "number";
896
+ readonly precision: 1;
897
+ readonly default: number;
898
+ };
899
+ readonly minItems: 2;
900
+ readonly maxItems: 2;
901
+ readonly default: readonly [0, 0];
902
+ };
903
+ readonly compressiveFractureStrainStress: {
904
+ readonly type: "array";
905
+ readonly items: {
906
+ readonly type: "number";
907
+ readonly precision: 1;
908
+ readonly default: number;
909
+ };
910
+ readonly minItems: 2;
911
+ readonly maxItems: 2;
912
+ readonly default: readonly [0, 0];
913
+ };
914
+ };
915
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
916
+ };
917
+ readonly baseColorFactor: {
918
+ readonly type: "array";
919
+ readonly items: {
920
+ readonly type: "number";
921
+ readonly precision: 1;
922
+ readonly default: number;
923
+ };
924
+ readonly minItems: 4;
925
+ readonly maxItems: 4;
926
+ readonly default: readonly [0, 0, 0, 0];
927
+ };
928
+ readonly emissiveFactor: {
929
+ readonly type: "array";
930
+ readonly items: {
931
+ readonly type: "number";
932
+ readonly precision: 1;
933
+ readonly default: number;
934
+ };
935
+ readonly minItems: 3;
936
+ readonly maxItems: 3;
937
+ readonly default: readonly [0, 0, 0];
938
+ };
939
+ readonly metallicFactor: {
940
+ readonly type: "number";
941
+ readonly precision: 1;
942
+ readonly default: number;
943
+ };
944
+ readonly roughnessFactor: {
945
+ readonly type: "number";
946
+ readonly precision: 1;
947
+ readonly default: number;
948
+ };
949
+ readonly normalScale: {
950
+ readonly type: "number";
951
+ readonly precision: 1;
952
+ readonly default: number;
953
+ };
954
+ readonly occlusionStrength: {
955
+ readonly type: "number";
956
+ readonly precision: 1;
957
+ readonly default: number;
958
+ };
959
+ readonly irReflectance: {
960
+ readonly type: "number";
961
+ readonly precision: 1;
962
+ readonly default: number;
963
+ };
964
+ readonly irEmission: {
965
+ readonly type: "number";
966
+ readonly precision: 1;
967
+ readonly default: number;
968
+ };
969
+ readonly emissionMode: {
970
+ readonly type: "integer";
971
+ readonly minimum: 0;
972
+ readonly maximum: 4294967295;
973
+ readonly default: number;
974
+ };
975
+ readonly baseColorUrl: {
976
+ readonly type: "string";
977
+ };
978
+ readonly metallicRoughnessUrl: {
979
+ readonly type: "string";
980
+ };
981
+ readonly normalUrl: {
982
+ readonly type: "string";
983
+ };
984
+ readonly occlusionUrl: {
985
+ readonly type: "string";
986
+ };
987
+ readonly emissiveUrl: {
988
+ readonly type: "string";
989
+ };
990
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
991
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
992
+ }, {
993
+ readonly materialByName: {
994
+ readonly key: "name";
995
+ readonly unique: true;
996
+ readonly archetype: "Material";
997
+ };
998
+ }>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
999
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1000
+ readonly material: {
1001
+ readonly type: "integer";
1002
+ readonly minimum: -2147483648;
1003
+ readonly maximum: 2147483647;
1004
+ readonly default: number;
1005
+ };
1006
+ readonly name: {
1007
+ readonly type: "string";
1008
+ };
1009
+ readonly density: {
1010
+ readonly type: "number";
1011
+ readonly precision: 1;
1012
+ readonly default: number;
1013
+ };
1014
+ readonly restitution: {
1015
+ readonly type: "number";
1016
+ readonly precision: 1;
1017
+ readonly default: number;
1018
+ };
1019
+ readonly friction: {
1020
+ readonly type: "number";
1021
+ readonly precision: 1;
1022
+ readonly default: number;
1023
+ };
1024
+ readonly compliance: {
1025
+ readonly type: "number";
1026
+ readonly precision: 1;
1027
+ readonly default: number;
1028
+ };
1029
+ readonly heatCapacity: {
1030
+ readonly type: "number";
1031
+ readonly precision: 1;
1032
+ readonly default: number;
1033
+ };
1034
+ readonly viscosity: {
1035
+ readonly type: "number";
1036
+ readonly precision: 1;
1037
+ readonly default: number;
1038
+ };
1039
+ readonly thermalConductivity: {
1040
+ readonly type: "number";
1041
+ readonly precision: 1;
1042
+ readonly default: number;
1043
+ };
1044
+ readonly stressStrainCurve: {
1045
+ readonly type: "object";
1046
+ readonly layout: "packed";
1047
+ readonly properties: {
1048
+ readonly tensileYieldStrainStress: {
1049
+ readonly type: "array";
1050
+ readonly items: {
1051
+ readonly type: "number";
1052
+ readonly precision: 1;
1053
+ readonly default: number;
1054
+ };
1055
+ readonly minItems: 2;
1056
+ readonly maxItems: 2;
1057
+ readonly default: readonly [0, 0];
1058
+ };
1059
+ readonly tensileFractureStrainStress: {
1060
+ readonly type: "array";
1061
+ readonly items: {
1062
+ readonly type: "number";
1063
+ readonly precision: 1;
1064
+ readonly default: number;
1065
+ };
1066
+ readonly minItems: 2;
1067
+ readonly maxItems: 2;
1068
+ readonly default: readonly [0, 0];
1069
+ };
1070
+ readonly compressiveYieldStrainStress: {
1071
+ readonly type: "array";
1072
+ readonly items: {
1073
+ readonly type: "number";
1074
+ readonly precision: 1;
1075
+ readonly default: number;
1076
+ };
1077
+ readonly minItems: 2;
1078
+ readonly maxItems: 2;
1079
+ readonly default: readonly [0, 0];
1080
+ };
1081
+ readonly compressiveFractureStrainStress: {
1082
+ readonly type: "array";
1083
+ readonly items: {
1084
+ readonly type: "number";
1085
+ readonly precision: 1;
1086
+ readonly default: number;
1087
+ };
1088
+ readonly minItems: 2;
1089
+ readonly maxItems: 2;
1090
+ readonly default: readonly [0, 0];
1091
+ };
1092
+ };
1093
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1094
+ };
1095
+ readonly baseColorFactor: {
1096
+ readonly type: "array";
1097
+ readonly items: {
1098
+ readonly type: "number";
1099
+ readonly precision: 1;
1100
+ readonly default: number;
1101
+ };
1102
+ readonly minItems: 4;
1103
+ readonly maxItems: 4;
1104
+ readonly default: readonly [0, 0, 0, 0];
1105
+ };
1106
+ readonly emissiveFactor: {
1107
+ readonly type: "array";
1108
+ readonly items: {
1109
+ readonly type: "number";
1110
+ readonly precision: 1;
1111
+ readonly default: number;
1112
+ };
1113
+ readonly minItems: 3;
1114
+ readonly maxItems: 3;
1115
+ readonly default: readonly [0, 0, 0];
1116
+ };
1117
+ readonly metallicFactor: {
1118
+ readonly type: "number";
1119
+ readonly precision: 1;
1120
+ readonly default: number;
1121
+ };
1122
+ readonly roughnessFactor: {
1123
+ readonly type: "number";
1124
+ readonly precision: 1;
1125
+ readonly default: number;
1126
+ };
1127
+ readonly normalScale: {
1128
+ readonly type: "number";
1129
+ readonly precision: 1;
1130
+ readonly default: number;
1131
+ };
1132
+ readonly occlusionStrength: {
1133
+ readonly type: "number";
1134
+ readonly precision: 1;
1135
+ readonly default: number;
1136
+ };
1137
+ readonly irReflectance: {
1138
+ readonly type: "number";
1139
+ readonly precision: 1;
1140
+ readonly default: number;
1141
+ };
1142
+ readonly irEmission: {
1143
+ readonly type: "number";
1144
+ readonly precision: 1;
1145
+ readonly default: number;
1146
+ };
1147
+ readonly emissionMode: {
1148
+ readonly type: "integer";
1149
+ readonly minimum: 0;
1150
+ readonly maximum: 4294967295;
1151
+ readonly default: number;
1152
+ };
1153
+ readonly baseColorUrl: {
1154
+ readonly type: "string";
1155
+ };
1156
+ readonly metallicRoughnessUrl: {
1157
+ readonly type: "string";
1158
+ };
1159
+ readonly normalUrl: {
1160
+ readonly type: "string";
1161
+ };
1162
+ readonly occlusionUrl: {
1163
+ readonly type: "string";
1164
+ };
1165
+ readonly emissiveUrl: {
1166
+ readonly type: "string";
1167
+ };
1168
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1169
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1170
+ }, {
1171
+ readonly materialByName: {
1172
+ readonly key: "name";
1173
+ readonly unique: true;
1174
+ readonly archetype: "Material";
1175
+ };
1176
+ }>) => void;
1177
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1178
+ readonly material: {
1179
+ readonly type: "integer";
1180
+ readonly minimum: -2147483648;
1181
+ readonly maximum: 2147483647;
1182
+ readonly default: number;
1183
+ };
1184
+ readonly name: {
1185
+ readonly type: "string";
1186
+ };
1187
+ readonly density: {
1188
+ readonly type: "number";
1189
+ readonly precision: 1;
1190
+ readonly default: number;
1191
+ };
1192
+ readonly restitution: {
1193
+ readonly type: "number";
1194
+ readonly precision: 1;
1195
+ readonly default: number;
1196
+ };
1197
+ readonly friction: {
1198
+ readonly type: "number";
1199
+ readonly precision: 1;
1200
+ readonly default: number;
1201
+ };
1202
+ readonly compliance: {
1203
+ readonly type: "number";
1204
+ readonly precision: 1;
1205
+ readonly default: number;
1206
+ };
1207
+ readonly heatCapacity: {
1208
+ readonly type: "number";
1209
+ readonly precision: 1;
1210
+ readonly default: number;
1211
+ };
1212
+ readonly viscosity: {
1213
+ readonly type: "number";
1214
+ readonly precision: 1;
1215
+ readonly default: number;
1216
+ };
1217
+ readonly thermalConductivity: {
1218
+ readonly type: "number";
1219
+ readonly precision: 1;
1220
+ readonly default: number;
1221
+ };
1222
+ readonly stressStrainCurve: {
1223
+ readonly type: "object";
1224
+ readonly layout: "packed";
1225
+ readonly properties: {
1226
+ readonly tensileYieldStrainStress: {
1227
+ readonly type: "array";
1228
+ readonly items: {
1229
+ readonly type: "number";
1230
+ readonly precision: 1;
1231
+ readonly default: number;
1232
+ };
1233
+ readonly minItems: 2;
1234
+ readonly maxItems: 2;
1235
+ readonly default: readonly [0, 0];
1236
+ };
1237
+ readonly tensileFractureStrainStress: {
1238
+ readonly type: "array";
1239
+ readonly items: {
1240
+ readonly type: "number";
1241
+ readonly precision: 1;
1242
+ readonly default: number;
1243
+ };
1244
+ readonly minItems: 2;
1245
+ readonly maxItems: 2;
1246
+ readonly default: readonly [0, 0];
1247
+ };
1248
+ readonly compressiveYieldStrainStress: {
1249
+ readonly type: "array";
1250
+ readonly items: {
1251
+ readonly type: "number";
1252
+ readonly precision: 1;
1253
+ readonly default: number;
1254
+ };
1255
+ readonly minItems: 2;
1256
+ readonly maxItems: 2;
1257
+ readonly default: readonly [0, 0];
1258
+ };
1259
+ readonly compressiveFractureStrainStress: {
1260
+ readonly type: "array";
1261
+ readonly items: {
1262
+ readonly type: "number";
1263
+ readonly precision: 1;
1264
+ readonly default: number;
1265
+ };
1266
+ readonly minItems: 2;
1267
+ readonly maxItems: 2;
1268
+ readonly default: readonly [0, 0];
1269
+ };
1270
+ };
1271
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1272
+ };
1273
+ readonly baseColorFactor: {
1274
+ readonly type: "array";
1275
+ readonly items: {
1276
+ readonly type: "number";
1277
+ readonly precision: 1;
1278
+ readonly default: number;
1279
+ };
1280
+ readonly minItems: 4;
1281
+ readonly maxItems: 4;
1282
+ readonly default: readonly [0, 0, 0, 0];
1283
+ };
1284
+ readonly emissiveFactor: {
1285
+ readonly type: "array";
1286
+ readonly items: {
1287
+ readonly type: "number";
1288
+ readonly precision: 1;
1289
+ readonly default: number;
1290
+ };
1291
+ readonly minItems: 3;
1292
+ readonly maxItems: 3;
1293
+ readonly default: readonly [0, 0, 0];
1294
+ };
1295
+ readonly metallicFactor: {
1296
+ readonly type: "number";
1297
+ readonly precision: 1;
1298
+ readonly default: number;
1299
+ };
1300
+ readonly roughnessFactor: {
1301
+ readonly type: "number";
1302
+ readonly precision: 1;
1303
+ readonly default: number;
1304
+ };
1305
+ readonly normalScale: {
1306
+ readonly type: "number";
1307
+ readonly precision: 1;
1308
+ readonly default: number;
1309
+ };
1310
+ readonly occlusionStrength: {
1311
+ readonly type: "number";
1312
+ readonly precision: 1;
1313
+ readonly default: number;
1314
+ };
1315
+ readonly irReflectance: {
1316
+ readonly type: "number";
1317
+ readonly precision: 1;
1318
+ readonly default: number;
1319
+ };
1320
+ readonly irEmission: {
1321
+ readonly type: "number";
1322
+ readonly precision: 1;
1323
+ readonly default: number;
1324
+ };
1325
+ readonly emissionMode: {
1326
+ readonly type: "integer";
1327
+ readonly minimum: 0;
1328
+ readonly maximum: 4294967295;
1329
+ readonly default: number;
1330
+ };
1331
+ readonly baseColorUrl: {
1332
+ readonly type: "string";
1333
+ };
1334
+ readonly metallicRoughnessUrl: {
1335
+ readonly type: "string";
1336
+ };
1337
+ readonly normalUrl: {
1338
+ readonly type: "string";
1339
+ };
1340
+ readonly occlusionUrl: {
1341
+ readonly type: "string";
1342
+ };
1343
+ readonly emissiveUrl: {
1344
+ readonly type: "string";
1345
+ };
1346
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1347
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1348
+ }, {
1349
+ readonly materialByName: {
1350
+ readonly key: "name";
1351
+ readonly unique: true;
1352
+ readonly archetype: "Material";
1353
+ };
1354
+ }>) => void;
1355
+ } & {
1356
+ readonly insertGltfMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1357
+ readonly mesh: {
1358
+ readonly type: "integer";
1359
+ readonly minimum: -2147483648;
1360
+ readonly maximum: 2147483647;
1361
+ readonly default: number;
1362
+ };
1363
+ readonly gltfUrl: {
1364
+ readonly type: "string";
1365
+ };
1366
+ readonly shapeSpec: {
1367
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
1368
+ };
1369
+ readonly voxelVolumeSize: {
1370
+ readonly default: Vec3 | null;
1371
+ };
1372
+ readonly localBounds: {
1373
+ readonly default: Aabb | null;
1374
+ };
1375
+ readonly skinJointTemplate: {
1376
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
1377
+ };
1378
+ readonly skinInverseBindMatrices: {
1379
+ readonly default: Float32Array | null;
1380
+ };
1381
+ readonly animationClipRefs: {
1382
+ readonly default: number[];
1383
+ };
1384
+ readonly cpuCollisionPositions: {
1385
+ readonly default: Float32Array | null;
1386
+ };
1387
+ readonly cpuCollisionIndices: {
1388
+ readonly default: Uint32Array | null;
1389
+ };
1390
+ readonly cpuSkin: {
1391
+ readonly default: {
1392
+ positions: Float32Array;
1393
+ joints: Uint32Array;
1394
+ weights: Float32Array;
1395
+ } | null;
1396
+ };
1397
+ } & {
1398
+ readonly visible: {
1399
+ readonly type: "boolean";
1400
+ readonly const: true;
1401
+ readonly default: true;
1402
+ };
1403
+ readonly position: {
1404
+ readonly type: "array";
1405
+ readonly items: {
1406
+ readonly type: "number";
1407
+ readonly precision: 1;
1408
+ readonly default: number;
1409
+ };
1410
+ readonly minItems: 3;
1411
+ readonly maxItems: 3;
1412
+ readonly default: readonly [0, 0, 0];
1413
+ };
1414
+ readonly rotation: {
1415
+ readonly type: "array";
1416
+ readonly items: {
1417
+ readonly type: "number";
1418
+ readonly precision: 1;
1419
+ readonly default: number;
1420
+ };
1421
+ readonly minItems: 4;
1422
+ readonly maxItems: 4;
1423
+ readonly default: readonly [0, 0, 0, 1];
1424
+ readonly interpolators: {
1425
+ readonly linear: (q1: any, q2: any, t: number) => any;
1426
+ };
1427
+ };
1428
+ readonly scale: {
1429
+ readonly type: "array";
1430
+ readonly items: {
1431
+ readonly type: "number";
1432
+ readonly precision: 1;
1433
+ readonly default: number;
1434
+ };
1435
+ readonly minItems: 3;
1436
+ readonly maxItems: 3;
1437
+ readonly default: readonly [0, 0, 0];
1438
+ };
1439
+ readonly parent: {
1440
+ readonly type: "integer";
1441
+ readonly minimum: -2147483648;
1442
+ readonly maximum: 2147483647;
1443
+ readonly default: number;
1444
+ };
1445
+ readonly _worldMatrix: {
1446
+ readonly nonPersistent: true;
1447
+ readonly type: "array";
1448
+ readonly items: {
1449
+ readonly type: "number";
1450
+ readonly precision: 1;
1451
+ readonly default: number;
1452
+ };
1453
+ readonly minItems: 16;
1454
+ readonly maxItems: 16;
1455
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1456
+ };
1457
+ readonly _worldBounds: {
1458
+ readonly nonPersistent: true;
1459
+ readonly type: "object";
1460
+ readonly properties: {
1461
+ readonly min: {
1462
+ readonly type: "array";
1463
+ readonly items: {
1464
+ readonly type: "number";
1465
+ readonly precision: 1;
1466
+ readonly default: number;
1467
+ };
1468
+ readonly minItems: 3;
1469
+ readonly maxItems: 3;
1470
+ readonly default: readonly [0, 0, 0];
1471
+ };
1472
+ readonly max: {
1473
+ readonly type: "array";
1474
+ readonly items: {
1475
+ readonly type: "number";
1476
+ readonly precision: 1;
1477
+ readonly default: number;
1478
+ };
1479
+ readonly minItems: 3;
1480
+ readonly maxItems: 3;
1481
+ readonly default: readonly [0, 0, 0];
1482
+ };
1483
+ };
1484
+ readonly required: readonly ["min", "max"];
1485
+ readonly additionalProperties: false;
1486
+ readonly default: {
1487
+ readonly min: readonly [0, 0, 0];
1488
+ readonly max: readonly [0, 0, 0];
1489
+ };
1490
+ };
1491
+ } & {} & {
1492
+ readonly material: {
1493
+ readonly type: "integer";
1494
+ readonly minimum: -2147483648;
1495
+ readonly maximum: 2147483647;
1496
+ readonly default: number;
1497
+ };
1498
+ readonly name: {
1499
+ readonly type: "string";
1500
+ };
1501
+ readonly density: {
1502
+ readonly type: "number";
1503
+ readonly precision: 1;
1504
+ readonly default: number;
1505
+ };
1506
+ readonly restitution: {
1507
+ readonly type: "number";
1508
+ readonly precision: 1;
1509
+ readonly default: number;
1510
+ };
1511
+ readonly friction: {
1512
+ readonly type: "number";
1513
+ readonly precision: 1;
1514
+ readonly default: number;
1515
+ };
1516
+ readonly compliance: {
1517
+ readonly type: "number";
1518
+ readonly precision: 1;
1519
+ readonly default: number;
1520
+ };
1521
+ readonly heatCapacity: {
1522
+ readonly type: "number";
1523
+ readonly precision: 1;
1524
+ readonly default: number;
1525
+ };
1526
+ readonly viscosity: {
1527
+ readonly type: "number";
1528
+ readonly precision: 1;
1529
+ readonly default: number;
1530
+ };
1531
+ readonly thermalConductivity: {
1532
+ readonly type: "number";
1533
+ readonly precision: 1;
1534
+ readonly default: number;
1535
+ };
1536
+ readonly stressStrainCurve: {
1537
+ readonly type: "object";
1538
+ readonly layout: "packed";
1539
+ readonly properties: {
1540
+ readonly tensileYieldStrainStress: {
1541
+ readonly type: "array";
1542
+ readonly items: {
1543
+ readonly type: "number";
1544
+ readonly precision: 1;
1545
+ readonly default: number;
1546
+ };
1547
+ readonly minItems: 2;
1548
+ readonly maxItems: 2;
1549
+ readonly default: readonly [0, 0];
1550
+ };
1551
+ readonly tensileFractureStrainStress: {
1552
+ readonly type: "array";
1553
+ readonly items: {
1554
+ readonly type: "number";
1555
+ readonly precision: 1;
1556
+ readonly default: number;
1557
+ };
1558
+ readonly minItems: 2;
1559
+ readonly maxItems: 2;
1560
+ readonly default: readonly [0, 0];
1561
+ };
1562
+ readonly compressiveYieldStrainStress: {
1563
+ readonly type: "array";
1564
+ readonly items: {
1565
+ readonly type: "number";
1566
+ readonly precision: 1;
1567
+ readonly default: number;
1568
+ };
1569
+ readonly minItems: 2;
1570
+ readonly maxItems: 2;
1571
+ readonly default: readonly [0, 0];
1572
+ };
1573
+ readonly compressiveFractureStrainStress: {
1574
+ readonly type: "array";
1575
+ readonly items: {
1576
+ readonly type: "number";
1577
+ readonly precision: 1;
1578
+ readonly default: number;
1579
+ };
1580
+ readonly minItems: 2;
1581
+ readonly maxItems: 2;
1582
+ readonly default: readonly [0, 0];
1583
+ };
1584
+ };
1585
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1586
+ };
1587
+ readonly baseColorFactor: {
1588
+ readonly type: "array";
1589
+ readonly items: {
1590
+ readonly type: "number";
1591
+ readonly precision: 1;
1592
+ readonly default: number;
1593
+ };
1594
+ readonly minItems: 4;
1595
+ readonly maxItems: 4;
1596
+ readonly default: readonly [0, 0, 0, 0];
1597
+ };
1598
+ readonly emissiveFactor: {
1599
+ readonly type: "array";
1600
+ readonly items: {
1601
+ readonly type: "number";
1602
+ readonly precision: 1;
1603
+ readonly default: number;
1604
+ };
1605
+ readonly minItems: 3;
1606
+ readonly maxItems: 3;
1607
+ readonly default: readonly [0, 0, 0];
1608
+ };
1609
+ readonly metallicFactor: {
1610
+ readonly type: "number";
1611
+ readonly precision: 1;
1612
+ readonly default: number;
1613
+ };
1614
+ readonly roughnessFactor: {
1615
+ readonly type: "number";
1616
+ readonly precision: 1;
1617
+ readonly default: number;
1618
+ };
1619
+ readonly normalScale: {
1620
+ readonly type: "number";
1621
+ readonly precision: 1;
1622
+ readonly default: number;
1623
+ };
1624
+ readonly occlusionStrength: {
1625
+ readonly type: "number";
1626
+ readonly precision: 1;
1627
+ readonly default: number;
1628
+ };
1629
+ readonly irReflectance: {
1630
+ readonly type: "number";
1631
+ readonly precision: 1;
1632
+ readonly default: number;
1633
+ };
1634
+ readonly irEmission: {
1635
+ readonly type: "number";
1636
+ readonly precision: 1;
1637
+ readonly default: number;
1638
+ };
1639
+ readonly emissionMode: {
1640
+ readonly type: "integer";
1641
+ readonly minimum: 0;
1642
+ readonly maximum: 4294967295;
1643
+ readonly default: number;
1644
+ };
1645
+ readonly baseColorUrl: {
1646
+ readonly type: "string";
1647
+ };
1648
+ readonly metallicRoughnessUrl: {
1649
+ readonly type: "string";
1650
+ };
1651
+ readonly normalUrl: {
1652
+ readonly type: "string";
1653
+ };
1654
+ readonly occlusionUrl: {
1655
+ readonly type: "string";
1656
+ };
1657
+ readonly emissiveUrl: {
1658
+ readonly type: "string";
1659
+ };
1660
+ }>, import("@adobe/data/schema").FromSchemas<{
1661
+ readonly _gltfMeshByUrl: {
1662
+ readonly default: Map<string, number> | null;
1663
+ readonly nonPersistent: true;
1664
+ };
1665
+ } & {}>, {
1666
+ readonly GltfMeshPending: readonly ["gltfUrl"];
1667
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
1668
+ readonly StaticMesh: readonly ["localBounds"];
1669
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
1670
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
1671
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
1672
+ } & {
1673
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1674
+ } & {} & {
1675
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1676
+ }, {} & {
1677
+ readonly nodeChildrenOf: {
1678
+ readonly key: "parent";
1679
+ readonly archetype: "Node";
1680
+ };
1681
+ } & {} & {
1682
+ readonly materialByName: {
1683
+ readonly key: "name";
1684
+ readonly unique: true;
1685
+ readonly archetype: "Material";
1686
+ };
1687
+ }>, args: {
1688
+ url: string;
1689
+ }) => number;
1690
+ readonly insertShapeMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1691
+ readonly mesh: {
1692
+ readonly type: "integer";
1693
+ readonly minimum: -2147483648;
1694
+ readonly maximum: 2147483647;
1695
+ readonly default: number;
1696
+ };
1697
+ readonly gltfUrl: {
1698
+ readonly type: "string";
1699
+ };
1700
+ readonly shapeSpec: {
1701
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
1702
+ };
1703
+ readonly voxelVolumeSize: {
1704
+ readonly default: Vec3 | null;
1705
+ };
1706
+ readonly localBounds: {
1707
+ readonly default: Aabb | null;
1708
+ };
1709
+ readonly skinJointTemplate: {
1710
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
1711
+ };
1712
+ readonly skinInverseBindMatrices: {
1713
+ readonly default: Float32Array | null;
1714
+ };
1715
+ readonly animationClipRefs: {
1716
+ readonly default: number[];
1717
+ };
1718
+ readonly cpuCollisionPositions: {
1719
+ readonly default: Float32Array | null;
1720
+ };
1721
+ readonly cpuCollisionIndices: {
1722
+ readonly default: Uint32Array | null;
1723
+ };
1724
+ readonly cpuSkin: {
1725
+ readonly default: {
1726
+ positions: Float32Array;
1727
+ joints: Uint32Array;
1728
+ weights: Float32Array;
1729
+ } | null;
1730
+ };
1731
+ } & {
1732
+ readonly visible: {
1733
+ readonly type: "boolean";
1734
+ readonly const: true;
1735
+ readonly default: true;
1736
+ };
1737
+ readonly position: {
1738
+ readonly type: "array";
1739
+ readonly items: {
1740
+ readonly type: "number";
1741
+ readonly precision: 1;
1742
+ readonly default: number;
1743
+ };
1744
+ readonly minItems: 3;
1745
+ readonly maxItems: 3;
1746
+ readonly default: readonly [0, 0, 0];
1747
+ };
1748
+ readonly rotation: {
1749
+ readonly type: "array";
1750
+ readonly items: {
1751
+ readonly type: "number";
1752
+ readonly precision: 1;
1753
+ readonly default: number;
1754
+ };
1755
+ readonly minItems: 4;
1756
+ readonly maxItems: 4;
1757
+ readonly default: readonly [0, 0, 0, 1];
1758
+ readonly interpolators: {
1759
+ readonly linear: (q1: any, q2: any, t: number) => any;
1760
+ };
1761
+ };
1762
+ readonly scale: {
1763
+ readonly type: "array";
1764
+ readonly items: {
1765
+ readonly type: "number";
1766
+ readonly precision: 1;
1767
+ readonly default: number;
1768
+ };
1769
+ readonly minItems: 3;
1770
+ readonly maxItems: 3;
1771
+ readonly default: readonly [0, 0, 0];
1772
+ };
1773
+ readonly parent: {
1774
+ readonly type: "integer";
1775
+ readonly minimum: -2147483648;
1776
+ readonly maximum: 2147483647;
1777
+ readonly default: number;
1778
+ };
1779
+ readonly _worldMatrix: {
1780
+ readonly nonPersistent: true;
1781
+ readonly type: "array";
1782
+ readonly items: {
1783
+ readonly type: "number";
1784
+ readonly precision: 1;
1785
+ readonly default: number;
1786
+ };
1787
+ readonly minItems: 16;
1788
+ readonly maxItems: 16;
1789
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1790
+ };
1791
+ readonly _worldBounds: {
1792
+ readonly nonPersistent: true;
1793
+ readonly type: "object";
1794
+ readonly properties: {
1795
+ readonly min: {
1796
+ readonly type: "array";
1797
+ readonly items: {
1798
+ readonly type: "number";
1799
+ readonly precision: 1;
1800
+ readonly default: number;
1801
+ };
1802
+ readonly minItems: 3;
1803
+ readonly maxItems: 3;
1804
+ readonly default: readonly [0, 0, 0];
1805
+ };
1806
+ readonly max: {
1807
+ readonly type: "array";
1808
+ readonly items: {
1809
+ readonly type: "number";
1810
+ readonly precision: 1;
1811
+ readonly default: number;
1812
+ };
1813
+ readonly minItems: 3;
1814
+ readonly maxItems: 3;
1815
+ readonly default: readonly [0, 0, 0];
1816
+ };
1817
+ };
1818
+ readonly required: readonly ["min", "max"];
1819
+ readonly additionalProperties: false;
1820
+ readonly default: {
1821
+ readonly min: readonly [0, 0, 0];
1822
+ readonly max: readonly [0, 0, 0];
1823
+ };
1824
+ };
1825
+ } & {} & {
1826
+ readonly material: {
1827
+ readonly type: "integer";
1828
+ readonly minimum: -2147483648;
1829
+ readonly maximum: 2147483647;
1830
+ readonly default: number;
1831
+ };
1832
+ readonly name: {
1833
+ readonly type: "string";
1834
+ };
1835
+ readonly density: {
1836
+ readonly type: "number";
1837
+ readonly precision: 1;
1838
+ readonly default: number;
1839
+ };
1840
+ readonly restitution: {
1841
+ readonly type: "number";
1842
+ readonly precision: 1;
1843
+ readonly default: number;
1844
+ };
1845
+ readonly friction: {
1846
+ readonly type: "number";
1847
+ readonly precision: 1;
1848
+ readonly default: number;
1849
+ };
1850
+ readonly compliance: {
1851
+ readonly type: "number";
1852
+ readonly precision: 1;
1853
+ readonly default: number;
1854
+ };
1855
+ readonly heatCapacity: {
1856
+ readonly type: "number";
1857
+ readonly precision: 1;
1858
+ readonly default: number;
1859
+ };
1860
+ readonly viscosity: {
1861
+ readonly type: "number";
1862
+ readonly precision: 1;
1863
+ readonly default: number;
1864
+ };
1865
+ readonly thermalConductivity: {
1866
+ readonly type: "number";
1867
+ readonly precision: 1;
1868
+ readonly default: number;
1869
+ };
1870
+ readonly stressStrainCurve: {
1871
+ readonly type: "object";
1872
+ readonly layout: "packed";
1873
+ readonly properties: {
1874
+ readonly tensileYieldStrainStress: {
1875
+ readonly type: "array";
1876
+ readonly items: {
1877
+ readonly type: "number";
1878
+ readonly precision: 1;
1879
+ readonly default: number;
1880
+ };
1881
+ readonly minItems: 2;
1882
+ readonly maxItems: 2;
1883
+ readonly default: readonly [0, 0];
1884
+ };
1885
+ readonly tensileFractureStrainStress: {
1886
+ readonly type: "array";
1887
+ readonly items: {
1888
+ readonly type: "number";
1889
+ readonly precision: 1;
1890
+ readonly default: number;
1891
+ };
1892
+ readonly minItems: 2;
1893
+ readonly maxItems: 2;
1894
+ readonly default: readonly [0, 0];
1895
+ };
1896
+ readonly compressiveYieldStrainStress: {
1897
+ readonly type: "array";
1898
+ readonly items: {
1899
+ readonly type: "number";
1900
+ readonly precision: 1;
1901
+ readonly default: number;
1902
+ };
1903
+ readonly minItems: 2;
1904
+ readonly maxItems: 2;
1905
+ readonly default: readonly [0, 0];
1906
+ };
1907
+ readonly compressiveFractureStrainStress: {
1908
+ readonly type: "array";
1909
+ readonly items: {
1910
+ readonly type: "number";
1911
+ readonly precision: 1;
1912
+ readonly default: number;
1913
+ };
1914
+ readonly minItems: 2;
1915
+ readonly maxItems: 2;
1916
+ readonly default: readonly [0, 0];
1917
+ };
1918
+ };
1919
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1920
+ };
1921
+ readonly baseColorFactor: {
1922
+ readonly type: "array";
1923
+ readonly items: {
1924
+ readonly type: "number";
1925
+ readonly precision: 1;
1926
+ readonly default: number;
1927
+ };
1928
+ readonly minItems: 4;
1929
+ readonly maxItems: 4;
1930
+ readonly default: readonly [0, 0, 0, 0];
1931
+ };
1932
+ readonly emissiveFactor: {
1933
+ readonly type: "array";
1934
+ readonly items: {
1935
+ readonly type: "number";
1936
+ readonly precision: 1;
1937
+ readonly default: number;
1938
+ };
1939
+ readonly minItems: 3;
1940
+ readonly maxItems: 3;
1941
+ readonly default: readonly [0, 0, 0];
1942
+ };
1943
+ readonly metallicFactor: {
1944
+ readonly type: "number";
1945
+ readonly precision: 1;
1946
+ readonly default: number;
1947
+ };
1948
+ readonly roughnessFactor: {
1949
+ readonly type: "number";
1950
+ readonly precision: 1;
1951
+ readonly default: number;
1952
+ };
1953
+ readonly normalScale: {
1954
+ readonly type: "number";
1955
+ readonly precision: 1;
1956
+ readonly default: number;
1957
+ };
1958
+ readonly occlusionStrength: {
1959
+ readonly type: "number";
1960
+ readonly precision: 1;
1961
+ readonly default: number;
1962
+ };
1963
+ readonly irReflectance: {
1964
+ readonly type: "number";
1965
+ readonly precision: 1;
1966
+ readonly default: number;
1967
+ };
1968
+ readonly irEmission: {
1969
+ readonly type: "number";
1970
+ readonly precision: 1;
1971
+ readonly default: number;
1972
+ };
1973
+ readonly emissionMode: {
1974
+ readonly type: "integer";
1975
+ readonly minimum: 0;
1976
+ readonly maximum: 4294967295;
1977
+ readonly default: number;
1978
+ };
1979
+ readonly baseColorUrl: {
1980
+ readonly type: "string";
1981
+ };
1982
+ readonly metallicRoughnessUrl: {
1983
+ readonly type: "string";
1984
+ };
1985
+ readonly normalUrl: {
1986
+ readonly type: "string";
1987
+ };
1988
+ readonly occlusionUrl: {
1989
+ readonly type: "string";
1990
+ };
1991
+ readonly emissiveUrl: {
1992
+ readonly type: "string";
1993
+ };
1994
+ }>, import("@adobe/data/schema").FromSchemas<{
1995
+ readonly _gltfMeshByUrl: {
1996
+ readonly default: Map<string, number> | null;
1997
+ readonly nonPersistent: true;
1998
+ };
1999
+ } & {}>, {
2000
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2001
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2002
+ readonly StaticMesh: readonly ["localBounds"];
2003
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2004
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2005
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2006
+ } & {
2007
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2008
+ } & {} & {
2009
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
2010
+ }, {} & {
2011
+ readonly nodeChildrenOf: {
2012
+ readonly key: "parent";
2013
+ readonly archetype: "Node";
2014
+ };
2015
+ } & {} & {
2016
+ readonly materialByName: {
2017
+ readonly key: "name";
2018
+ readonly unique: true;
2019
+ readonly archetype: "Material";
2020
+ };
2021
+ }>, args: {
2022
+ shapeSpec: import("./shape/shape-spec.js").ShapeSpec;
2023
+ }) => number;
2024
+ readonly insertMeshInstance: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2025
+ readonly mesh: {
2026
+ readonly type: "integer";
2027
+ readonly minimum: -2147483648;
2028
+ readonly maximum: 2147483647;
2029
+ readonly default: number;
2030
+ };
2031
+ readonly gltfUrl: {
2032
+ readonly type: "string";
2033
+ };
2034
+ readonly shapeSpec: {
2035
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
2036
+ };
2037
+ readonly voxelVolumeSize: {
2038
+ readonly default: Vec3 | null;
2039
+ };
2040
+ readonly localBounds: {
2041
+ readonly default: Aabb | null;
2042
+ };
2043
+ readonly skinJointTemplate: {
2044
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
2045
+ };
2046
+ readonly skinInverseBindMatrices: {
2047
+ readonly default: Float32Array | null;
2048
+ };
2049
+ readonly animationClipRefs: {
2050
+ readonly default: number[];
2051
+ };
2052
+ readonly cpuCollisionPositions: {
2053
+ readonly default: Float32Array | null;
2054
+ };
2055
+ readonly cpuCollisionIndices: {
2056
+ readonly default: Uint32Array | null;
2057
+ };
2058
+ readonly cpuSkin: {
2059
+ readonly default: {
2060
+ positions: Float32Array;
2061
+ joints: Uint32Array;
2062
+ weights: Float32Array;
2063
+ } | null;
2064
+ };
2065
+ } & {
2066
+ readonly visible: {
2067
+ readonly type: "boolean";
2068
+ readonly const: true;
2069
+ readonly default: true;
2070
+ };
2071
+ readonly position: {
2072
+ readonly type: "array";
2073
+ readonly items: {
2074
+ readonly type: "number";
2075
+ readonly precision: 1;
2076
+ readonly default: number;
2077
+ };
2078
+ readonly minItems: 3;
2079
+ readonly maxItems: 3;
2080
+ readonly default: readonly [0, 0, 0];
2081
+ };
2082
+ readonly rotation: {
2083
+ readonly type: "array";
2084
+ readonly items: {
2085
+ readonly type: "number";
2086
+ readonly precision: 1;
2087
+ readonly default: number;
2088
+ };
2089
+ readonly minItems: 4;
2090
+ readonly maxItems: 4;
2091
+ readonly default: readonly [0, 0, 0, 1];
2092
+ readonly interpolators: {
2093
+ readonly linear: (q1: any, q2: any, t: number) => any;
2094
+ };
2095
+ };
2096
+ readonly scale: {
2097
+ readonly type: "array";
2098
+ readonly items: {
2099
+ readonly type: "number";
2100
+ readonly precision: 1;
2101
+ readonly default: number;
2102
+ };
2103
+ readonly minItems: 3;
2104
+ readonly maxItems: 3;
2105
+ readonly default: readonly [0, 0, 0];
2106
+ };
2107
+ readonly parent: {
2108
+ readonly type: "integer";
2109
+ readonly minimum: -2147483648;
2110
+ readonly maximum: 2147483647;
2111
+ readonly default: number;
2112
+ };
2113
+ readonly _worldMatrix: {
2114
+ readonly nonPersistent: true;
2115
+ readonly type: "array";
339
2116
  readonly items: {
340
2117
  readonly type: "number";
341
2118
  readonly precision: 1;
@@ -346,6 +2123,7 @@ export declare const worldBounds: {
346
2123
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
347
2124
  };
348
2125
  readonly _worldBounds: {
2126
+ readonly nonPersistent: true;
349
2127
  readonly type: "object";
350
2128
  readonly properties: {
351
2129
  readonly min: {
@@ -378,24 +2156,250 @@ export declare const worldBounds: {
378
2156
  readonly max: readonly [0, 0, 0];
379
2157
  };
380
2158
  };
381
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
382
- readonly Geometry: readonly ["modelUrl"];
383
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
2159
+ } & {} & {
2160
+ readonly material: {
2161
+ readonly type: "integer";
2162
+ readonly minimum: -2147483648;
2163
+ readonly maximum: 2147483647;
2164
+ readonly default: number;
2165
+ };
2166
+ readonly name: {
2167
+ readonly type: "string";
2168
+ };
2169
+ readonly density: {
2170
+ readonly type: "number";
2171
+ readonly precision: 1;
2172
+ readonly default: number;
2173
+ };
2174
+ readonly restitution: {
2175
+ readonly type: "number";
2176
+ readonly precision: 1;
2177
+ readonly default: number;
2178
+ };
2179
+ readonly friction: {
2180
+ readonly type: "number";
2181
+ readonly precision: 1;
2182
+ readonly default: number;
2183
+ };
2184
+ readonly compliance: {
2185
+ readonly type: "number";
2186
+ readonly precision: 1;
2187
+ readonly default: number;
2188
+ };
2189
+ readonly heatCapacity: {
2190
+ readonly type: "number";
2191
+ readonly precision: 1;
2192
+ readonly default: number;
2193
+ };
2194
+ readonly viscosity: {
2195
+ readonly type: "number";
2196
+ readonly precision: 1;
2197
+ readonly default: number;
2198
+ };
2199
+ readonly thermalConductivity: {
2200
+ readonly type: "number";
2201
+ readonly precision: 1;
2202
+ readonly default: number;
2203
+ };
2204
+ readonly stressStrainCurve: {
2205
+ readonly type: "object";
2206
+ readonly layout: "packed";
2207
+ readonly properties: {
2208
+ readonly tensileYieldStrainStress: {
2209
+ readonly type: "array";
2210
+ readonly items: {
2211
+ readonly type: "number";
2212
+ readonly precision: 1;
2213
+ readonly default: number;
2214
+ };
2215
+ readonly minItems: 2;
2216
+ readonly maxItems: 2;
2217
+ readonly default: readonly [0, 0];
2218
+ };
2219
+ readonly tensileFractureStrainStress: {
2220
+ readonly type: "array";
2221
+ readonly items: {
2222
+ readonly type: "number";
2223
+ readonly precision: 1;
2224
+ readonly default: number;
2225
+ };
2226
+ readonly minItems: 2;
2227
+ readonly maxItems: 2;
2228
+ readonly default: readonly [0, 0];
2229
+ };
2230
+ readonly compressiveYieldStrainStress: {
2231
+ readonly type: "array";
2232
+ readonly items: {
2233
+ readonly type: "number";
2234
+ readonly precision: 1;
2235
+ readonly default: number;
2236
+ };
2237
+ readonly minItems: 2;
2238
+ readonly maxItems: 2;
2239
+ readonly default: readonly [0, 0];
2240
+ };
2241
+ readonly compressiveFractureStrainStress: {
2242
+ readonly type: "array";
2243
+ readonly items: {
2244
+ readonly type: "number";
2245
+ readonly precision: 1;
2246
+ readonly default: number;
2247
+ };
2248
+ readonly minItems: 2;
2249
+ readonly maxItems: 2;
2250
+ readonly default: readonly [0, 0];
2251
+ };
2252
+ };
2253
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2254
+ };
2255
+ readonly baseColorFactor: {
2256
+ readonly type: "array";
2257
+ readonly items: {
2258
+ readonly type: "number";
2259
+ readonly precision: 1;
2260
+ readonly default: number;
2261
+ };
2262
+ readonly minItems: 4;
2263
+ readonly maxItems: 4;
2264
+ readonly default: readonly [0, 0, 0, 0];
2265
+ };
2266
+ readonly emissiveFactor: {
2267
+ readonly type: "array";
2268
+ readonly items: {
2269
+ readonly type: "number";
2270
+ readonly precision: 1;
2271
+ readonly default: number;
2272
+ };
2273
+ readonly minItems: 3;
2274
+ readonly maxItems: 3;
2275
+ readonly default: readonly [0, 0, 0];
2276
+ };
2277
+ readonly metallicFactor: {
2278
+ readonly type: "number";
2279
+ readonly precision: 1;
2280
+ readonly default: number;
2281
+ };
2282
+ readonly roughnessFactor: {
2283
+ readonly type: "number";
2284
+ readonly precision: 1;
2285
+ readonly default: number;
2286
+ };
2287
+ readonly normalScale: {
2288
+ readonly type: "number";
2289
+ readonly precision: 1;
2290
+ readonly default: number;
2291
+ };
2292
+ readonly occlusionStrength: {
2293
+ readonly type: "number";
2294
+ readonly precision: 1;
2295
+ readonly default: number;
2296
+ };
2297
+ readonly irReflectance: {
2298
+ readonly type: "number";
2299
+ readonly precision: 1;
2300
+ readonly default: number;
2301
+ };
2302
+ readonly irEmission: {
2303
+ readonly type: "number";
2304
+ readonly precision: 1;
2305
+ readonly default: number;
2306
+ };
2307
+ readonly emissionMode: {
2308
+ readonly type: "integer";
2309
+ readonly minimum: 0;
2310
+ readonly maximum: 4294967295;
2311
+ readonly default: number;
2312
+ };
2313
+ readonly baseColorUrl: {
2314
+ readonly type: "string";
2315
+ };
2316
+ readonly metallicRoughnessUrl: {
2317
+ readonly type: "string";
2318
+ };
2319
+ readonly normalUrl: {
2320
+ readonly type: "string";
2321
+ };
2322
+ readonly occlusionUrl: {
2323
+ readonly type: "string";
2324
+ };
2325
+ readonly emissiveUrl: {
2326
+ readonly type: "string";
2327
+ };
2328
+ }>, import("@adobe/data/schema").FromSchemas<{
2329
+ readonly _gltfMeshByUrl: {
2330
+ readonly default: Map<string, number> | null;
2331
+ readonly nonPersistent: true;
2332
+ };
2333
+ } & {}>, {
2334
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2335
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2336
+ readonly StaticMesh: readonly ["localBounds"];
2337
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2338
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2339
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
384
2340
  } & {
385
2341
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
386
- } & {}, {} & {} & {}>, args: {
387
- modelUrl: string;
2342
+ } & {} & {
2343
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
2344
+ }, {} & {
2345
+ readonly nodeChildrenOf: {
2346
+ readonly key: "parent";
2347
+ readonly archetype: "Node";
2348
+ };
2349
+ } & {} & {
2350
+ readonly materialByName: {
2351
+ readonly key: "name";
2352
+ readonly unique: true;
2353
+ readonly archetype: "Material";
2354
+ };
2355
+ }>, args: {
2356
+ mesh: number;
2357
+ material: number;
2358
+ position?: Vec3;
2359
+ rotation?: import("@adobe/data/math").Quat;
2360
+ scale?: Vec3;
388
2361
  }) => number;
389
2362
  readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
390
- readonly modelUrl: {
391
- readonly type: "string";
392
- };
393
- readonly geometry: {
2363
+ readonly mesh: {
394
2364
  readonly type: "integer";
395
2365
  readonly minimum: -2147483648;
396
2366
  readonly maximum: 2147483647;
397
2367
  readonly default: number;
398
2368
  };
2369
+ readonly gltfUrl: {
2370
+ readonly type: "string";
2371
+ };
2372
+ readonly shapeSpec: {
2373
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
2374
+ };
2375
+ readonly voxelVolumeSize: {
2376
+ readonly default: Vec3 | null;
2377
+ };
2378
+ readonly localBounds: {
2379
+ readonly default: Aabb | null;
2380
+ };
2381
+ readonly skinJointTemplate: {
2382
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
2383
+ };
2384
+ readonly skinInverseBindMatrices: {
2385
+ readonly default: Float32Array | null;
2386
+ };
2387
+ readonly animationClipRefs: {
2388
+ readonly default: number[];
2389
+ };
2390
+ readonly cpuCollisionPositions: {
2391
+ readonly default: Float32Array | null;
2392
+ };
2393
+ readonly cpuCollisionIndices: {
2394
+ readonly default: Uint32Array | null;
2395
+ };
2396
+ readonly cpuSkin: {
2397
+ readonly default: {
2398
+ positions: Float32Array;
2399
+ joints: Uint32Array;
2400
+ weights: Float32Array;
2401
+ } | null;
2402
+ };
399
2403
  } & {
400
2404
  readonly visible: {
401
2405
  readonly type: "boolean";
@@ -445,6 +2449,7 @@ export declare const worldBounds: {
445
2449
  readonly default: number;
446
2450
  };
447
2451
  readonly _worldMatrix: {
2452
+ readonly nonPersistent: true;
448
2453
  readonly type: "array";
449
2454
  readonly items: {
450
2455
  readonly type: "number";
@@ -456,6 +2461,7 @@ export declare const worldBounds: {
456
2461
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
457
2462
  };
458
2463
  readonly _worldBounds: {
2464
+ readonly nonPersistent: true;
459
2465
  readonly type: "object";
460
2466
  readonly properties: {
461
2467
  readonly min: {
@@ -488,19 +2494,210 @@ export declare const worldBounds: {
488
2494
  readonly max: readonly [0, 0, 0];
489
2495
  };
490
2496
  };
491
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
492
- readonly Geometry: readonly ["modelUrl"];
493
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
2497
+ } & {} & {
2498
+ readonly material: {
2499
+ readonly type: "integer";
2500
+ readonly minimum: -2147483648;
2501
+ readonly maximum: 2147483647;
2502
+ readonly default: number;
2503
+ };
2504
+ readonly name: {
2505
+ readonly type: "string";
2506
+ };
2507
+ readonly density: {
2508
+ readonly type: "number";
2509
+ readonly precision: 1;
2510
+ readonly default: number;
2511
+ };
2512
+ readonly restitution: {
2513
+ readonly type: "number";
2514
+ readonly precision: 1;
2515
+ readonly default: number;
2516
+ };
2517
+ readonly friction: {
2518
+ readonly type: "number";
2519
+ readonly precision: 1;
2520
+ readonly default: number;
2521
+ };
2522
+ readonly compliance: {
2523
+ readonly type: "number";
2524
+ readonly precision: 1;
2525
+ readonly default: number;
2526
+ };
2527
+ readonly heatCapacity: {
2528
+ readonly type: "number";
2529
+ readonly precision: 1;
2530
+ readonly default: number;
2531
+ };
2532
+ readonly viscosity: {
2533
+ readonly type: "number";
2534
+ readonly precision: 1;
2535
+ readonly default: number;
2536
+ };
2537
+ readonly thermalConductivity: {
2538
+ readonly type: "number";
2539
+ readonly precision: 1;
2540
+ readonly default: number;
2541
+ };
2542
+ readonly stressStrainCurve: {
2543
+ readonly type: "object";
2544
+ readonly layout: "packed";
2545
+ readonly properties: {
2546
+ readonly tensileYieldStrainStress: {
2547
+ readonly type: "array";
2548
+ readonly items: {
2549
+ readonly type: "number";
2550
+ readonly precision: 1;
2551
+ readonly default: number;
2552
+ };
2553
+ readonly minItems: 2;
2554
+ readonly maxItems: 2;
2555
+ readonly default: readonly [0, 0];
2556
+ };
2557
+ readonly tensileFractureStrainStress: {
2558
+ readonly type: "array";
2559
+ readonly items: {
2560
+ readonly type: "number";
2561
+ readonly precision: 1;
2562
+ readonly default: number;
2563
+ };
2564
+ readonly minItems: 2;
2565
+ readonly maxItems: 2;
2566
+ readonly default: readonly [0, 0];
2567
+ };
2568
+ readonly compressiveYieldStrainStress: {
2569
+ readonly type: "array";
2570
+ readonly items: {
2571
+ readonly type: "number";
2572
+ readonly precision: 1;
2573
+ readonly default: number;
2574
+ };
2575
+ readonly minItems: 2;
2576
+ readonly maxItems: 2;
2577
+ readonly default: readonly [0, 0];
2578
+ };
2579
+ readonly compressiveFractureStrainStress: {
2580
+ readonly type: "array";
2581
+ readonly items: {
2582
+ readonly type: "number";
2583
+ readonly precision: 1;
2584
+ readonly default: number;
2585
+ };
2586
+ readonly minItems: 2;
2587
+ readonly maxItems: 2;
2588
+ readonly default: readonly [0, 0];
2589
+ };
2590
+ };
2591
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2592
+ };
2593
+ readonly baseColorFactor: {
2594
+ readonly type: "array";
2595
+ readonly items: {
2596
+ readonly type: "number";
2597
+ readonly precision: 1;
2598
+ readonly default: number;
2599
+ };
2600
+ readonly minItems: 4;
2601
+ readonly maxItems: 4;
2602
+ readonly default: readonly [0, 0, 0, 0];
2603
+ };
2604
+ readonly emissiveFactor: {
2605
+ readonly type: "array";
2606
+ readonly items: {
2607
+ readonly type: "number";
2608
+ readonly precision: 1;
2609
+ readonly default: number;
2610
+ };
2611
+ readonly minItems: 3;
2612
+ readonly maxItems: 3;
2613
+ readonly default: readonly [0, 0, 0];
2614
+ };
2615
+ readonly metallicFactor: {
2616
+ readonly type: "number";
2617
+ readonly precision: 1;
2618
+ readonly default: number;
2619
+ };
2620
+ readonly roughnessFactor: {
2621
+ readonly type: "number";
2622
+ readonly precision: 1;
2623
+ readonly default: number;
2624
+ };
2625
+ readonly normalScale: {
2626
+ readonly type: "number";
2627
+ readonly precision: 1;
2628
+ readonly default: number;
2629
+ };
2630
+ readonly occlusionStrength: {
2631
+ readonly type: "number";
2632
+ readonly precision: 1;
2633
+ readonly default: number;
2634
+ };
2635
+ readonly irReflectance: {
2636
+ readonly type: "number";
2637
+ readonly precision: 1;
2638
+ readonly default: number;
2639
+ };
2640
+ readonly irEmission: {
2641
+ readonly type: "number";
2642
+ readonly precision: 1;
2643
+ readonly default: number;
2644
+ };
2645
+ readonly emissionMode: {
2646
+ readonly type: "integer";
2647
+ readonly minimum: 0;
2648
+ readonly maximum: 4294967295;
2649
+ readonly default: number;
2650
+ };
2651
+ readonly baseColorUrl: {
2652
+ readonly type: "string";
2653
+ };
2654
+ readonly metallicRoughnessUrl: {
2655
+ readonly type: "string";
2656
+ };
2657
+ readonly normalUrl: {
2658
+ readonly type: "string";
2659
+ };
2660
+ readonly occlusionUrl: {
2661
+ readonly type: "string";
2662
+ };
2663
+ readonly emissiveUrl: {
2664
+ readonly type: "string";
2665
+ };
2666
+ }>, import("@adobe/data/schema").FromSchemas<{
2667
+ readonly _gltfMeshByUrl: {
2668
+ readonly default: Map<string, number> | null;
2669
+ readonly nonPersistent: true;
2670
+ };
2671
+ } & {}>, {
2672
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2673
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2674
+ readonly StaticMesh: readonly ["localBounds"];
2675
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2676
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2677
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
494
2678
  } & {
495
2679
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
496
- } & {}, {} & {} & {}>, args: {
497
- geometry: number;
2680
+ } & {} & {
2681
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
2682
+ }, {} & {
2683
+ readonly nodeChildrenOf: {
2684
+ readonly key: "parent";
2685
+ readonly archetype: "Node";
2686
+ };
2687
+ } & {} & {
2688
+ readonly materialByName: {
2689
+ readonly key: "name";
2690
+ readonly unique: true;
2691
+ readonly archetype: "Material";
2692
+ };
2693
+ }>, args: {
2694
+ mesh: number;
498
2695
  position?: Vec3;
499
2696
  rotation?: import("@adobe/data/math").Quat;
500
2697
  scale?: Vec3;
501
2698
  parent?: number;
502
2699
  }) => number;
503
- } & {} & {} & {} & {
2700
+ } & {} & {} & {} & {} & {
504
2701
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
505
2702
  readonly animationClipTracks: {
506
2703
  readonly default: import("../../animation/animation-track/public.js")[];
@@ -531,9 +2728,11 @@ export declare const worldBounds: {
531
2728
  };
532
2729
  readonly animationLoop: {
533
2730
  readonly type: "boolean";
2731
+ readonly default: boolean;
534
2732
  };
535
2733
  readonly animationPlaying: {
536
2734
  readonly type: "boolean";
2735
+ readonly default: boolean;
537
2736
  };
538
2737
  readonly animationObservable: {
539
2738
  readonly type: "boolean";
@@ -578,9 +2777,11 @@ export declare const worldBounds: {
578
2777
  };
579
2778
  readonly animationLoop: {
580
2779
  readonly type: "boolean";
2780
+ readonly default: boolean;
581
2781
  };
582
2782
  readonly animationPlaying: {
583
2783
  readonly type: "boolean";
2784
+ readonly default: boolean;
584
2785
  };
585
2786
  readonly animationObservable: {
586
2787
  readonly type: "boolean";
@@ -616,119 +2817,41 @@ export declare const worldBounds: {
616
2817
  readonly default: number;
617
2818
  };
618
2819
  readonly animationTargets: {
619
- readonly default: number[];
620
- };
621
- readonly animationTime: {
622
- readonly type: "number";
623
- readonly precision: 2;
624
- readonly default: number;
625
- };
626
- readonly animationSpeed: {
627
- readonly default: 1;
628
- readonly type: "number";
629
- readonly precision: 1;
630
- };
631
- readonly animationLoop: {
632
- readonly type: "boolean";
633
- };
634
- readonly animationPlaying: {
635
- readonly type: "boolean";
636
- };
637
- readonly animationObservable: {
638
- readonly type: "boolean";
639
- readonly const: true;
640
- readonly default: true;
641
- };
642
- }>, import("@adobe/data/schema").FromSchemas<{}>, {
643
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
644
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
645
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
646
- }, {}>, args: {
647
- dt: number;
648
- observable: boolean;
649
- }) => void;
650
- } & {} & {
651
- readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
652
- readonly _bounds: {
653
- readonly default: Aabb | null;
654
- };
655
- readonly _skinJointTemplate: {
656
- readonly default: import("./gltf/parse-skin.js").JointTemplate[];
657
- };
658
- readonly _skinInverseBindMatrices: {
659
- readonly default: Float32Array | null;
660
- };
661
- readonly _animationClipRefs: {
662
- readonly default: number[];
663
- };
664
- readonly _cpuPositions: {
665
- readonly default: Float32Array | null;
666
- };
667
- readonly _cpuIndices: {
668
- readonly default: Uint32Array | null;
669
- };
670
- readonly _cpuSkin: {
671
- readonly default: {
672
- positions: Float32Array;
673
- joints: Uint32Array;
674
- weights: Float32Array;
675
- } | null;
676
- };
677
- } & {} & {
678
- readonly _vertexBuffer: {
679
- readonly default: GPUBuffer | null;
680
- };
681
- readonly _skinVertexBuffer: {
682
- readonly default: GPUBuffer | null;
683
- };
684
- readonly _indexBuffer: {
685
- readonly default: GPUBuffer | null;
686
- };
687
- readonly _indexCount: {
688
- readonly type: "integer";
689
- readonly minimum: 0;
690
- readonly maximum: 4294967295;
691
- readonly default: number;
692
- };
693
- readonly _indexFormat: {
694
- readonly default: GPUIndexFormat;
695
- };
696
- readonly _materialBindGroup: {
697
- readonly default: GPUBindGroup | null;
698
- };
699
- readonly _geometry: {
700
- readonly type: "integer";
701
- readonly minimum: -2147483648;
702
- readonly maximum: 2147483647;
703
- readonly default: number;
704
- };
705
- readonly _material: {
706
- readonly type: "integer";
707
- readonly minimum: -2147483648;
708
- readonly maximum: 2147483647;
709
- readonly default: number;
710
- };
711
- readonly _nodeLocalMatrix: {
712
- readonly type: "array";
713
- readonly items: {
714
- readonly type: "number";
715
- readonly precision: 1;
716
- readonly default: number;
717
- };
718
- readonly minItems: 16;
719
- readonly maxItems: 16;
720
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
721
- };
722
- readonly _skeletonModelRef: {
723
- readonly type: "integer";
724
- readonly minimum: -2147483648;
725
- readonly maximum: 2147483647;
2820
+ readonly default: number[];
2821
+ };
2822
+ readonly animationTime: {
2823
+ readonly type: "number";
2824
+ readonly precision: 2;
726
2825
  readonly default: number;
727
2826
  };
728
- readonly _skeletonJointMatrixBindGroup: {
729
- readonly default: GPUBindGroup | null;
2827
+ readonly animationSpeed: {
2828
+ readonly default: 1;
2829
+ readonly type: "number";
2830
+ readonly precision: 1;
730
2831
  };
731
- } & {
2832
+ readonly animationLoop: {
2833
+ readonly type: "boolean";
2834
+ readonly default: boolean;
2835
+ };
2836
+ readonly animationPlaying: {
2837
+ readonly type: "boolean";
2838
+ readonly default: boolean;
2839
+ };
2840
+ readonly animationObservable: {
2841
+ readonly type: "boolean";
2842
+ readonly const: true;
2843
+ readonly default: true;
2844
+ };
2845
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
2846
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
2847
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
2848
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2849
+ }, {}>, args: {
2850
+ dt: number;
2851
+ observable: boolean;
2852
+ }) => void;
2853
+ } & {} & {
2854
+ readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
732
2855
  readonly visible: {
733
2856
  readonly type: "boolean";
734
2857
  readonly const: true;
@@ -777,6 +2900,7 @@ export declare const worldBounds: {
777
2900
  readonly default: number;
778
2901
  };
779
2902
  readonly _worldMatrix: {
2903
+ readonly nonPersistent: true;
780
2904
  readonly type: "array";
781
2905
  readonly items: {
782
2906
  readonly type: "number";
@@ -788,6 +2912,7 @@ export declare const worldBounds: {
788
2912
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
789
2913
  };
790
2914
  readonly _worldBounds: {
2915
+ readonly nonPersistent: true;
791
2916
  readonly type: "object";
792
2917
  readonly properties: {
793
2918
  readonly min: {
@@ -821,15 +2946,280 @@ export declare const worldBounds: {
821
2946
  };
822
2947
  };
823
2948
  } & {
824
- readonly modelUrl: {
2949
+ readonly material: {
2950
+ readonly type: "integer";
2951
+ readonly minimum: -2147483648;
2952
+ readonly maximum: 2147483647;
2953
+ readonly default: number;
2954
+ };
2955
+ readonly name: {
2956
+ readonly type: "string";
2957
+ };
2958
+ readonly density: {
2959
+ readonly type: "number";
2960
+ readonly precision: 1;
2961
+ readonly default: number;
2962
+ };
2963
+ readonly restitution: {
2964
+ readonly type: "number";
2965
+ readonly precision: 1;
2966
+ readonly default: number;
2967
+ };
2968
+ readonly friction: {
2969
+ readonly type: "number";
2970
+ readonly precision: 1;
2971
+ readonly default: number;
2972
+ };
2973
+ readonly compliance: {
2974
+ readonly type: "number";
2975
+ readonly precision: 1;
2976
+ readonly default: number;
2977
+ };
2978
+ readonly heatCapacity: {
2979
+ readonly type: "number";
2980
+ readonly precision: 1;
2981
+ readonly default: number;
2982
+ };
2983
+ readonly viscosity: {
2984
+ readonly type: "number";
2985
+ readonly precision: 1;
2986
+ readonly default: number;
2987
+ };
2988
+ readonly thermalConductivity: {
2989
+ readonly type: "number";
2990
+ readonly precision: 1;
2991
+ readonly default: number;
2992
+ };
2993
+ readonly stressStrainCurve: {
2994
+ readonly type: "object";
2995
+ readonly layout: "packed";
2996
+ readonly properties: {
2997
+ readonly tensileYieldStrainStress: {
2998
+ readonly type: "array";
2999
+ readonly items: {
3000
+ readonly type: "number";
3001
+ readonly precision: 1;
3002
+ readonly default: number;
3003
+ };
3004
+ readonly minItems: 2;
3005
+ readonly maxItems: 2;
3006
+ readonly default: readonly [0, 0];
3007
+ };
3008
+ readonly tensileFractureStrainStress: {
3009
+ readonly type: "array";
3010
+ readonly items: {
3011
+ readonly type: "number";
3012
+ readonly precision: 1;
3013
+ readonly default: number;
3014
+ };
3015
+ readonly minItems: 2;
3016
+ readonly maxItems: 2;
3017
+ readonly default: readonly [0, 0];
3018
+ };
3019
+ readonly compressiveYieldStrainStress: {
3020
+ readonly type: "array";
3021
+ readonly items: {
3022
+ readonly type: "number";
3023
+ readonly precision: 1;
3024
+ readonly default: number;
3025
+ };
3026
+ readonly minItems: 2;
3027
+ readonly maxItems: 2;
3028
+ readonly default: readonly [0, 0];
3029
+ };
3030
+ readonly compressiveFractureStrainStress: {
3031
+ readonly type: "array";
3032
+ readonly items: {
3033
+ readonly type: "number";
3034
+ readonly precision: 1;
3035
+ readonly default: number;
3036
+ };
3037
+ readonly minItems: 2;
3038
+ readonly maxItems: 2;
3039
+ readonly default: readonly [0, 0];
3040
+ };
3041
+ };
3042
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3043
+ };
3044
+ readonly baseColorFactor: {
3045
+ readonly type: "array";
3046
+ readonly items: {
3047
+ readonly type: "number";
3048
+ readonly precision: 1;
3049
+ readonly default: number;
3050
+ };
3051
+ readonly minItems: 4;
3052
+ readonly maxItems: 4;
3053
+ readonly default: readonly [0, 0, 0, 0];
3054
+ };
3055
+ readonly emissiveFactor: {
3056
+ readonly type: "array";
3057
+ readonly items: {
3058
+ readonly type: "number";
3059
+ readonly precision: 1;
3060
+ readonly default: number;
3061
+ };
3062
+ readonly minItems: 3;
3063
+ readonly maxItems: 3;
3064
+ readonly default: readonly [0, 0, 0];
3065
+ };
3066
+ readonly metallicFactor: {
3067
+ readonly type: "number";
3068
+ readonly precision: 1;
3069
+ readonly default: number;
3070
+ };
3071
+ readonly roughnessFactor: {
3072
+ readonly type: "number";
3073
+ readonly precision: 1;
3074
+ readonly default: number;
3075
+ };
3076
+ readonly normalScale: {
3077
+ readonly type: "number";
3078
+ readonly precision: 1;
3079
+ readonly default: number;
3080
+ };
3081
+ readonly occlusionStrength: {
3082
+ readonly type: "number";
3083
+ readonly precision: 1;
3084
+ readonly default: number;
3085
+ };
3086
+ readonly irReflectance: {
3087
+ readonly type: "number";
3088
+ readonly precision: 1;
3089
+ readonly default: number;
3090
+ };
3091
+ readonly irEmission: {
3092
+ readonly type: "number";
3093
+ readonly precision: 1;
3094
+ readonly default: number;
3095
+ };
3096
+ readonly emissionMode: {
3097
+ readonly type: "integer";
3098
+ readonly minimum: 0;
3099
+ readonly maximum: 4294967295;
3100
+ readonly default: number;
3101
+ };
3102
+ readonly baseColorUrl: {
3103
+ readonly type: "string";
3104
+ };
3105
+ readonly metallicRoughnessUrl: {
3106
+ readonly type: "string";
3107
+ };
3108
+ readonly normalUrl: {
3109
+ readonly type: "string";
3110
+ };
3111
+ readonly occlusionUrl: {
3112
+ readonly type: "string";
3113
+ };
3114
+ readonly emissiveUrl: {
3115
+ readonly type: "string";
3116
+ };
3117
+ } & {
3118
+ readonly mesh: {
3119
+ readonly type: "integer";
3120
+ readonly minimum: -2147483648;
3121
+ readonly maximum: 2147483647;
3122
+ readonly default: number;
3123
+ };
3124
+ readonly gltfUrl: {
825
3125
  readonly type: "string";
826
3126
  };
827
- readonly geometry: {
3127
+ readonly shapeSpec: {
3128
+ readonly default: import("./shape/shape-spec.js").ShapeSpec | null;
3129
+ };
3130
+ readonly voxelVolumeSize: {
3131
+ readonly default: Vec3 | null;
3132
+ };
3133
+ readonly localBounds: {
3134
+ readonly default: Aabb | null;
3135
+ };
3136
+ readonly skinJointTemplate: {
3137
+ readonly default: import("./gltf/parse-skin.js").JointTemplate[];
3138
+ };
3139
+ readonly skinInverseBindMatrices: {
3140
+ readonly default: Float32Array | null;
3141
+ };
3142
+ readonly animationClipRefs: {
3143
+ readonly default: number[];
3144
+ };
3145
+ readonly cpuCollisionPositions: {
3146
+ readonly default: Float32Array | null;
3147
+ };
3148
+ readonly cpuCollisionIndices: {
3149
+ readonly default: Uint32Array | null;
3150
+ };
3151
+ readonly cpuSkin: {
3152
+ readonly default: {
3153
+ positions: Float32Array;
3154
+ joints: Uint32Array;
3155
+ weights: Float32Array;
3156
+ } | null;
3157
+ };
3158
+ } & {
3159
+ readonly _vertexBuffer: {
3160
+ readonly default: GPUBuffer | null;
3161
+ readonly nonPersistent: true;
3162
+ };
3163
+ readonly _skinVertexBuffer: {
3164
+ readonly default: GPUBuffer | null;
3165
+ readonly nonPersistent: true;
3166
+ };
3167
+ readonly _indexBuffer: {
3168
+ readonly default: GPUBuffer | null;
3169
+ readonly nonPersistent: true;
3170
+ };
3171
+ readonly _indexCount: {
3172
+ readonly nonPersistent: true;
3173
+ readonly type: "integer";
3174
+ readonly minimum: 0;
3175
+ readonly maximum: 4294967295;
3176
+ readonly default: number;
3177
+ };
3178
+ readonly _indexFormat: {
3179
+ readonly default: GPUIndexFormat;
3180
+ readonly nonPersistent: true;
3181
+ };
3182
+ readonly _materialBindGroup: {
3183
+ readonly default: GPUBindGroup | null;
3184
+ readonly nonPersistent: true;
3185
+ };
3186
+ readonly _mesh: {
3187
+ readonly nonPersistent: true;
3188
+ readonly type: "integer";
3189
+ readonly minimum: -2147483648;
3190
+ readonly maximum: 2147483647;
3191
+ readonly default: number;
3192
+ };
3193
+ readonly _material: {
3194
+ readonly nonPersistent: true;
3195
+ readonly type: "integer";
3196
+ readonly minimum: -2147483648;
3197
+ readonly maximum: 2147483647;
3198
+ readonly default: number;
3199
+ };
3200
+ readonly _nodeLocalMatrix: {
3201
+ readonly nonPersistent: true;
3202
+ readonly type: "array";
3203
+ readonly items: {
3204
+ readonly type: "number";
3205
+ readonly precision: 1;
3206
+ readonly default: number;
3207
+ };
3208
+ readonly minItems: 16;
3209
+ readonly maxItems: 16;
3210
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3211
+ };
3212
+ readonly _skeletonModelRef: {
3213
+ readonly nonPersistent: true;
828
3214
  readonly type: "integer";
829
3215
  readonly minimum: -2147483648;
830
3216
  readonly maximum: 2147483647;
831
3217
  readonly default: number;
832
3218
  };
3219
+ readonly _skeletonJointMatrixBindGroup: {
3220
+ readonly default: GPUBindGroup | null;
3221
+ readonly nonPersistent: true;
3222
+ };
833
3223
  } & {
834
3224
  readonly animationClipTracks: {
835
3225
  readonly default: import("../../animation/animation-track/public.js")[];
@@ -860,9 +3250,11 @@ export declare const worldBounds: {
860
3250
  };
861
3251
  readonly animationLoop: {
862
3252
  readonly type: "boolean";
3253
+ readonly default: boolean;
863
3254
  };
864
3255
  readonly animationPlaying: {
865
3256
  readonly type: "boolean";
3257
+ readonly default: boolean;
866
3258
  };
867
3259
  readonly animationObservable: {
868
3260
  readonly type: "boolean";
@@ -870,6 +3262,11 @@ export declare const worldBounds: {
870
3262
  readonly default: true;
871
3263
  };
872
3264
  }>, import("@adobe/data/schema").FromSchemas<{} & {
3265
+ readonly _gltfMeshByUrl: {
3266
+ readonly default: Map<string, number> | null;
3267
+ readonly nonPersistent: true;
3268
+ };
3269
+ } & {
873
3270
  readonly frameTime: {
874
3271
  readonly default: import("../../../core/frame-time/public.js");
875
3272
  readonly nonPersistent: true;
@@ -888,22 +3285,50 @@ export declare const worldBounds: {
888
3285
  readonly nonPersistent: true;
889
3286
  };
890
3287
  }>, {} & {} & {
891
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
892
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
893
- } & {
894
3288
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
895
3289
  } & {} & {
896
- readonly Geometry: readonly ["modelUrl"];
897
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
3290
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
3291
+ } & {
3292
+ readonly GltfMeshPending: readonly ["gltfUrl"];
3293
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
3294
+ readonly StaticMesh: readonly ["localBounds"];
3295
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
3296
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
3297
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
3298
+ } & {
3299
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3300
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
898
3301
  } & {
899
3302
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
900
3303
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
901
3304
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
902
- } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
3305
+ } & {}, {} & {} & {
3306
+ readonly nodeChildrenOf: {
3307
+ readonly key: "parent";
3308
+ readonly archetype: "Node";
3309
+ };
3310
+ } & {} & {
3311
+ readonly materialByName: {
3312
+ readonly key: "name";
3313
+ readonly unique: true;
3314
+ readonly archetype: "Material";
3315
+ };
3316
+ } & {} & {} & {} & {} & {}>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
903
3317
  } & {};
904
3318
  readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
905
3319
  readonly actions: {};
906
3320
  readonly services: {};
907
3321
  readonly computed: {};
908
- readonly indexes: {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
3322
+ readonly indexes: {
3323
+ readonly nodeChildrenOf: {
3324
+ readonly key: "parent";
3325
+ readonly archetype: "Node";
3326
+ };
3327
+ } & {} & {} & {
3328
+ readonly materialByName: {
3329
+ readonly key: "name";
3330
+ readonly unique: true;
3331
+ readonly archetype: "Material";
3332
+ };
3333
+ } & {} & {} & {} & {} & {} & {} & {};
909
3334
  };