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