@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
@@ -69,6 +69,7 @@ export declare const pbrIblRender: {
69
69
  readonly default: number;
70
70
  };
71
71
  readonly _worldMatrix: {
72
+ readonly nonPersistent: true;
72
73
  readonly type: "array";
73
74
  readonly items: {
74
75
  readonly type: "number";
@@ -80,6 +81,7 @@ export declare const pbrIblRender: {
80
81
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
81
82
  };
82
83
  readonly _worldBounds: {
84
+ readonly nonPersistent: true;
83
85
  readonly type: "object";
84
86
  readonly properties: {
85
87
  readonly min: {
@@ -115,14 +117,18 @@ export declare const pbrIblRender: {
115
117
  } & {} & {
116
118
  readonly _vertexBuffer: {
117
119
  readonly default: GPUBuffer | null;
120
+ readonly nonPersistent: true;
118
121
  };
119
122
  readonly _skinVertexBuffer: {
120
123
  readonly default: GPUBuffer | null;
124
+ readonly nonPersistent: true;
121
125
  };
122
126
  readonly _indexBuffer: {
123
127
  readonly default: GPUBuffer | null;
128
+ readonly nonPersistent: true;
124
129
  };
125
130
  readonly _indexCount: {
131
+ readonly nonPersistent: true;
126
132
  readonly type: "integer";
127
133
  readonly minimum: 0;
128
134
  readonly maximum: 4294967295;
@@ -130,23 +136,28 @@ export declare const pbrIblRender: {
130
136
  };
131
137
  readonly _indexFormat: {
132
138
  readonly default: GPUIndexFormat;
139
+ readonly nonPersistent: true;
133
140
  };
134
141
  readonly _materialBindGroup: {
135
142
  readonly default: GPUBindGroup | null;
143
+ readonly nonPersistent: true;
136
144
  };
137
- readonly _geometry: {
145
+ readonly _mesh: {
146
+ readonly nonPersistent: true;
138
147
  readonly type: "integer";
139
148
  readonly minimum: -2147483648;
140
149
  readonly maximum: 2147483647;
141
150
  readonly default: number;
142
151
  };
143
152
  readonly _material: {
153
+ readonly nonPersistent: true;
144
154
  readonly type: "integer";
145
155
  readonly minimum: -2147483648;
146
156
  readonly maximum: 2147483647;
147
157
  readonly default: number;
148
158
  };
149
159
  readonly _nodeLocalMatrix: {
160
+ readonly nonPersistent: true;
150
161
  readonly type: "array";
151
162
  readonly items: {
152
163
  readonly type: "number";
@@ -158,6 +169,7 @@ export declare const pbrIblRender: {
158
169
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
159
170
  };
160
171
  readonly _skeletonModelRef: {
172
+ readonly nonPersistent: true;
161
173
  readonly type: "integer";
162
174
  readonly minimum: -2147483648;
163
175
  readonly maximum: 2147483647;
@@ -165,17 +177,221 @@ export declare const pbrIblRender: {
165
177
  };
166
178
  readonly _skeletonJointMatrixBindGroup: {
167
179
  readonly default: GPUBindGroup | null;
180
+ readonly nonPersistent: true;
168
181
  };
169
182
  } & {
170
- readonly modelUrl: {
183
+ readonly material: {
184
+ readonly type: "integer";
185
+ readonly minimum: -2147483648;
186
+ readonly maximum: 2147483647;
187
+ readonly default: number;
188
+ };
189
+ readonly name: {
190
+ readonly type: "string";
191
+ };
192
+ readonly density: {
193
+ readonly type: "number";
194
+ readonly precision: 1;
195
+ readonly default: number;
196
+ };
197
+ readonly restitution: {
198
+ readonly type: "number";
199
+ readonly precision: 1;
200
+ readonly default: number;
201
+ };
202
+ readonly friction: {
203
+ readonly type: "number";
204
+ readonly precision: 1;
205
+ readonly default: number;
206
+ };
207
+ readonly compliance: {
208
+ readonly type: "number";
209
+ readonly precision: 1;
210
+ readonly default: number;
211
+ };
212
+ readonly heatCapacity: {
213
+ readonly type: "number";
214
+ readonly precision: 1;
215
+ readonly default: number;
216
+ };
217
+ readonly viscosity: {
218
+ readonly type: "number";
219
+ readonly precision: 1;
220
+ readonly default: number;
221
+ };
222
+ readonly thermalConductivity: {
223
+ readonly type: "number";
224
+ readonly precision: 1;
225
+ readonly default: number;
226
+ };
227
+ readonly stressStrainCurve: {
228
+ readonly type: "object";
229
+ readonly layout: "packed";
230
+ readonly properties: {
231
+ readonly tensileYieldStrainStress: {
232
+ readonly type: "array";
233
+ readonly items: {
234
+ readonly type: "number";
235
+ readonly precision: 1;
236
+ readonly default: number;
237
+ };
238
+ readonly minItems: 2;
239
+ readonly maxItems: 2;
240
+ readonly default: readonly [0, 0];
241
+ };
242
+ readonly tensileFractureStrainStress: {
243
+ readonly type: "array";
244
+ readonly items: {
245
+ readonly type: "number";
246
+ readonly precision: 1;
247
+ readonly default: number;
248
+ };
249
+ readonly minItems: 2;
250
+ readonly maxItems: 2;
251
+ readonly default: readonly [0, 0];
252
+ };
253
+ readonly compressiveYieldStrainStress: {
254
+ readonly type: "array";
255
+ readonly items: {
256
+ readonly type: "number";
257
+ readonly precision: 1;
258
+ readonly default: number;
259
+ };
260
+ readonly minItems: 2;
261
+ readonly maxItems: 2;
262
+ readonly default: readonly [0, 0];
263
+ };
264
+ readonly compressiveFractureStrainStress: {
265
+ readonly type: "array";
266
+ readonly items: {
267
+ readonly type: "number";
268
+ readonly precision: 1;
269
+ readonly default: number;
270
+ };
271
+ readonly minItems: 2;
272
+ readonly maxItems: 2;
273
+ readonly default: readonly [0, 0];
274
+ };
275
+ };
276
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
277
+ };
278
+ readonly baseColorFactor: {
279
+ readonly type: "array";
280
+ readonly items: {
281
+ readonly type: "number";
282
+ readonly precision: 1;
283
+ readonly default: number;
284
+ };
285
+ readonly minItems: 4;
286
+ readonly maxItems: 4;
287
+ readonly default: readonly [0, 0, 0, 0];
288
+ };
289
+ readonly emissiveFactor: {
290
+ readonly type: "array";
291
+ readonly items: {
292
+ readonly type: "number";
293
+ readonly precision: 1;
294
+ readonly default: number;
295
+ };
296
+ readonly minItems: 3;
297
+ readonly maxItems: 3;
298
+ readonly default: readonly [0, 0, 0];
299
+ };
300
+ readonly metallicFactor: {
301
+ readonly type: "number";
302
+ readonly precision: 1;
303
+ readonly default: number;
304
+ };
305
+ readonly roughnessFactor: {
306
+ readonly type: "number";
307
+ readonly precision: 1;
308
+ readonly default: number;
309
+ };
310
+ readonly normalScale: {
311
+ readonly type: "number";
312
+ readonly precision: 1;
313
+ readonly default: number;
314
+ };
315
+ readonly occlusionStrength: {
316
+ readonly type: "number";
317
+ readonly precision: 1;
318
+ readonly default: number;
319
+ };
320
+ readonly irReflectance: {
321
+ readonly type: "number";
322
+ readonly precision: 1;
323
+ readonly default: number;
324
+ };
325
+ readonly irEmission: {
326
+ readonly type: "number";
327
+ readonly precision: 1;
328
+ readonly default: number;
329
+ };
330
+ readonly emissionMode: {
331
+ readonly type: "integer";
332
+ readonly minimum: 0;
333
+ readonly maximum: 4294967295;
334
+ readonly default: number;
335
+ };
336
+ readonly baseColorUrl: {
171
337
  readonly type: "string";
172
338
  };
173
- readonly geometry: {
339
+ readonly metallicRoughnessUrl: {
340
+ readonly type: "string";
341
+ };
342
+ readonly normalUrl: {
343
+ readonly type: "string";
344
+ };
345
+ readonly occlusionUrl: {
346
+ readonly type: "string";
347
+ };
348
+ readonly emissiveUrl: {
349
+ readonly type: "string";
350
+ };
351
+ } & {
352
+ readonly mesh: {
174
353
  readonly type: "integer";
175
354
  readonly minimum: -2147483648;
176
355
  readonly maximum: 2147483647;
177
356
  readonly default: number;
178
357
  };
358
+ readonly gltfUrl: {
359
+ readonly type: "string";
360
+ };
361
+ readonly shapeSpec: {
362
+ readonly default: import("../../public.js").ShapeSpec | null;
363
+ };
364
+ readonly voxelVolumeSize: {
365
+ readonly default: Vec3 | null;
366
+ };
367
+ readonly localBounds: {
368
+ readonly default: {
369
+ readonly min: readonly [number, number, number];
370
+ readonly max: readonly [number, number, number];
371
+ } | null;
372
+ };
373
+ readonly skinJointTemplate: {
374
+ readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
375
+ };
376
+ readonly skinInverseBindMatrices: {
377
+ readonly default: Float32Array | null;
378
+ };
379
+ readonly animationClipRefs: {
380
+ readonly default: number[];
381
+ };
382
+ readonly cpuCollisionPositions: {
383
+ readonly default: Float32Array | null;
384
+ };
385
+ readonly cpuCollisionIndices: {
386
+ readonly default: Uint32Array | null;
387
+ };
388
+ readonly cpuSkin: {
389
+ readonly default: {
390
+ positions: Float32Array;
391
+ joints: Uint32Array;
392
+ weights: Float32Array;
393
+ } | null;
394
+ };
179
395
  } & {
180
396
  readonly animationClipTracks: {
181
397
  readonly default: import("../../animation/animation-track/public.js")[];
@@ -206,44 +422,17 @@ export declare const pbrIblRender: {
206
422
  };
207
423
  readonly animationLoop: {
208
424
  readonly type: "boolean";
425
+ readonly default: boolean;
209
426
  };
210
427
  readonly animationPlaying: {
211
428
  readonly type: "boolean";
429
+ readonly default: boolean;
212
430
  };
213
431
  readonly animationObservable: {
214
432
  readonly type: "boolean";
215
433
  readonly const: true;
216
434
  readonly default: true;
217
435
  };
218
- } & {
219
- readonly _bounds: {
220
- readonly default: {
221
- readonly min: readonly [number, number, number];
222
- readonly max: readonly [number, number, number];
223
- } | null;
224
- };
225
- readonly _skinJointTemplate: {
226
- readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
227
- };
228
- readonly _skinInverseBindMatrices: {
229
- readonly default: Float32Array | null;
230
- };
231
- readonly _animationClipRefs: {
232
- readonly default: number[];
233
- };
234
- readonly _cpuPositions: {
235
- readonly default: Float32Array | null;
236
- };
237
- readonly _cpuIndices: {
238
- readonly default: Uint32Array | null;
239
- };
240
- readonly _cpuSkin: {
241
- readonly default: {
242
- positions: Float32Array;
243
- joints: Uint32Array;
244
- weights: Float32Array;
245
- } | null;
246
- };
247
436
  };
248
437
  readonly resources: {} & {
249
438
  readonly frameTime: {
@@ -273,7 +462,7 @@ export declare const pbrIblRender: {
273
462
  readonly nonPersistent: true;
274
463
  };
275
464
  readonly clearColor: {
276
- readonly default: readonly [number, number, number, number];
465
+ readonly default: import("@adobe/data/math").Vec4;
277
466
  readonly nonPersistent: true;
278
467
  };
279
468
  readonly canvas: {
@@ -305,6 +494,11 @@ export declare const pbrIblRender: {
305
494
  readonly default: GPUBuffer | null;
306
495
  readonly nonPersistent: true;
307
496
  };
497
+ } & {
498
+ readonly _gltfMeshByUrl: {
499
+ readonly default: Map<string, number> | null;
500
+ readonly nonPersistent: true;
501
+ };
308
502
  } & {
309
503
  readonly _iblEnvironment: {
310
504
  readonly default: GPUTexture | null;
@@ -326,41 +520,2045 @@ export declare const pbrIblRender: {
326
520
  readonly archetypes: {
327
521
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
328
522
  } & {} & {} & {
329
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
330
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
523
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
524
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
525
+ } & {
526
+ 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"];
331
527
  } & {
332
- readonly Geometry: readonly ["modelUrl"];
333
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
528
+ readonly GltfMeshPending: readonly ["gltfUrl"];
529
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
530
+ readonly StaticMesh: readonly ["localBounds"];
531
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
532
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
533
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
334
534
  } & {
335
535
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
336
536
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
337
537
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
338
538
  } & {} & {} & {};
339
- readonly transactions: {} & {} & {} & {
340
- readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
341
- readonly modelUrl: {
342
- readonly type: "string";
539
+ readonly transactions: {} & {} & {} & {} & {
540
+ readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
541
+ readonly renderPassEncoder: {
542
+ readonly default: GPURenderPassEncoder | null;
543
+ readonly nonPersistent: true;
544
+ };
545
+ readonly depthTexture: {
546
+ readonly default: GPUTexture | null;
547
+ readonly nonPersistent: true;
548
+ };
549
+ readonly clearColor: {
550
+ readonly default: import("@adobe/data/math").Vec4;
551
+ readonly nonPersistent: true;
552
+ };
553
+ readonly canvas: {
554
+ readonly default: HTMLCanvasElement | null;
555
+ readonly nonPersistent: true;
556
+ };
557
+ readonly canvasContext: {
558
+ readonly default: GPUCanvasContext | null;
559
+ readonly nonPersistent: true;
560
+ };
561
+ readonly canvasFormat: {
562
+ readonly default: GPUTextureFormat;
563
+ readonly nonPersistent: true;
564
+ };
565
+ readonly depthFormat: {
566
+ readonly default: GPUTextureFormat;
567
+ readonly nonPersistent: true;
568
+ };
569
+ } & {
570
+ readonly frameTime: {
571
+ readonly default: import("../../../core/frame-time/public.js");
572
+ readonly nonPersistent: true;
573
+ };
574
+ } & {
575
+ readonly schedulerState: {
576
+ readonly default: import("@adobe/data/ecs").SchedulerState;
577
+ };
578
+ } & {
579
+ readonly device: {
580
+ readonly default: GPUDevice | null;
581
+ readonly nonPersistent: true;
582
+ };
583
+ readonly commandEncoder: {
584
+ readonly default: GPUCommandEncoder | null;
585
+ readonly nonPersistent: true;
586
+ };
587
+ }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
588
+ } & {} & {
589
+ readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
590
+ readonly light: {
591
+ readonly default: import("../../scene/light/public.js");
343
592
  };
344
- readonly geometry: {
593
+ }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
594
+ } & {} & {} & {
595
+ readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
596
+ readonly material: {
345
597
  readonly type: "integer";
346
598
  readonly minimum: -2147483648;
347
599
  readonly maximum: 2147483647;
348
600
  readonly default: number;
349
601
  };
350
- } & {
351
- readonly visible: {
352
- readonly type: "boolean";
353
- readonly const: true;
354
- readonly default: true;
602
+ readonly name: {
603
+ readonly type: "string";
355
604
  };
356
- readonly position: {
357
- readonly type: "array";
358
- readonly items: {
359
- readonly type: "number";
360
- readonly precision: 1;
361
- readonly default: number;
362
- };
363
- readonly minItems: 3;
605
+ readonly density: {
606
+ readonly type: "number";
607
+ readonly precision: 1;
608
+ readonly default: number;
609
+ };
610
+ readonly restitution: {
611
+ readonly type: "number";
612
+ readonly precision: 1;
613
+ readonly default: number;
614
+ };
615
+ readonly friction: {
616
+ readonly type: "number";
617
+ readonly precision: 1;
618
+ readonly default: number;
619
+ };
620
+ readonly compliance: {
621
+ readonly type: "number";
622
+ readonly precision: 1;
623
+ readonly default: number;
624
+ };
625
+ readonly heatCapacity: {
626
+ readonly type: "number";
627
+ readonly precision: 1;
628
+ readonly default: number;
629
+ };
630
+ readonly viscosity: {
631
+ readonly type: "number";
632
+ readonly precision: 1;
633
+ readonly default: number;
634
+ };
635
+ readonly thermalConductivity: {
636
+ readonly type: "number";
637
+ readonly precision: 1;
638
+ readonly default: number;
639
+ };
640
+ readonly stressStrainCurve: {
641
+ readonly type: "object";
642
+ readonly layout: "packed";
643
+ readonly properties: {
644
+ readonly tensileYieldStrainStress: {
645
+ readonly type: "array";
646
+ readonly items: {
647
+ readonly type: "number";
648
+ readonly precision: 1;
649
+ readonly default: number;
650
+ };
651
+ readonly minItems: 2;
652
+ readonly maxItems: 2;
653
+ readonly default: readonly [0, 0];
654
+ };
655
+ readonly tensileFractureStrainStress: {
656
+ readonly type: "array";
657
+ readonly items: {
658
+ readonly type: "number";
659
+ readonly precision: 1;
660
+ readonly default: number;
661
+ };
662
+ readonly minItems: 2;
663
+ readonly maxItems: 2;
664
+ readonly default: readonly [0, 0];
665
+ };
666
+ readonly compressiveYieldStrainStress: {
667
+ readonly type: "array";
668
+ readonly items: {
669
+ readonly type: "number";
670
+ readonly precision: 1;
671
+ readonly default: number;
672
+ };
673
+ readonly minItems: 2;
674
+ readonly maxItems: 2;
675
+ readonly default: readonly [0, 0];
676
+ };
677
+ readonly compressiveFractureStrainStress: {
678
+ readonly type: "array";
679
+ readonly items: {
680
+ readonly type: "number";
681
+ readonly precision: 1;
682
+ readonly default: number;
683
+ };
684
+ readonly minItems: 2;
685
+ readonly maxItems: 2;
686
+ readonly default: readonly [0, 0];
687
+ };
688
+ };
689
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
690
+ };
691
+ readonly baseColorFactor: {
692
+ readonly type: "array";
693
+ readonly items: {
694
+ readonly type: "number";
695
+ readonly precision: 1;
696
+ readonly default: number;
697
+ };
698
+ readonly minItems: 4;
699
+ readonly maxItems: 4;
700
+ readonly default: readonly [0, 0, 0, 0];
701
+ };
702
+ readonly emissiveFactor: {
703
+ readonly type: "array";
704
+ readonly items: {
705
+ readonly type: "number";
706
+ readonly precision: 1;
707
+ readonly default: number;
708
+ };
709
+ readonly minItems: 3;
710
+ readonly maxItems: 3;
711
+ readonly default: readonly [0, 0, 0];
712
+ };
713
+ readonly metallicFactor: {
714
+ readonly type: "number";
715
+ readonly precision: 1;
716
+ readonly default: number;
717
+ };
718
+ readonly roughnessFactor: {
719
+ readonly type: "number";
720
+ readonly precision: 1;
721
+ readonly default: number;
722
+ };
723
+ readonly normalScale: {
724
+ readonly type: "number";
725
+ readonly precision: 1;
726
+ readonly default: number;
727
+ };
728
+ readonly occlusionStrength: {
729
+ readonly type: "number";
730
+ readonly precision: 1;
731
+ readonly default: number;
732
+ };
733
+ readonly irReflectance: {
734
+ readonly type: "number";
735
+ readonly precision: 1;
736
+ readonly default: number;
737
+ };
738
+ readonly irEmission: {
739
+ readonly type: "number";
740
+ readonly precision: 1;
741
+ readonly default: number;
742
+ };
743
+ readonly emissionMode: {
744
+ readonly type: "integer";
745
+ readonly minimum: 0;
746
+ readonly maximum: 4294967295;
747
+ readonly default: number;
748
+ };
749
+ readonly baseColorUrl: {
750
+ readonly type: "string";
751
+ };
752
+ readonly metallicRoughnessUrl: {
753
+ readonly type: "string";
754
+ };
755
+ readonly normalUrl: {
756
+ readonly type: "string";
757
+ };
758
+ readonly occlusionUrl: {
759
+ readonly type: "string";
760
+ };
761
+ readonly emissiveUrl: {
762
+ readonly type: "string";
763
+ };
764
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
765
+ 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"];
766
+ }, {
767
+ readonly materialByName: {
768
+ readonly key: "name";
769
+ readonly unique: true;
770
+ readonly archetype: "Material";
771
+ };
772
+ }>, row: import("../../../material/public.js")) => number;
773
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
774
+ readonly material: {
775
+ readonly type: "integer";
776
+ readonly minimum: -2147483648;
777
+ readonly maximum: 2147483647;
778
+ readonly default: number;
779
+ };
780
+ readonly name: {
781
+ readonly type: "string";
782
+ };
783
+ readonly density: {
784
+ readonly type: "number";
785
+ readonly precision: 1;
786
+ readonly default: number;
787
+ };
788
+ readonly restitution: {
789
+ readonly type: "number";
790
+ readonly precision: 1;
791
+ readonly default: number;
792
+ };
793
+ readonly friction: {
794
+ readonly type: "number";
795
+ readonly precision: 1;
796
+ readonly default: number;
797
+ };
798
+ readonly compliance: {
799
+ readonly type: "number";
800
+ readonly precision: 1;
801
+ readonly default: number;
802
+ };
803
+ readonly heatCapacity: {
804
+ readonly type: "number";
805
+ readonly precision: 1;
806
+ readonly default: number;
807
+ };
808
+ readonly viscosity: {
809
+ readonly type: "number";
810
+ readonly precision: 1;
811
+ readonly default: number;
812
+ };
813
+ readonly thermalConductivity: {
814
+ readonly type: "number";
815
+ readonly precision: 1;
816
+ readonly default: number;
817
+ };
818
+ readonly stressStrainCurve: {
819
+ readonly type: "object";
820
+ readonly layout: "packed";
821
+ readonly properties: {
822
+ readonly tensileYieldStrainStress: {
823
+ readonly type: "array";
824
+ readonly items: {
825
+ readonly type: "number";
826
+ readonly precision: 1;
827
+ readonly default: number;
828
+ };
829
+ readonly minItems: 2;
830
+ readonly maxItems: 2;
831
+ readonly default: readonly [0, 0];
832
+ };
833
+ readonly tensileFractureStrainStress: {
834
+ readonly type: "array";
835
+ readonly items: {
836
+ readonly type: "number";
837
+ readonly precision: 1;
838
+ readonly default: number;
839
+ };
840
+ readonly minItems: 2;
841
+ readonly maxItems: 2;
842
+ readonly default: readonly [0, 0];
843
+ };
844
+ readonly compressiveYieldStrainStress: {
845
+ readonly type: "array";
846
+ readonly items: {
847
+ readonly type: "number";
848
+ readonly precision: 1;
849
+ readonly default: number;
850
+ };
851
+ readonly minItems: 2;
852
+ readonly maxItems: 2;
853
+ readonly default: readonly [0, 0];
854
+ };
855
+ readonly compressiveFractureStrainStress: {
856
+ readonly type: "array";
857
+ readonly items: {
858
+ readonly type: "number";
859
+ readonly precision: 1;
860
+ readonly default: number;
861
+ };
862
+ readonly minItems: 2;
863
+ readonly maxItems: 2;
864
+ readonly default: readonly [0, 0];
865
+ };
866
+ };
867
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
868
+ };
869
+ readonly baseColorFactor: {
870
+ readonly type: "array";
871
+ readonly items: {
872
+ readonly type: "number";
873
+ readonly precision: 1;
874
+ readonly default: number;
875
+ };
876
+ readonly minItems: 4;
877
+ readonly maxItems: 4;
878
+ readonly default: readonly [0, 0, 0, 0];
879
+ };
880
+ readonly emissiveFactor: {
881
+ readonly type: "array";
882
+ readonly items: {
883
+ readonly type: "number";
884
+ readonly precision: 1;
885
+ readonly default: number;
886
+ };
887
+ readonly minItems: 3;
888
+ readonly maxItems: 3;
889
+ readonly default: readonly [0, 0, 0];
890
+ };
891
+ readonly metallicFactor: {
892
+ readonly type: "number";
893
+ readonly precision: 1;
894
+ readonly default: number;
895
+ };
896
+ readonly roughnessFactor: {
897
+ readonly type: "number";
898
+ readonly precision: 1;
899
+ readonly default: number;
900
+ };
901
+ readonly normalScale: {
902
+ readonly type: "number";
903
+ readonly precision: 1;
904
+ readonly default: number;
905
+ };
906
+ readonly occlusionStrength: {
907
+ readonly type: "number";
908
+ readonly precision: 1;
909
+ readonly default: number;
910
+ };
911
+ readonly irReflectance: {
912
+ readonly type: "number";
913
+ readonly precision: 1;
914
+ readonly default: number;
915
+ };
916
+ readonly irEmission: {
917
+ readonly type: "number";
918
+ readonly precision: 1;
919
+ readonly default: number;
920
+ };
921
+ readonly emissionMode: {
922
+ readonly type: "integer";
923
+ readonly minimum: 0;
924
+ readonly maximum: 4294967295;
925
+ readonly default: number;
926
+ };
927
+ readonly baseColorUrl: {
928
+ readonly type: "string";
929
+ };
930
+ readonly metallicRoughnessUrl: {
931
+ readonly type: "string";
932
+ };
933
+ readonly normalUrl: {
934
+ readonly type: "string";
935
+ };
936
+ readonly occlusionUrl: {
937
+ readonly type: "string";
938
+ };
939
+ readonly emissiveUrl: {
940
+ readonly type: "string";
941
+ };
942
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
943
+ 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"];
944
+ }, {
945
+ readonly materialByName: {
946
+ readonly key: "name";
947
+ readonly unique: true;
948
+ readonly archetype: "Material";
949
+ };
950
+ }>, args: {
951
+ name: string;
952
+ definition: import("../../../material/material-definition.js").MaterialDefinition;
953
+ }) => number;
954
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
955
+ readonly material: {
956
+ readonly type: "integer";
957
+ readonly minimum: -2147483648;
958
+ readonly maximum: 2147483647;
959
+ readonly default: number;
960
+ };
961
+ readonly name: {
962
+ readonly type: "string";
963
+ };
964
+ readonly density: {
965
+ readonly type: "number";
966
+ readonly precision: 1;
967
+ readonly default: number;
968
+ };
969
+ readonly restitution: {
970
+ readonly type: "number";
971
+ readonly precision: 1;
972
+ readonly default: number;
973
+ };
974
+ readonly friction: {
975
+ readonly type: "number";
976
+ readonly precision: 1;
977
+ readonly default: number;
978
+ };
979
+ readonly compliance: {
980
+ readonly type: "number";
981
+ readonly precision: 1;
982
+ readonly default: number;
983
+ };
984
+ readonly heatCapacity: {
985
+ readonly type: "number";
986
+ readonly precision: 1;
987
+ readonly default: number;
988
+ };
989
+ readonly viscosity: {
990
+ readonly type: "number";
991
+ readonly precision: 1;
992
+ readonly default: number;
993
+ };
994
+ readonly thermalConductivity: {
995
+ readonly type: "number";
996
+ readonly precision: 1;
997
+ readonly default: number;
998
+ };
999
+ readonly stressStrainCurve: {
1000
+ readonly type: "object";
1001
+ readonly layout: "packed";
1002
+ readonly properties: {
1003
+ readonly tensileYieldStrainStress: {
1004
+ readonly type: "array";
1005
+ readonly items: {
1006
+ readonly type: "number";
1007
+ readonly precision: 1;
1008
+ readonly default: number;
1009
+ };
1010
+ readonly minItems: 2;
1011
+ readonly maxItems: 2;
1012
+ readonly default: readonly [0, 0];
1013
+ };
1014
+ readonly tensileFractureStrainStress: {
1015
+ readonly type: "array";
1016
+ readonly items: {
1017
+ readonly type: "number";
1018
+ readonly precision: 1;
1019
+ readonly default: number;
1020
+ };
1021
+ readonly minItems: 2;
1022
+ readonly maxItems: 2;
1023
+ readonly default: readonly [0, 0];
1024
+ };
1025
+ readonly compressiveYieldStrainStress: {
1026
+ readonly type: "array";
1027
+ readonly items: {
1028
+ readonly type: "number";
1029
+ readonly precision: 1;
1030
+ readonly default: number;
1031
+ };
1032
+ readonly minItems: 2;
1033
+ readonly maxItems: 2;
1034
+ readonly default: readonly [0, 0];
1035
+ };
1036
+ readonly compressiveFractureStrainStress: {
1037
+ readonly type: "array";
1038
+ readonly items: {
1039
+ readonly type: "number";
1040
+ readonly precision: 1;
1041
+ readonly default: number;
1042
+ };
1043
+ readonly minItems: 2;
1044
+ readonly maxItems: 2;
1045
+ readonly default: readonly [0, 0];
1046
+ };
1047
+ };
1048
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1049
+ };
1050
+ readonly baseColorFactor: {
1051
+ readonly type: "array";
1052
+ readonly items: {
1053
+ readonly type: "number";
1054
+ readonly precision: 1;
1055
+ readonly default: number;
1056
+ };
1057
+ readonly minItems: 4;
1058
+ readonly maxItems: 4;
1059
+ readonly default: readonly [0, 0, 0, 0];
1060
+ };
1061
+ readonly emissiveFactor: {
1062
+ readonly type: "array";
1063
+ readonly items: {
1064
+ readonly type: "number";
1065
+ readonly precision: 1;
1066
+ readonly default: number;
1067
+ };
1068
+ readonly minItems: 3;
1069
+ readonly maxItems: 3;
1070
+ readonly default: readonly [0, 0, 0];
1071
+ };
1072
+ readonly metallicFactor: {
1073
+ readonly type: "number";
1074
+ readonly precision: 1;
1075
+ readonly default: number;
1076
+ };
1077
+ readonly roughnessFactor: {
1078
+ readonly type: "number";
1079
+ readonly precision: 1;
1080
+ readonly default: number;
1081
+ };
1082
+ readonly normalScale: {
1083
+ readonly type: "number";
1084
+ readonly precision: 1;
1085
+ readonly default: number;
1086
+ };
1087
+ readonly occlusionStrength: {
1088
+ readonly type: "number";
1089
+ readonly precision: 1;
1090
+ readonly default: number;
1091
+ };
1092
+ readonly irReflectance: {
1093
+ readonly type: "number";
1094
+ readonly precision: 1;
1095
+ readonly default: number;
1096
+ };
1097
+ readonly irEmission: {
1098
+ readonly type: "number";
1099
+ readonly precision: 1;
1100
+ readonly default: number;
1101
+ };
1102
+ readonly emissionMode: {
1103
+ readonly type: "integer";
1104
+ readonly minimum: 0;
1105
+ readonly maximum: 4294967295;
1106
+ readonly default: number;
1107
+ };
1108
+ readonly baseColorUrl: {
1109
+ readonly type: "string";
1110
+ };
1111
+ readonly metallicRoughnessUrl: {
1112
+ readonly type: "string";
1113
+ };
1114
+ readonly normalUrl: {
1115
+ readonly type: "string";
1116
+ };
1117
+ readonly occlusionUrl: {
1118
+ readonly type: "string";
1119
+ };
1120
+ readonly emissiveUrl: {
1121
+ readonly type: "string";
1122
+ };
1123
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1124
+ 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"];
1125
+ }, {
1126
+ readonly materialByName: {
1127
+ readonly key: "name";
1128
+ readonly unique: true;
1129
+ readonly archetype: "Material";
1130
+ };
1131
+ }>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
1132
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1133
+ readonly material: {
1134
+ readonly type: "integer";
1135
+ readonly minimum: -2147483648;
1136
+ readonly maximum: 2147483647;
1137
+ readonly default: number;
1138
+ };
1139
+ readonly name: {
1140
+ readonly type: "string";
1141
+ };
1142
+ readonly density: {
1143
+ readonly type: "number";
1144
+ readonly precision: 1;
1145
+ readonly default: number;
1146
+ };
1147
+ readonly restitution: {
1148
+ readonly type: "number";
1149
+ readonly precision: 1;
1150
+ readonly default: number;
1151
+ };
1152
+ readonly friction: {
1153
+ readonly type: "number";
1154
+ readonly precision: 1;
1155
+ readonly default: number;
1156
+ };
1157
+ readonly compliance: {
1158
+ readonly type: "number";
1159
+ readonly precision: 1;
1160
+ readonly default: number;
1161
+ };
1162
+ readonly heatCapacity: {
1163
+ readonly type: "number";
1164
+ readonly precision: 1;
1165
+ readonly default: number;
1166
+ };
1167
+ readonly viscosity: {
1168
+ readonly type: "number";
1169
+ readonly precision: 1;
1170
+ readonly default: number;
1171
+ };
1172
+ readonly thermalConductivity: {
1173
+ readonly type: "number";
1174
+ readonly precision: 1;
1175
+ readonly default: number;
1176
+ };
1177
+ readonly stressStrainCurve: {
1178
+ readonly type: "object";
1179
+ readonly layout: "packed";
1180
+ readonly properties: {
1181
+ readonly tensileYieldStrainStress: {
1182
+ readonly type: "array";
1183
+ readonly items: {
1184
+ readonly type: "number";
1185
+ readonly precision: 1;
1186
+ readonly default: number;
1187
+ };
1188
+ readonly minItems: 2;
1189
+ readonly maxItems: 2;
1190
+ readonly default: readonly [0, 0];
1191
+ };
1192
+ readonly tensileFractureStrainStress: {
1193
+ readonly type: "array";
1194
+ readonly items: {
1195
+ readonly type: "number";
1196
+ readonly precision: 1;
1197
+ readonly default: number;
1198
+ };
1199
+ readonly minItems: 2;
1200
+ readonly maxItems: 2;
1201
+ readonly default: readonly [0, 0];
1202
+ };
1203
+ readonly compressiveYieldStrainStress: {
1204
+ readonly type: "array";
1205
+ readonly items: {
1206
+ readonly type: "number";
1207
+ readonly precision: 1;
1208
+ readonly default: number;
1209
+ };
1210
+ readonly minItems: 2;
1211
+ readonly maxItems: 2;
1212
+ readonly default: readonly [0, 0];
1213
+ };
1214
+ readonly compressiveFractureStrainStress: {
1215
+ readonly type: "array";
1216
+ readonly items: {
1217
+ readonly type: "number";
1218
+ readonly precision: 1;
1219
+ readonly default: number;
1220
+ };
1221
+ readonly minItems: 2;
1222
+ readonly maxItems: 2;
1223
+ readonly default: readonly [0, 0];
1224
+ };
1225
+ };
1226
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1227
+ };
1228
+ readonly baseColorFactor: {
1229
+ readonly type: "array";
1230
+ readonly items: {
1231
+ readonly type: "number";
1232
+ readonly precision: 1;
1233
+ readonly default: number;
1234
+ };
1235
+ readonly minItems: 4;
1236
+ readonly maxItems: 4;
1237
+ readonly default: readonly [0, 0, 0, 0];
1238
+ };
1239
+ readonly emissiveFactor: {
1240
+ readonly type: "array";
1241
+ readonly items: {
1242
+ readonly type: "number";
1243
+ readonly precision: 1;
1244
+ readonly default: number;
1245
+ };
1246
+ readonly minItems: 3;
1247
+ readonly maxItems: 3;
1248
+ readonly default: readonly [0, 0, 0];
1249
+ };
1250
+ readonly metallicFactor: {
1251
+ readonly type: "number";
1252
+ readonly precision: 1;
1253
+ readonly default: number;
1254
+ };
1255
+ readonly roughnessFactor: {
1256
+ readonly type: "number";
1257
+ readonly precision: 1;
1258
+ readonly default: number;
1259
+ };
1260
+ readonly normalScale: {
1261
+ readonly type: "number";
1262
+ readonly precision: 1;
1263
+ readonly default: number;
1264
+ };
1265
+ readonly occlusionStrength: {
1266
+ readonly type: "number";
1267
+ readonly precision: 1;
1268
+ readonly default: number;
1269
+ };
1270
+ readonly irReflectance: {
1271
+ readonly type: "number";
1272
+ readonly precision: 1;
1273
+ readonly default: number;
1274
+ };
1275
+ readonly irEmission: {
1276
+ readonly type: "number";
1277
+ readonly precision: 1;
1278
+ readonly default: number;
1279
+ };
1280
+ readonly emissionMode: {
1281
+ readonly type: "integer";
1282
+ readonly minimum: 0;
1283
+ readonly maximum: 4294967295;
1284
+ readonly default: number;
1285
+ };
1286
+ readonly baseColorUrl: {
1287
+ readonly type: "string";
1288
+ };
1289
+ readonly metallicRoughnessUrl: {
1290
+ readonly type: "string";
1291
+ };
1292
+ readonly normalUrl: {
1293
+ readonly type: "string";
1294
+ };
1295
+ readonly occlusionUrl: {
1296
+ readonly type: "string";
1297
+ };
1298
+ readonly emissiveUrl: {
1299
+ readonly type: "string";
1300
+ };
1301
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1302
+ 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"];
1303
+ }, {
1304
+ readonly materialByName: {
1305
+ readonly key: "name";
1306
+ readonly unique: true;
1307
+ readonly archetype: "Material";
1308
+ };
1309
+ }>) => void;
1310
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1311
+ readonly material: {
1312
+ readonly type: "integer";
1313
+ readonly minimum: -2147483648;
1314
+ readonly maximum: 2147483647;
1315
+ readonly default: number;
1316
+ };
1317
+ readonly name: {
1318
+ readonly type: "string";
1319
+ };
1320
+ readonly density: {
1321
+ readonly type: "number";
1322
+ readonly precision: 1;
1323
+ readonly default: number;
1324
+ };
1325
+ readonly restitution: {
1326
+ readonly type: "number";
1327
+ readonly precision: 1;
1328
+ readonly default: number;
1329
+ };
1330
+ readonly friction: {
1331
+ readonly type: "number";
1332
+ readonly precision: 1;
1333
+ readonly default: number;
1334
+ };
1335
+ readonly compliance: {
1336
+ readonly type: "number";
1337
+ readonly precision: 1;
1338
+ readonly default: number;
1339
+ };
1340
+ readonly heatCapacity: {
1341
+ readonly type: "number";
1342
+ readonly precision: 1;
1343
+ readonly default: number;
1344
+ };
1345
+ readonly viscosity: {
1346
+ readonly type: "number";
1347
+ readonly precision: 1;
1348
+ readonly default: number;
1349
+ };
1350
+ readonly thermalConductivity: {
1351
+ readonly type: "number";
1352
+ readonly precision: 1;
1353
+ readonly default: number;
1354
+ };
1355
+ readonly stressStrainCurve: {
1356
+ readonly type: "object";
1357
+ readonly layout: "packed";
1358
+ readonly properties: {
1359
+ readonly tensileYieldStrainStress: {
1360
+ readonly type: "array";
1361
+ readonly items: {
1362
+ readonly type: "number";
1363
+ readonly precision: 1;
1364
+ readonly default: number;
1365
+ };
1366
+ readonly minItems: 2;
1367
+ readonly maxItems: 2;
1368
+ readonly default: readonly [0, 0];
1369
+ };
1370
+ readonly tensileFractureStrainStress: {
1371
+ readonly type: "array";
1372
+ readonly items: {
1373
+ readonly type: "number";
1374
+ readonly precision: 1;
1375
+ readonly default: number;
1376
+ };
1377
+ readonly minItems: 2;
1378
+ readonly maxItems: 2;
1379
+ readonly default: readonly [0, 0];
1380
+ };
1381
+ readonly compressiveYieldStrainStress: {
1382
+ readonly type: "array";
1383
+ readonly items: {
1384
+ readonly type: "number";
1385
+ readonly precision: 1;
1386
+ readonly default: number;
1387
+ };
1388
+ readonly minItems: 2;
1389
+ readonly maxItems: 2;
1390
+ readonly default: readonly [0, 0];
1391
+ };
1392
+ readonly compressiveFractureStrainStress: {
1393
+ readonly type: "array";
1394
+ readonly items: {
1395
+ readonly type: "number";
1396
+ readonly precision: 1;
1397
+ readonly default: number;
1398
+ };
1399
+ readonly minItems: 2;
1400
+ readonly maxItems: 2;
1401
+ readonly default: readonly [0, 0];
1402
+ };
1403
+ };
1404
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1405
+ };
1406
+ readonly baseColorFactor: {
1407
+ readonly type: "array";
1408
+ readonly items: {
1409
+ readonly type: "number";
1410
+ readonly precision: 1;
1411
+ readonly default: number;
1412
+ };
1413
+ readonly minItems: 4;
1414
+ readonly maxItems: 4;
1415
+ readonly default: readonly [0, 0, 0, 0];
1416
+ };
1417
+ readonly emissiveFactor: {
1418
+ readonly type: "array";
1419
+ readonly items: {
1420
+ readonly type: "number";
1421
+ readonly precision: 1;
1422
+ readonly default: number;
1423
+ };
1424
+ readonly minItems: 3;
1425
+ readonly maxItems: 3;
1426
+ readonly default: readonly [0, 0, 0];
1427
+ };
1428
+ readonly metallicFactor: {
1429
+ readonly type: "number";
1430
+ readonly precision: 1;
1431
+ readonly default: number;
1432
+ };
1433
+ readonly roughnessFactor: {
1434
+ readonly type: "number";
1435
+ readonly precision: 1;
1436
+ readonly default: number;
1437
+ };
1438
+ readonly normalScale: {
1439
+ readonly type: "number";
1440
+ readonly precision: 1;
1441
+ readonly default: number;
1442
+ };
1443
+ readonly occlusionStrength: {
1444
+ readonly type: "number";
1445
+ readonly precision: 1;
1446
+ readonly default: number;
1447
+ };
1448
+ readonly irReflectance: {
1449
+ readonly type: "number";
1450
+ readonly precision: 1;
1451
+ readonly default: number;
1452
+ };
1453
+ readonly irEmission: {
1454
+ readonly type: "number";
1455
+ readonly precision: 1;
1456
+ readonly default: number;
1457
+ };
1458
+ readonly emissionMode: {
1459
+ readonly type: "integer";
1460
+ readonly minimum: 0;
1461
+ readonly maximum: 4294967295;
1462
+ readonly default: number;
1463
+ };
1464
+ readonly baseColorUrl: {
1465
+ readonly type: "string";
1466
+ };
1467
+ readonly metallicRoughnessUrl: {
1468
+ readonly type: "string";
1469
+ };
1470
+ readonly normalUrl: {
1471
+ readonly type: "string";
1472
+ };
1473
+ readonly occlusionUrl: {
1474
+ readonly type: "string";
1475
+ };
1476
+ readonly emissiveUrl: {
1477
+ readonly type: "string";
1478
+ };
1479
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1480
+ 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"];
1481
+ }, {
1482
+ readonly materialByName: {
1483
+ readonly key: "name";
1484
+ readonly unique: true;
1485
+ readonly archetype: "Material";
1486
+ };
1487
+ }>) => void;
1488
+ } & {
1489
+ readonly insertGltfMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1490
+ readonly mesh: {
1491
+ readonly type: "integer";
1492
+ readonly minimum: -2147483648;
1493
+ readonly maximum: 2147483647;
1494
+ readonly default: number;
1495
+ };
1496
+ readonly gltfUrl: {
1497
+ readonly type: "string";
1498
+ };
1499
+ readonly shapeSpec: {
1500
+ readonly default: import("../../public.js").ShapeSpec | null;
1501
+ };
1502
+ readonly voxelVolumeSize: {
1503
+ readonly default: Vec3 | null;
1504
+ };
1505
+ readonly localBounds: {
1506
+ readonly default: {
1507
+ readonly min: readonly [number, number, number];
1508
+ readonly max: readonly [number, number, number];
1509
+ } | null;
1510
+ };
1511
+ readonly skinJointTemplate: {
1512
+ readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
1513
+ };
1514
+ readonly skinInverseBindMatrices: {
1515
+ readonly default: Float32Array | null;
1516
+ };
1517
+ readonly animationClipRefs: {
1518
+ readonly default: number[];
1519
+ };
1520
+ readonly cpuCollisionPositions: {
1521
+ readonly default: Float32Array | null;
1522
+ };
1523
+ readonly cpuCollisionIndices: {
1524
+ readonly default: Uint32Array | null;
1525
+ };
1526
+ readonly cpuSkin: {
1527
+ readonly default: {
1528
+ positions: Float32Array;
1529
+ joints: Uint32Array;
1530
+ weights: Float32Array;
1531
+ } | null;
1532
+ };
1533
+ } & {
1534
+ readonly visible: {
1535
+ readonly type: "boolean";
1536
+ readonly const: true;
1537
+ readonly default: true;
1538
+ };
1539
+ readonly position: {
1540
+ readonly type: "array";
1541
+ readonly items: {
1542
+ readonly type: "number";
1543
+ readonly precision: 1;
1544
+ readonly default: number;
1545
+ };
1546
+ readonly minItems: 3;
1547
+ readonly maxItems: 3;
1548
+ readonly default: readonly [0, 0, 0];
1549
+ };
1550
+ readonly rotation: {
1551
+ readonly type: "array";
1552
+ readonly items: {
1553
+ readonly type: "number";
1554
+ readonly precision: 1;
1555
+ readonly default: number;
1556
+ };
1557
+ readonly minItems: 4;
1558
+ readonly maxItems: 4;
1559
+ readonly default: readonly [0, 0, 0, 1];
1560
+ readonly interpolators: {
1561
+ readonly linear: (q1: any, q2: any, t: number) => any;
1562
+ };
1563
+ };
1564
+ readonly scale: {
1565
+ readonly type: "array";
1566
+ readonly items: {
1567
+ readonly type: "number";
1568
+ readonly precision: 1;
1569
+ readonly default: number;
1570
+ };
1571
+ readonly minItems: 3;
1572
+ readonly maxItems: 3;
1573
+ readonly default: readonly [0, 0, 0];
1574
+ };
1575
+ readonly parent: {
1576
+ readonly type: "integer";
1577
+ readonly minimum: -2147483648;
1578
+ readonly maximum: 2147483647;
1579
+ readonly default: number;
1580
+ };
1581
+ readonly _worldMatrix: {
1582
+ readonly nonPersistent: true;
1583
+ readonly type: "array";
1584
+ readonly items: {
1585
+ readonly type: "number";
1586
+ readonly precision: 1;
1587
+ readonly default: number;
1588
+ };
1589
+ readonly minItems: 16;
1590
+ readonly maxItems: 16;
1591
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1592
+ };
1593
+ readonly _worldBounds: {
1594
+ readonly nonPersistent: true;
1595
+ readonly type: "object";
1596
+ readonly properties: {
1597
+ readonly min: {
1598
+ readonly type: "array";
1599
+ readonly items: {
1600
+ readonly type: "number";
1601
+ readonly precision: 1;
1602
+ readonly default: number;
1603
+ };
1604
+ readonly minItems: 3;
1605
+ readonly maxItems: 3;
1606
+ readonly default: readonly [0, 0, 0];
1607
+ };
1608
+ readonly max: {
1609
+ readonly type: "array";
1610
+ readonly items: {
1611
+ readonly type: "number";
1612
+ readonly precision: 1;
1613
+ readonly default: number;
1614
+ };
1615
+ readonly minItems: 3;
1616
+ readonly maxItems: 3;
1617
+ readonly default: readonly [0, 0, 0];
1618
+ };
1619
+ };
1620
+ readonly required: readonly ["min", "max"];
1621
+ readonly additionalProperties: false;
1622
+ readonly default: {
1623
+ readonly min: readonly [0, 0, 0];
1624
+ readonly max: readonly [0, 0, 0];
1625
+ };
1626
+ };
1627
+ } & {} & {
1628
+ readonly material: {
1629
+ readonly type: "integer";
1630
+ readonly minimum: -2147483648;
1631
+ readonly maximum: 2147483647;
1632
+ readonly default: number;
1633
+ };
1634
+ readonly name: {
1635
+ readonly type: "string";
1636
+ };
1637
+ readonly density: {
1638
+ readonly type: "number";
1639
+ readonly precision: 1;
1640
+ readonly default: number;
1641
+ };
1642
+ readonly restitution: {
1643
+ readonly type: "number";
1644
+ readonly precision: 1;
1645
+ readonly default: number;
1646
+ };
1647
+ readonly friction: {
1648
+ readonly type: "number";
1649
+ readonly precision: 1;
1650
+ readonly default: number;
1651
+ };
1652
+ readonly compliance: {
1653
+ readonly type: "number";
1654
+ readonly precision: 1;
1655
+ readonly default: number;
1656
+ };
1657
+ readonly heatCapacity: {
1658
+ readonly type: "number";
1659
+ readonly precision: 1;
1660
+ readonly default: number;
1661
+ };
1662
+ readonly viscosity: {
1663
+ readonly type: "number";
1664
+ readonly precision: 1;
1665
+ readonly default: number;
1666
+ };
1667
+ readonly thermalConductivity: {
1668
+ readonly type: "number";
1669
+ readonly precision: 1;
1670
+ readonly default: number;
1671
+ };
1672
+ readonly stressStrainCurve: {
1673
+ readonly type: "object";
1674
+ readonly layout: "packed";
1675
+ readonly properties: {
1676
+ readonly tensileYieldStrainStress: {
1677
+ readonly type: "array";
1678
+ readonly items: {
1679
+ readonly type: "number";
1680
+ readonly precision: 1;
1681
+ readonly default: number;
1682
+ };
1683
+ readonly minItems: 2;
1684
+ readonly maxItems: 2;
1685
+ readonly default: readonly [0, 0];
1686
+ };
1687
+ readonly tensileFractureStrainStress: {
1688
+ readonly type: "array";
1689
+ readonly items: {
1690
+ readonly type: "number";
1691
+ readonly precision: 1;
1692
+ readonly default: number;
1693
+ };
1694
+ readonly minItems: 2;
1695
+ readonly maxItems: 2;
1696
+ readonly default: readonly [0, 0];
1697
+ };
1698
+ readonly compressiveYieldStrainStress: {
1699
+ readonly type: "array";
1700
+ readonly items: {
1701
+ readonly type: "number";
1702
+ readonly precision: 1;
1703
+ readonly default: number;
1704
+ };
1705
+ readonly minItems: 2;
1706
+ readonly maxItems: 2;
1707
+ readonly default: readonly [0, 0];
1708
+ };
1709
+ readonly compressiveFractureStrainStress: {
1710
+ readonly type: "array";
1711
+ readonly items: {
1712
+ readonly type: "number";
1713
+ readonly precision: 1;
1714
+ readonly default: number;
1715
+ };
1716
+ readonly minItems: 2;
1717
+ readonly maxItems: 2;
1718
+ readonly default: readonly [0, 0];
1719
+ };
1720
+ };
1721
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1722
+ };
1723
+ readonly baseColorFactor: {
1724
+ readonly type: "array";
1725
+ readonly items: {
1726
+ readonly type: "number";
1727
+ readonly precision: 1;
1728
+ readonly default: number;
1729
+ };
1730
+ readonly minItems: 4;
1731
+ readonly maxItems: 4;
1732
+ readonly default: readonly [0, 0, 0, 0];
1733
+ };
1734
+ readonly emissiveFactor: {
1735
+ readonly type: "array";
1736
+ readonly items: {
1737
+ readonly type: "number";
1738
+ readonly precision: 1;
1739
+ readonly default: number;
1740
+ };
1741
+ readonly minItems: 3;
1742
+ readonly maxItems: 3;
1743
+ readonly default: readonly [0, 0, 0];
1744
+ };
1745
+ readonly metallicFactor: {
1746
+ readonly type: "number";
1747
+ readonly precision: 1;
1748
+ readonly default: number;
1749
+ };
1750
+ readonly roughnessFactor: {
1751
+ readonly type: "number";
1752
+ readonly precision: 1;
1753
+ readonly default: number;
1754
+ };
1755
+ readonly normalScale: {
1756
+ readonly type: "number";
1757
+ readonly precision: 1;
1758
+ readonly default: number;
1759
+ };
1760
+ readonly occlusionStrength: {
1761
+ readonly type: "number";
1762
+ readonly precision: 1;
1763
+ readonly default: number;
1764
+ };
1765
+ readonly irReflectance: {
1766
+ readonly type: "number";
1767
+ readonly precision: 1;
1768
+ readonly default: number;
1769
+ };
1770
+ readonly irEmission: {
1771
+ readonly type: "number";
1772
+ readonly precision: 1;
1773
+ readonly default: number;
1774
+ };
1775
+ readonly emissionMode: {
1776
+ readonly type: "integer";
1777
+ readonly minimum: 0;
1778
+ readonly maximum: 4294967295;
1779
+ readonly default: number;
1780
+ };
1781
+ readonly baseColorUrl: {
1782
+ readonly type: "string";
1783
+ };
1784
+ readonly metallicRoughnessUrl: {
1785
+ readonly type: "string";
1786
+ };
1787
+ readonly normalUrl: {
1788
+ readonly type: "string";
1789
+ };
1790
+ readonly occlusionUrl: {
1791
+ readonly type: "string";
1792
+ };
1793
+ readonly emissiveUrl: {
1794
+ readonly type: "string";
1795
+ };
1796
+ }>, import("@adobe/data/schema").FromSchemas<{
1797
+ readonly _gltfMeshByUrl: {
1798
+ readonly default: Map<string, number> | null;
1799
+ readonly nonPersistent: true;
1800
+ };
1801
+ } & {}>, {
1802
+ readonly GltfMeshPending: readonly ["gltfUrl"];
1803
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
1804
+ readonly StaticMesh: readonly ["localBounds"];
1805
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
1806
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
1807
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
1808
+ } & {
1809
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1810
+ } & {} & {
1811
+ 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"];
1812
+ }, {} & {
1813
+ readonly nodeChildrenOf: {
1814
+ readonly key: "parent";
1815
+ readonly archetype: "Node";
1816
+ };
1817
+ } & {} & {
1818
+ readonly materialByName: {
1819
+ readonly key: "name";
1820
+ readonly unique: true;
1821
+ readonly archetype: "Material";
1822
+ };
1823
+ }>, args: {
1824
+ url: string;
1825
+ }) => number;
1826
+ readonly insertShapeMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1827
+ readonly mesh: {
1828
+ readonly type: "integer";
1829
+ readonly minimum: -2147483648;
1830
+ readonly maximum: 2147483647;
1831
+ readonly default: number;
1832
+ };
1833
+ readonly gltfUrl: {
1834
+ readonly type: "string";
1835
+ };
1836
+ readonly shapeSpec: {
1837
+ readonly default: import("../../public.js").ShapeSpec | null;
1838
+ };
1839
+ readonly voxelVolumeSize: {
1840
+ readonly default: Vec3 | null;
1841
+ };
1842
+ readonly localBounds: {
1843
+ readonly default: {
1844
+ readonly min: readonly [number, number, number];
1845
+ readonly max: readonly [number, number, number];
1846
+ } | null;
1847
+ };
1848
+ readonly skinJointTemplate: {
1849
+ readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
1850
+ };
1851
+ readonly skinInverseBindMatrices: {
1852
+ readonly default: Float32Array | null;
1853
+ };
1854
+ readonly animationClipRefs: {
1855
+ readonly default: number[];
1856
+ };
1857
+ readonly cpuCollisionPositions: {
1858
+ readonly default: Float32Array | null;
1859
+ };
1860
+ readonly cpuCollisionIndices: {
1861
+ readonly default: Uint32Array | null;
1862
+ };
1863
+ readonly cpuSkin: {
1864
+ readonly default: {
1865
+ positions: Float32Array;
1866
+ joints: Uint32Array;
1867
+ weights: Float32Array;
1868
+ } | null;
1869
+ };
1870
+ } & {
1871
+ readonly visible: {
1872
+ readonly type: "boolean";
1873
+ readonly const: true;
1874
+ readonly default: true;
1875
+ };
1876
+ readonly position: {
1877
+ readonly type: "array";
1878
+ readonly items: {
1879
+ readonly type: "number";
1880
+ readonly precision: 1;
1881
+ readonly default: number;
1882
+ };
1883
+ readonly minItems: 3;
1884
+ readonly maxItems: 3;
1885
+ readonly default: readonly [0, 0, 0];
1886
+ };
1887
+ readonly rotation: {
1888
+ readonly type: "array";
1889
+ readonly items: {
1890
+ readonly type: "number";
1891
+ readonly precision: 1;
1892
+ readonly default: number;
1893
+ };
1894
+ readonly minItems: 4;
1895
+ readonly maxItems: 4;
1896
+ readonly default: readonly [0, 0, 0, 1];
1897
+ readonly interpolators: {
1898
+ readonly linear: (q1: any, q2: any, t: number) => any;
1899
+ };
1900
+ };
1901
+ readonly scale: {
1902
+ readonly type: "array";
1903
+ readonly items: {
1904
+ readonly type: "number";
1905
+ readonly precision: 1;
1906
+ readonly default: number;
1907
+ };
1908
+ readonly minItems: 3;
1909
+ readonly maxItems: 3;
1910
+ readonly default: readonly [0, 0, 0];
1911
+ };
1912
+ readonly parent: {
1913
+ readonly type: "integer";
1914
+ readonly minimum: -2147483648;
1915
+ readonly maximum: 2147483647;
1916
+ readonly default: number;
1917
+ };
1918
+ readonly _worldMatrix: {
1919
+ readonly nonPersistent: true;
1920
+ readonly type: "array";
1921
+ readonly items: {
1922
+ readonly type: "number";
1923
+ readonly precision: 1;
1924
+ readonly default: number;
1925
+ };
1926
+ readonly minItems: 16;
1927
+ readonly maxItems: 16;
1928
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1929
+ };
1930
+ readonly _worldBounds: {
1931
+ readonly nonPersistent: true;
1932
+ readonly type: "object";
1933
+ readonly properties: {
1934
+ readonly min: {
1935
+ readonly type: "array";
1936
+ readonly items: {
1937
+ readonly type: "number";
1938
+ readonly precision: 1;
1939
+ readonly default: number;
1940
+ };
1941
+ readonly minItems: 3;
1942
+ readonly maxItems: 3;
1943
+ readonly default: readonly [0, 0, 0];
1944
+ };
1945
+ readonly max: {
1946
+ readonly type: "array";
1947
+ readonly items: {
1948
+ readonly type: "number";
1949
+ readonly precision: 1;
1950
+ readonly default: number;
1951
+ };
1952
+ readonly minItems: 3;
1953
+ readonly maxItems: 3;
1954
+ readonly default: readonly [0, 0, 0];
1955
+ };
1956
+ };
1957
+ readonly required: readonly ["min", "max"];
1958
+ readonly additionalProperties: false;
1959
+ readonly default: {
1960
+ readonly min: readonly [0, 0, 0];
1961
+ readonly max: readonly [0, 0, 0];
1962
+ };
1963
+ };
1964
+ } & {} & {
1965
+ readonly material: {
1966
+ readonly type: "integer";
1967
+ readonly minimum: -2147483648;
1968
+ readonly maximum: 2147483647;
1969
+ readonly default: number;
1970
+ };
1971
+ readonly name: {
1972
+ readonly type: "string";
1973
+ };
1974
+ readonly density: {
1975
+ readonly type: "number";
1976
+ readonly precision: 1;
1977
+ readonly default: number;
1978
+ };
1979
+ readonly restitution: {
1980
+ readonly type: "number";
1981
+ readonly precision: 1;
1982
+ readonly default: number;
1983
+ };
1984
+ readonly friction: {
1985
+ readonly type: "number";
1986
+ readonly precision: 1;
1987
+ readonly default: number;
1988
+ };
1989
+ readonly compliance: {
1990
+ readonly type: "number";
1991
+ readonly precision: 1;
1992
+ readonly default: number;
1993
+ };
1994
+ readonly heatCapacity: {
1995
+ readonly type: "number";
1996
+ readonly precision: 1;
1997
+ readonly default: number;
1998
+ };
1999
+ readonly viscosity: {
2000
+ readonly type: "number";
2001
+ readonly precision: 1;
2002
+ readonly default: number;
2003
+ };
2004
+ readonly thermalConductivity: {
2005
+ readonly type: "number";
2006
+ readonly precision: 1;
2007
+ readonly default: number;
2008
+ };
2009
+ readonly stressStrainCurve: {
2010
+ readonly type: "object";
2011
+ readonly layout: "packed";
2012
+ readonly properties: {
2013
+ readonly tensileYieldStrainStress: {
2014
+ readonly type: "array";
2015
+ readonly items: {
2016
+ readonly type: "number";
2017
+ readonly precision: 1;
2018
+ readonly default: number;
2019
+ };
2020
+ readonly minItems: 2;
2021
+ readonly maxItems: 2;
2022
+ readonly default: readonly [0, 0];
2023
+ };
2024
+ readonly tensileFractureStrainStress: {
2025
+ readonly type: "array";
2026
+ readonly items: {
2027
+ readonly type: "number";
2028
+ readonly precision: 1;
2029
+ readonly default: number;
2030
+ };
2031
+ readonly minItems: 2;
2032
+ readonly maxItems: 2;
2033
+ readonly default: readonly [0, 0];
2034
+ };
2035
+ readonly compressiveYieldStrainStress: {
2036
+ readonly type: "array";
2037
+ readonly items: {
2038
+ readonly type: "number";
2039
+ readonly precision: 1;
2040
+ readonly default: number;
2041
+ };
2042
+ readonly minItems: 2;
2043
+ readonly maxItems: 2;
2044
+ readonly default: readonly [0, 0];
2045
+ };
2046
+ readonly compressiveFractureStrainStress: {
2047
+ readonly type: "array";
2048
+ readonly items: {
2049
+ readonly type: "number";
2050
+ readonly precision: 1;
2051
+ readonly default: number;
2052
+ };
2053
+ readonly minItems: 2;
2054
+ readonly maxItems: 2;
2055
+ readonly default: readonly [0, 0];
2056
+ };
2057
+ };
2058
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2059
+ };
2060
+ readonly baseColorFactor: {
2061
+ readonly type: "array";
2062
+ readonly items: {
2063
+ readonly type: "number";
2064
+ readonly precision: 1;
2065
+ readonly default: number;
2066
+ };
2067
+ readonly minItems: 4;
2068
+ readonly maxItems: 4;
2069
+ readonly default: readonly [0, 0, 0, 0];
2070
+ };
2071
+ readonly emissiveFactor: {
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 metallicFactor: {
2083
+ readonly type: "number";
2084
+ readonly precision: 1;
2085
+ readonly default: number;
2086
+ };
2087
+ readonly roughnessFactor: {
2088
+ readonly type: "number";
2089
+ readonly precision: 1;
2090
+ readonly default: number;
2091
+ };
2092
+ readonly normalScale: {
2093
+ readonly type: "number";
2094
+ readonly precision: 1;
2095
+ readonly default: number;
2096
+ };
2097
+ readonly occlusionStrength: {
2098
+ readonly type: "number";
2099
+ readonly precision: 1;
2100
+ readonly default: number;
2101
+ };
2102
+ readonly irReflectance: {
2103
+ readonly type: "number";
2104
+ readonly precision: 1;
2105
+ readonly default: number;
2106
+ };
2107
+ readonly irEmission: {
2108
+ readonly type: "number";
2109
+ readonly precision: 1;
2110
+ readonly default: number;
2111
+ };
2112
+ readonly emissionMode: {
2113
+ readonly type: "integer";
2114
+ readonly minimum: 0;
2115
+ readonly maximum: 4294967295;
2116
+ readonly default: number;
2117
+ };
2118
+ readonly baseColorUrl: {
2119
+ readonly type: "string";
2120
+ };
2121
+ readonly metallicRoughnessUrl: {
2122
+ readonly type: "string";
2123
+ };
2124
+ readonly normalUrl: {
2125
+ readonly type: "string";
2126
+ };
2127
+ readonly occlusionUrl: {
2128
+ readonly type: "string";
2129
+ };
2130
+ readonly emissiveUrl: {
2131
+ readonly type: "string";
2132
+ };
2133
+ }>, import("@adobe/data/schema").FromSchemas<{
2134
+ readonly _gltfMeshByUrl: {
2135
+ readonly default: Map<string, number> | null;
2136
+ readonly nonPersistent: true;
2137
+ };
2138
+ } & {}>, {
2139
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2140
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2141
+ readonly StaticMesh: readonly ["localBounds"];
2142
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2143
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2144
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2145
+ } & {
2146
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2147
+ } & {} & {
2148
+ 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"];
2149
+ }, {} & {
2150
+ readonly nodeChildrenOf: {
2151
+ readonly key: "parent";
2152
+ readonly archetype: "Node";
2153
+ };
2154
+ } & {} & {
2155
+ readonly materialByName: {
2156
+ readonly key: "name";
2157
+ readonly unique: true;
2158
+ readonly archetype: "Material";
2159
+ };
2160
+ }>, args: {
2161
+ shapeSpec: import("../../public.js").ShapeSpec;
2162
+ }) => number;
2163
+ readonly insertMeshInstance: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2164
+ readonly mesh: {
2165
+ readonly type: "integer";
2166
+ readonly minimum: -2147483648;
2167
+ readonly maximum: 2147483647;
2168
+ readonly default: number;
2169
+ };
2170
+ readonly gltfUrl: {
2171
+ readonly type: "string";
2172
+ };
2173
+ readonly shapeSpec: {
2174
+ readonly default: import("../../public.js").ShapeSpec | null;
2175
+ };
2176
+ readonly voxelVolumeSize: {
2177
+ readonly default: Vec3 | null;
2178
+ };
2179
+ readonly localBounds: {
2180
+ readonly default: {
2181
+ readonly min: readonly [number, number, number];
2182
+ readonly max: readonly [number, number, number];
2183
+ } | null;
2184
+ };
2185
+ readonly skinJointTemplate: {
2186
+ readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
2187
+ };
2188
+ readonly skinInverseBindMatrices: {
2189
+ readonly default: Float32Array | null;
2190
+ };
2191
+ readonly animationClipRefs: {
2192
+ readonly default: number[];
2193
+ };
2194
+ readonly cpuCollisionPositions: {
2195
+ readonly default: Float32Array | null;
2196
+ };
2197
+ readonly cpuCollisionIndices: {
2198
+ readonly default: Uint32Array | null;
2199
+ };
2200
+ readonly cpuSkin: {
2201
+ readonly default: {
2202
+ positions: Float32Array;
2203
+ joints: Uint32Array;
2204
+ weights: Float32Array;
2205
+ } | null;
2206
+ };
2207
+ } & {
2208
+ readonly visible: {
2209
+ readonly type: "boolean";
2210
+ readonly const: true;
2211
+ readonly default: true;
2212
+ };
2213
+ readonly position: {
2214
+ readonly type: "array";
2215
+ readonly items: {
2216
+ readonly type: "number";
2217
+ readonly precision: 1;
2218
+ readonly default: number;
2219
+ };
2220
+ readonly minItems: 3;
2221
+ readonly maxItems: 3;
2222
+ readonly default: readonly [0, 0, 0];
2223
+ };
2224
+ readonly rotation: {
2225
+ readonly type: "array";
2226
+ readonly items: {
2227
+ readonly type: "number";
2228
+ readonly precision: 1;
2229
+ readonly default: number;
2230
+ };
2231
+ readonly minItems: 4;
2232
+ readonly maxItems: 4;
2233
+ readonly default: readonly [0, 0, 0, 1];
2234
+ readonly interpolators: {
2235
+ readonly linear: (q1: any, q2: any, t: number) => any;
2236
+ };
2237
+ };
2238
+ readonly scale: {
2239
+ readonly type: "array";
2240
+ readonly items: {
2241
+ readonly type: "number";
2242
+ readonly precision: 1;
2243
+ readonly default: number;
2244
+ };
2245
+ readonly minItems: 3;
2246
+ readonly maxItems: 3;
2247
+ readonly default: readonly [0, 0, 0];
2248
+ };
2249
+ readonly parent: {
2250
+ readonly type: "integer";
2251
+ readonly minimum: -2147483648;
2252
+ readonly maximum: 2147483647;
2253
+ readonly default: number;
2254
+ };
2255
+ readonly _worldMatrix: {
2256
+ readonly nonPersistent: true;
2257
+ readonly type: "array";
2258
+ readonly items: {
2259
+ readonly type: "number";
2260
+ readonly precision: 1;
2261
+ readonly default: number;
2262
+ };
2263
+ readonly minItems: 16;
2264
+ readonly maxItems: 16;
2265
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2266
+ };
2267
+ readonly _worldBounds: {
2268
+ readonly nonPersistent: true;
2269
+ readonly type: "object";
2270
+ readonly properties: {
2271
+ readonly min: {
2272
+ readonly type: "array";
2273
+ readonly items: {
2274
+ readonly type: "number";
2275
+ readonly precision: 1;
2276
+ readonly default: number;
2277
+ };
2278
+ readonly minItems: 3;
2279
+ readonly maxItems: 3;
2280
+ readonly default: readonly [0, 0, 0];
2281
+ };
2282
+ readonly max: {
2283
+ readonly type: "array";
2284
+ readonly items: {
2285
+ readonly type: "number";
2286
+ readonly precision: 1;
2287
+ readonly default: number;
2288
+ };
2289
+ readonly minItems: 3;
2290
+ readonly maxItems: 3;
2291
+ readonly default: readonly [0, 0, 0];
2292
+ };
2293
+ };
2294
+ readonly required: readonly ["min", "max"];
2295
+ readonly additionalProperties: false;
2296
+ readonly default: {
2297
+ readonly min: readonly [0, 0, 0];
2298
+ readonly max: readonly [0, 0, 0];
2299
+ };
2300
+ };
2301
+ } & {} & {
2302
+ readonly material: {
2303
+ readonly type: "integer";
2304
+ readonly minimum: -2147483648;
2305
+ readonly maximum: 2147483647;
2306
+ readonly default: number;
2307
+ };
2308
+ readonly name: {
2309
+ readonly type: "string";
2310
+ };
2311
+ readonly density: {
2312
+ readonly type: "number";
2313
+ readonly precision: 1;
2314
+ readonly default: number;
2315
+ };
2316
+ readonly restitution: {
2317
+ readonly type: "number";
2318
+ readonly precision: 1;
2319
+ readonly default: number;
2320
+ };
2321
+ readonly friction: {
2322
+ readonly type: "number";
2323
+ readonly precision: 1;
2324
+ readonly default: number;
2325
+ };
2326
+ readonly compliance: {
2327
+ readonly type: "number";
2328
+ readonly precision: 1;
2329
+ readonly default: number;
2330
+ };
2331
+ readonly heatCapacity: {
2332
+ readonly type: "number";
2333
+ readonly precision: 1;
2334
+ readonly default: number;
2335
+ };
2336
+ readonly viscosity: {
2337
+ readonly type: "number";
2338
+ readonly precision: 1;
2339
+ readonly default: number;
2340
+ };
2341
+ readonly thermalConductivity: {
2342
+ readonly type: "number";
2343
+ readonly precision: 1;
2344
+ readonly default: number;
2345
+ };
2346
+ readonly stressStrainCurve: {
2347
+ readonly type: "object";
2348
+ readonly layout: "packed";
2349
+ readonly properties: {
2350
+ readonly tensileYieldStrainStress: {
2351
+ readonly type: "array";
2352
+ readonly items: {
2353
+ readonly type: "number";
2354
+ readonly precision: 1;
2355
+ readonly default: number;
2356
+ };
2357
+ readonly minItems: 2;
2358
+ readonly maxItems: 2;
2359
+ readonly default: readonly [0, 0];
2360
+ };
2361
+ readonly tensileFractureStrainStress: {
2362
+ readonly type: "array";
2363
+ readonly items: {
2364
+ readonly type: "number";
2365
+ readonly precision: 1;
2366
+ readonly default: number;
2367
+ };
2368
+ readonly minItems: 2;
2369
+ readonly maxItems: 2;
2370
+ readonly default: readonly [0, 0];
2371
+ };
2372
+ readonly compressiveYieldStrainStress: {
2373
+ readonly type: "array";
2374
+ readonly items: {
2375
+ readonly type: "number";
2376
+ readonly precision: 1;
2377
+ readonly default: number;
2378
+ };
2379
+ readonly minItems: 2;
2380
+ readonly maxItems: 2;
2381
+ readonly default: readonly [0, 0];
2382
+ };
2383
+ readonly compressiveFractureStrainStress: {
2384
+ readonly type: "array";
2385
+ readonly items: {
2386
+ readonly type: "number";
2387
+ readonly precision: 1;
2388
+ readonly default: number;
2389
+ };
2390
+ readonly minItems: 2;
2391
+ readonly maxItems: 2;
2392
+ readonly default: readonly [0, 0];
2393
+ };
2394
+ };
2395
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2396
+ };
2397
+ readonly baseColorFactor: {
2398
+ readonly type: "array";
2399
+ readonly items: {
2400
+ readonly type: "number";
2401
+ readonly precision: 1;
2402
+ readonly default: number;
2403
+ };
2404
+ readonly minItems: 4;
2405
+ readonly maxItems: 4;
2406
+ readonly default: readonly [0, 0, 0, 0];
2407
+ };
2408
+ readonly emissiveFactor: {
2409
+ readonly type: "array";
2410
+ readonly items: {
2411
+ readonly type: "number";
2412
+ readonly precision: 1;
2413
+ readonly default: number;
2414
+ };
2415
+ readonly minItems: 3;
2416
+ readonly maxItems: 3;
2417
+ readonly default: readonly [0, 0, 0];
2418
+ };
2419
+ readonly metallicFactor: {
2420
+ readonly type: "number";
2421
+ readonly precision: 1;
2422
+ readonly default: number;
2423
+ };
2424
+ readonly roughnessFactor: {
2425
+ readonly type: "number";
2426
+ readonly precision: 1;
2427
+ readonly default: number;
2428
+ };
2429
+ readonly normalScale: {
2430
+ readonly type: "number";
2431
+ readonly precision: 1;
2432
+ readonly default: number;
2433
+ };
2434
+ readonly occlusionStrength: {
2435
+ readonly type: "number";
2436
+ readonly precision: 1;
2437
+ readonly default: number;
2438
+ };
2439
+ readonly irReflectance: {
2440
+ readonly type: "number";
2441
+ readonly precision: 1;
2442
+ readonly default: number;
2443
+ };
2444
+ readonly irEmission: {
2445
+ readonly type: "number";
2446
+ readonly precision: 1;
2447
+ readonly default: number;
2448
+ };
2449
+ readonly emissionMode: {
2450
+ readonly type: "integer";
2451
+ readonly minimum: 0;
2452
+ readonly maximum: 4294967295;
2453
+ readonly default: number;
2454
+ };
2455
+ readonly baseColorUrl: {
2456
+ readonly type: "string";
2457
+ };
2458
+ readonly metallicRoughnessUrl: {
2459
+ readonly type: "string";
2460
+ };
2461
+ readonly normalUrl: {
2462
+ readonly type: "string";
2463
+ };
2464
+ readonly occlusionUrl: {
2465
+ readonly type: "string";
2466
+ };
2467
+ readonly emissiveUrl: {
2468
+ readonly type: "string";
2469
+ };
2470
+ }>, import("@adobe/data/schema").FromSchemas<{
2471
+ readonly _gltfMeshByUrl: {
2472
+ readonly default: Map<string, number> | null;
2473
+ readonly nonPersistent: true;
2474
+ };
2475
+ } & {}>, {
2476
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2477
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2478
+ readonly StaticMesh: readonly ["localBounds"];
2479
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2480
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2481
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2482
+ } & {
2483
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2484
+ } & {} & {
2485
+ 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"];
2486
+ }, {} & {
2487
+ readonly nodeChildrenOf: {
2488
+ readonly key: "parent";
2489
+ readonly archetype: "Node";
2490
+ };
2491
+ } & {} & {
2492
+ readonly materialByName: {
2493
+ readonly key: "name";
2494
+ readonly unique: true;
2495
+ readonly archetype: "Material";
2496
+ };
2497
+ }>, args: {
2498
+ mesh: number;
2499
+ material: number;
2500
+ position?: Vec3;
2501
+ rotation?: import("@adobe/data/math").Quat;
2502
+ scale?: Vec3;
2503
+ }) => number;
2504
+ readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2505
+ readonly mesh: {
2506
+ readonly type: "integer";
2507
+ readonly minimum: -2147483648;
2508
+ readonly maximum: 2147483647;
2509
+ readonly default: number;
2510
+ };
2511
+ readonly gltfUrl: {
2512
+ readonly type: "string";
2513
+ };
2514
+ readonly shapeSpec: {
2515
+ readonly default: import("../../public.js").ShapeSpec | null;
2516
+ };
2517
+ readonly voxelVolumeSize: {
2518
+ readonly default: Vec3 | null;
2519
+ };
2520
+ readonly localBounds: {
2521
+ readonly default: {
2522
+ readonly min: readonly [number, number, number];
2523
+ readonly max: readonly [number, number, number];
2524
+ } | null;
2525
+ };
2526
+ readonly skinJointTemplate: {
2527
+ readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
2528
+ };
2529
+ readonly skinInverseBindMatrices: {
2530
+ readonly default: Float32Array | null;
2531
+ };
2532
+ readonly animationClipRefs: {
2533
+ readonly default: number[];
2534
+ };
2535
+ readonly cpuCollisionPositions: {
2536
+ readonly default: Float32Array | null;
2537
+ };
2538
+ readonly cpuCollisionIndices: {
2539
+ readonly default: Uint32Array | null;
2540
+ };
2541
+ readonly cpuSkin: {
2542
+ readonly default: {
2543
+ positions: Float32Array;
2544
+ joints: Uint32Array;
2545
+ weights: Float32Array;
2546
+ } | null;
2547
+ };
2548
+ } & {
2549
+ readonly visible: {
2550
+ readonly type: "boolean";
2551
+ readonly const: true;
2552
+ readonly default: true;
2553
+ };
2554
+ readonly position: {
2555
+ readonly type: "array";
2556
+ readonly items: {
2557
+ readonly type: "number";
2558
+ readonly precision: 1;
2559
+ readonly default: number;
2560
+ };
2561
+ readonly minItems: 3;
364
2562
  readonly maxItems: 3;
365
2563
  readonly default: readonly [0, 0, 0];
366
2564
  };
@@ -389,75 +2587,416 @@ export declare const pbrIblRender: {
389
2587
  readonly maxItems: 3;
390
2588
  readonly default: readonly [0, 0, 0];
391
2589
  };
392
- readonly parent: {
2590
+ readonly parent: {
2591
+ readonly type: "integer";
2592
+ readonly minimum: -2147483648;
2593
+ readonly maximum: 2147483647;
2594
+ readonly default: number;
2595
+ };
2596
+ readonly _worldMatrix: {
2597
+ readonly nonPersistent: true;
2598
+ readonly type: "array";
2599
+ readonly items: {
2600
+ readonly type: "number";
2601
+ readonly precision: 1;
2602
+ readonly default: number;
2603
+ };
2604
+ readonly minItems: 16;
2605
+ readonly maxItems: 16;
2606
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2607
+ };
2608
+ readonly _worldBounds: {
2609
+ readonly nonPersistent: true;
2610
+ readonly type: "object";
2611
+ readonly properties: {
2612
+ readonly min: {
2613
+ readonly type: "array";
2614
+ readonly items: {
2615
+ readonly type: "number";
2616
+ readonly precision: 1;
2617
+ readonly default: number;
2618
+ };
2619
+ readonly minItems: 3;
2620
+ readonly maxItems: 3;
2621
+ readonly default: readonly [0, 0, 0];
2622
+ };
2623
+ readonly max: {
2624
+ readonly type: "array";
2625
+ readonly items: {
2626
+ readonly type: "number";
2627
+ readonly precision: 1;
2628
+ readonly default: number;
2629
+ };
2630
+ readonly minItems: 3;
2631
+ readonly maxItems: 3;
2632
+ readonly default: readonly [0, 0, 0];
2633
+ };
2634
+ };
2635
+ readonly required: readonly ["min", "max"];
2636
+ readonly additionalProperties: false;
2637
+ readonly default: {
2638
+ readonly min: readonly [0, 0, 0];
2639
+ readonly max: readonly [0, 0, 0];
2640
+ };
2641
+ };
2642
+ } & {} & {
2643
+ readonly material: {
2644
+ readonly type: "integer";
2645
+ readonly minimum: -2147483648;
2646
+ readonly maximum: 2147483647;
2647
+ readonly default: number;
2648
+ };
2649
+ readonly name: {
2650
+ readonly type: "string";
2651
+ };
2652
+ readonly density: {
2653
+ readonly type: "number";
2654
+ readonly precision: 1;
2655
+ readonly default: number;
2656
+ };
2657
+ readonly restitution: {
2658
+ readonly type: "number";
2659
+ readonly precision: 1;
2660
+ readonly default: number;
2661
+ };
2662
+ readonly friction: {
2663
+ readonly type: "number";
2664
+ readonly precision: 1;
2665
+ readonly default: number;
2666
+ };
2667
+ readonly compliance: {
2668
+ readonly type: "number";
2669
+ readonly precision: 1;
2670
+ readonly default: number;
2671
+ };
2672
+ readonly heatCapacity: {
2673
+ readonly type: "number";
2674
+ readonly precision: 1;
2675
+ readonly default: number;
2676
+ };
2677
+ readonly viscosity: {
2678
+ readonly type: "number";
2679
+ readonly precision: 1;
2680
+ readonly default: number;
2681
+ };
2682
+ readonly thermalConductivity: {
2683
+ readonly type: "number";
2684
+ readonly precision: 1;
2685
+ readonly default: number;
2686
+ };
2687
+ readonly stressStrainCurve: {
2688
+ readonly type: "object";
2689
+ readonly layout: "packed";
2690
+ readonly properties: {
2691
+ readonly tensileYieldStrainStress: {
2692
+ readonly type: "array";
2693
+ readonly items: {
2694
+ readonly type: "number";
2695
+ readonly precision: 1;
2696
+ readonly default: number;
2697
+ };
2698
+ readonly minItems: 2;
2699
+ readonly maxItems: 2;
2700
+ readonly default: readonly [0, 0];
2701
+ };
2702
+ readonly tensileFractureStrainStress: {
2703
+ readonly type: "array";
2704
+ readonly items: {
2705
+ readonly type: "number";
2706
+ readonly precision: 1;
2707
+ readonly default: number;
2708
+ };
2709
+ readonly minItems: 2;
2710
+ readonly maxItems: 2;
2711
+ readonly default: readonly [0, 0];
2712
+ };
2713
+ readonly compressiveYieldStrainStress: {
2714
+ readonly type: "array";
2715
+ readonly items: {
2716
+ readonly type: "number";
2717
+ readonly precision: 1;
2718
+ readonly default: number;
2719
+ };
2720
+ readonly minItems: 2;
2721
+ readonly maxItems: 2;
2722
+ readonly default: readonly [0, 0];
2723
+ };
2724
+ readonly compressiveFractureStrainStress: {
2725
+ readonly type: "array";
2726
+ readonly items: {
2727
+ readonly type: "number";
2728
+ readonly precision: 1;
2729
+ readonly default: number;
2730
+ };
2731
+ readonly minItems: 2;
2732
+ readonly maxItems: 2;
2733
+ readonly default: readonly [0, 0];
2734
+ };
2735
+ };
2736
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2737
+ };
2738
+ readonly baseColorFactor: {
2739
+ readonly type: "array";
2740
+ readonly items: {
2741
+ readonly type: "number";
2742
+ readonly precision: 1;
2743
+ readonly default: number;
2744
+ };
2745
+ readonly minItems: 4;
2746
+ readonly maxItems: 4;
2747
+ readonly default: readonly [0, 0, 0, 0];
2748
+ };
2749
+ readonly emissiveFactor: {
2750
+ readonly type: "array";
2751
+ readonly items: {
2752
+ readonly type: "number";
2753
+ readonly precision: 1;
2754
+ readonly default: number;
2755
+ };
2756
+ readonly minItems: 3;
2757
+ readonly maxItems: 3;
2758
+ readonly default: readonly [0, 0, 0];
2759
+ };
2760
+ readonly metallicFactor: {
2761
+ readonly type: "number";
2762
+ readonly precision: 1;
2763
+ readonly default: number;
2764
+ };
2765
+ readonly roughnessFactor: {
2766
+ readonly type: "number";
2767
+ readonly precision: 1;
2768
+ readonly default: number;
2769
+ };
2770
+ readonly normalScale: {
2771
+ readonly type: "number";
2772
+ readonly precision: 1;
2773
+ readonly default: number;
2774
+ };
2775
+ readonly occlusionStrength: {
2776
+ readonly type: "number";
2777
+ readonly precision: 1;
2778
+ readonly default: number;
2779
+ };
2780
+ readonly irReflectance: {
2781
+ readonly type: "number";
2782
+ readonly precision: 1;
2783
+ readonly default: number;
2784
+ };
2785
+ readonly irEmission: {
2786
+ readonly type: "number";
2787
+ readonly precision: 1;
2788
+ readonly default: number;
2789
+ };
2790
+ readonly emissionMode: {
2791
+ readonly type: "integer";
2792
+ readonly minimum: 0;
2793
+ readonly maximum: 4294967295;
2794
+ readonly default: number;
2795
+ };
2796
+ readonly baseColorUrl: {
2797
+ readonly type: "string";
2798
+ };
2799
+ readonly metallicRoughnessUrl: {
2800
+ readonly type: "string";
2801
+ };
2802
+ readonly normalUrl: {
2803
+ readonly type: "string";
2804
+ };
2805
+ readonly occlusionUrl: {
2806
+ readonly type: "string";
2807
+ };
2808
+ readonly emissiveUrl: {
2809
+ readonly type: "string";
2810
+ };
2811
+ }>, import("@adobe/data/schema").FromSchemas<{
2812
+ readonly _gltfMeshByUrl: {
2813
+ readonly default: Map<string, number> | null;
2814
+ readonly nonPersistent: true;
2815
+ };
2816
+ } & {}>, {
2817
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2818
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2819
+ readonly StaticMesh: readonly ["localBounds"];
2820
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2821
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2822
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2823
+ } & {
2824
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2825
+ } & {} & {
2826
+ 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"];
2827
+ }, {} & {
2828
+ readonly nodeChildrenOf: {
2829
+ readonly key: "parent";
2830
+ readonly archetype: "Node";
2831
+ };
2832
+ } & {} & {
2833
+ readonly materialByName: {
2834
+ readonly key: "name";
2835
+ readonly unique: true;
2836
+ readonly archetype: "Material";
2837
+ };
2838
+ }>, args: {
2839
+ mesh: number;
2840
+ position?: Vec3;
2841
+ rotation?: import("@adobe/data/math").Quat;
2842
+ scale?: Vec3;
2843
+ parent?: number;
2844
+ }) => number;
2845
+ } & {} & {
2846
+ readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
2847
+ readonly animationClipTracks: {
2848
+ readonly default: import("../../animation/animation-track/public.js")[];
2849
+ };
2850
+ readonly animationClipDuration: {
2851
+ readonly type: "number";
2852
+ readonly precision: 2;
2853
+ readonly default: number;
2854
+ };
2855
+ readonly animationClipRef: {
2856
+ readonly type: "integer";
2857
+ readonly minimum: -2147483648;
2858
+ readonly maximum: 2147483647;
2859
+ readonly default: number;
2860
+ };
2861
+ readonly animationTargets: {
2862
+ readonly default: number[];
2863
+ };
2864
+ readonly animationTime: {
2865
+ readonly type: "number";
2866
+ readonly precision: 2;
2867
+ readonly default: number;
2868
+ };
2869
+ readonly animationSpeed: {
2870
+ readonly default: 1;
2871
+ readonly type: "number";
2872
+ readonly precision: 1;
2873
+ };
2874
+ readonly animationLoop: {
2875
+ readonly type: "boolean";
2876
+ readonly default: boolean;
2877
+ };
2878
+ readonly animationPlaying: {
2879
+ readonly type: "boolean";
2880
+ readonly default: boolean;
2881
+ };
2882
+ readonly animationObservable: {
2883
+ readonly type: "boolean";
2884
+ readonly const: true;
2885
+ readonly default: true;
2886
+ };
2887
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
2888
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
2889
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
2890
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2891
+ }, {} & {}>, args: {
2892
+ tracks: import("../../animation/animation-track/public.js")[];
2893
+ duration: number;
2894
+ }) => number;
2895
+ readonly insertAnimation: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
2896
+ readonly animationClipTracks: {
2897
+ readonly default: import("../../animation/animation-track/public.js")[];
2898
+ };
2899
+ readonly animationClipDuration: {
2900
+ readonly type: "number";
2901
+ readonly precision: 2;
2902
+ readonly default: number;
2903
+ };
2904
+ readonly animationClipRef: {
393
2905
  readonly type: "integer";
394
2906
  readonly minimum: -2147483648;
395
2907
  readonly maximum: 2147483647;
396
2908
  readonly default: number;
397
2909
  };
398
- readonly _worldMatrix: {
399
- readonly type: "array";
400
- readonly items: {
401
- readonly type: "number";
402
- readonly precision: 1;
403
- readonly default: number;
404
- };
405
- readonly minItems: 16;
406
- readonly maxItems: 16;
407
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2910
+ readonly animationTargets: {
2911
+ readonly default: number[];
408
2912
  };
409
- readonly _worldBounds: {
410
- readonly type: "object";
411
- readonly properties: {
412
- readonly min: {
413
- readonly type: "array";
414
- readonly items: {
415
- readonly type: "number";
416
- readonly precision: 1;
417
- readonly default: number;
418
- };
419
- readonly minItems: 3;
420
- readonly maxItems: 3;
421
- readonly default: readonly [0, 0, 0];
422
- };
423
- readonly max: {
424
- readonly type: "array";
425
- readonly items: {
426
- readonly type: "number";
427
- readonly precision: 1;
428
- readonly default: number;
429
- };
430
- readonly minItems: 3;
431
- readonly maxItems: 3;
432
- readonly default: readonly [0, 0, 0];
433
- };
434
- };
435
- readonly required: readonly ["min", "max"];
436
- readonly additionalProperties: false;
437
- readonly default: {
438
- readonly min: readonly [0, 0, 0];
439
- readonly max: readonly [0, 0, 0];
440
- };
2913
+ readonly animationTime: {
2914
+ readonly type: "number";
2915
+ readonly precision: 2;
2916
+ readonly default: number;
441
2917
  };
442
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
443
- readonly Geometry: readonly ["modelUrl"];
444
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
445
- } & {
446
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
447
- } & {}, {} & {} & {}>, args: {
448
- modelUrl: string;
2918
+ readonly animationSpeed: {
2919
+ readonly default: 1;
2920
+ readonly type: "number";
2921
+ readonly precision: 1;
2922
+ };
2923
+ readonly animationLoop: {
2924
+ readonly type: "boolean";
2925
+ readonly default: boolean;
2926
+ };
2927
+ readonly animationPlaying: {
2928
+ readonly type: "boolean";
2929
+ readonly default: boolean;
2930
+ };
2931
+ readonly animationObservable: {
2932
+ readonly type: "boolean";
2933
+ readonly const: true;
2934
+ readonly default: true;
2935
+ };
2936
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
2937
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
2938
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
2939
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2940
+ }, {} & {}>, args: {
2941
+ animationClipRef: number;
2942
+ animationTargets: number[];
2943
+ animationTime?: number;
2944
+ animationSpeed?: number;
2945
+ animationLoop?: boolean;
2946
+ animationPlaying?: boolean;
2947
+ observable?: boolean;
449
2948
  }) => number;
450
- readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
451
- readonly modelUrl: {
452
- readonly type: "string";
2949
+ readonly advanceAnimations: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
2950
+ readonly animationClipTracks: {
2951
+ readonly default: import("../../animation/animation-track/public.js")[];
2952
+ };
2953
+ readonly animationClipDuration: {
2954
+ readonly type: "number";
2955
+ readonly precision: 2;
2956
+ readonly default: number;
453
2957
  };
454
- readonly geometry: {
2958
+ readonly animationClipRef: {
455
2959
  readonly type: "integer";
456
2960
  readonly minimum: -2147483648;
457
2961
  readonly maximum: 2147483647;
458
2962
  readonly default: number;
459
2963
  };
460
- } & {
2964
+ readonly animationTargets: {
2965
+ readonly default: number[];
2966
+ };
2967
+ readonly animationTime: {
2968
+ readonly type: "number";
2969
+ readonly precision: 2;
2970
+ readonly default: number;
2971
+ };
2972
+ readonly animationSpeed: {
2973
+ readonly default: 1;
2974
+ readonly type: "number";
2975
+ readonly precision: 1;
2976
+ };
2977
+ readonly animationLoop: {
2978
+ readonly type: "boolean";
2979
+ readonly default: boolean;
2980
+ };
2981
+ readonly animationPlaying: {
2982
+ readonly type: "boolean";
2983
+ readonly default: boolean;
2984
+ };
2985
+ readonly animationObservable: {
2986
+ readonly type: "boolean";
2987
+ readonly const: true;
2988
+ readonly default: true;
2989
+ };
2990
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
2991
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
2992
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
2993
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2994
+ }, {}>, args: {
2995
+ dt: number;
2996
+ observable: boolean;
2997
+ }) => void;
2998
+ } & {} & {
2999
+ readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
461
3000
  readonly visible: {
462
3001
  readonly type: "boolean";
463
3002
  readonly const: true;
@@ -506,6 +3045,7 @@ export declare const pbrIblRender: {
506
3045
  readonly default: number;
507
3046
  };
508
3047
  readonly _worldMatrix: {
3048
+ readonly nonPersistent: true;
509
3049
  readonly type: "array";
510
3050
  readonly items: {
511
3051
  readonly type: "number";
@@ -517,6 +3057,7 @@ export declare const pbrIblRender: {
517
3057
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
518
3058
  };
519
3059
  readonly _worldBounds: {
3060
+ readonly nonPersistent: true;
520
3061
  readonly type: "object";
521
3062
  readonly properties: {
522
3063
  readonly min: {
@@ -549,206 +3090,234 @@ export declare const pbrIblRender: {
549
3090
  readonly max: readonly [0, 0, 0];
550
3091
  };
551
3092
  };
552
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
553
- readonly Geometry: readonly ["modelUrl"];
554
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
555
3093
  } & {
556
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
557
- } & {}, {} & {} & {}>, args: {
558
- geometry: number;
559
- position?: Vec3;
560
- rotation?: import("@adobe/data/math").Quat;
561
- scale?: Vec3;
562
- parent?: number;
563
- }) => number;
564
- } & {} & {} & {} & {
565
- readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
566
- readonly animationClipTracks: {
567
- readonly default: import("../../animation/animation-track/public.js")[];
3094
+ readonly material: {
3095
+ readonly type: "integer";
3096
+ readonly minimum: -2147483648;
3097
+ readonly maximum: 2147483647;
3098
+ readonly default: number;
568
3099
  };
569
- readonly animationClipDuration: {
3100
+ readonly name: {
3101
+ readonly type: "string";
3102
+ };
3103
+ readonly density: {
570
3104
  readonly type: "number";
571
- readonly precision: 2;
3105
+ readonly precision: 1;
572
3106
  readonly default: number;
573
3107
  };
574
- readonly animationClipRef: {
575
- readonly type: "integer";
576
- readonly minimum: -2147483648;
577
- readonly maximum: 2147483647;
3108
+ readonly restitution: {
3109
+ readonly type: "number";
3110
+ readonly precision: 1;
578
3111
  readonly default: number;
579
3112
  };
580
- readonly animationTargets: {
581
- readonly default: number[];
3113
+ readonly friction: {
3114
+ readonly type: "number";
3115
+ readonly precision: 1;
3116
+ readonly default: number;
582
3117
  };
583
- readonly animationTime: {
3118
+ readonly compliance: {
584
3119
  readonly type: "number";
585
- readonly precision: 2;
3120
+ readonly precision: 1;
586
3121
  readonly default: number;
587
3122
  };
588
- readonly animationSpeed: {
589
- readonly default: 1;
3123
+ readonly heatCapacity: {
590
3124
  readonly type: "number";
591
3125
  readonly precision: 1;
3126
+ readonly default: number;
592
3127
  };
593
- readonly animationLoop: {
594
- readonly type: "boolean";
3128
+ readonly viscosity: {
3129
+ readonly type: "number";
3130
+ readonly precision: 1;
3131
+ readonly default: number;
595
3132
  };
596
- readonly animationPlaying: {
597
- readonly type: "boolean";
3133
+ readonly thermalConductivity: {
3134
+ readonly type: "number";
3135
+ readonly precision: 1;
3136
+ readonly default: number;
598
3137
  };
599
- readonly animationObservable: {
600
- readonly type: "boolean";
601
- readonly const: true;
602
- readonly default: true;
3138
+ readonly stressStrainCurve: {
3139
+ readonly type: "object";
3140
+ readonly layout: "packed";
3141
+ readonly properties: {
3142
+ readonly tensileYieldStrainStress: {
3143
+ readonly type: "array";
3144
+ readonly items: {
3145
+ readonly type: "number";
3146
+ readonly precision: 1;
3147
+ readonly default: number;
3148
+ };
3149
+ readonly minItems: 2;
3150
+ readonly maxItems: 2;
3151
+ readonly default: readonly [0, 0];
3152
+ };
3153
+ readonly tensileFractureStrainStress: {
3154
+ readonly type: "array";
3155
+ readonly items: {
3156
+ readonly type: "number";
3157
+ readonly precision: 1;
3158
+ readonly default: number;
3159
+ };
3160
+ readonly minItems: 2;
3161
+ readonly maxItems: 2;
3162
+ readonly default: readonly [0, 0];
3163
+ };
3164
+ readonly compressiveYieldStrainStress: {
3165
+ readonly type: "array";
3166
+ readonly items: {
3167
+ readonly type: "number";
3168
+ readonly precision: 1;
3169
+ readonly default: number;
3170
+ };
3171
+ readonly minItems: 2;
3172
+ readonly maxItems: 2;
3173
+ readonly default: readonly [0, 0];
3174
+ };
3175
+ readonly compressiveFractureStrainStress: {
3176
+ readonly type: "array";
3177
+ readonly items: {
3178
+ readonly type: "number";
3179
+ readonly precision: 1;
3180
+ readonly default: number;
3181
+ };
3182
+ readonly minItems: 2;
3183
+ readonly maxItems: 2;
3184
+ readonly default: readonly [0, 0];
3185
+ };
3186
+ };
3187
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
603
3188
  };
604
- }>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
605
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
606
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
607
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
608
- }, {} & {}>, args: {
609
- tracks: import("../../animation/animation-track/public.js")[];
610
- duration: number;
611
- }) => number;
612
- readonly insertAnimation: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
613
- readonly animationClipTracks: {
614
- readonly default: import("../../animation/animation-track/public.js")[];
3189
+ readonly baseColorFactor: {
3190
+ readonly type: "array";
3191
+ readonly items: {
3192
+ readonly type: "number";
3193
+ readonly precision: 1;
3194
+ readonly default: number;
3195
+ };
3196
+ readonly minItems: 4;
3197
+ readonly maxItems: 4;
3198
+ readonly default: readonly [0, 0, 0, 0];
615
3199
  };
616
- readonly animationClipDuration: {
3200
+ readonly emissiveFactor: {
3201
+ readonly type: "array";
3202
+ readonly items: {
3203
+ readonly type: "number";
3204
+ readonly precision: 1;
3205
+ readonly default: number;
3206
+ };
3207
+ readonly minItems: 3;
3208
+ readonly maxItems: 3;
3209
+ readonly default: readonly [0, 0, 0];
3210
+ };
3211
+ readonly metallicFactor: {
617
3212
  readonly type: "number";
618
- readonly precision: 2;
3213
+ readonly precision: 1;
619
3214
  readonly default: number;
620
3215
  };
621
- readonly animationClipRef: {
622
- readonly type: "integer";
623
- readonly minimum: -2147483648;
624
- readonly maximum: 2147483647;
3216
+ readonly roughnessFactor: {
3217
+ readonly type: "number";
3218
+ readonly precision: 1;
3219
+ readonly default: number;
3220
+ };
3221
+ readonly normalScale: {
3222
+ readonly type: "number";
3223
+ readonly precision: 1;
3224
+ readonly default: number;
3225
+ };
3226
+ readonly occlusionStrength: {
3227
+ readonly type: "number";
3228
+ readonly precision: 1;
625
3229
  readonly default: number;
626
3230
  };
627
- readonly animationTargets: {
628
- readonly default: number[];
629
- };
630
- readonly animationTime: {
3231
+ readonly irReflectance: {
631
3232
  readonly type: "number";
632
- readonly precision: 2;
3233
+ readonly precision: 1;
633
3234
  readonly default: number;
634
3235
  };
635
- readonly animationSpeed: {
636
- readonly default: 1;
3236
+ readonly irEmission: {
637
3237
  readonly type: "number";
638
3238
  readonly precision: 1;
3239
+ readonly default: number;
639
3240
  };
640
- readonly animationLoop: {
641
- readonly type: "boolean";
3241
+ readonly emissionMode: {
3242
+ readonly type: "integer";
3243
+ readonly minimum: 0;
3244
+ readonly maximum: 4294967295;
3245
+ readonly default: number;
642
3246
  };
643
- readonly animationPlaying: {
644
- readonly type: "boolean";
3247
+ readonly baseColorUrl: {
3248
+ readonly type: "string";
645
3249
  };
646
- readonly animationObservable: {
647
- readonly type: "boolean";
648
- readonly const: true;
649
- readonly default: true;
3250
+ readonly metallicRoughnessUrl: {
3251
+ readonly type: "string";
650
3252
  };
651
- }>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
652
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
653
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
654
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
655
- }, {} & {}>, args: {
656
- animationClipRef: number;
657
- animationTargets: number[];
658
- animationTime?: number;
659
- animationSpeed?: number;
660
- animationLoop?: boolean;
661
- animationPlaying?: boolean;
662
- observable?: boolean;
663
- }) => number;
664
- readonly advanceAnimations: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
665
- readonly animationClipTracks: {
666
- readonly default: import("../../animation/animation-track/public.js")[];
3253
+ readonly normalUrl: {
3254
+ readonly type: "string";
667
3255
  };
668
- readonly animationClipDuration: {
669
- readonly type: "number";
670
- readonly precision: 2;
671
- readonly default: number;
3256
+ readonly occlusionUrl: {
3257
+ readonly type: "string";
672
3258
  };
673
- readonly animationClipRef: {
3259
+ readonly emissiveUrl: {
3260
+ readonly type: "string";
3261
+ };
3262
+ } & {
3263
+ readonly mesh: {
674
3264
  readonly type: "integer";
675
3265
  readonly minimum: -2147483648;
676
3266
  readonly maximum: 2147483647;
677
3267
  readonly default: number;
678
3268
  };
679
- readonly animationTargets: {
680
- readonly default: number[];
681
- };
682
- readonly animationTime: {
683
- readonly type: "number";
684
- readonly precision: 2;
685
- readonly default: number;
686
- };
687
- readonly animationSpeed: {
688
- readonly default: 1;
689
- readonly type: "number";
690
- readonly precision: 1;
691
- };
692
- readonly animationLoop: {
693
- readonly type: "boolean";
3269
+ readonly gltfUrl: {
3270
+ readonly type: "string";
694
3271
  };
695
- readonly animationPlaying: {
696
- readonly type: "boolean";
3272
+ readonly shapeSpec: {
3273
+ readonly default: import("../../public.js").ShapeSpec | null;
697
3274
  };
698
- readonly animationObservable: {
699
- readonly type: "boolean";
700
- readonly const: true;
701
- readonly default: true;
3275
+ readonly voxelVolumeSize: {
3276
+ readonly default: Vec3 | null;
702
3277
  };
703
- }>, import("@adobe/data/schema").FromSchemas<{}>, {
704
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
705
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
706
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
707
- }, {}>, args: {
708
- dt: number;
709
- observable: boolean;
710
- }) => void;
711
- } & {} & {
712
- readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
713
- readonly _bounds: {
3278
+ readonly localBounds: {
714
3279
  readonly default: {
715
3280
  readonly min: readonly [number, number, number];
716
3281
  readonly max: readonly [number, number, number];
717
3282
  } | null;
718
3283
  };
719
- readonly _skinJointTemplate: {
3284
+ readonly skinJointTemplate: {
720
3285
  readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
721
3286
  };
722
- readonly _skinInverseBindMatrices: {
3287
+ readonly skinInverseBindMatrices: {
723
3288
  readonly default: Float32Array | null;
724
3289
  };
725
- readonly _animationClipRefs: {
3290
+ readonly animationClipRefs: {
726
3291
  readonly default: number[];
727
3292
  };
728
- readonly _cpuPositions: {
3293
+ readonly cpuCollisionPositions: {
729
3294
  readonly default: Float32Array | null;
730
3295
  };
731
- readonly _cpuIndices: {
3296
+ readonly cpuCollisionIndices: {
732
3297
  readonly default: Uint32Array | null;
733
3298
  };
734
- readonly _cpuSkin: {
3299
+ readonly cpuSkin: {
735
3300
  readonly default: {
736
3301
  positions: Float32Array;
737
3302
  joints: Uint32Array;
738
3303
  weights: Float32Array;
739
3304
  } | null;
740
3305
  };
741
- } & {} & {
3306
+ } & {
742
3307
  readonly _vertexBuffer: {
743
3308
  readonly default: GPUBuffer | null;
3309
+ readonly nonPersistent: true;
744
3310
  };
745
3311
  readonly _skinVertexBuffer: {
746
3312
  readonly default: GPUBuffer | null;
3313
+ readonly nonPersistent: true;
747
3314
  };
748
3315
  readonly _indexBuffer: {
749
3316
  readonly default: GPUBuffer | null;
3317
+ readonly nonPersistent: true;
750
3318
  };
751
3319
  readonly _indexCount: {
3320
+ readonly nonPersistent: true;
752
3321
  readonly type: "integer";
753
3322
  readonly minimum: 0;
754
3323
  readonly maximum: 4294967295;
@@ -756,23 +3325,28 @@ export declare const pbrIblRender: {
756
3325
  };
757
3326
  readonly _indexFormat: {
758
3327
  readonly default: GPUIndexFormat;
3328
+ readonly nonPersistent: true;
759
3329
  };
760
3330
  readonly _materialBindGroup: {
761
3331
  readonly default: GPUBindGroup | null;
3332
+ readonly nonPersistent: true;
762
3333
  };
763
- readonly _geometry: {
3334
+ readonly _mesh: {
3335
+ readonly nonPersistent: true;
764
3336
  readonly type: "integer";
765
3337
  readonly minimum: -2147483648;
766
3338
  readonly maximum: 2147483647;
767
3339
  readonly default: number;
768
3340
  };
769
3341
  readonly _material: {
3342
+ readonly nonPersistent: true;
770
3343
  readonly type: "integer";
771
3344
  readonly minimum: -2147483648;
772
3345
  readonly maximum: 2147483647;
773
3346
  readonly default: number;
774
3347
  };
775
3348
  readonly _nodeLocalMatrix: {
3349
+ readonly nonPersistent: true;
776
3350
  readonly type: "array";
777
3351
  readonly items: {
778
3352
  readonly type: "number";
@@ -784,6 +3358,7 @@ export declare const pbrIblRender: {
784
3358
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
785
3359
  };
786
3360
  readonly _skeletonModelRef: {
3361
+ readonly nonPersistent: true;
787
3362
  readonly type: "integer";
788
3363
  readonly minimum: -2147483648;
789
3364
  readonly maximum: 2147483647;
@@ -791,108 +3366,7 @@ export declare const pbrIblRender: {
791
3366
  };
792
3367
  readonly _skeletonJointMatrixBindGroup: {
793
3368
  readonly default: GPUBindGroup | null;
794
- };
795
- } & {
796
- readonly visible: {
797
- readonly type: "boolean";
798
- readonly const: true;
799
- readonly default: true;
800
- };
801
- readonly position: {
802
- readonly type: "array";
803
- readonly items: {
804
- readonly type: "number";
805
- readonly precision: 1;
806
- readonly default: number;
807
- };
808
- readonly minItems: 3;
809
- readonly maxItems: 3;
810
- readonly default: readonly [0, 0, 0];
811
- };
812
- readonly rotation: {
813
- readonly type: "array";
814
- readonly items: {
815
- readonly type: "number";
816
- readonly precision: 1;
817
- readonly default: number;
818
- };
819
- readonly minItems: 4;
820
- readonly maxItems: 4;
821
- readonly default: readonly [0, 0, 0, 1];
822
- readonly interpolators: {
823
- readonly linear: (q1: any, q2: any, t: number) => any;
824
- };
825
- };
826
- readonly scale: {
827
- readonly type: "array";
828
- readonly items: {
829
- readonly type: "number";
830
- readonly precision: 1;
831
- readonly default: number;
832
- };
833
- readonly minItems: 3;
834
- readonly maxItems: 3;
835
- readonly default: readonly [0, 0, 0];
836
- };
837
- readonly parent: {
838
- readonly type: "integer";
839
- readonly minimum: -2147483648;
840
- readonly maximum: 2147483647;
841
- readonly default: number;
842
- };
843
- readonly _worldMatrix: {
844
- readonly type: "array";
845
- readonly items: {
846
- readonly type: "number";
847
- readonly precision: 1;
848
- readonly default: number;
849
- };
850
- readonly minItems: 16;
851
- readonly maxItems: 16;
852
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
853
- };
854
- readonly _worldBounds: {
855
- readonly type: "object";
856
- readonly properties: {
857
- readonly min: {
858
- readonly type: "array";
859
- readonly items: {
860
- readonly type: "number";
861
- readonly precision: 1;
862
- readonly default: number;
863
- };
864
- readonly minItems: 3;
865
- readonly maxItems: 3;
866
- readonly default: readonly [0, 0, 0];
867
- };
868
- readonly max: {
869
- readonly type: "array";
870
- readonly items: {
871
- readonly type: "number";
872
- readonly precision: 1;
873
- readonly default: number;
874
- };
875
- readonly minItems: 3;
876
- readonly maxItems: 3;
877
- readonly default: readonly [0, 0, 0];
878
- };
879
- };
880
- readonly required: readonly ["min", "max"];
881
- readonly additionalProperties: false;
882
- readonly default: {
883
- readonly min: readonly [0, 0, 0];
884
- readonly max: readonly [0, 0, 0];
885
- };
886
- };
887
- } & {
888
- readonly modelUrl: {
889
- readonly type: "string";
890
- };
891
- readonly geometry: {
892
- readonly type: "integer";
893
- readonly minimum: -2147483648;
894
- readonly maximum: 2147483647;
895
- readonly default: number;
3369
+ readonly nonPersistent: true;
896
3370
  };
897
3371
  } & {
898
3372
  readonly animationClipTracks: {
@@ -924,9 +3398,11 @@ export declare const pbrIblRender: {
924
3398
  };
925
3399
  readonly animationLoop: {
926
3400
  readonly type: "boolean";
3401
+ readonly default: boolean;
927
3402
  };
928
3403
  readonly animationPlaying: {
929
3404
  readonly type: "boolean";
3405
+ readonly default: boolean;
930
3406
  };
931
3407
  readonly animationObservable: {
932
3408
  readonly type: "boolean";
@@ -934,6 +3410,11 @@ export declare const pbrIblRender: {
934
3410
  readonly default: true;
935
3411
  };
936
3412
  }>, import("@adobe/data/schema").FromSchemas<{} & {
3413
+ readonly _gltfMeshByUrl: {
3414
+ readonly default: Map<string, number> | null;
3415
+ readonly nonPersistent: true;
3416
+ };
3417
+ } & {
937
3418
  readonly frameTime: {
938
3419
  readonly default: import("../../../core/frame-time/public.js");
939
3420
  readonly nonPersistent: true;
@@ -952,77 +3433,50 @@ export declare const pbrIblRender: {
952
3433
  readonly nonPersistent: true;
953
3434
  };
954
3435
  }>, {} & {} & {
955
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
956
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
957
- } & {
958
3436
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
959
3437
  } & {} & {
960
- readonly Geometry: readonly ["modelUrl"];
961
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
3438
+ 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"];
3439
+ } & {
3440
+ readonly GltfMeshPending: readonly ["gltfUrl"];
3441
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
3442
+ readonly StaticMesh: readonly ["localBounds"];
3443
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
3444
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
3445
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
3446
+ } & {
3447
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3448
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
962
3449
  } & {
963
3450
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
964
3451
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
965
3452
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
966
- } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
967
- } & {
968
- readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
969
- readonly renderPassEncoder: {
970
- readonly default: GPURenderPassEncoder | null;
971
- readonly nonPersistent: true;
972
- };
973
- readonly depthTexture: {
974
- readonly default: GPUTexture | null;
975
- readonly nonPersistent: true;
976
- };
977
- readonly clearColor: {
978
- readonly default: readonly [number, number, number, number];
979
- readonly nonPersistent: true;
980
- };
981
- readonly canvas: {
982
- readonly default: HTMLCanvasElement | null;
983
- readonly nonPersistent: true;
984
- };
985
- readonly canvasContext: {
986
- readonly default: GPUCanvasContext | null;
987
- readonly nonPersistent: true;
988
- };
989
- readonly canvasFormat: {
990
- readonly default: GPUTextureFormat;
991
- readonly nonPersistent: true;
992
- };
993
- readonly depthFormat: {
994
- readonly default: GPUTextureFormat;
995
- readonly nonPersistent: true;
996
- };
997
- } & {
998
- readonly frameTime: {
999
- readonly default: import("../../../core/frame-time/public.js");
1000
- readonly nonPersistent: true;
1001
- };
1002
- } & {
1003
- readonly schedulerState: {
1004
- readonly default: import("@adobe/data/ecs").SchedulerState;
1005
- };
1006
- } & {
1007
- readonly device: {
1008
- readonly default: GPUDevice | null;
1009
- readonly nonPersistent: true;
1010
- };
1011
- readonly commandEncoder: {
1012
- readonly default: GPUCommandEncoder | null;
1013
- readonly nonPersistent: true;
1014
- };
1015
- }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
1016
- } & {} & {
1017
- readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1018
- readonly light: {
1019
- readonly default: import("../../scene/light/public.js");
3453
+ } & {}, {} & {} & {
3454
+ readonly nodeChildrenOf: {
3455
+ readonly key: "parent";
3456
+ readonly archetype: "Node";
1020
3457
  };
1021
- }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
1022
- } & {} & {};
1023
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "iblInitSystem" | "pbrIblRenderSystem">;
3458
+ } & {} & {
3459
+ readonly materialByName: {
3460
+ readonly key: "name";
3461
+ readonly unique: true;
3462
+ readonly archetype: "Material";
3463
+ };
3464
+ } & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3465
+ } & {};
3466
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "animationSampleSystem" | "modelLoadSystem" | "iblInitSystem" | "pbrIblRenderSystem">;
1024
3467
  readonly actions: {};
1025
3468
  readonly services: {};
1026
3469
  readonly computed: {};
1027
- readonly indexes: {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
3470
+ readonly indexes: {
3471
+ readonly nodeChildrenOf: {
3472
+ readonly key: "parent";
3473
+ readonly archetype: "Node";
3474
+ };
3475
+ } & {} & {} & {} & {
3476
+ readonly materialByName: {
3477
+ readonly key: "name";
3478
+ readonly unique: true;
3479
+ readonly archetype: "Material";
3480
+ };
3481
+ } & {} & {} & {} & {} & {} & {};
1028
3482
  };