@adobe/data-gpu 0.9.75 → 0.9.76

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