@adobe/data-gpu 0.9.75 → 0.9.77

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
@@ -52,6 +52,7 @@ export declare const joltRagdoll: {
52
52
  readonly default: number;
53
53
  };
54
54
  readonly _worldMatrix: {
55
+ readonly nonPersistent: true;
55
56
  readonly type: "array";
56
57
  readonly items: {
57
58
  readonly type: "number";
@@ -63,6 +64,7 @@ export declare const joltRagdoll: {
63
64
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
64
65
  };
65
66
  readonly _worldBounds: {
67
+ readonly nonPersistent: true;
66
68
  readonly type: "object";
67
69
  readonly properties: {
68
70
  readonly min: {
@@ -96,16 +98,233 @@ export declare const joltRagdoll: {
96
98
  };
97
99
  };
98
100
  } & {} & {
101
+ readonly material: {
102
+ readonly type: "integer";
103
+ readonly minimum: -2147483648;
104
+ readonly maximum: 2147483647;
105
+ readonly default: number;
106
+ };
107
+ readonly name: {
108
+ readonly type: "string";
109
+ };
110
+ readonly density: {
111
+ readonly type: "number";
112
+ readonly precision: 1;
113
+ readonly default: number;
114
+ };
115
+ readonly restitution: {
116
+ readonly type: "number";
117
+ readonly precision: 1;
118
+ readonly default: number;
119
+ };
120
+ readonly friction: {
121
+ readonly type: "number";
122
+ readonly precision: 1;
123
+ readonly default: number;
124
+ };
125
+ readonly compliance: {
126
+ readonly type: "number";
127
+ readonly precision: 1;
128
+ readonly default: number;
129
+ };
130
+ readonly heatCapacity: {
131
+ readonly type: "number";
132
+ readonly precision: 1;
133
+ readonly default: number;
134
+ };
135
+ readonly viscosity: {
136
+ readonly type: "number";
137
+ readonly precision: 1;
138
+ readonly default: number;
139
+ };
140
+ readonly thermalConductivity: {
141
+ readonly type: "number";
142
+ readonly precision: 1;
143
+ readonly default: number;
144
+ };
145
+ readonly stressStrainCurve: {
146
+ readonly type: "object";
147
+ readonly layout: "packed";
148
+ readonly properties: {
149
+ readonly tensileYieldStrainStress: {
150
+ readonly type: "array";
151
+ readonly items: {
152
+ readonly type: "number";
153
+ readonly precision: 1;
154
+ readonly default: number;
155
+ };
156
+ readonly minItems: 2;
157
+ readonly maxItems: 2;
158
+ readonly default: readonly [0, 0];
159
+ };
160
+ readonly tensileFractureStrainStress: {
161
+ readonly type: "array";
162
+ readonly items: {
163
+ readonly type: "number";
164
+ readonly precision: 1;
165
+ readonly default: number;
166
+ };
167
+ readonly minItems: 2;
168
+ readonly maxItems: 2;
169
+ readonly default: readonly [0, 0];
170
+ };
171
+ readonly compressiveYieldStrainStress: {
172
+ readonly type: "array";
173
+ readonly items: {
174
+ readonly type: "number";
175
+ readonly precision: 1;
176
+ readonly default: number;
177
+ };
178
+ readonly minItems: 2;
179
+ readonly maxItems: 2;
180
+ readonly default: readonly [0, 0];
181
+ };
182
+ readonly compressiveFractureStrainStress: {
183
+ readonly type: "array";
184
+ readonly items: {
185
+ readonly type: "number";
186
+ readonly precision: 1;
187
+ readonly default: number;
188
+ };
189
+ readonly minItems: 2;
190
+ readonly maxItems: 2;
191
+ readonly default: readonly [0, 0];
192
+ };
193
+ };
194
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
195
+ };
196
+ readonly baseColorFactor: {
197
+ readonly type: "array";
198
+ readonly items: {
199
+ readonly type: "number";
200
+ readonly precision: 1;
201
+ readonly default: number;
202
+ };
203
+ readonly minItems: 4;
204
+ readonly maxItems: 4;
205
+ readonly default: readonly [0, 0, 0, 0];
206
+ };
207
+ readonly emissiveFactor: {
208
+ readonly type: "array";
209
+ readonly items: {
210
+ readonly type: "number";
211
+ readonly precision: 1;
212
+ readonly default: number;
213
+ };
214
+ readonly minItems: 3;
215
+ readonly maxItems: 3;
216
+ readonly default: readonly [0, 0, 0];
217
+ };
218
+ readonly metallicFactor: {
219
+ readonly type: "number";
220
+ readonly precision: 1;
221
+ readonly default: number;
222
+ };
223
+ readonly roughnessFactor: {
224
+ readonly type: "number";
225
+ readonly precision: 1;
226
+ readonly default: number;
227
+ };
228
+ readonly normalScale: {
229
+ readonly type: "number";
230
+ readonly precision: 1;
231
+ readonly default: number;
232
+ };
233
+ readonly occlusionStrength: {
234
+ readonly type: "number";
235
+ readonly precision: 1;
236
+ readonly default: number;
237
+ };
238
+ readonly irReflectance: {
239
+ readonly type: "number";
240
+ readonly precision: 1;
241
+ readonly default: number;
242
+ };
243
+ readonly irEmission: {
244
+ readonly type: "number";
245
+ readonly precision: 1;
246
+ readonly default: number;
247
+ };
248
+ readonly emissionMode: {
249
+ readonly type: "integer";
250
+ readonly minimum: 0;
251
+ readonly maximum: 4294967295;
252
+ readonly default: number;
253
+ };
254
+ readonly baseColorUrl: {
255
+ readonly type: "string";
256
+ };
257
+ readonly metallicRoughnessUrl: {
258
+ readonly type: "string";
259
+ };
260
+ readonly normalUrl: {
261
+ readonly type: "string";
262
+ };
263
+ readonly occlusionUrl: {
264
+ readonly type: "string";
265
+ };
266
+ readonly emissiveUrl: {
267
+ readonly type: "string";
268
+ };
269
+ } & {
270
+ readonly mesh: {
271
+ readonly type: "integer";
272
+ readonly minimum: -2147483648;
273
+ readonly maximum: 2147483647;
274
+ readonly default: number;
275
+ };
276
+ readonly gltfUrl: {
277
+ readonly type: "string";
278
+ };
279
+ readonly shapeSpec: {
280
+ readonly default: import("../public.js").ShapeSpec | null;
281
+ };
282
+ readonly voxelVolumeSize: {
283
+ readonly default: import("@adobe/data/math").Vec3 | null;
284
+ };
285
+ readonly localBounds: {
286
+ readonly default: {
287
+ readonly min: readonly [number, number, number];
288
+ readonly max: readonly [number, number, number];
289
+ } | null;
290
+ };
291
+ readonly skinJointTemplate: {
292
+ readonly default: JointTemplate[];
293
+ };
294
+ readonly skinInverseBindMatrices: {
295
+ readonly default: Float32Array | null;
296
+ };
297
+ readonly animationClipRefs: {
298
+ readonly default: number[];
299
+ };
300
+ readonly cpuCollisionPositions: {
301
+ readonly default: Float32Array | null;
302
+ };
303
+ readonly cpuCollisionIndices: {
304
+ readonly default: Uint32Array | null;
305
+ };
306
+ readonly cpuSkin: {
307
+ readonly default: {
308
+ positions: Float32Array;
309
+ joints: Uint32Array;
310
+ weights: Float32Array;
311
+ } | null;
312
+ };
313
+ } & {
99
314
  readonly _vertexBuffer: {
100
315
  readonly default: GPUBuffer | null;
316
+ readonly nonPersistent: true;
101
317
  };
102
318
  readonly _skinVertexBuffer: {
103
319
  readonly default: GPUBuffer | null;
320
+ readonly nonPersistent: true;
104
321
  };
105
322
  readonly _indexBuffer: {
106
323
  readonly default: GPUBuffer | null;
324
+ readonly nonPersistent: true;
107
325
  };
108
326
  readonly _indexCount: {
327
+ readonly nonPersistent: true;
109
328
  readonly type: "integer";
110
329
  readonly minimum: 0;
111
330
  readonly maximum: 4294967295;
@@ -113,23 +332,28 @@ export declare const joltRagdoll: {
113
332
  };
114
333
  readonly _indexFormat: {
115
334
  readonly default: GPUIndexFormat;
335
+ readonly nonPersistent: true;
116
336
  };
117
337
  readonly _materialBindGroup: {
118
338
  readonly default: GPUBindGroup | null;
339
+ readonly nonPersistent: true;
119
340
  };
120
- readonly _geometry: {
341
+ readonly _mesh: {
342
+ readonly nonPersistent: true;
121
343
  readonly type: "integer";
122
344
  readonly minimum: -2147483648;
123
345
  readonly maximum: 2147483647;
124
346
  readonly default: number;
125
347
  };
126
348
  readonly _material: {
349
+ readonly nonPersistent: true;
127
350
  readonly type: "integer";
128
351
  readonly minimum: -2147483648;
129
352
  readonly maximum: 2147483647;
130
353
  readonly default: number;
131
354
  };
132
355
  readonly _nodeLocalMatrix: {
356
+ readonly nonPersistent: true;
133
357
  readonly type: "array";
134
358
  readonly items: {
135
359
  readonly type: "number";
@@ -141,6 +365,7 @@ export declare const joltRagdoll: {
141
365
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
142
366
  };
143
367
  readonly _skeletonModelRef: {
368
+ readonly nonPersistent: true;
144
369
  readonly type: "integer";
145
370
  readonly minimum: -2147483648;
146
371
  readonly maximum: 2147483647;
@@ -148,16 +373,7 @@ export declare const joltRagdoll: {
148
373
  };
149
374
  readonly _skeletonJointMatrixBindGroup: {
150
375
  readonly default: GPUBindGroup | null;
151
- };
152
- } & {
153
- readonly modelUrl: {
154
- readonly type: "string";
155
- };
156
- readonly geometry: {
157
- readonly type: "integer";
158
- readonly minimum: -2147483648;
159
- readonly maximum: 2147483647;
160
- readonly default: number;
376
+ readonly nonPersistent: true;
161
377
  };
162
378
  } & {
163
379
  readonly animationClipTracks: {
@@ -189,49 +405,24 @@ export declare const joltRagdoll: {
189
405
  };
190
406
  readonly animationLoop: {
191
407
  readonly type: "boolean";
408
+ readonly default: boolean;
192
409
  };
193
410
  readonly animationPlaying: {
194
411
  readonly type: "boolean";
412
+ readonly default: boolean;
195
413
  };
196
414
  readonly animationObservable: {
197
415
  readonly type: "boolean";
198
416
  readonly const: true;
199
417
  readonly default: true;
200
418
  };
201
- } & {
202
- readonly _bounds: {
203
- readonly default: {
204
- readonly min: readonly [number, number, number];
205
- readonly max: readonly [number, number, number];
206
- } | null;
207
- };
208
- readonly _skinJointTemplate: {
209
- readonly default: JointTemplate[];
210
- };
211
- readonly _skinInverseBindMatrices: {
212
- readonly default: Float32Array | null;
213
- };
214
- readonly _animationClipRefs: {
215
- readonly default: number[];
216
- };
217
- readonly _cpuPositions: {
218
- readonly default: Float32Array | null;
219
- };
220
- readonly _cpuIndices: {
221
- readonly default: Uint32Array | null;
222
- };
223
- readonly _cpuSkin: {
224
- readonly default: {
225
- positions: Float32Array;
226
- joints: Uint32Array;
227
- weights: Float32Array;
228
- } | null;
229
- };
230
419
  } & {
231
420
  readonly _skeletonJoints: {
232
421
  readonly default: number[];
422
+ readonly nonPersistent: true;
233
423
  };
234
- readonly _skeletonGeometry: {
424
+ readonly _skeletonMesh: {
425
+ readonly nonPersistent: true;
235
426
  readonly type: "integer";
236
427
  readonly minimum: -2147483648;
237
428
  readonly maximum: 2147483647;
@@ -239,121 +430,31 @@ export declare const joltRagdoll: {
239
430
  };
240
431
  readonly _skeletonInstanceBuffer: {
241
432
  readonly default: GPUBuffer | null;
433
+ readonly nonPersistent: true;
242
434
  };
243
435
  readonly _skeletonJointMatrixBuffer: {
244
436
  readonly default: GPUBuffer | null;
437
+ readonly nonPersistent: true;
245
438
  };
246
439
  } & {
247
- readonly material: {
248
- readonly type: "integer";
249
- readonly minimum: -2147483648;
250
- readonly maximum: 2147483647;
251
- readonly default: number;
252
- };
253
- readonly name: {
440
+ readonly bodyType: {
254
441
  readonly type: "string";
442
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
255
443
  };
256
- readonly density: {
257
- readonly type: "number";
258
- readonly precision: 1;
259
- readonly default: number;
444
+ readonly colliderShape: {
445
+ readonly type: "string";
446
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
260
447
  };
261
- readonly restitution: {
262
- readonly type: "number";
263
- readonly precision: 1;
264
- readonly default: number;
265
- };
266
- readonly friction: {
267
- readonly type: "number";
268
- readonly precision: 1;
269
- readonly default: number;
270
- };
271
- readonly compliance: {
272
- readonly type: "number";
273
- readonly precision: 1;
274
- readonly default: number;
275
- };
276
- readonly heatCapacity: {
277
- readonly type: "number";
278
- readonly precision: 1;
279
- readonly default: number;
280
- };
281
- readonly baseColorFactor: {
282
- readonly type: "array";
283
- readonly items: {
284
- readonly type: "number";
285
- readonly precision: 1;
286
- readonly default: number;
287
- };
288
- readonly minItems: 4;
289
- readonly maxItems: 4;
290
- readonly default: readonly [0, 0, 0, 0];
291
- };
292
- readonly emissiveFactor: {
293
- readonly type: "array";
294
- readonly items: {
295
- readonly type: "number";
296
- readonly precision: 1;
297
- readonly default: number;
298
- };
299
- readonly minItems: 3;
300
- readonly maxItems: 3;
301
- readonly default: readonly [0, 0, 0];
302
- };
303
- readonly metallicFactor: {
304
- readonly type: "number";
305
- readonly precision: 1;
306
- readonly default: number;
307
- };
308
- readonly roughnessFactor: {
309
- readonly type: "number";
310
- readonly precision: 1;
311
- readonly default: number;
312
- };
313
- readonly normalScale: {
314
- readonly type: "number";
315
- readonly precision: 1;
316
- readonly default: number;
317
- };
318
- readonly occlusionStrength: {
319
- readonly type: "number";
320
- readonly precision: 1;
321
- readonly default: number;
322
- };
323
- readonly baseColorUrl: {
324
- readonly type: "string";
325
- };
326
- readonly metallicRoughnessUrl: {
327
- readonly type: "string";
328
- };
329
- readonly normalUrl: {
330
- readonly type: "string";
331
- };
332
- readonly occlusionUrl: {
333
- readonly type: "string";
334
- };
335
- readonly emissiveUrl: {
336
- readonly type: "string";
337
- };
338
- } & {
339
- readonly bodyType: {
340
- readonly type: "string";
341
- readonly enum: readonly ["static", "dynamic", "kinematic"];
342
- };
343
- readonly colliderShape: {
344
- readonly type: "string";
345
- readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
346
- };
347
- readonly halfExtents: {
348
- readonly type: "array";
349
- readonly items: {
350
- readonly type: "number";
351
- readonly precision: 1;
352
- readonly default: number;
353
- };
354
- readonly minItems: 3;
355
- readonly maxItems: 3;
356
- readonly default: readonly [0, 0, 0];
448
+ readonly halfExtents: {
449
+ readonly type: "array";
450
+ readonly items: {
451
+ readonly type: "number";
452
+ readonly precision: 1;
453
+ readonly default: number;
454
+ };
455
+ readonly minItems: 3;
456
+ readonly maxItems: 3;
457
+ readonly default: readonly [0, 0, 0];
357
458
  };
358
459
  readonly position: {
359
460
  readonly type: "array";
@@ -403,6 +504,7 @@ export declare const joltRagdoll: {
403
504
  readonly default: readonly [0, 0, 0];
404
505
  };
405
506
  readonly _prevPosition: {
507
+ readonly nonPersistent: true;
406
508
  readonly type: "array";
407
509
  readonly items: {
408
510
  readonly type: "number";
@@ -414,6 +516,7 @@ export declare const joltRagdoll: {
414
516
  readonly default: readonly [0, 0, 0];
415
517
  };
416
518
  readonly _prevRotation: {
519
+ readonly nonPersistent: true;
417
520
  readonly type: "array";
418
521
  readonly items: {
419
522
  readonly type: "number";
@@ -505,17 +608,24 @@ export declare const joltRagdoll: {
505
608
  };
506
609
  } & {
507
610
  readonly _joltBody: {
611
+ readonly nonPersistent: true;
508
612
  readonly type: "boolean";
509
613
  readonly const: true;
510
614
  readonly default: true;
511
615
  };
512
616
  readonly _joltJoint: {
617
+ readonly nonPersistent: true;
513
618
  readonly type: "boolean";
514
619
  readonly const: true;
515
620
  readonly default: true;
516
621
  };
517
622
  };
518
623
  readonly resources: {} & {
624
+ readonly _gltfMeshByUrl: {
625
+ readonly default: Map<string, Entity> | null;
626
+ readonly nonPersistent: true;
627
+ };
628
+ } & {
519
629
  readonly frameTime: {
520
630
  readonly default: import("../../core/frame-time/public.js");
521
631
  readonly nonPersistent: true;
@@ -538,13 +648,9 @@ export declare const joltRagdoll: {
538
648
  readonly default: boolean;
539
649
  readonly nonPersistent: true;
540
650
  };
541
- } & {
542
- readonly materials: {
543
- readonly default: Record<string, Entity>;
544
- };
545
651
  } & {
546
652
  readonly physicsClock: {
547
- readonly default: import("../../index.js").PhysicsClock;
653
+ readonly default: import("../../physics/public.js").PhysicsClock;
548
654
  readonly nonPersistent: true;
549
655
  };
550
656
  } & {
@@ -556,19 +662,23 @@ export declare const joltRagdoll: {
556
662
  readonly archetypes: {
557
663
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
558
664
  } & {} & {} & {
559
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
560
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
665
+ 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"];
561
666
  } & {
562
- readonly Geometry: readonly ["modelUrl"];
563
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
667
+ readonly GltfMeshPending: readonly ["gltfUrl"];
668
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
669
+ readonly StaticMesh: readonly ["localBounds"];
670
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
671
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
672
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
673
+ } & {
674
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
675
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
564
676
  } & {
565
677
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
566
678
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
567
679
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
568
680
  } & {} & {} & {
569
- readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonGeometry", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
570
- } & {
571
- readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
681
+ readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
572
682
  } & {
573
683
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
574
684
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
@@ -577,145 +687,104 @@ export declare const joltRagdoll: {
577
687
  } & {
578
688
  readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
579
689
  } & {} & {};
580
- readonly transactions: {} & {} & {} & {
581
- readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
582
- readonly modelUrl: {
583
- readonly type: "string";
584
- };
585
- readonly geometry: {
690
+ readonly transactions: {} & {} & {
691
+ readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
692
+ readonly material: {
586
693
  readonly type: "integer";
587
694
  readonly minimum: -2147483648;
588
695
  readonly maximum: 2147483647;
589
696
  readonly default: number;
590
697
  };
591
- } & {
592
- readonly visible: {
593
- readonly type: "boolean";
594
- readonly const: true;
595
- readonly default: true;
698
+ readonly name: {
699
+ readonly type: "string";
596
700
  };
597
- readonly position: {
598
- readonly type: "array";
599
- readonly items: {
600
- readonly type: "number";
601
- readonly precision: 1;
602
- readonly default: number;
603
- };
604
- readonly minItems: 3;
605
- readonly maxItems: 3;
606
- readonly default: readonly [0, 0, 0];
701
+ readonly density: {
702
+ readonly type: "number";
703
+ readonly precision: 1;
704
+ readonly default: number;
607
705
  };
608
- readonly rotation: {
609
- readonly type: "array";
610
- readonly items: {
611
- readonly type: "number";
612
- readonly precision: 1;
613
- readonly default: number;
614
- };
615
- readonly minItems: 4;
616
- readonly maxItems: 4;
617
- readonly default: readonly [0, 0, 0, 1];
618
- readonly interpolators: {
619
- readonly linear: (q1: any, q2: any, t: number) => any;
620
- };
706
+ readonly restitution: {
707
+ readonly type: "number";
708
+ readonly precision: 1;
709
+ readonly default: number;
621
710
  };
622
- readonly scale: {
623
- readonly type: "array";
624
- readonly items: {
625
- readonly type: "number";
626
- readonly precision: 1;
627
- readonly default: number;
628
- };
629
- readonly minItems: 3;
630
- readonly maxItems: 3;
631
- readonly default: readonly [0, 0, 0];
711
+ readonly friction: {
712
+ readonly type: "number";
713
+ readonly precision: 1;
714
+ readonly default: number;
632
715
  };
633
- readonly parent: {
634
- readonly type: "integer";
635
- readonly minimum: -2147483648;
636
- readonly maximum: 2147483647;
716
+ readonly compliance: {
717
+ readonly type: "number";
718
+ readonly precision: 1;
637
719
  readonly default: number;
638
720
  };
639
- readonly _worldMatrix: {
640
- readonly type: "array";
641
- readonly items: {
642
- readonly type: "number";
643
- readonly precision: 1;
644
- readonly default: number;
645
- };
646
- readonly minItems: 16;
647
- readonly maxItems: 16;
648
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
721
+ readonly heatCapacity: {
722
+ readonly type: "number";
723
+ readonly precision: 1;
724
+ readonly default: number;
649
725
  };
650
- readonly _worldBounds: {
726
+ readonly viscosity: {
727
+ readonly type: "number";
728
+ readonly precision: 1;
729
+ readonly default: number;
730
+ };
731
+ readonly thermalConductivity: {
732
+ readonly type: "number";
733
+ readonly precision: 1;
734
+ readonly default: number;
735
+ };
736
+ readonly stressStrainCurve: {
651
737
  readonly type: "object";
738
+ readonly layout: "packed";
652
739
  readonly properties: {
653
- readonly min: {
740
+ readonly tensileYieldStrainStress: {
654
741
  readonly type: "array";
655
742
  readonly items: {
656
743
  readonly type: "number";
657
744
  readonly precision: 1;
658
745
  readonly default: number;
659
746
  };
660
- readonly minItems: 3;
661
- readonly maxItems: 3;
662
- readonly default: readonly [0, 0, 0];
747
+ readonly minItems: 2;
748
+ readonly maxItems: 2;
749
+ readonly default: readonly [0, 0];
663
750
  };
664
- readonly max: {
751
+ readonly tensileFractureStrainStress: {
665
752
  readonly type: "array";
666
753
  readonly items: {
667
754
  readonly type: "number";
668
755
  readonly precision: 1;
669
756
  readonly default: number;
670
757
  };
671
- readonly minItems: 3;
672
- readonly maxItems: 3;
673
- readonly default: readonly [0, 0, 0];
758
+ readonly minItems: 2;
759
+ readonly maxItems: 2;
760
+ readonly default: readonly [0, 0];
761
+ };
762
+ readonly compressiveYieldStrainStress: {
763
+ readonly type: "array";
764
+ readonly items: {
765
+ readonly type: "number";
766
+ readonly precision: 1;
767
+ readonly default: number;
768
+ };
769
+ readonly minItems: 2;
770
+ readonly maxItems: 2;
771
+ readonly default: readonly [0, 0];
772
+ };
773
+ readonly compressiveFractureStrainStress: {
774
+ readonly type: "array";
775
+ readonly items: {
776
+ readonly type: "number";
777
+ readonly precision: 1;
778
+ readonly default: number;
779
+ };
780
+ readonly minItems: 2;
781
+ readonly maxItems: 2;
782
+ readonly default: readonly [0, 0];
674
783
  };
675
784
  };
676
- readonly required: readonly ["min", "max"];
677
- readonly additionalProperties: false;
678
- readonly default: {
679
- readonly min: readonly [0, 0, 0];
680
- readonly max: readonly [0, 0, 0];
681
- };
682
- };
683
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
684
- readonly Geometry: readonly ["modelUrl"];
685
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
686
- } & {
687
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
688
- } & {}, {} & {} & {}>, args: {
689
- modelUrl: string;
690
- }) => number;
691
- readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
692
- readonly modelUrl: {
693
- readonly type: "string";
694
- };
695
- readonly geometry: {
696
- readonly type: "integer";
697
- readonly minimum: -2147483648;
698
- readonly maximum: 2147483647;
699
- readonly default: number;
700
- };
701
- } & {
702
- readonly visible: {
703
- readonly type: "boolean";
704
- readonly const: true;
705
- readonly default: true;
706
- };
707
- readonly position: {
708
- readonly type: "array";
709
- readonly items: {
710
- readonly type: "number";
711
- readonly precision: 1;
712
- readonly default: number;
713
- };
714
- readonly minItems: 3;
715
- readonly maxItems: 3;
716
- readonly default: readonly [0, 0, 0];
785
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
717
786
  };
718
- readonly rotation: {
787
+ readonly baseColorFactor: {
719
788
  readonly type: "array";
720
789
  readonly items: {
721
790
  readonly type: "number";
@@ -724,12 +793,9 @@ export declare const joltRagdoll: {
724
793
  };
725
794
  readonly minItems: 4;
726
795
  readonly maxItems: 4;
727
- readonly default: readonly [0, 0, 0, 1];
728
- readonly interpolators: {
729
- readonly linear: (q1: any, q2: any, t: number) => any;
730
- };
796
+ readonly default: readonly [0, 0, 0, 0];
731
797
  };
732
- readonly scale: {
798
+ readonly emissiveFactor: {
733
799
  readonly type: "array";
734
800
  readonly items: {
735
801
  readonly type: "number";
@@ -740,69 +806,2139 @@ export declare const joltRagdoll: {
740
806
  readonly maxItems: 3;
741
807
  readonly default: readonly [0, 0, 0];
742
808
  };
743
- readonly parent: {
744
- readonly type: "integer";
745
- readonly minimum: -2147483648;
746
- readonly maximum: 2147483647;
809
+ readonly metallicFactor: {
810
+ readonly type: "number";
811
+ readonly precision: 1;
812
+ readonly default: number;
813
+ };
814
+ readonly roughnessFactor: {
815
+ readonly type: "number";
816
+ readonly precision: 1;
817
+ readonly default: number;
818
+ };
819
+ readonly normalScale: {
820
+ readonly type: "number";
821
+ readonly precision: 1;
822
+ readonly default: number;
823
+ };
824
+ readonly occlusionStrength: {
825
+ readonly type: "number";
826
+ readonly precision: 1;
827
+ readonly default: number;
828
+ };
829
+ readonly irReflectance: {
830
+ readonly type: "number";
831
+ readonly precision: 1;
832
+ readonly default: number;
833
+ };
834
+ readonly irEmission: {
835
+ readonly type: "number";
836
+ readonly precision: 1;
837
+ readonly default: number;
838
+ };
839
+ readonly emissionMode: {
840
+ readonly type: "integer";
841
+ readonly minimum: 0;
842
+ readonly maximum: 4294967295;
843
+ readonly default: number;
844
+ };
845
+ readonly baseColorUrl: {
846
+ readonly type: "string";
847
+ };
848
+ readonly metallicRoughnessUrl: {
849
+ readonly type: "string";
850
+ };
851
+ readonly normalUrl: {
852
+ readonly type: "string";
853
+ };
854
+ readonly occlusionUrl: {
855
+ readonly type: "string";
856
+ };
857
+ readonly emissiveUrl: {
858
+ readonly type: "string";
859
+ };
860
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
861
+ 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"];
862
+ }, {
863
+ readonly materialByName: {
864
+ readonly key: "name";
865
+ readonly unique: true;
866
+ readonly archetype: "Material";
867
+ };
868
+ }>, row: import("../../material/public.js")) => Entity;
869
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
870
+ readonly material: {
871
+ readonly type: "integer";
872
+ readonly minimum: -2147483648;
873
+ readonly maximum: 2147483647;
874
+ readonly default: number;
875
+ };
876
+ readonly name: {
877
+ readonly type: "string";
878
+ };
879
+ readonly density: {
880
+ readonly type: "number";
881
+ readonly precision: 1;
882
+ readonly default: number;
883
+ };
884
+ readonly restitution: {
885
+ readonly type: "number";
886
+ readonly precision: 1;
887
+ readonly default: number;
888
+ };
889
+ readonly friction: {
890
+ readonly type: "number";
891
+ readonly precision: 1;
892
+ readonly default: number;
893
+ };
894
+ readonly compliance: {
895
+ readonly type: "number";
896
+ readonly precision: 1;
897
+ readonly default: number;
898
+ };
899
+ readonly heatCapacity: {
900
+ readonly type: "number";
901
+ readonly precision: 1;
902
+ readonly default: number;
903
+ };
904
+ readonly viscosity: {
905
+ readonly type: "number";
906
+ readonly precision: 1;
907
+ readonly default: number;
908
+ };
909
+ readonly thermalConductivity: {
910
+ readonly type: "number";
911
+ readonly precision: 1;
912
+ readonly default: number;
913
+ };
914
+ readonly stressStrainCurve: {
915
+ readonly type: "object";
916
+ readonly layout: "packed";
917
+ readonly properties: {
918
+ readonly tensileYieldStrainStress: {
919
+ readonly type: "array";
920
+ readonly items: {
921
+ readonly type: "number";
922
+ readonly precision: 1;
923
+ readonly default: number;
924
+ };
925
+ readonly minItems: 2;
926
+ readonly maxItems: 2;
927
+ readonly default: readonly [0, 0];
928
+ };
929
+ readonly tensileFractureStrainStress: {
930
+ readonly type: "array";
931
+ readonly items: {
932
+ readonly type: "number";
933
+ readonly precision: 1;
934
+ readonly default: number;
935
+ };
936
+ readonly minItems: 2;
937
+ readonly maxItems: 2;
938
+ readonly default: readonly [0, 0];
939
+ };
940
+ readonly compressiveYieldStrainStress: {
941
+ readonly type: "array";
942
+ readonly items: {
943
+ readonly type: "number";
944
+ readonly precision: 1;
945
+ readonly default: number;
946
+ };
947
+ readonly minItems: 2;
948
+ readonly maxItems: 2;
949
+ readonly default: readonly [0, 0];
950
+ };
951
+ readonly compressiveFractureStrainStress: {
952
+ readonly type: "array";
953
+ readonly items: {
954
+ readonly type: "number";
955
+ readonly precision: 1;
956
+ readonly default: number;
957
+ };
958
+ readonly minItems: 2;
959
+ readonly maxItems: 2;
960
+ readonly default: readonly [0, 0];
961
+ };
962
+ };
963
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
964
+ };
965
+ readonly baseColorFactor: {
966
+ readonly type: "array";
967
+ readonly items: {
968
+ readonly type: "number";
969
+ readonly precision: 1;
970
+ readonly default: number;
971
+ };
972
+ readonly minItems: 4;
973
+ readonly maxItems: 4;
974
+ readonly default: readonly [0, 0, 0, 0];
975
+ };
976
+ readonly emissiveFactor: {
977
+ readonly type: "array";
978
+ readonly items: {
979
+ readonly type: "number";
980
+ readonly precision: 1;
981
+ readonly default: number;
982
+ };
983
+ readonly minItems: 3;
984
+ readonly maxItems: 3;
985
+ readonly default: readonly [0, 0, 0];
986
+ };
987
+ readonly metallicFactor: {
988
+ readonly type: "number";
989
+ readonly precision: 1;
990
+ readonly default: number;
991
+ };
992
+ readonly roughnessFactor: {
993
+ readonly type: "number";
994
+ readonly precision: 1;
995
+ readonly default: number;
996
+ };
997
+ readonly normalScale: {
998
+ readonly type: "number";
999
+ readonly precision: 1;
1000
+ readonly default: number;
1001
+ };
1002
+ readonly occlusionStrength: {
1003
+ readonly type: "number";
1004
+ readonly precision: 1;
1005
+ readonly default: number;
1006
+ };
1007
+ readonly irReflectance: {
1008
+ readonly type: "number";
1009
+ readonly precision: 1;
1010
+ readonly default: number;
1011
+ };
1012
+ readonly irEmission: {
1013
+ readonly type: "number";
1014
+ readonly precision: 1;
1015
+ readonly default: number;
1016
+ };
1017
+ readonly emissionMode: {
1018
+ readonly type: "integer";
1019
+ readonly minimum: 0;
1020
+ readonly maximum: 4294967295;
1021
+ readonly default: number;
1022
+ };
1023
+ readonly baseColorUrl: {
1024
+ readonly type: "string";
1025
+ };
1026
+ readonly metallicRoughnessUrl: {
1027
+ readonly type: "string";
1028
+ };
1029
+ readonly normalUrl: {
1030
+ readonly type: "string";
1031
+ };
1032
+ readonly occlusionUrl: {
1033
+ readonly type: "string";
1034
+ };
1035
+ readonly emissiveUrl: {
1036
+ readonly type: "string";
1037
+ };
1038
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1039
+ 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"];
1040
+ }, {
1041
+ readonly materialByName: {
1042
+ readonly key: "name";
1043
+ readonly unique: true;
1044
+ readonly archetype: "Material";
1045
+ };
1046
+ }>, args: {
1047
+ name: string;
1048
+ definition: import("../../material/material-definition.js").MaterialDefinition;
1049
+ }) => Entity;
1050
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1051
+ readonly material: {
1052
+ readonly type: "integer";
1053
+ readonly minimum: -2147483648;
1054
+ readonly maximum: 2147483647;
1055
+ readonly default: number;
1056
+ };
1057
+ readonly name: {
1058
+ readonly type: "string";
1059
+ };
1060
+ readonly density: {
1061
+ readonly type: "number";
1062
+ readonly precision: 1;
1063
+ readonly default: number;
1064
+ };
1065
+ readonly restitution: {
1066
+ readonly type: "number";
1067
+ readonly precision: 1;
1068
+ readonly default: number;
1069
+ };
1070
+ readonly friction: {
1071
+ readonly type: "number";
1072
+ readonly precision: 1;
1073
+ readonly default: number;
1074
+ };
1075
+ readonly compliance: {
1076
+ readonly type: "number";
1077
+ readonly precision: 1;
1078
+ readonly default: number;
1079
+ };
1080
+ readonly heatCapacity: {
1081
+ readonly type: "number";
1082
+ readonly precision: 1;
1083
+ readonly default: number;
1084
+ };
1085
+ readonly viscosity: {
1086
+ readonly type: "number";
1087
+ readonly precision: 1;
1088
+ readonly default: number;
1089
+ };
1090
+ readonly thermalConductivity: {
1091
+ readonly type: "number";
1092
+ readonly precision: 1;
1093
+ readonly default: number;
1094
+ };
1095
+ readonly stressStrainCurve: {
1096
+ readonly type: "object";
1097
+ readonly layout: "packed";
1098
+ readonly properties: {
1099
+ readonly tensileYieldStrainStress: {
1100
+ readonly type: "array";
1101
+ readonly items: {
1102
+ readonly type: "number";
1103
+ readonly precision: 1;
1104
+ readonly default: number;
1105
+ };
1106
+ readonly minItems: 2;
1107
+ readonly maxItems: 2;
1108
+ readonly default: readonly [0, 0];
1109
+ };
1110
+ readonly tensileFractureStrainStress: {
1111
+ readonly type: "array";
1112
+ readonly items: {
1113
+ readonly type: "number";
1114
+ readonly precision: 1;
1115
+ readonly default: number;
1116
+ };
1117
+ readonly minItems: 2;
1118
+ readonly maxItems: 2;
1119
+ readonly default: readonly [0, 0];
1120
+ };
1121
+ readonly compressiveYieldStrainStress: {
1122
+ readonly type: "array";
1123
+ readonly items: {
1124
+ readonly type: "number";
1125
+ readonly precision: 1;
1126
+ readonly default: number;
1127
+ };
1128
+ readonly minItems: 2;
1129
+ readonly maxItems: 2;
1130
+ readonly default: readonly [0, 0];
1131
+ };
1132
+ readonly compressiveFractureStrainStress: {
1133
+ readonly type: "array";
1134
+ readonly items: {
1135
+ readonly type: "number";
1136
+ readonly precision: 1;
1137
+ readonly default: number;
1138
+ };
1139
+ readonly minItems: 2;
1140
+ readonly maxItems: 2;
1141
+ readonly default: readonly [0, 0];
1142
+ };
1143
+ };
1144
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1145
+ };
1146
+ readonly baseColorFactor: {
1147
+ readonly type: "array";
1148
+ readonly items: {
1149
+ readonly type: "number";
1150
+ readonly precision: 1;
1151
+ readonly default: number;
1152
+ };
1153
+ readonly minItems: 4;
1154
+ readonly maxItems: 4;
1155
+ readonly default: readonly [0, 0, 0, 0];
1156
+ };
1157
+ readonly emissiveFactor: {
1158
+ readonly type: "array";
1159
+ readonly items: {
1160
+ readonly type: "number";
1161
+ readonly precision: 1;
1162
+ readonly default: number;
1163
+ };
1164
+ readonly minItems: 3;
1165
+ readonly maxItems: 3;
1166
+ readonly default: readonly [0, 0, 0];
1167
+ };
1168
+ readonly metallicFactor: {
1169
+ readonly type: "number";
1170
+ readonly precision: 1;
1171
+ readonly default: number;
1172
+ };
1173
+ readonly roughnessFactor: {
1174
+ readonly type: "number";
1175
+ readonly precision: 1;
1176
+ readonly default: number;
1177
+ };
1178
+ readonly normalScale: {
1179
+ readonly type: "number";
1180
+ readonly precision: 1;
1181
+ readonly default: number;
1182
+ };
1183
+ readonly occlusionStrength: {
1184
+ readonly type: "number";
1185
+ readonly precision: 1;
1186
+ readonly default: number;
1187
+ };
1188
+ readonly irReflectance: {
1189
+ readonly type: "number";
1190
+ readonly precision: 1;
1191
+ readonly default: number;
1192
+ };
1193
+ readonly irEmission: {
1194
+ readonly type: "number";
1195
+ readonly precision: 1;
1196
+ readonly default: number;
1197
+ };
1198
+ readonly emissionMode: {
1199
+ readonly type: "integer";
1200
+ readonly minimum: 0;
1201
+ readonly maximum: 4294967295;
1202
+ readonly default: number;
1203
+ };
1204
+ readonly baseColorUrl: {
1205
+ readonly type: "string";
1206
+ };
1207
+ readonly metallicRoughnessUrl: {
1208
+ readonly type: "string";
1209
+ };
1210
+ readonly normalUrl: {
1211
+ readonly type: "string";
1212
+ };
1213
+ readonly occlusionUrl: {
1214
+ readonly type: "string";
1215
+ };
1216
+ readonly emissiveUrl: {
1217
+ readonly type: "string";
1218
+ };
1219
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1220
+ 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"];
1221
+ }, {
1222
+ readonly materialByName: {
1223
+ readonly key: "name";
1224
+ readonly unique: true;
1225
+ readonly archetype: "Material";
1226
+ };
1227
+ }>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
1228
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1229
+ readonly material: {
1230
+ readonly type: "integer";
1231
+ readonly minimum: -2147483648;
1232
+ readonly maximum: 2147483647;
1233
+ readonly default: number;
1234
+ };
1235
+ readonly name: {
1236
+ readonly type: "string";
1237
+ };
1238
+ readonly density: {
1239
+ readonly type: "number";
1240
+ readonly precision: 1;
1241
+ readonly default: number;
1242
+ };
1243
+ readonly restitution: {
1244
+ readonly type: "number";
1245
+ readonly precision: 1;
1246
+ readonly default: number;
1247
+ };
1248
+ readonly friction: {
1249
+ readonly type: "number";
1250
+ readonly precision: 1;
1251
+ readonly default: number;
1252
+ };
1253
+ readonly compliance: {
1254
+ readonly type: "number";
1255
+ readonly precision: 1;
1256
+ readonly default: number;
1257
+ };
1258
+ readonly heatCapacity: {
1259
+ readonly type: "number";
1260
+ readonly precision: 1;
1261
+ readonly default: number;
1262
+ };
1263
+ readonly viscosity: {
1264
+ readonly type: "number";
1265
+ readonly precision: 1;
1266
+ readonly default: number;
1267
+ };
1268
+ readonly thermalConductivity: {
1269
+ readonly type: "number";
1270
+ readonly precision: 1;
1271
+ readonly default: number;
1272
+ };
1273
+ readonly stressStrainCurve: {
1274
+ readonly type: "object";
1275
+ readonly layout: "packed";
1276
+ readonly properties: {
1277
+ readonly tensileYieldStrainStress: {
1278
+ readonly type: "array";
1279
+ readonly items: {
1280
+ readonly type: "number";
1281
+ readonly precision: 1;
1282
+ readonly default: number;
1283
+ };
1284
+ readonly minItems: 2;
1285
+ readonly maxItems: 2;
1286
+ readonly default: readonly [0, 0];
1287
+ };
1288
+ readonly tensileFractureStrainStress: {
1289
+ readonly type: "array";
1290
+ readonly items: {
1291
+ readonly type: "number";
1292
+ readonly precision: 1;
1293
+ readonly default: number;
1294
+ };
1295
+ readonly minItems: 2;
1296
+ readonly maxItems: 2;
1297
+ readonly default: readonly [0, 0];
1298
+ };
1299
+ readonly compressiveYieldStrainStress: {
1300
+ readonly type: "array";
1301
+ readonly items: {
1302
+ readonly type: "number";
1303
+ readonly precision: 1;
1304
+ readonly default: number;
1305
+ };
1306
+ readonly minItems: 2;
1307
+ readonly maxItems: 2;
1308
+ readonly default: readonly [0, 0];
1309
+ };
1310
+ readonly compressiveFractureStrainStress: {
1311
+ readonly type: "array";
1312
+ readonly items: {
1313
+ readonly type: "number";
1314
+ readonly precision: 1;
1315
+ readonly default: number;
1316
+ };
1317
+ readonly minItems: 2;
1318
+ readonly maxItems: 2;
1319
+ readonly default: readonly [0, 0];
1320
+ };
1321
+ };
1322
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1323
+ };
1324
+ readonly baseColorFactor: {
1325
+ readonly type: "array";
1326
+ readonly items: {
1327
+ readonly type: "number";
1328
+ readonly precision: 1;
1329
+ readonly default: number;
1330
+ };
1331
+ readonly minItems: 4;
1332
+ readonly maxItems: 4;
1333
+ readonly default: readonly [0, 0, 0, 0];
1334
+ };
1335
+ readonly emissiveFactor: {
1336
+ readonly type: "array";
1337
+ readonly items: {
1338
+ readonly type: "number";
1339
+ readonly precision: 1;
1340
+ readonly default: number;
1341
+ };
1342
+ readonly minItems: 3;
1343
+ readonly maxItems: 3;
1344
+ readonly default: readonly [0, 0, 0];
1345
+ };
1346
+ readonly metallicFactor: {
1347
+ readonly type: "number";
1348
+ readonly precision: 1;
1349
+ readonly default: number;
1350
+ };
1351
+ readonly roughnessFactor: {
1352
+ readonly type: "number";
1353
+ readonly precision: 1;
1354
+ readonly default: number;
1355
+ };
1356
+ readonly normalScale: {
1357
+ readonly type: "number";
1358
+ readonly precision: 1;
1359
+ readonly default: number;
1360
+ };
1361
+ readonly occlusionStrength: {
1362
+ readonly type: "number";
1363
+ readonly precision: 1;
1364
+ readonly default: number;
1365
+ };
1366
+ readonly irReflectance: {
1367
+ readonly type: "number";
1368
+ readonly precision: 1;
1369
+ readonly default: number;
1370
+ };
1371
+ readonly irEmission: {
1372
+ readonly type: "number";
1373
+ readonly precision: 1;
1374
+ readonly default: number;
1375
+ };
1376
+ readonly emissionMode: {
1377
+ readonly type: "integer";
1378
+ readonly minimum: 0;
1379
+ readonly maximum: 4294967295;
1380
+ readonly default: number;
1381
+ };
1382
+ readonly baseColorUrl: {
1383
+ readonly type: "string";
1384
+ };
1385
+ readonly metallicRoughnessUrl: {
1386
+ readonly type: "string";
1387
+ };
1388
+ readonly normalUrl: {
1389
+ readonly type: "string";
1390
+ };
1391
+ readonly occlusionUrl: {
1392
+ readonly type: "string";
1393
+ };
1394
+ readonly emissiveUrl: {
1395
+ readonly type: "string";
1396
+ };
1397
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1398
+ 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"];
1399
+ }, {
1400
+ readonly materialByName: {
1401
+ readonly key: "name";
1402
+ readonly unique: true;
1403
+ readonly archetype: "Material";
1404
+ };
1405
+ }>) => void;
1406
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1407
+ readonly material: {
1408
+ readonly type: "integer";
1409
+ readonly minimum: -2147483648;
1410
+ readonly maximum: 2147483647;
1411
+ readonly default: number;
1412
+ };
1413
+ readonly name: {
1414
+ readonly type: "string";
1415
+ };
1416
+ readonly density: {
1417
+ readonly type: "number";
1418
+ readonly precision: 1;
1419
+ readonly default: number;
1420
+ };
1421
+ readonly restitution: {
1422
+ readonly type: "number";
1423
+ readonly precision: 1;
1424
+ readonly default: number;
1425
+ };
1426
+ readonly friction: {
1427
+ readonly type: "number";
1428
+ readonly precision: 1;
1429
+ readonly default: number;
1430
+ };
1431
+ readonly compliance: {
1432
+ readonly type: "number";
1433
+ readonly precision: 1;
1434
+ readonly default: number;
1435
+ };
1436
+ readonly heatCapacity: {
1437
+ readonly type: "number";
1438
+ readonly precision: 1;
1439
+ readonly default: number;
1440
+ };
1441
+ readonly viscosity: {
1442
+ readonly type: "number";
1443
+ readonly precision: 1;
1444
+ readonly default: number;
1445
+ };
1446
+ readonly thermalConductivity: {
1447
+ readonly type: "number";
1448
+ readonly precision: 1;
1449
+ readonly default: number;
1450
+ };
1451
+ readonly stressStrainCurve: {
1452
+ readonly type: "object";
1453
+ readonly layout: "packed";
1454
+ readonly properties: {
1455
+ readonly tensileYieldStrainStress: {
1456
+ readonly type: "array";
1457
+ readonly items: {
1458
+ readonly type: "number";
1459
+ readonly precision: 1;
1460
+ readonly default: number;
1461
+ };
1462
+ readonly minItems: 2;
1463
+ readonly maxItems: 2;
1464
+ readonly default: readonly [0, 0];
1465
+ };
1466
+ readonly tensileFractureStrainStress: {
1467
+ readonly type: "array";
1468
+ readonly items: {
1469
+ readonly type: "number";
1470
+ readonly precision: 1;
1471
+ readonly default: number;
1472
+ };
1473
+ readonly minItems: 2;
1474
+ readonly maxItems: 2;
1475
+ readonly default: readonly [0, 0];
1476
+ };
1477
+ readonly compressiveYieldStrainStress: {
1478
+ readonly type: "array";
1479
+ readonly items: {
1480
+ readonly type: "number";
1481
+ readonly precision: 1;
1482
+ readonly default: number;
1483
+ };
1484
+ readonly minItems: 2;
1485
+ readonly maxItems: 2;
1486
+ readonly default: readonly [0, 0];
1487
+ };
1488
+ readonly compressiveFractureStrainStress: {
1489
+ readonly type: "array";
1490
+ readonly items: {
1491
+ readonly type: "number";
1492
+ readonly precision: 1;
1493
+ readonly default: number;
1494
+ };
1495
+ readonly minItems: 2;
1496
+ readonly maxItems: 2;
1497
+ readonly default: readonly [0, 0];
1498
+ };
1499
+ };
1500
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1501
+ };
1502
+ readonly baseColorFactor: {
1503
+ readonly type: "array";
1504
+ readonly items: {
1505
+ readonly type: "number";
1506
+ readonly precision: 1;
1507
+ readonly default: number;
1508
+ };
1509
+ readonly minItems: 4;
1510
+ readonly maxItems: 4;
1511
+ readonly default: readonly [0, 0, 0, 0];
1512
+ };
1513
+ readonly emissiveFactor: {
1514
+ readonly type: "array";
1515
+ readonly items: {
1516
+ readonly type: "number";
1517
+ readonly precision: 1;
1518
+ readonly default: number;
1519
+ };
1520
+ readonly minItems: 3;
1521
+ readonly maxItems: 3;
1522
+ readonly default: readonly [0, 0, 0];
1523
+ };
1524
+ readonly metallicFactor: {
1525
+ readonly type: "number";
1526
+ readonly precision: 1;
1527
+ readonly default: number;
1528
+ };
1529
+ readonly roughnessFactor: {
1530
+ readonly type: "number";
1531
+ readonly precision: 1;
1532
+ readonly default: number;
1533
+ };
1534
+ readonly normalScale: {
1535
+ readonly type: "number";
1536
+ readonly precision: 1;
1537
+ readonly default: number;
1538
+ };
1539
+ readonly occlusionStrength: {
1540
+ readonly type: "number";
1541
+ readonly precision: 1;
1542
+ readonly default: number;
1543
+ };
1544
+ readonly irReflectance: {
1545
+ readonly type: "number";
1546
+ readonly precision: 1;
1547
+ readonly default: number;
1548
+ };
1549
+ readonly irEmission: {
1550
+ readonly type: "number";
1551
+ readonly precision: 1;
1552
+ readonly default: number;
1553
+ };
1554
+ readonly emissionMode: {
1555
+ readonly type: "integer";
1556
+ readonly minimum: 0;
1557
+ readonly maximum: 4294967295;
1558
+ readonly default: number;
1559
+ };
1560
+ readonly baseColorUrl: {
1561
+ readonly type: "string";
1562
+ };
1563
+ readonly metallicRoughnessUrl: {
1564
+ readonly type: "string";
1565
+ };
1566
+ readonly normalUrl: {
1567
+ readonly type: "string";
1568
+ };
1569
+ readonly occlusionUrl: {
1570
+ readonly type: "string";
1571
+ };
1572
+ readonly emissiveUrl: {
1573
+ readonly type: "string";
1574
+ };
1575
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1576
+ 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"];
1577
+ }, {
1578
+ readonly materialByName: {
1579
+ readonly key: "name";
1580
+ readonly unique: true;
1581
+ readonly archetype: "Material";
1582
+ };
1583
+ }>) => void;
1584
+ } & {
1585
+ readonly insertGltfMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1586
+ readonly mesh: {
1587
+ readonly type: "integer";
1588
+ readonly minimum: -2147483648;
1589
+ readonly maximum: 2147483647;
1590
+ readonly default: number;
1591
+ };
1592
+ readonly gltfUrl: {
1593
+ readonly type: "string";
1594
+ };
1595
+ readonly shapeSpec: {
1596
+ readonly default: import("../public.js").ShapeSpec | null;
1597
+ };
1598
+ readonly voxelVolumeSize: {
1599
+ readonly default: import("@adobe/data/math").Vec3 | null;
1600
+ };
1601
+ readonly localBounds: {
1602
+ readonly default: {
1603
+ readonly min: readonly [number, number, number];
1604
+ readonly max: readonly [number, number, number];
1605
+ } | null;
1606
+ };
1607
+ readonly skinJointTemplate: {
1608
+ readonly default: JointTemplate[];
1609
+ };
1610
+ readonly skinInverseBindMatrices: {
1611
+ readonly default: Float32Array | null;
1612
+ };
1613
+ readonly animationClipRefs: {
1614
+ readonly default: number[];
1615
+ };
1616
+ readonly cpuCollisionPositions: {
1617
+ readonly default: Float32Array | null;
1618
+ };
1619
+ readonly cpuCollisionIndices: {
1620
+ readonly default: Uint32Array | null;
1621
+ };
1622
+ readonly cpuSkin: {
1623
+ readonly default: {
1624
+ positions: Float32Array;
1625
+ joints: Uint32Array;
1626
+ weights: Float32Array;
1627
+ } | null;
1628
+ };
1629
+ } & {
1630
+ readonly visible: {
1631
+ readonly type: "boolean";
1632
+ readonly const: true;
1633
+ readonly default: true;
1634
+ };
1635
+ readonly position: {
1636
+ readonly type: "array";
1637
+ readonly items: {
1638
+ readonly type: "number";
1639
+ readonly precision: 1;
1640
+ readonly default: number;
1641
+ };
1642
+ readonly minItems: 3;
1643
+ readonly maxItems: 3;
1644
+ readonly default: readonly [0, 0, 0];
1645
+ };
1646
+ readonly rotation: {
1647
+ readonly type: "array";
1648
+ readonly items: {
1649
+ readonly type: "number";
1650
+ readonly precision: 1;
1651
+ readonly default: number;
1652
+ };
1653
+ readonly minItems: 4;
1654
+ readonly maxItems: 4;
1655
+ readonly default: readonly [0, 0, 0, 1];
1656
+ readonly interpolators: {
1657
+ readonly linear: (q1: any, q2: any, t: number) => any;
1658
+ };
1659
+ };
1660
+ readonly scale: {
1661
+ readonly type: "array";
1662
+ readonly items: {
1663
+ readonly type: "number";
1664
+ readonly precision: 1;
1665
+ readonly default: number;
1666
+ };
1667
+ readonly minItems: 3;
1668
+ readonly maxItems: 3;
1669
+ readonly default: readonly [0, 0, 0];
1670
+ };
1671
+ readonly parent: {
1672
+ readonly type: "integer";
1673
+ readonly minimum: -2147483648;
1674
+ readonly maximum: 2147483647;
1675
+ readonly default: number;
1676
+ };
1677
+ readonly _worldMatrix: {
1678
+ readonly nonPersistent: true;
1679
+ readonly type: "array";
1680
+ readonly items: {
1681
+ readonly type: "number";
1682
+ readonly precision: 1;
1683
+ readonly default: number;
1684
+ };
1685
+ readonly minItems: 16;
1686
+ readonly maxItems: 16;
1687
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1688
+ };
1689
+ readonly _worldBounds: {
1690
+ readonly nonPersistent: true;
1691
+ readonly type: "object";
1692
+ readonly properties: {
1693
+ readonly min: {
1694
+ readonly type: "array";
1695
+ readonly items: {
1696
+ readonly type: "number";
1697
+ readonly precision: 1;
1698
+ readonly default: number;
1699
+ };
1700
+ readonly minItems: 3;
1701
+ readonly maxItems: 3;
1702
+ readonly default: readonly [0, 0, 0];
1703
+ };
1704
+ readonly max: {
1705
+ readonly type: "array";
1706
+ readonly items: {
1707
+ readonly type: "number";
1708
+ readonly precision: 1;
1709
+ readonly default: number;
1710
+ };
1711
+ readonly minItems: 3;
1712
+ readonly maxItems: 3;
1713
+ readonly default: readonly [0, 0, 0];
1714
+ };
1715
+ };
1716
+ readonly required: readonly ["min", "max"];
1717
+ readonly additionalProperties: false;
1718
+ readonly default: {
1719
+ readonly min: readonly [0, 0, 0];
1720
+ readonly max: readonly [0, 0, 0];
1721
+ };
1722
+ };
1723
+ } & {} & {
1724
+ readonly material: {
1725
+ readonly type: "integer";
1726
+ readonly minimum: -2147483648;
1727
+ readonly maximum: 2147483647;
1728
+ readonly default: number;
1729
+ };
1730
+ readonly name: {
1731
+ readonly type: "string";
1732
+ };
1733
+ readonly density: {
1734
+ readonly type: "number";
1735
+ readonly precision: 1;
1736
+ readonly default: number;
1737
+ };
1738
+ readonly restitution: {
1739
+ readonly type: "number";
1740
+ readonly precision: 1;
1741
+ readonly default: number;
1742
+ };
1743
+ readonly friction: {
1744
+ readonly type: "number";
1745
+ readonly precision: 1;
1746
+ readonly default: number;
1747
+ };
1748
+ readonly compliance: {
1749
+ readonly type: "number";
1750
+ readonly precision: 1;
1751
+ readonly default: number;
1752
+ };
1753
+ readonly heatCapacity: {
1754
+ readonly type: "number";
1755
+ readonly precision: 1;
1756
+ readonly default: number;
1757
+ };
1758
+ readonly viscosity: {
1759
+ readonly type: "number";
1760
+ readonly precision: 1;
1761
+ readonly default: number;
1762
+ };
1763
+ readonly thermalConductivity: {
1764
+ readonly type: "number";
1765
+ readonly precision: 1;
1766
+ readonly default: number;
1767
+ };
1768
+ readonly stressStrainCurve: {
1769
+ readonly type: "object";
1770
+ readonly layout: "packed";
1771
+ readonly properties: {
1772
+ readonly tensileYieldStrainStress: {
1773
+ readonly type: "array";
1774
+ readonly items: {
1775
+ readonly type: "number";
1776
+ readonly precision: 1;
1777
+ readonly default: number;
1778
+ };
1779
+ readonly minItems: 2;
1780
+ readonly maxItems: 2;
1781
+ readonly default: readonly [0, 0];
1782
+ };
1783
+ readonly tensileFractureStrainStress: {
1784
+ readonly type: "array";
1785
+ readonly items: {
1786
+ readonly type: "number";
1787
+ readonly precision: 1;
1788
+ readonly default: number;
1789
+ };
1790
+ readonly minItems: 2;
1791
+ readonly maxItems: 2;
1792
+ readonly default: readonly [0, 0];
1793
+ };
1794
+ readonly compressiveYieldStrainStress: {
1795
+ readonly type: "array";
1796
+ readonly items: {
1797
+ readonly type: "number";
1798
+ readonly precision: 1;
1799
+ readonly default: number;
1800
+ };
1801
+ readonly minItems: 2;
1802
+ readonly maxItems: 2;
1803
+ readonly default: readonly [0, 0];
1804
+ };
1805
+ readonly compressiveFractureStrainStress: {
1806
+ readonly type: "array";
1807
+ readonly items: {
1808
+ readonly type: "number";
1809
+ readonly precision: 1;
1810
+ readonly default: number;
1811
+ };
1812
+ readonly minItems: 2;
1813
+ readonly maxItems: 2;
1814
+ readonly default: readonly [0, 0];
1815
+ };
1816
+ };
1817
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1818
+ };
1819
+ readonly baseColorFactor: {
1820
+ readonly type: "array";
1821
+ readonly items: {
1822
+ readonly type: "number";
1823
+ readonly precision: 1;
1824
+ readonly default: number;
1825
+ };
1826
+ readonly minItems: 4;
1827
+ readonly maxItems: 4;
1828
+ readonly default: readonly [0, 0, 0, 0];
1829
+ };
1830
+ readonly emissiveFactor: {
1831
+ readonly type: "array";
1832
+ readonly items: {
1833
+ readonly type: "number";
1834
+ readonly precision: 1;
1835
+ readonly default: number;
1836
+ };
1837
+ readonly minItems: 3;
1838
+ readonly maxItems: 3;
1839
+ readonly default: readonly [0, 0, 0];
1840
+ };
1841
+ readonly metallicFactor: {
1842
+ readonly type: "number";
1843
+ readonly precision: 1;
1844
+ readonly default: number;
1845
+ };
1846
+ readonly roughnessFactor: {
1847
+ readonly type: "number";
1848
+ readonly precision: 1;
1849
+ readonly default: number;
1850
+ };
1851
+ readonly normalScale: {
1852
+ readonly type: "number";
1853
+ readonly precision: 1;
1854
+ readonly default: number;
1855
+ };
1856
+ readonly occlusionStrength: {
1857
+ readonly type: "number";
1858
+ readonly precision: 1;
1859
+ readonly default: number;
1860
+ };
1861
+ readonly irReflectance: {
1862
+ readonly type: "number";
1863
+ readonly precision: 1;
1864
+ readonly default: number;
1865
+ };
1866
+ readonly irEmission: {
1867
+ readonly type: "number";
1868
+ readonly precision: 1;
1869
+ readonly default: number;
1870
+ };
1871
+ readonly emissionMode: {
1872
+ readonly type: "integer";
1873
+ readonly minimum: 0;
1874
+ readonly maximum: 4294967295;
1875
+ readonly default: number;
1876
+ };
1877
+ readonly baseColorUrl: {
1878
+ readonly type: "string";
1879
+ };
1880
+ readonly metallicRoughnessUrl: {
1881
+ readonly type: "string";
1882
+ };
1883
+ readonly normalUrl: {
1884
+ readonly type: "string";
1885
+ };
1886
+ readonly occlusionUrl: {
1887
+ readonly type: "string";
1888
+ };
1889
+ readonly emissiveUrl: {
1890
+ readonly type: "string";
1891
+ };
1892
+ }>, import("@adobe/data/schema").FromSchemas<{
1893
+ readonly _gltfMeshByUrl: {
1894
+ readonly default: Map<string, Entity> | null;
1895
+ readonly nonPersistent: true;
1896
+ };
1897
+ } & {}>, {
1898
+ readonly GltfMeshPending: readonly ["gltfUrl"];
1899
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
1900
+ readonly StaticMesh: readonly ["localBounds"];
1901
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
1902
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
1903
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
1904
+ } & {
1905
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1906
+ } & {} & {
1907
+ 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"];
1908
+ }, {} & {
1909
+ readonly nodeChildrenOf: {
1910
+ readonly key: "parent";
1911
+ readonly archetype: "Node";
1912
+ };
1913
+ } & {} & {
1914
+ readonly materialByName: {
1915
+ readonly key: "name";
1916
+ readonly unique: true;
1917
+ readonly archetype: "Material";
1918
+ };
1919
+ }>, args: {
1920
+ url: string;
1921
+ }) => Entity;
1922
+ readonly insertShapeMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1923
+ readonly mesh: {
1924
+ readonly type: "integer";
1925
+ readonly minimum: -2147483648;
1926
+ readonly maximum: 2147483647;
1927
+ readonly default: number;
1928
+ };
1929
+ readonly gltfUrl: {
1930
+ readonly type: "string";
1931
+ };
1932
+ readonly shapeSpec: {
1933
+ readonly default: import("../public.js").ShapeSpec | null;
1934
+ };
1935
+ readonly voxelVolumeSize: {
1936
+ readonly default: import("@adobe/data/math").Vec3 | null;
1937
+ };
1938
+ readonly localBounds: {
1939
+ readonly default: {
1940
+ readonly min: readonly [number, number, number];
1941
+ readonly max: readonly [number, number, number];
1942
+ } | null;
1943
+ };
1944
+ readonly skinJointTemplate: {
1945
+ readonly default: JointTemplate[];
1946
+ };
1947
+ readonly skinInverseBindMatrices: {
1948
+ readonly default: Float32Array | null;
1949
+ };
1950
+ readonly animationClipRefs: {
1951
+ readonly default: number[];
1952
+ };
1953
+ readonly cpuCollisionPositions: {
1954
+ readonly default: Float32Array | null;
1955
+ };
1956
+ readonly cpuCollisionIndices: {
1957
+ readonly default: Uint32Array | null;
1958
+ };
1959
+ readonly cpuSkin: {
1960
+ readonly default: {
1961
+ positions: Float32Array;
1962
+ joints: Uint32Array;
1963
+ weights: Float32Array;
1964
+ } | null;
1965
+ };
1966
+ } & {
1967
+ readonly visible: {
1968
+ readonly type: "boolean";
1969
+ readonly const: true;
1970
+ readonly default: true;
1971
+ };
1972
+ readonly position: {
1973
+ readonly type: "array";
1974
+ readonly items: {
1975
+ readonly type: "number";
1976
+ readonly precision: 1;
1977
+ readonly default: number;
1978
+ };
1979
+ readonly minItems: 3;
1980
+ readonly maxItems: 3;
1981
+ readonly default: readonly [0, 0, 0];
1982
+ };
1983
+ readonly rotation: {
1984
+ readonly type: "array";
1985
+ readonly items: {
1986
+ readonly type: "number";
1987
+ readonly precision: 1;
1988
+ readonly default: number;
1989
+ };
1990
+ readonly minItems: 4;
1991
+ readonly maxItems: 4;
1992
+ readonly default: readonly [0, 0, 0, 1];
1993
+ readonly interpolators: {
1994
+ readonly linear: (q1: any, q2: any, t: number) => any;
1995
+ };
1996
+ };
1997
+ readonly scale: {
1998
+ readonly type: "array";
1999
+ readonly items: {
2000
+ readonly type: "number";
2001
+ readonly precision: 1;
2002
+ readonly default: number;
2003
+ };
2004
+ readonly minItems: 3;
2005
+ readonly maxItems: 3;
2006
+ readonly default: readonly [0, 0, 0];
2007
+ };
2008
+ readonly parent: {
2009
+ readonly type: "integer";
2010
+ readonly minimum: -2147483648;
2011
+ readonly maximum: 2147483647;
2012
+ readonly default: number;
2013
+ };
2014
+ readonly _worldMatrix: {
2015
+ readonly nonPersistent: true;
2016
+ readonly type: "array";
2017
+ readonly items: {
2018
+ readonly type: "number";
2019
+ readonly precision: 1;
2020
+ readonly default: number;
2021
+ };
2022
+ readonly minItems: 16;
2023
+ readonly maxItems: 16;
2024
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2025
+ };
2026
+ readonly _worldBounds: {
2027
+ readonly nonPersistent: true;
2028
+ readonly type: "object";
2029
+ readonly properties: {
2030
+ readonly min: {
2031
+ readonly type: "array";
2032
+ readonly items: {
2033
+ readonly type: "number";
2034
+ readonly precision: 1;
2035
+ readonly default: number;
2036
+ };
2037
+ readonly minItems: 3;
2038
+ readonly maxItems: 3;
2039
+ readonly default: readonly [0, 0, 0];
2040
+ };
2041
+ readonly max: {
2042
+ readonly type: "array";
2043
+ readonly items: {
2044
+ readonly type: "number";
2045
+ readonly precision: 1;
2046
+ readonly default: number;
2047
+ };
2048
+ readonly minItems: 3;
2049
+ readonly maxItems: 3;
2050
+ readonly default: readonly [0, 0, 0];
2051
+ };
2052
+ };
2053
+ readonly required: readonly ["min", "max"];
2054
+ readonly additionalProperties: false;
2055
+ readonly default: {
2056
+ readonly min: readonly [0, 0, 0];
2057
+ readonly max: readonly [0, 0, 0];
2058
+ };
2059
+ };
2060
+ } & {} & {
2061
+ readonly material: {
2062
+ readonly type: "integer";
2063
+ readonly minimum: -2147483648;
2064
+ readonly maximum: 2147483647;
2065
+ readonly default: number;
2066
+ };
2067
+ readonly name: {
2068
+ readonly type: "string";
2069
+ };
2070
+ readonly density: {
2071
+ readonly type: "number";
2072
+ readonly precision: 1;
2073
+ readonly default: number;
2074
+ };
2075
+ readonly restitution: {
2076
+ readonly type: "number";
2077
+ readonly precision: 1;
2078
+ readonly default: number;
2079
+ };
2080
+ readonly friction: {
2081
+ readonly type: "number";
2082
+ readonly precision: 1;
2083
+ readonly default: number;
2084
+ };
2085
+ readonly compliance: {
2086
+ readonly type: "number";
2087
+ readonly precision: 1;
2088
+ readonly default: number;
2089
+ };
2090
+ readonly heatCapacity: {
2091
+ readonly type: "number";
2092
+ readonly precision: 1;
2093
+ readonly default: number;
2094
+ };
2095
+ readonly viscosity: {
2096
+ readonly type: "number";
2097
+ readonly precision: 1;
2098
+ readonly default: number;
2099
+ };
2100
+ readonly thermalConductivity: {
2101
+ readonly type: "number";
2102
+ readonly precision: 1;
2103
+ readonly default: number;
2104
+ };
2105
+ readonly stressStrainCurve: {
2106
+ readonly type: "object";
2107
+ readonly layout: "packed";
2108
+ readonly properties: {
2109
+ readonly tensileYieldStrainStress: {
2110
+ readonly type: "array";
2111
+ readonly items: {
2112
+ readonly type: "number";
2113
+ readonly precision: 1;
2114
+ readonly default: number;
2115
+ };
2116
+ readonly minItems: 2;
2117
+ readonly maxItems: 2;
2118
+ readonly default: readonly [0, 0];
2119
+ };
2120
+ readonly tensileFractureStrainStress: {
2121
+ readonly type: "array";
2122
+ readonly items: {
2123
+ readonly type: "number";
2124
+ readonly precision: 1;
2125
+ readonly default: number;
2126
+ };
2127
+ readonly minItems: 2;
2128
+ readonly maxItems: 2;
2129
+ readonly default: readonly [0, 0];
2130
+ };
2131
+ readonly compressiveYieldStrainStress: {
2132
+ readonly type: "array";
2133
+ readonly items: {
2134
+ readonly type: "number";
2135
+ readonly precision: 1;
2136
+ readonly default: number;
2137
+ };
2138
+ readonly minItems: 2;
2139
+ readonly maxItems: 2;
2140
+ readonly default: readonly [0, 0];
2141
+ };
2142
+ readonly compressiveFractureStrainStress: {
2143
+ readonly type: "array";
2144
+ readonly items: {
2145
+ readonly type: "number";
2146
+ readonly precision: 1;
2147
+ readonly default: number;
2148
+ };
2149
+ readonly minItems: 2;
2150
+ readonly maxItems: 2;
2151
+ readonly default: readonly [0, 0];
2152
+ };
2153
+ };
2154
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2155
+ };
2156
+ readonly baseColorFactor: {
2157
+ readonly type: "array";
2158
+ readonly items: {
2159
+ readonly type: "number";
2160
+ readonly precision: 1;
2161
+ readonly default: number;
2162
+ };
2163
+ readonly minItems: 4;
2164
+ readonly maxItems: 4;
2165
+ readonly default: readonly [0, 0, 0, 0];
2166
+ };
2167
+ readonly emissiveFactor: {
2168
+ readonly type: "array";
2169
+ readonly items: {
2170
+ readonly type: "number";
2171
+ readonly precision: 1;
2172
+ readonly default: number;
2173
+ };
2174
+ readonly minItems: 3;
2175
+ readonly maxItems: 3;
2176
+ readonly default: readonly [0, 0, 0];
2177
+ };
2178
+ readonly metallicFactor: {
2179
+ readonly type: "number";
2180
+ readonly precision: 1;
2181
+ readonly default: number;
2182
+ };
2183
+ readonly roughnessFactor: {
2184
+ readonly type: "number";
2185
+ readonly precision: 1;
2186
+ readonly default: number;
2187
+ };
2188
+ readonly normalScale: {
2189
+ readonly type: "number";
2190
+ readonly precision: 1;
2191
+ readonly default: number;
2192
+ };
2193
+ readonly occlusionStrength: {
2194
+ readonly type: "number";
2195
+ readonly precision: 1;
2196
+ readonly default: number;
2197
+ };
2198
+ readonly irReflectance: {
2199
+ readonly type: "number";
2200
+ readonly precision: 1;
2201
+ readonly default: number;
2202
+ };
2203
+ readonly irEmission: {
2204
+ readonly type: "number";
2205
+ readonly precision: 1;
2206
+ readonly default: number;
2207
+ };
2208
+ readonly emissionMode: {
2209
+ readonly type: "integer";
2210
+ readonly minimum: 0;
2211
+ readonly maximum: 4294967295;
2212
+ readonly default: number;
2213
+ };
2214
+ readonly baseColorUrl: {
2215
+ readonly type: "string";
2216
+ };
2217
+ readonly metallicRoughnessUrl: {
2218
+ readonly type: "string";
2219
+ };
2220
+ readonly normalUrl: {
2221
+ readonly type: "string";
2222
+ };
2223
+ readonly occlusionUrl: {
2224
+ readonly type: "string";
2225
+ };
2226
+ readonly emissiveUrl: {
2227
+ readonly type: "string";
2228
+ };
2229
+ }>, import("@adobe/data/schema").FromSchemas<{
2230
+ readonly _gltfMeshByUrl: {
2231
+ readonly default: Map<string, Entity> | null;
2232
+ readonly nonPersistent: true;
2233
+ };
2234
+ } & {}>, {
2235
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2236
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2237
+ readonly StaticMesh: readonly ["localBounds"];
2238
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2239
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2240
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2241
+ } & {
2242
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2243
+ } & {} & {
2244
+ 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"];
2245
+ }, {} & {
2246
+ readonly nodeChildrenOf: {
2247
+ readonly key: "parent";
2248
+ readonly archetype: "Node";
2249
+ };
2250
+ } & {} & {
2251
+ readonly materialByName: {
2252
+ readonly key: "name";
2253
+ readonly unique: true;
2254
+ readonly archetype: "Material";
2255
+ };
2256
+ }>, args: {
2257
+ shapeSpec: import("../public.js").ShapeSpec;
2258
+ }) => Entity;
2259
+ readonly insertMeshInstance: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2260
+ readonly mesh: {
2261
+ readonly type: "integer";
2262
+ readonly minimum: -2147483648;
2263
+ readonly maximum: 2147483647;
2264
+ readonly default: number;
2265
+ };
2266
+ readonly gltfUrl: {
2267
+ readonly type: "string";
2268
+ };
2269
+ readonly shapeSpec: {
2270
+ readonly default: import("../public.js").ShapeSpec | null;
2271
+ };
2272
+ readonly voxelVolumeSize: {
2273
+ readonly default: import("@adobe/data/math").Vec3 | null;
2274
+ };
2275
+ readonly localBounds: {
2276
+ readonly default: {
2277
+ readonly min: readonly [number, number, number];
2278
+ readonly max: readonly [number, number, number];
2279
+ } | null;
2280
+ };
2281
+ readonly skinJointTemplate: {
2282
+ readonly default: JointTemplate[];
2283
+ };
2284
+ readonly skinInverseBindMatrices: {
2285
+ readonly default: Float32Array | null;
2286
+ };
2287
+ readonly animationClipRefs: {
2288
+ readonly default: number[];
2289
+ };
2290
+ readonly cpuCollisionPositions: {
2291
+ readonly default: Float32Array | null;
2292
+ };
2293
+ readonly cpuCollisionIndices: {
2294
+ readonly default: Uint32Array | null;
2295
+ };
2296
+ readonly cpuSkin: {
2297
+ readonly default: {
2298
+ positions: Float32Array;
2299
+ joints: Uint32Array;
2300
+ weights: Float32Array;
2301
+ } | null;
2302
+ };
2303
+ } & {
2304
+ readonly visible: {
2305
+ readonly type: "boolean";
2306
+ readonly const: true;
2307
+ readonly default: true;
2308
+ };
2309
+ readonly position: {
2310
+ readonly type: "array";
2311
+ readonly items: {
2312
+ readonly type: "number";
2313
+ readonly precision: 1;
2314
+ readonly default: number;
2315
+ };
2316
+ readonly minItems: 3;
2317
+ readonly maxItems: 3;
2318
+ readonly default: readonly [0, 0, 0];
2319
+ };
2320
+ readonly rotation: {
2321
+ readonly type: "array";
2322
+ readonly items: {
2323
+ readonly type: "number";
2324
+ readonly precision: 1;
2325
+ readonly default: number;
2326
+ };
2327
+ readonly minItems: 4;
2328
+ readonly maxItems: 4;
2329
+ readonly default: readonly [0, 0, 0, 1];
2330
+ readonly interpolators: {
2331
+ readonly linear: (q1: any, q2: any, t: number) => any;
2332
+ };
2333
+ };
2334
+ readonly scale: {
2335
+ readonly type: "array";
2336
+ readonly items: {
2337
+ readonly type: "number";
2338
+ readonly precision: 1;
2339
+ readonly default: number;
2340
+ };
2341
+ readonly minItems: 3;
2342
+ readonly maxItems: 3;
2343
+ readonly default: readonly [0, 0, 0];
2344
+ };
2345
+ readonly parent: {
2346
+ readonly type: "integer";
2347
+ readonly minimum: -2147483648;
2348
+ readonly maximum: 2147483647;
2349
+ readonly default: number;
2350
+ };
2351
+ readonly _worldMatrix: {
2352
+ readonly nonPersistent: true;
2353
+ readonly type: "array";
2354
+ readonly items: {
2355
+ readonly type: "number";
2356
+ readonly precision: 1;
2357
+ readonly default: number;
2358
+ };
2359
+ readonly minItems: 16;
2360
+ readonly maxItems: 16;
2361
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2362
+ };
2363
+ readonly _worldBounds: {
2364
+ readonly nonPersistent: true;
2365
+ readonly type: "object";
2366
+ readonly properties: {
2367
+ readonly min: {
2368
+ readonly type: "array";
2369
+ readonly items: {
2370
+ readonly type: "number";
2371
+ readonly precision: 1;
2372
+ readonly default: number;
2373
+ };
2374
+ readonly minItems: 3;
2375
+ readonly maxItems: 3;
2376
+ readonly default: readonly [0, 0, 0];
2377
+ };
2378
+ readonly max: {
2379
+ readonly type: "array";
2380
+ readonly items: {
2381
+ readonly type: "number";
2382
+ readonly precision: 1;
2383
+ readonly default: number;
2384
+ };
2385
+ readonly minItems: 3;
2386
+ readonly maxItems: 3;
2387
+ readonly default: readonly [0, 0, 0];
2388
+ };
2389
+ };
2390
+ readonly required: readonly ["min", "max"];
2391
+ readonly additionalProperties: false;
2392
+ readonly default: {
2393
+ readonly min: readonly [0, 0, 0];
2394
+ readonly max: readonly [0, 0, 0];
2395
+ };
2396
+ };
2397
+ } & {} & {
2398
+ readonly material: {
2399
+ readonly type: "integer";
2400
+ readonly minimum: -2147483648;
2401
+ readonly maximum: 2147483647;
2402
+ readonly default: number;
2403
+ };
2404
+ readonly name: {
2405
+ readonly type: "string";
2406
+ };
2407
+ readonly density: {
2408
+ readonly type: "number";
2409
+ readonly precision: 1;
2410
+ readonly default: number;
2411
+ };
2412
+ readonly restitution: {
2413
+ readonly type: "number";
2414
+ readonly precision: 1;
2415
+ readonly default: number;
2416
+ };
2417
+ readonly friction: {
2418
+ readonly type: "number";
2419
+ readonly precision: 1;
2420
+ readonly default: number;
2421
+ };
2422
+ readonly compliance: {
2423
+ readonly type: "number";
2424
+ readonly precision: 1;
2425
+ readonly default: number;
2426
+ };
2427
+ readonly heatCapacity: {
2428
+ readonly type: "number";
2429
+ readonly precision: 1;
2430
+ readonly default: number;
2431
+ };
2432
+ readonly viscosity: {
2433
+ readonly type: "number";
2434
+ readonly precision: 1;
2435
+ readonly default: number;
2436
+ };
2437
+ readonly thermalConductivity: {
2438
+ readonly type: "number";
2439
+ readonly precision: 1;
2440
+ readonly default: number;
2441
+ };
2442
+ readonly stressStrainCurve: {
2443
+ readonly type: "object";
2444
+ readonly layout: "packed";
2445
+ readonly properties: {
2446
+ readonly tensileYieldStrainStress: {
2447
+ readonly type: "array";
2448
+ readonly items: {
2449
+ readonly type: "number";
2450
+ readonly precision: 1;
2451
+ readonly default: number;
2452
+ };
2453
+ readonly minItems: 2;
2454
+ readonly maxItems: 2;
2455
+ readonly default: readonly [0, 0];
2456
+ };
2457
+ readonly tensileFractureStrainStress: {
2458
+ readonly type: "array";
2459
+ readonly items: {
2460
+ readonly type: "number";
2461
+ readonly precision: 1;
2462
+ readonly default: number;
2463
+ };
2464
+ readonly minItems: 2;
2465
+ readonly maxItems: 2;
2466
+ readonly default: readonly [0, 0];
2467
+ };
2468
+ readonly compressiveYieldStrainStress: {
2469
+ readonly type: "array";
2470
+ readonly items: {
2471
+ readonly type: "number";
2472
+ readonly precision: 1;
2473
+ readonly default: number;
2474
+ };
2475
+ readonly minItems: 2;
2476
+ readonly maxItems: 2;
2477
+ readonly default: readonly [0, 0];
2478
+ };
2479
+ readonly compressiveFractureStrainStress: {
2480
+ readonly type: "array";
2481
+ readonly items: {
2482
+ readonly type: "number";
2483
+ readonly precision: 1;
2484
+ readonly default: number;
2485
+ };
2486
+ readonly minItems: 2;
2487
+ readonly maxItems: 2;
2488
+ readonly default: readonly [0, 0];
2489
+ };
2490
+ };
2491
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2492
+ };
2493
+ readonly baseColorFactor: {
2494
+ readonly type: "array";
2495
+ readonly items: {
2496
+ readonly type: "number";
2497
+ readonly precision: 1;
2498
+ readonly default: number;
2499
+ };
2500
+ readonly minItems: 4;
2501
+ readonly maxItems: 4;
2502
+ readonly default: readonly [0, 0, 0, 0];
2503
+ };
2504
+ readonly emissiveFactor: {
2505
+ readonly type: "array";
2506
+ readonly items: {
2507
+ readonly type: "number";
2508
+ readonly precision: 1;
2509
+ readonly default: number;
2510
+ };
2511
+ readonly minItems: 3;
2512
+ readonly maxItems: 3;
2513
+ readonly default: readonly [0, 0, 0];
2514
+ };
2515
+ readonly metallicFactor: {
2516
+ readonly type: "number";
2517
+ readonly precision: 1;
2518
+ readonly default: number;
2519
+ };
2520
+ readonly roughnessFactor: {
2521
+ readonly type: "number";
2522
+ readonly precision: 1;
2523
+ readonly default: number;
2524
+ };
2525
+ readonly normalScale: {
2526
+ readonly type: "number";
2527
+ readonly precision: 1;
2528
+ readonly default: number;
2529
+ };
2530
+ readonly occlusionStrength: {
2531
+ readonly type: "number";
2532
+ readonly precision: 1;
2533
+ readonly default: number;
2534
+ };
2535
+ readonly irReflectance: {
2536
+ readonly type: "number";
2537
+ readonly precision: 1;
2538
+ readonly default: number;
2539
+ };
2540
+ readonly irEmission: {
2541
+ readonly type: "number";
2542
+ readonly precision: 1;
2543
+ readonly default: number;
2544
+ };
2545
+ readonly emissionMode: {
2546
+ readonly type: "integer";
2547
+ readonly minimum: 0;
2548
+ readonly maximum: 4294967295;
2549
+ readonly default: number;
2550
+ };
2551
+ readonly baseColorUrl: {
2552
+ readonly type: "string";
2553
+ };
2554
+ readonly metallicRoughnessUrl: {
2555
+ readonly type: "string";
2556
+ };
2557
+ readonly normalUrl: {
2558
+ readonly type: "string";
2559
+ };
2560
+ readonly occlusionUrl: {
2561
+ readonly type: "string";
2562
+ };
2563
+ readonly emissiveUrl: {
2564
+ readonly type: "string";
2565
+ };
2566
+ }>, import("@adobe/data/schema").FromSchemas<{
2567
+ readonly _gltfMeshByUrl: {
2568
+ readonly default: Map<string, Entity> | null;
2569
+ readonly nonPersistent: true;
2570
+ };
2571
+ } & {}>, {
2572
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2573
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2574
+ readonly StaticMesh: readonly ["localBounds"];
2575
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2576
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2577
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2578
+ } & {
2579
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2580
+ } & {} & {
2581
+ 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"];
2582
+ }, {} & {
2583
+ readonly nodeChildrenOf: {
2584
+ readonly key: "parent";
2585
+ readonly archetype: "Node";
2586
+ };
2587
+ } & {} & {
2588
+ readonly materialByName: {
2589
+ readonly key: "name";
2590
+ readonly unique: true;
2591
+ readonly archetype: "Material";
2592
+ };
2593
+ }>, args: {
2594
+ mesh: Entity;
2595
+ material: Entity;
2596
+ position?: import("@adobe/data/math").Vec3;
2597
+ rotation?: Quat;
2598
+ scale?: import("@adobe/data/math").Vec3;
2599
+ }) => Entity;
2600
+ readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2601
+ readonly mesh: {
2602
+ readonly type: "integer";
2603
+ readonly minimum: -2147483648;
2604
+ readonly maximum: 2147483647;
2605
+ readonly default: number;
2606
+ };
2607
+ readonly gltfUrl: {
2608
+ readonly type: "string";
2609
+ };
2610
+ readonly shapeSpec: {
2611
+ readonly default: import("../public.js").ShapeSpec | null;
2612
+ };
2613
+ readonly voxelVolumeSize: {
2614
+ readonly default: import("@adobe/data/math").Vec3 | null;
2615
+ };
2616
+ readonly localBounds: {
2617
+ readonly default: {
2618
+ readonly min: readonly [number, number, number];
2619
+ readonly max: readonly [number, number, number];
2620
+ } | null;
2621
+ };
2622
+ readonly skinJointTemplate: {
2623
+ readonly default: JointTemplate[];
2624
+ };
2625
+ readonly skinInverseBindMatrices: {
2626
+ readonly default: Float32Array | null;
2627
+ };
2628
+ readonly animationClipRefs: {
2629
+ readonly default: number[];
2630
+ };
2631
+ readonly cpuCollisionPositions: {
2632
+ readonly default: Float32Array | null;
2633
+ };
2634
+ readonly cpuCollisionIndices: {
2635
+ readonly default: Uint32Array | null;
2636
+ };
2637
+ readonly cpuSkin: {
2638
+ readonly default: {
2639
+ positions: Float32Array;
2640
+ joints: Uint32Array;
2641
+ weights: Float32Array;
2642
+ } | null;
2643
+ };
2644
+ } & {
2645
+ readonly visible: {
2646
+ readonly type: "boolean";
2647
+ readonly const: true;
2648
+ readonly default: true;
2649
+ };
2650
+ readonly position: {
2651
+ readonly type: "array";
2652
+ readonly items: {
2653
+ readonly type: "number";
2654
+ readonly precision: 1;
2655
+ readonly default: number;
2656
+ };
2657
+ readonly minItems: 3;
2658
+ readonly maxItems: 3;
2659
+ readonly default: readonly [0, 0, 0];
2660
+ };
2661
+ readonly rotation: {
2662
+ readonly type: "array";
2663
+ readonly items: {
2664
+ readonly type: "number";
2665
+ readonly precision: 1;
2666
+ readonly default: number;
2667
+ };
2668
+ readonly minItems: 4;
2669
+ readonly maxItems: 4;
2670
+ readonly default: readonly [0, 0, 0, 1];
2671
+ readonly interpolators: {
2672
+ readonly linear: (q1: any, q2: any, t: number) => any;
2673
+ };
2674
+ };
2675
+ readonly scale: {
2676
+ readonly type: "array";
2677
+ readonly items: {
2678
+ readonly type: "number";
2679
+ readonly precision: 1;
2680
+ readonly default: number;
2681
+ };
2682
+ readonly minItems: 3;
2683
+ readonly maxItems: 3;
2684
+ readonly default: readonly [0, 0, 0];
2685
+ };
2686
+ readonly parent: {
2687
+ readonly type: "integer";
2688
+ readonly minimum: -2147483648;
2689
+ readonly maximum: 2147483647;
2690
+ readonly default: number;
2691
+ };
2692
+ readonly _worldMatrix: {
2693
+ readonly nonPersistent: true;
2694
+ readonly type: "array";
2695
+ readonly items: {
2696
+ readonly type: "number";
2697
+ readonly precision: 1;
2698
+ readonly default: number;
2699
+ };
2700
+ readonly minItems: 16;
2701
+ readonly maxItems: 16;
2702
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2703
+ };
2704
+ readonly _worldBounds: {
2705
+ readonly nonPersistent: true;
2706
+ readonly type: "object";
2707
+ readonly properties: {
2708
+ readonly min: {
2709
+ readonly type: "array";
2710
+ readonly items: {
2711
+ readonly type: "number";
2712
+ readonly precision: 1;
2713
+ readonly default: number;
2714
+ };
2715
+ readonly minItems: 3;
2716
+ readonly maxItems: 3;
2717
+ readonly default: readonly [0, 0, 0];
2718
+ };
2719
+ readonly max: {
2720
+ readonly type: "array";
2721
+ readonly items: {
2722
+ readonly type: "number";
2723
+ readonly precision: 1;
2724
+ readonly default: number;
2725
+ };
2726
+ readonly minItems: 3;
2727
+ readonly maxItems: 3;
2728
+ readonly default: readonly [0, 0, 0];
2729
+ };
2730
+ };
2731
+ readonly required: readonly ["min", "max"];
2732
+ readonly additionalProperties: false;
2733
+ readonly default: {
2734
+ readonly min: readonly [0, 0, 0];
2735
+ readonly max: readonly [0, 0, 0];
2736
+ };
2737
+ };
2738
+ } & {} & {
2739
+ readonly material: {
2740
+ readonly type: "integer";
2741
+ readonly minimum: -2147483648;
2742
+ readonly maximum: 2147483647;
2743
+ readonly default: number;
2744
+ };
2745
+ readonly name: {
2746
+ readonly type: "string";
2747
+ };
2748
+ readonly density: {
2749
+ readonly type: "number";
2750
+ readonly precision: 1;
747
2751
  readonly default: number;
748
2752
  };
749
- readonly _worldMatrix: {
750
- readonly type: "array";
751
- readonly items: {
752
- readonly type: "number";
753
- readonly precision: 1;
754
- readonly default: number;
755
- };
756
- readonly minItems: 16;
757
- readonly maxItems: 16;
758
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2753
+ readonly restitution: {
2754
+ readonly type: "number";
2755
+ readonly precision: 1;
2756
+ readonly default: number;
759
2757
  };
760
- readonly _worldBounds: {
2758
+ readonly friction: {
2759
+ readonly type: "number";
2760
+ readonly precision: 1;
2761
+ readonly default: number;
2762
+ };
2763
+ readonly compliance: {
2764
+ readonly type: "number";
2765
+ readonly precision: 1;
2766
+ readonly default: number;
2767
+ };
2768
+ readonly heatCapacity: {
2769
+ readonly type: "number";
2770
+ readonly precision: 1;
2771
+ readonly default: number;
2772
+ };
2773
+ readonly viscosity: {
2774
+ readonly type: "number";
2775
+ readonly precision: 1;
2776
+ readonly default: number;
2777
+ };
2778
+ readonly thermalConductivity: {
2779
+ readonly type: "number";
2780
+ readonly precision: 1;
2781
+ readonly default: number;
2782
+ };
2783
+ readonly stressStrainCurve: {
761
2784
  readonly type: "object";
2785
+ readonly layout: "packed";
762
2786
  readonly properties: {
763
- readonly min: {
2787
+ readonly tensileYieldStrainStress: {
764
2788
  readonly type: "array";
765
2789
  readonly items: {
766
2790
  readonly type: "number";
767
2791
  readonly precision: 1;
768
2792
  readonly default: number;
769
2793
  };
770
- readonly minItems: 3;
771
- readonly maxItems: 3;
772
- readonly default: readonly [0, 0, 0];
2794
+ readonly minItems: 2;
2795
+ readonly maxItems: 2;
2796
+ readonly default: readonly [0, 0];
773
2797
  };
774
- readonly max: {
2798
+ readonly tensileFractureStrainStress: {
775
2799
  readonly type: "array";
776
2800
  readonly items: {
777
2801
  readonly type: "number";
778
2802
  readonly precision: 1;
779
2803
  readonly default: number;
780
2804
  };
781
- readonly minItems: 3;
782
- readonly maxItems: 3;
783
- readonly default: readonly [0, 0, 0];
2805
+ readonly minItems: 2;
2806
+ readonly maxItems: 2;
2807
+ readonly default: readonly [0, 0];
2808
+ };
2809
+ readonly compressiveYieldStrainStress: {
2810
+ readonly type: "array";
2811
+ readonly items: {
2812
+ readonly type: "number";
2813
+ readonly precision: 1;
2814
+ readonly default: number;
2815
+ };
2816
+ readonly minItems: 2;
2817
+ readonly maxItems: 2;
2818
+ readonly default: readonly [0, 0];
2819
+ };
2820
+ readonly compressiveFractureStrainStress: {
2821
+ readonly type: "array";
2822
+ readonly items: {
2823
+ readonly type: "number";
2824
+ readonly precision: 1;
2825
+ readonly default: number;
2826
+ };
2827
+ readonly minItems: 2;
2828
+ readonly maxItems: 2;
2829
+ readonly default: readonly [0, 0];
784
2830
  };
785
2831
  };
786
- readonly required: readonly ["min", "max"];
787
- readonly additionalProperties: false;
788
- readonly default: {
789
- readonly min: readonly [0, 0, 0];
790
- readonly max: readonly [0, 0, 0];
2832
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2833
+ };
2834
+ readonly baseColorFactor: {
2835
+ readonly type: "array";
2836
+ readonly items: {
2837
+ readonly type: "number";
2838
+ readonly precision: 1;
2839
+ readonly default: number;
2840
+ };
2841
+ readonly minItems: 4;
2842
+ readonly maxItems: 4;
2843
+ readonly default: readonly [0, 0, 0, 0];
2844
+ };
2845
+ readonly emissiveFactor: {
2846
+ readonly type: "array";
2847
+ readonly items: {
2848
+ readonly type: "number";
2849
+ readonly precision: 1;
2850
+ readonly default: number;
791
2851
  };
2852
+ readonly minItems: 3;
2853
+ readonly maxItems: 3;
2854
+ readonly default: readonly [0, 0, 0];
2855
+ };
2856
+ readonly metallicFactor: {
2857
+ readonly type: "number";
2858
+ readonly precision: 1;
2859
+ readonly default: number;
2860
+ };
2861
+ readonly roughnessFactor: {
2862
+ readonly type: "number";
2863
+ readonly precision: 1;
2864
+ readonly default: number;
2865
+ };
2866
+ readonly normalScale: {
2867
+ readonly type: "number";
2868
+ readonly precision: 1;
2869
+ readonly default: number;
2870
+ };
2871
+ readonly occlusionStrength: {
2872
+ readonly type: "number";
2873
+ readonly precision: 1;
2874
+ readonly default: number;
2875
+ };
2876
+ readonly irReflectance: {
2877
+ readonly type: "number";
2878
+ readonly precision: 1;
2879
+ readonly default: number;
2880
+ };
2881
+ readonly irEmission: {
2882
+ readonly type: "number";
2883
+ readonly precision: 1;
2884
+ readonly default: number;
2885
+ };
2886
+ readonly emissionMode: {
2887
+ readonly type: "integer";
2888
+ readonly minimum: 0;
2889
+ readonly maximum: 4294967295;
2890
+ readonly default: number;
2891
+ };
2892
+ readonly baseColorUrl: {
2893
+ readonly type: "string";
2894
+ };
2895
+ readonly metallicRoughnessUrl: {
2896
+ readonly type: "string";
2897
+ };
2898
+ readonly normalUrl: {
2899
+ readonly type: "string";
2900
+ };
2901
+ readonly occlusionUrl: {
2902
+ readonly type: "string";
792
2903
  };
793
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
794
- readonly Geometry: readonly ["modelUrl"];
795
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
2904
+ readonly emissiveUrl: {
2905
+ readonly type: "string";
2906
+ };
2907
+ }>, import("@adobe/data/schema").FromSchemas<{
2908
+ readonly _gltfMeshByUrl: {
2909
+ readonly default: Map<string, Entity> | null;
2910
+ readonly nonPersistent: true;
2911
+ };
2912
+ } & {}>, {
2913
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2914
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2915
+ readonly StaticMesh: readonly ["localBounds"];
2916
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2917
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2918
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
796
2919
  } & {
797
2920
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
798
- } & {}, {} & {} & {}>, args: {
799
- geometry: number;
800
- position?: readonly [number, number, number];
2921
+ } & {} & {
2922
+ 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"];
2923
+ }, {} & {
2924
+ readonly nodeChildrenOf: {
2925
+ readonly key: "parent";
2926
+ readonly archetype: "Node";
2927
+ };
2928
+ } & {} & {
2929
+ readonly materialByName: {
2930
+ readonly key: "name";
2931
+ readonly unique: true;
2932
+ readonly archetype: "Material";
2933
+ };
2934
+ }>, args: {
2935
+ mesh: Entity;
2936
+ position?: import("@adobe/data/math").Vec3;
801
2937
  rotation?: Quat;
802
- scale?: readonly [number, number, number];
803
- parent?: number;
804
- }) => number;
805
- } & {} & {} & {} & {
2938
+ scale?: import("@adobe/data/math").Vec3;
2939
+ parent?: Entity;
2940
+ }) => Entity;
2941
+ } & {} & {} & {} & {} & {
806
2942
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
807
2943
  readonly animationClipTracks: {
808
2944
  readonly default: import("../animation/animation-track/public.js")[];
@@ -833,9 +2969,11 @@ export declare const joltRagdoll: {
833
2969
  };
834
2970
  readonly animationLoop: {
835
2971
  readonly type: "boolean";
2972
+ readonly default: boolean;
836
2973
  };
837
2974
  readonly animationPlaying: {
838
2975
  readonly type: "boolean";
2976
+ readonly default: boolean;
839
2977
  };
840
2978
  readonly animationObservable: {
841
2979
  readonly type: "boolean";
@@ -880,9 +3018,11 @@ export declare const joltRagdoll: {
880
3018
  };
881
3019
  readonly animationLoop: {
882
3020
  readonly type: "boolean";
3021
+ readonly default: boolean;
883
3022
  };
884
3023
  readonly animationPlaying: {
885
3024
  readonly type: "boolean";
3025
+ readonly default: boolean;
886
3026
  };
887
3027
  readonly animationObservable: {
888
3028
  readonly type: "boolean";
@@ -908,132 +3048,51 @@ export declare const joltRagdoll: {
908
3048
  };
909
3049
  readonly animationClipDuration: {
910
3050
  readonly type: "number";
911
- readonly precision: 2;
912
- readonly default: number;
913
- };
914
- readonly animationClipRef: {
915
- readonly type: "integer";
916
- readonly minimum: -2147483648;
917
- readonly maximum: 2147483647;
918
- readonly default: number;
919
- };
920
- readonly animationTargets: {
921
- readonly default: Entity[];
922
- };
923
- readonly animationTime: {
924
- readonly type: "number";
925
- readonly precision: 2;
926
- readonly default: number;
927
- };
928
- readonly animationSpeed: {
929
- readonly default: 1;
930
- readonly type: "number";
931
- readonly precision: 1;
932
- };
933
- readonly animationLoop: {
934
- readonly type: "boolean";
935
- };
936
- readonly animationPlaying: {
937
- readonly type: "boolean";
938
- };
939
- readonly animationObservable: {
940
- readonly type: "boolean";
941
- readonly const: true;
942
- readonly default: true;
943
- };
944
- }>, import("@adobe/data/schema").FromSchemas<{}>, {
945
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
946
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
947
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
948
- }, {}>, args: {
949
- dt: number;
950
- observable: boolean;
951
- }) => void;
952
- } & {} & {
953
- readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
954
- readonly _bounds: {
955
- readonly default: {
956
- readonly min: readonly [number, number, number];
957
- readonly max: readonly [number, number, number];
958
- } | null;
959
- };
960
- readonly _skinJointTemplate: {
961
- readonly default: JointTemplate[];
962
- };
963
- readonly _skinInverseBindMatrices: {
964
- readonly default: Float32Array | null;
965
- };
966
- readonly _animationClipRefs: {
967
- readonly default: number[];
968
- };
969
- readonly _cpuPositions: {
970
- readonly default: Float32Array | null;
971
- };
972
- readonly _cpuIndices: {
973
- readonly default: Uint32Array | null;
974
- };
975
- readonly _cpuSkin: {
976
- readonly default: {
977
- positions: Float32Array;
978
- joints: Uint32Array;
979
- weights: Float32Array;
980
- } | null;
981
- };
982
- } & {} & {
983
- readonly _vertexBuffer: {
984
- readonly default: GPUBuffer | null;
985
- };
986
- readonly _skinVertexBuffer: {
987
- readonly default: GPUBuffer | null;
988
- };
989
- readonly _indexBuffer: {
990
- readonly default: GPUBuffer | null;
991
- };
992
- readonly _indexCount: {
993
- readonly type: "integer";
994
- readonly minimum: 0;
995
- readonly maximum: 4294967295;
996
- readonly default: number;
997
- };
998
- readonly _indexFormat: {
999
- readonly default: GPUIndexFormat;
1000
- };
1001
- readonly _materialBindGroup: {
1002
- readonly default: GPUBindGroup | null;
1003
- };
1004
- readonly _geometry: {
1005
- readonly type: "integer";
1006
- readonly minimum: -2147483648;
1007
- readonly maximum: 2147483647;
1008
- readonly default: number;
1009
- };
1010
- readonly _material: {
1011
- readonly type: "integer";
1012
- readonly minimum: -2147483648;
1013
- readonly maximum: 2147483647;
1014
- readonly default: number;
1015
- };
1016
- readonly _nodeLocalMatrix: {
1017
- readonly type: "array";
1018
- readonly items: {
1019
- readonly type: "number";
1020
- readonly precision: 1;
1021
- readonly default: number;
1022
- };
1023
- readonly minItems: 16;
1024
- readonly maxItems: 16;
1025
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3051
+ readonly precision: 2;
3052
+ readonly default: number;
1026
3053
  };
1027
- readonly _skeletonModelRef: {
3054
+ readonly animationClipRef: {
1028
3055
  readonly type: "integer";
1029
3056
  readonly minimum: -2147483648;
1030
3057
  readonly maximum: 2147483647;
1031
3058
  readonly default: number;
1032
3059
  };
1033
- readonly _skeletonJointMatrixBindGroup: {
1034
- readonly default: GPUBindGroup | null;
3060
+ readonly animationTargets: {
3061
+ readonly default: Entity[];
1035
3062
  };
1036
- } & {
3063
+ readonly animationTime: {
3064
+ readonly type: "number";
3065
+ readonly precision: 2;
3066
+ readonly default: number;
3067
+ };
3068
+ readonly animationSpeed: {
3069
+ readonly default: 1;
3070
+ readonly type: "number";
3071
+ readonly precision: 1;
3072
+ };
3073
+ readonly animationLoop: {
3074
+ readonly type: "boolean";
3075
+ readonly default: boolean;
3076
+ };
3077
+ readonly animationPlaying: {
3078
+ readonly type: "boolean";
3079
+ readonly default: boolean;
3080
+ };
3081
+ readonly animationObservable: {
3082
+ readonly type: "boolean";
3083
+ readonly const: true;
3084
+ readonly default: true;
3085
+ };
3086
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3087
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
3088
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
3089
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
3090
+ }, {}>, args: {
3091
+ dt: number;
3092
+ observable: boolean;
3093
+ }) => void;
3094
+ } & {} & {
3095
+ readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
1037
3096
  readonly visible: {
1038
3097
  readonly type: "boolean";
1039
3098
  readonly const: true;
@@ -1082,6 +3141,7 @@ export declare const joltRagdoll: {
1082
3141
  readonly default: number;
1083
3142
  };
1084
3143
  readonly _worldMatrix: {
3144
+ readonly nonPersistent: true;
1085
3145
  readonly type: "array";
1086
3146
  readonly items: {
1087
3147
  readonly type: "number";
@@ -1093,6 +3153,7 @@ export declare const joltRagdoll: {
1093
3153
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1094
3154
  };
1095
3155
  readonly _worldBounds: {
3156
+ readonly nonPersistent: true;
1096
3157
  readonly type: "object";
1097
3158
  readonly properties: {
1098
3159
  readonly min: {
@@ -1125,16 +3186,284 @@ export declare const joltRagdoll: {
1125
3186
  readonly max: readonly [0, 0, 0];
1126
3187
  };
1127
3188
  };
1128
- } & {
1129
- readonly modelUrl: {
1130
- readonly type: "string";
3189
+ } & {
3190
+ readonly material: {
3191
+ readonly type: "integer";
3192
+ readonly minimum: -2147483648;
3193
+ readonly maximum: 2147483647;
3194
+ readonly default: number;
3195
+ };
3196
+ readonly name: {
3197
+ readonly type: "string";
3198
+ };
3199
+ readonly density: {
3200
+ readonly type: "number";
3201
+ readonly precision: 1;
3202
+ readonly default: number;
3203
+ };
3204
+ readonly restitution: {
3205
+ readonly type: "number";
3206
+ readonly precision: 1;
3207
+ readonly default: number;
3208
+ };
3209
+ readonly friction: {
3210
+ readonly type: "number";
3211
+ readonly precision: 1;
3212
+ readonly default: number;
3213
+ };
3214
+ readonly compliance: {
3215
+ readonly type: "number";
3216
+ readonly precision: 1;
3217
+ readonly default: number;
3218
+ };
3219
+ readonly heatCapacity: {
3220
+ readonly type: "number";
3221
+ readonly precision: 1;
3222
+ readonly default: number;
3223
+ };
3224
+ readonly viscosity: {
3225
+ readonly type: "number";
3226
+ readonly precision: 1;
3227
+ readonly default: number;
3228
+ };
3229
+ readonly thermalConductivity: {
3230
+ readonly type: "number";
3231
+ readonly precision: 1;
3232
+ readonly default: number;
3233
+ };
3234
+ readonly stressStrainCurve: {
3235
+ readonly type: "object";
3236
+ readonly layout: "packed";
3237
+ readonly properties: {
3238
+ readonly tensileYieldStrainStress: {
3239
+ readonly type: "array";
3240
+ readonly items: {
3241
+ readonly type: "number";
3242
+ readonly precision: 1;
3243
+ readonly default: number;
3244
+ };
3245
+ readonly minItems: 2;
3246
+ readonly maxItems: 2;
3247
+ readonly default: readonly [0, 0];
3248
+ };
3249
+ readonly tensileFractureStrainStress: {
3250
+ readonly type: "array";
3251
+ readonly items: {
3252
+ readonly type: "number";
3253
+ readonly precision: 1;
3254
+ readonly default: number;
3255
+ };
3256
+ readonly minItems: 2;
3257
+ readonly maxItems: 2;
3258
+ readonly default: readonly [0, 0];
3259
+ };
3260
+ readonly compressiveYieldStrainStress: {
3261
+ readonly type: "array";
3262
+ readonly items: {
3263
+ readonly type: "number";
3264
+ readonly precision: 1;
3265
+ readonly default: number;
3266
+ };
3267
+ readonly minItems: 2;
3268
+ readonly maxItems: 2;
3269
+ readonly default: readonly [0, 0];
3270
+ };
3271
+ readonly compressiveFractureStrainStress: {
3272
+ readonly type: "array";
3273
+ readonly items: {
3274
+ readonly type: "number";
3275
+ readonly precision: 1;
3276
+ readonly default: number;
3277
+ };
3278
+ readonly minItems: 2;
3279
+ readonly maxItems: 2;
3280
+ readonly default: readonly [0, 0];
3281
+ };
3282
+ };
3283
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3284
+ };
3285
+ readonly baseColorFactor: {
3286
+ readonly type: "array";
3287
+ readonly items: {
3288
+ readonly type: "number";
3289
+ readonly precision: 1;
3290
+ readonly default: number;
3291
+ };
3292
+ readonly minItems: 4;
3293
+ readonly maxItems: 4;
3294
+ readonly default: readonly [0, 0, 0, 0];
3295
+ };
3296
+ readonly emissiveFactor: {
3297
+ readonly type: "array";
3298
+ readonly items: {
3299
+ readonly type: "number";
3300
+ readonly precision: 1;
3301
+ readonly default: number;
3302
+ };
3303
+ readonly minItems: 3;
3304
+ readonly maxItems: 3;
3305
+ readonly default: readonly [0, 0, 0];
3306
+ };
3307
+ readonly metallicFactor: {
3308
+ readonly type: "number";
3309
+ readonly precision: 1;
3310
+ readonly default: number;
3311
+ };
3312
+ readonly roughnessFactor: {
3313
+ readonly type: "number";
3314
+ readonly precision: 1;
3315
+ readonly default: number;
3316
+ };
3317
+ readonly normalScale: {
3318
+ readonly type: "number";
3319
+ readonly precision: 1;
3320
+ readonly default: number;
3321
+ };
3322
+ readonly occlusionStrength: {
3323
+ readonly type: "number";
3324
+ readonly precision: 1;
3325
+ readonly default: number;
3326
+ };
3327
+ readonly irReflectance: {
3328
+ readonly type: "number";
3329
+ readonly precision: 1;
3330
+ readonly default: number;
3331
+ };
3332
+ readonly irEmission: {
3333
+ readonly type: "number";
3334
+ readonly precision: 1;
3335
+ readonly default: number;
3336
+ };
3337
+ readonly emissionMode: {
3338
+ readonly type: "integer";
3339
+ readonly minimum: 0;
3340
+ readonly maximum: 4294967295;
3341
+ readonly default: number;
3342
+ };
3343
+ readonly baseColorUrl: {
3344
+ readonly type: "string";
3345
+ };
3346
+ readonly metallicRoughnessUrl: {
3347
+ readonly type: "string";
3348
+ };
3349
+ readonly normalUrl: {
3350
+ readonly type: "string";
3351
+ };
3352
+ readonly occlusionUrl: {
3353
+ readonly type: "string";
3354
+ };
3355
+ readonly emissiveUrl: {
3356
+ readonly type: "string";
3357
+ };
3358
+ } & {
3359
+ readonly mesh: {
3360
+ readonly type: "integer";
3361
+ readonly minimum: -2147483648;
3362
+ readonly maximum: 2147483647;
3363
+ readonly default: number;
3364
+ };
3365
+ readonly gltfUrl: {
3366
+ readonly type: "string";
3367
+ };
3368
+ readonly shapeSpec: {
3369
+ readonly default: import("../public.js").ShapeSpec | null;
3370
+ };
3371
+ readonly voxelVolumeSize: {
3372
+ readonly default: import("@adobe/data/math").Vec3 | null;
3373
+ };
3374
+ readonly localBounds: {
3375
+ readonly default: {
3376
+ readonly min: readonly [number, number, number];
3377
+ readonly max: readonly [number, number, number];
3378
+ } | null;
3379
+ };
3380
+ readonly skinJointTemplate: {
3381
+ readonly default: JointTemplate[];
3382
+ };
3383
+ readonly skinInverseBindMatrices: {
3384
+ readonly default: Float32Array | null;
3385
+ };
3386
+ readonly animationClipRefs: {
3387
+ readonly default: number[];
3388
+ };
3389
+ readonly cpuCollisionPositions: {
3390
+ readonly default: Float32Array | null;
3391
+ };
3392
+ readonly cpuCollisionIndices: {
3393
+ readonly default: Uint32Array | null;
3394
+ };
3395
+ readonly cpuSkin: {
3396
+ readonly default: {
3397
+ positions: Float32Array;
3398
+ joints: Uint32Array;
3399
+ weights: Float32Array;
3400
+ } | null;
3401
+ };
3402
+ } & {
3403
+ readonly _vertexBuffer: {
3404
+ readonly default: GPUBuffer | null;
3405
+ readonly nonPersistent: true;
3406
+ };
3407
+ readonly _skinVertexBuffer: {
3408
+ readonly default: GPUBuffer | null;
3409
+ readonly nonPersistent: true;
3410
+ };
3411
+ readonly _indexBuffer: {
3412
+ readonly default: GPUBuffer | null;
3413
+ readonly nonPersistent: true;
3414
+ };
3415
+ readonly _indexCount: {
3416
+ readonly nonPersistent: true;
3417
+ readonly type: "integer";
3418
+ readonly minimum: 0;
3419
+ readonly maximum: 4294967295;
3420
+ readonly default: number;
3421
+ };
3422
+ readonly _indexFormat: {
3423
+ readonly default: GPUIndexFormat;
3424
+ readonly nonPersistent: true;
3425
+ };
3426
+ readonly _materialBindGroup: {
3427
+ readonly default: GPUBindGroup | null;
3428
+ readonly nonPersistent: true;
3429
+ };
3430
+ readonly _mesh: {
3431
+ readonly nonPersistent: true;
3432
+ readonly type: "integer";
3433
+ readonly minimum: -2147483648;
3434
+ readonly maximum: 2147483647;
3435
+ readonly default: number;
3436
+ };
3437
+ readonly _material: {
3438
+ readonly nonPersistent: true;
3439
+ readonly type: "integer";
3440
+ readonly minimum: -2147483648;
3441
+ readonly maximum: 2147483647;
3442
+ readonly default: number;
3443
+ };
3444
+ readonly _nodeLocalMatrix: {
3445
+ readonly nonPersistent: true;
3446
+ readonly type: "array";
3447
+ readonly items: {
3448
+ readonly type: "number";
3449
+ readonly precision: 1;
3450
+ readonly default: number;
3451
+ };
3452
+ readonly minItems: 16;
3453
+ readonly maxItems: 16;
3454
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1131
3455
  };
1132
- readonly geometry: {
3456
+ readonly _skeletonModelRef: {
3457
+ readonly nonPersistent: true;
1133
3458
  readonly type: "integer";
1134
3459
  readonly minimum: -2147483648;
1135
3460
  readonly maximum: 2147483647;
1136
3461
  readonly default: number;
1137
3462
  };
3463
+ readonly _skeletonJointMatrixBindGroup: {
3464
+ readonly default: GPUBindGroup | null;
3465
+ readonly nonPersistent: true;
3466
+ };
1138
3467
  } & {
1139
3468
  readonly animationClipTracks: {
1140
3469
  readonly default: import("../animation/animation-track/public.js")[];
@@ -1165,9 +3494,11 @@ export declare const joltRagdoll: {
1165
3494
  };
1166
3495
  readonly animationLoop: {
1167
3496
  readonly type: "boolean";
3497
+ readonly default: boolean;
1168
3498
  };
1169
3499
  readonly animationPlaying: {
1170
3500
  readonly type: "boolean";
3501
+ readonly default: boolean;
1171
3502
  };
1172
3503
  readonly animationObservable: {
1173
3504
  readonly type: "boolean";
@@ -1175,6 +3506,11 @@ export declare const joltRagdoll: {
1175
3506
  readonly default: true;
1176
3507
  };
1177
3508
  }>, import("@adobe/data/schema").FromSchemas<{} & {
3509
+ readonly _gltfMeshByUrl: {
3510
+ readonly default: Map<string, Entity> | null;
3511
+ readonly nonPersistent: true;
3512
+ };
3513
+ } & {
1178
3514
  readonly frameTime: {
1179
3515
  readonly default: import("../../core/frame-time/public.js");
1180
3516
  readonly nonPersistent: true;
@@ -1193,24 +3529,43 @@ export declare const joltRagdoll: {
1193
3529
  readonly nonPersistent: true;
1194
3530
  };
1195
3531
  }>, {} & {} & {
1196
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1197
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1198
- } & {
1199
3532
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1200
3533
  } & {} & {
1201
- readonly Geometry: readonly ["modelUrl"];
1202
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
3534
+ 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"];
3535
+ } & {
3536
+ readonly GltfMeshPending: readonly ["gltfUrl"];
3537
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
3538
+ readonly StaticMesh: readonly ["localBounds"];
3539
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
3540
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
3541
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
3542
+ } & {
3543
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3544
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
1203
3545
  } & {
1204
3546
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
1205
3547
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1206
3548
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1207
- } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3549
+ } & {}, {} & {} & {
3550
+ readonly nodeChildrenOf: {
3551
+ readonly key: "parent";
3552
+ readonly archetype: "Node";
3553
+ };
3554
+ } & {} & {
3555
+ readonly materialByName: {
3556
+ readonly key: "name";
3557
+ readonly unique: true;
3558
+ readonly archetype: "Material";
3559
+ };
3560
+ } & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1208
3561
  } & {
1209
3562
  readonly initSkeleton: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1210
3563
  readonly _skeletonJoints: {
1211
3564
  readonly default: number[];
3565
+ readonly nonPersistent: true;
1212
3566
  };
1213
- readonly _skeletonGeometry: {
3567
+ readonly _skeletonMesh: {
3568
+ readonly nonPersistent: true;
1214
3569
  readonly type: "integer";
1215
3570
  readonly minimum: -2147483648;
1216
3571
  readonly maximum: 2147483647;
@@ -1218,9 +3573,11 @@ export declare const joltRagdoll: {
1218
3573
  };
1219
3574
  readonly _skeletonInstanceBuffer: {
1220
3575
  readonly default: GPUBuffer | null;
3576
+ readonly nonPersistent: true;
1221
3577
  };
1222
3578
  readonly _skeletonJointMatrixBuffer: {
1223
3579
  readonly default: GPUBuffer | null;
3580
+ readonly nonPersistent: true;
1224
3581
  };
1225
3582
  } & {
1226
3583
  readonly visible: {
@@ -1271,6 +3628,7 @@ export declare const joltRagdoll: {
1271
3628
  readonly default: number;
1272
3629
  };
1273
3630
  readonly _worldMatrix: {
3631
+ readonly nonPersistent: true;
1274
3632
  readonly type: "array";
1275
3633
  readonly items: {
1276
3634
  readonly type: "number";
@@ -1282,6 +3640,7 @@ export declare const joltRagdoll: {
1282
3640
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1283
3641
  };
1284
3642
  readonly _worldBounds: {
3643
+ readonly nonPersistent: true;
1285
3644
  readonly type: "object";
1286
3645
  readonly properties: {
1287
3646
  readonly min: {
@@ -1317,14 +3676,18 @@ export declare const joltRagdoll: {
1317
3676
  } & {} & {
1318
3677
  readonly _vertexBuffer: {
1319
3678
  readonly default: GPUBuffer | null;
3679
+ readonly nonPersistent: true;
1320
3680
  };
1321
3681
  readonly _skinVertexBuffer: {
1322
3682
  readonly default: GPUBuffer | null;
3683
+ readonly nonPersistent: true;
1323
3684
  };
1324
3685
  readonly _indexBuffer: {
1325
3686
  readonly default: GPUBuffer | null;
3687
+ readonly nonPersistent: true;
1326
3688
  };
1327
3689
  readonly _indexCount: {
3690
+ readonly nonPersistent: true;
1328
3691
  readonly type: "integer";
1329
3692
  readonly minimum: 0;
1330
3693
  readonly maximum: 4294967295;
@@ -1332,23 +3695,28 @@ export declare const joltRagdoll: {
1332
3695
  };
1333
3696
  readonly _indexFormat: {
1334
3697
  readonly default: GPUIndexFormat;
3698
+ readonly nonPersistent: true;
1335
3699
  };
1336
3700
  readonly _materialBindGroup: {
1337
3701
  readonly default: GPUBindGroup | null;
3702
+ readonly nonPersistent: true;
1338
3703
  };
1339
- readonly _geometry: {
3704
+ readonly _mesh: {
3705
+ readonly nonPersistent: true;
1340
3706
  readonly type: "integer";
1341
3707
  readonly minimum: -2147483648;
1342
3708
  readonly maximum: 2147483647;
1343
3709
  readonly default: number;
1344
3710
  };
1345
3711
  readonly _material: {
3712
+ readonly nonPersistent: true;
1346
3713
  readonly type: "integer";
1347
3714
  readonly minimum: -2147483648;
1348
3715
  readonly maximum: 2147483647;
1349
3716
  readonly default: number;
1350
3717
  };
1351
3718
  readonly _nodeLocalMatrix: {
3719
+ readonly nonPersistent: true;
1352
3720
  readonly type: "array";
1353
3721
  readonly items: {
1354
3722
  readonly type: "number";
@@ -1360,6 +3728,7 @@ export declare const joltRagdoll: {
1360
3728
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1361
3729
  };
1362
3730
  readonly _skeletonModelRef: {
3731
+ readonly nonPersistent: true;
1363
3732
  readonly type: "integer";
1364
3733
  readonly minimum: -2147483648;
1365
3734
  readonly maximum: 2147483647;
@@ -1367,6 +3736,7 @@ export declare const joltRagdoll: {
1367
3736
  };
1368
3737
  readonly _skeletonJointMatrixBindGroup: {
1369
3738
  readonly default: GPUBindGroup | null;
3739
+ readonly nonPersistent: true;
1370
3740
  };
1371
3741
  } & {
1372
3742
  readonly animationClipTracks: {
@@ -1398,9 +3768,11 @@ export declare const joltRagdoll: {
1398
3768
  };
1399
3769
  readonly animationLoop: {
1400
3770
  readonly type: "boolean";
3771
+ readonly default: boolean;
1401
3772
  };
1402
3773
  readonly animationPlaying: {
1403
3774
  readonly type: "boolean";
3775
+ readonly default: boolean;
1404
3776
  };
1405
3777
  readonly animationObservable: {
1406
3778
  readonly type: "boolean";
@@ -1408,94 +3780,6 @@ export declare const joltRagdoll: {
1408
3780
  readonly default: true;
1409
3781
  };
1410
3782
  } & {
1411
- readonly modelUrl: {
1412
- readonly type: "string";
1413
- };
1414
- readonly geometry: {
1415
- readonly type: "integer";
1416
- readonly minimum: -2147483648;
1417
- readonly maximum: 2147483647;
1418
- readonly default: number;
1419
- };
1420
- } & {
1421
- readonly _bounds: {
1422
- readonly default: {
1423
- readonly min: readonly [number, number, number];
1424
- readonly max: readonly [number, number, number];
1425
- } | null;
1426
- };
1427
- readonly _skinJointTemplate: {
1428
- readonly default: JointTemplate[];
1429
- };
1430
- readonly _skinInverseBindMatrices: {
1431
- readonly default: Float32Array | null;
1432
- };
1433
- readonly _animationClipRefs: {
1434
- readonly default: number[];
1435
- };
1436
- readonly _cpuPositions: {
1437
- readonly default: Float32Array | null;
1438
- };
1439
- readonly _cpuIndices: {
1440
- readonly default: Uint32Array | null;
1441
- };
1442
- readonly _cpuSkin: {
1443
- readonly default: {
1444
- positions: Float32Array;
1445
- joints: Uint32Array;
1446
- weights: Float32Array;
1447
- } | null;
1448
- };
1449
- }>, import("@adobe/data/schema").FromSchemas<{} & {
1450
- readonly frameTime: {
1451
- readonly default: import("../../core/frame-time/public.js");
1452
- readonly nonPersistent: true;
1453
- };
1454
- } & {
1455
- readonly schedulerState: {
1456
- readonly default: import("@adobe/data/ecs").SchedulerState;
1457
- };
1458
- } & {
1459
- readonly device: {
1460
- readonly default: GPUDevice | null;
1461
- readonly nonPersistent: true;
1462
- };
1463
- readonly commandEncoder: {
1464
- readonly default: GPUCommandEncoder | null;
1465
- readonly nonPersistent: true;
1466
- };
1467
- }>, {
1468
- readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonGeometry", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
1469
- } & {
1470
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1471
- } & {} & {
1472
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1473
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1474
- } & {} & {
1475
- readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
1476
- readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1477
- readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1478
- } & {} & {
1479
- readonly Geometry: readonly ["modelUrl"];
1480
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
1481
- } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: {
1482
- modelRef: number;
1483
- geometryRef: number;
1484
- jointTemplate: readonly JointTemplate[];
1485
- instanceBuffer: GPUBuffer;
1486
- jointMatrixBuffer: GPUBuffer;
1487
- jointMatrixBindGroup: GPUBindGroup;
1488
- clipRef: number | null;
1489
- }) => void;
1490
- } & {
1491
- readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1492
- readonly _ragdollTrigger: {
1493
- readonly default: boolean;
1494
- readonly nonPersistent: true;
1495
- };
1496
- }>, {}, {}>) => void;
1497
- } & {
1498
- readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1499
3783
  readonly material: {
1500
3784
  readonly type: "integer";
1501
3785
  readonly minimum: -2147483648;
@@ -1530,6 +3814,67 @@ export declare const joltRagdoll: {
1530
3814
  readonly precision: 1;
1531
3815
  readonly default: number;
1532
3816
  };
3817
+ readonly viscosity: {
3818
+ readonly type: "number";
3819
+ readonly precision: 1;
3820
+ readonly default: number;
3821
+ };
3822
+ readonly thermalConductivity: {
3823
+ readonly type: "number";
3824
+ readonly precision: 1;
3825
+ readonly default: number;
3826
+ };
3827
+ readonly stressStrainCurve: {
3828
+ readonly type: "object";
3829
+ readonly layout: "packed";
3830
+ readonly properties: {
3831
+ readonly tensileYieldStrainStress: {
3832
+ readonly type: "array";
3833
+ readonly items: {
3834
+ readonly type: "number";
3835
+ readonly precision: 1;
3836
+ readonly default: number;
3837
+ };
3838
+ readonly minItems: 2;
3839
+ readonly maxItems: 2;
3840
+ readonly default: readonly [0, 0];
3841
+ };
3842
+ readonly tensileFractureStrainStress: {
3843
+ readonly type: "array";
3844
+ readonly items: {
3845
+ readonly type: "number";
3846
+ readonly precision: 1;
3847
+ readonly default: number;
3848
+ };
3849
+ readonly minItems: 2;
3850
+ readonly maxItems: 2;
3851
+ readonly default: readonly [0, 0];
3852
+ };
3853
+ readonly compressiveYieldStrainStress: {
3854
+ readonly type: "array";
3855
+ readonly items: {
3856
+ readonly type: "number";
3857
+ readonly precision: 1;
3858
+ readonly default: number;
3859
+ };
3860
+ readonly minItems: 2;
3861
+ readonly maxItems: 2;
3862
+ readonly default: readonly [0, 0];
3863
+ };
3864
+ readonly compressiveFractureStrainStress: {
3865
+ readonly type: "array";
3866
+ readonly items: {
3867
+ readonly type: "number";
3868
+ readonly precision: 1;
3869
+ readonly default: number;
3870
+ };
3871
+ readonly minItems: 2;
3872
+ readonly maxItems: 2;
3873
+ readonly default: readonly [0, 0];
3874
+ };
3875
+ };
3876
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3877
+ };
1533
3878
  readonly baseColorFactor: {
1534
3879
  readonly type: "array";
1535
3880
  readonly items: {
@@ -1572,6 +3917,22 @@ export declare const joltRagdoll: {
1572
3917
  readonly precision: 1;
1573
3918
  readonly default: number;
1574
3919
  };
3920
+ readonly irReflectance: {
3921
+ readonly type: "number";
3922
+ readonly precision: 1;
3923
+ readonly default: number;
3924
+ };
3925
+ readonly irEmission: {
3926
+ readonly type: "number";
3927
+ readonly precision: 1;
3928
+ readonly default: number;
3929
+ };
3930
+ readonly emissionMode: {
3931
+ readonly type: "integer";
3932
+ readonly minimum: 0;
3933
+ readonly maximum: 4294967295;
3934
+ readonly default: number;
3935
+ };
1575
3936
  readonly baseColorUrl: {
1576
3937
  readonly type: "string";
1577
3938
  };
@@ -1587,17 +3948,124 @@ export declare const joltRagdoll: {
1587
3948
  readonly emissiveUrl: {
1588
3949
  readonly type: "string";
1589
3950
  };
1590
- }>, import("@adobe/data/schema").FromSchemas<{
1591
- readonly materials: {
1592
- readonly default: Record<string, Entity>;
3951
+ } & {
3952
+ readonly mesh: {
3953
+ readonly type: "integer";
3954
+ readonly minimum: -2147483648;
3955
+ readonly maximum: 2147483647;
3956
+ readonly default: number;
3957
+ };
3958
+ readonly gltfUrl: {
3959
+ readonly type: "string";
3960
+ };
3961
+ readonly shapeSpec: {
3962
+ readonly default: import("../public.js").ShapeSpec | null;
3963
+ };
3964
+ readonly voxelVolumeSize: {
3965
+ readonly default: import("@adobe/data/math").Vec3 | null;
3966
+ };
3967
+ readonly localBounds: {
3968
+ readonly default: {
3969
+ readonly min: readonly [number, number, number];
3970
+ readonly max: readonly [number, number, number];
3971
+ } | null;
3972
+ };
3973
+ readonly skinJointTemplate: {
3974
+ readonly default: JointTemplate[];
3975
+ };
3976
+ readonly skinInverseBindMatrices: {
3977
+ readonly default: Float32Array | null;
3978
+ };
3979
+ readonly animationClipRefs: {
3980
+ readonly default: number[];
3981
+ };
3982
+ readonly cpuCollisionPositions: {
3983
+ readonly default: Float32Array | null;
3984
+ };
3985
+ readonly cpuCollisionIndices: {
3986
+ readonly default: Uint32Array | null;
3987
+ };
3988
+ readonly cpuSkin: {
3989
+ readonly default: {
3990
+ positions: Float32Array;
3991
+ joints: Uint32Array;
3992
+ weights: Float32Array;
3993
+ } | null;
3994
+ };
3995
+ }>, import("@adobe/data/schema").FromSchemas<{} & {
3996
+ readonly frameTime: {
3997
+ readonly default: import("../../core/frame-time/public.js");
3998
+ readonly nonPersistent: true;
3999
+ };
4000
+ } & {
4001
+ readonly _gltfMeshByUrl: {
4002
+ readonly default: Map<string, Entity> | null;
4003
+ readonly nonPersistent: true;
4004
+ };
4005
+ } & {
4006
+ readonly schedulerState: {
4007
+ readonly default: import("@adobe/data/ecs").SchedulerState;
4008
+ };
4009
+ } & {
4010
+ readonly device: {
4011
+ readonly default: GPUDevice | null;
4012
+ readonly nonPersistent: true;
4013
+ };
4014
+ readonly commandEncoder: {
4015
+ readonly default: GPUCommandEncoder | null;
4016
+ readonly nonPersistent: true;
1593
4017
  };
1594
4018
  }>, {
1595
- readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1596
- }, {}>) => void;
4019
+ readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
4020
+ } & {
4021
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
4022
+ } & {} & {
4023
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
4024
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
4025
+ } & {} & {
4026
+ readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
4027
+ readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
4028
+ readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
4029
+ } & {} & {
4030
+ 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"];
4031
+ } & {
4032
+ readonly GltfMeshPending: readonly ["gltfUrl"];
4033
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
4034
+ readonly StaticMesh: readonly ["localBounds"];
4035
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
4036
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
4037
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
4038
+ } & {}, {} & {
4039
+ readonly nodeChildrenOf: {
4040
+ readonly key: "parent";
4041
+ readonly archetype: "Node";
4042
+ };
4043
+ } & {} & {} & {} & {} & {} & {} & {
4044
+ readonly materialByName: {
4045
+ readonly key: "name";
4046
+ readonly unique: true;
4047
+ readonly archetype: "Material";
4048
+ };
4049
+ } & {} & {}>, args: {
4050
+ modelRef: number;
4051
+ meshRef: number;
4052
+ jointTemplate: readonly JointTemplate[];
4053
+ instanceBuffer: GPUBuffer;
4054
+ jointMatrixBuffer: GPUBuffer;
4055
+ jointMatrixBindGroup: GPUBindGroup;
4056
+ clipRef: number | null;
4057
+ }) => void;
4058
+ } & {
4059
+ readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
4060
+ readonly _ragdollTrigger: {
4061
+ readonly default: boolean;
4062
+ readonly nonPersistent: true;
4063
+ };
4064
+ }>, {}, {}>) => void;
1597
4065
  } & {} & {
1598
4066
  readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1599
4067
  readonly physicsClock: {
1600
- readonly default: import("../../index.js").PhysicsClock;
4068
+ readonly default: import("../../physics/public.js").PhysicsClock;
1601
4069
  readonly nonPersistent: true;
1602
4070
  };
1603
4071
  } & {
@@ -1624,5 +4092,16 @@ export declare const joltRagdoll: {
1624
4092
  readonly actions: {};
1625
4093
  readonly services: {};
1626
4094
  readonly computed: {};
1627
- readonly indexes: {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
4095
+ readonly indexes: {
4096
+ readonly nodeChildrenOf: {
4097
+ readonly key: "parent";
4098
+ readonly archetype: "Node";
4099
+ };
4100
+ } & {} & {} & {
4101
+ readonly materialByName: {
4102
+ readonly key: "name";
4103
+ readonly unique: true;
4104
+ readonly archetype: "Material";
4105
+ };
4106
+ } & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
1628
4107
  };