@adobe/data-gpu 0.9.75 → 0.9.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. package/CLAUDE.md +9 -0
  2. package/README.md +36 -0
  3. package/dist/core/core-plugin.d.ts +1 -1
  4. package/dist/core/public.d.ts +2 -0
  5. package/dist/core/public.js +4 -0
  6. package/dist/core/public.js.map +1 -0
  7. package/dist/graphics/animation/animation-data-plugin.d.ts +8 -0
  8. package/dist/graphics/animation/animation-plugin.d.ts +10 -2
  9. package/dist/graphics/camera/camera-plugin.d.ts +3 -3
  10. package/dist/graphics/camera/orbit/attach-orbit-drag.d.ts +1 -21
  11. package/dist/graphics/camera/orbit/attach-orbit-drag.js +0 -10
  12. package/dist/graphics/camera/orbit/attach-orbit-drag.js.map +1 -1
  13. package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +6 -6
  14. package/dist/graphics/camera/orbit/orbit-data-plugin.js +1 -1
  15. package/dist/graphics/camera/orbit/orbit-data-plugin.js.map +1 -1
  16. package/dist/graphics/camera/orbit/orbit-drag-service.d.ts +11 -0
  17. package/dist/graphics/camera/orbit/orbit-drag-service.js +3 -0
  18. package/dist/graphics/camera/orbit/orbit-drag-service.js.map +1 -0
  19. package/dist/graphics/camera/orbit/orbit-plugin.d.ts +6 -6
  20. package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +8 -8
  21. package/dist/graphics/camera/orbit/orbit-system-plugin.js +6 -9
  22. package/dist/graphics/camera/orbit/orbit-system-plugin.js.map +1 -1
  23. package/dist/graphics/camera/orbit/orbit.d.ts +5 -5
  24. package/dist/graphics/camera/orbit/public.d.ts +2 -2
  25. package/dist/graphics/camera/orbit/public.js +2 -1
  26. package/dist/graphics/camera/orbit/public.js.map +1 -1
  27. package/dist/graphics/graphics-plugin.d.ts +1 -1
  28. package/dist/graphics/index.d.ts +1 -0
  29. package/dist/graphics/index.js +3 -0
  30. package/dist/graphics/index.js.map +1 -0
  31. package/dist/graphics/picking/picking-plugin.d.ts +9871 -1912
  32. package/dist/graphics/picking/picking-plugin.js +3 -3
  33. package/dist/graphics/picking/picking-plugin.js.map +1 -1
  34. package/dist/graphics/public.d.ts +38 -0
  35. package/dist/graphics/public.js +40 -0
  36. package/dist/graphics/public.js.map +1 -0
  37. package/dist/graphics/rendering/bone-collider-plugin.d.ts +2967 -486
  38. package/dist/graphics/rendering/bone-collider-plugin.js +13 -12
  39. package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
  40. package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -0
  41. package/dist/graphics/rendering/display-transform-plugin.js +2 -2
  42. package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
  43. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +2857 -403
  44. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +9 -9
  45. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
  46. package/dist/graphics/rendering/interpolation-plugin.d.ts +1040 -156
  47. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +3017 -538
  48. package/dist/graphics/rendering/jolt-ragdoll-plugin.js +6 -6
  49. package/dist/graphics/rendering/jolt-ragdoll-plugin.js.map +1 -1
  50. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +1123 -0
  51. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +79 -0
  52. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -0
  53. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.d.ts +1 -0
  54. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js +18 -0
  55. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js.map +1 -0
  56. package/dist/graphics/rendering/material-palette-gpu/material-palette.d.ts +25 -0
  57. package/dist/graphics/rendering/material-palette-gpu/material-palette.js +27 -0
  58. package/dist/graphics/rendering/material-palette-gpu/material-palette.js.map +1 -0
  59. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.d.ts +3 -0
  60. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js +22 -0
  61. package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js.map +1 -0
  62. package/dist/graphics/rendering/model-collider-plugin.d.ts +2903 -663
  63. package/dist/graphics/rendering/model-collider-plugin.js +11 -34
  64. package/dist/graphics/rendering/model-collider-plugin.js.map +1 -1
  65. package/dist/graphics/rendering/pbr-core-plugin.d.ts +16 -8
  66. package/dist/graphics/rendering/pbr-core-plugin.js +16 -19
  67. package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
  68. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +3514 -0
  69. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js +189 -0
  70. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js.map +1 -0
  71. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.d.ts +7 -0
  72. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js +124 -0
  73. package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js.map +1 -0
  74. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +769 -571
  75. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +98 -79
  76. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -1
  77. package/dist/graphics/rendering/pbr-render/primitive-render-shared.d.ts +43 -0
  78. package/dist/graphics/rendering/pbr-render/primitive-render-shared.js +59 -0
  79. package/dist/graphics/rendering/pbr-render/primitive-render-shared.js.map +1 -0
  80. package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +2930 -270
  81. package/dist/graphics/rendering/skinning/skinning-plugin.js +19 -40
  82. package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
  83. package/dist/graphics/scene/model/geometry/public.d.ts +1 -0
  84. package/dist/graphics/scene/model/mesh/mesh.d.ts +13 -0
  85. package/dist/graphics/scene/model/mesh/mesh.js +3 -0
  86. package/dist/graphics/scene/model/mesh/mesh.js.map +1 -0
  87. package/dist/graphics/scene/model/mesh/public.d.ts +1 -0
  88. package/dist/graphics/scene/model/mesh/public.js +3 -0
  89. package/dist/graphics/scene/model/mesh/public.js.map +1 -0
  90. package/dist/graphics/scene/model/mesh-plugin.d.ts +5177 -0
  91. package/dist/graphics/scene/model/mesh-plugin.js +87 -0
  92. package/dist/graphics/scene/model/mesh-plugin.js.map +1 -0
  93. package/dist/graphics/scene/model/model-loader-plugin.d.ts +2728 -295
  94. package/dist/graphics/scene/model/model-loader-plugin.js +24 -42
  95. package/dist/graphics/scene/model/model-loader-plugin.js.map +1 -1
  96. package/dist/graphics/scene/model/model-plugin.d.ts +1 -352
  97. package/dist/graphics/scene/model/model-plugin.js +1 -37
  98. package/dist/graphics/scene/model/model-plugin.js.map +1 -1
  99. package/dist/graphics/scene/model/model.d.ts +2 -6
  100. package/dist/graphics/scene/model/model.js.map +1 -1
  101. package/dist/graphics/scene/model/public.d.ts +1 -1
  102. package/dist/graphics/scene/model/public.js +2 -1
  103. package/dist/graphics/scene/model/public.js.map +1 -1
  104. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.d.ts +4 -0
  105. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js +25 -0
  106. package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js.map +1 -0
  107. package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +233 -386
  108. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +87 -18
  109. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
  110. package/dist/graphics/scene/model/shape/shape-spec.d.ts +17 -0
  111. package/dist/graphics/scene/model/shape/shape-spec.js +3 -0
  112. package/dist/graphics/scene/model/shape/shape-spec.js.map +1 -0
  113. package/dist/graphics/scene/model/world-bounds-plugin.d.ts +2670 -245
  114. package/dist/graphics/scene/model/world-bounds-plugin.js +6 -25
  115. package/dist/graphics/scene/model/world-bounds-plugin.js.map +1 -1
  116. package/dist/graphics/scene/node/node-data-plugin.d.ts +15 -4
  117. package/dist/graphics/scene/node/node-data-plugin.js +12 -5
  118. package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
  119. package/dist/graphics/scene/node/node-data-plugin.test.d.ts +1 -0
  120. package/dist/graphics/scene/node/node-data-plugin.test.js +40 -0
  121. package/dist/graphics/scene/node/node-data-plugin.test.js.map +1 -0
  122. package/dist/graphics/scene/node/node-plugin.d.ts +8 -1
  123. package/dist/graphics/scene/node/transform-plugin.d.ts +8 -1
  124. package/dist/graphics/scene/scene-plugin.d.ts +2353 -100
  125. package/dist/graphics/scene/scene-plugin.js +3 -3
  126. package/dist/graphics/scene/scene-plugin.js.map +1 -1
  127. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +3 -3
  128. package/dist/index.d.ts +1 -53
  129. package/dist/index.js +1 -54
  130. package/dist/index.js.map +1 -1
  131. package/dist/material/assemble-material-row.d.ts +4 -0
  132. package/dist/material/assemble-material-row.js +22 -0
  133. package/dist/material/assemble-material-row.js.map +1 -0
  134. package/dist/material/definitions.d.ts +833 -0
  135. package/dist/material/definitions.js +423 -0
  136. package/dist/material/definitions.js.map +1 -0
  137. package/dist/material/emission-mode.d.ts +8 -0
  138. package/dist/material/emission-mode.js +9 -0
  139. package/dist/material/emission-mode.js.map +1 -0
  140. package/dist/material/index.d.ts +1 -0
  141. package/dist/material/index.js +3 -0
  142. package/dist/material/index.js.map +1 -0
  143. package/dist/material/json/from-json-string.d.ts +2 -0
  144. package/dist/material/json/from-json-string.js +12 -0
  145. package/dist/material/json/from-json-string.js.map +1 -0
  146. package/dist/material/json/from-json.d.ts +10 -0
  147. package/dist/material/json/from-json.js +16 -0
  148. package/dist/material/json/from-json.js.map +1 -0
  149. package/dist/material/json/from-json.test.d.ts +1 -0
  150. package/dist/material/json/from-json.test.js +46 -0
  151. package/dist/material/json/from-json.test.js.map +1 -0
  152. package/dist/material/json/is-properties-json.d.ts +2 -0
  153. package/dist/material/json/is-properties-json.js +65 -0
  154. package/dist/material/json/is-properties-json.js.map +1 -0
  155. package/dist/material/json/library-json.d.ts +3 -0
  156. package/dist/material/json/library-json.js +2 -0
  157. package/dist/material/json/library-json.js.map +1 -0
  158. package/dist/material/json/load-json.d.ts +7 -0
  159. package/dist/material/json/load-json.js +10 -0
  160. package/dist/material/json/load-json.js.map +1 -0
  161. package/dist/material/json/properties-json.d.ts +25 -0
  162. package/dist/material/json/properties-json.js +2 -0
  163. package/dist/material/json/properties-json.js.map +1 -0
  164. package/dist/material/json/public.d.ts +9 -0
  165. package/dist/material/json/public.js +6 -0
  166. package/dist/material/json/public.js.map +1 -0
  167. package/dist/material/json/to-definition.d.ts +5 -0
  168. package/dist/material/json/to-definition.js +65 -0
  169. package/dist/material/json/to-definition.js.map +1 -0
  170. package/dist/material/material-by-name-lookup.d.ts +11 -0
  171. package/dist/material/material-by-name-lookup.js +3 -0
  172. package/dist/material/material-by-name-lookup.js.map +1 -0
  173. package/dist/material/material-defaults.d.ts +23 -0
  174. package/dist/material/material-defaults.js +25 -0
  175. package/dist/material/material-defaults.js.map +1 -0
  176. package/dist/material/material-definition.d.ts +3 -0
  177. package/dist/material/material-definition.js +2 -0
  178. package/dist/material/material-definition.js.map +1 -0
  179. package/dist/material/material-name.d.ts +2 -0
  180. package/dist/material/material-name.js +2 -0
  181. package/dist/material/material-name.js.map +1 -0
  182. package/dist/material/material-plugin.d.ts +891 -22
  183. package/dist/material/material-plugin.js +46 -21
  184. package/dist/material/material-plugin.js.map +1 -1
  185. package/dist/material/material-plugin.test.d.ts +1 -0
  186. package/dist/material/material-plugin.test.js +87 -0
  187. package/dist/material/material-plugin.test.js.map +1 -0
  188. package/dist/material/material.d.ts +27 -29
  189. package/dist/material/material.js +0 -1
  190. package/dist/material/material.js.map +1 -1
  191. package/dist/material/public.d.ts +12 -2
  192. package/dist/material/public.js +12 -2
  193. package/dist/material/public.js.map +1 -1
  194. package/dist/material/require-material.d.ts +4 -0
  195. package/dist/material/require-material.js +10 -0
  196. package/dist/material/require-material.js.map +1 -0
  197. package/dist/material/standard-material-names.d.ts +2 -0
  198. package/dist/material/standard-material-names.js +4 -0
  199. package/dist/material/standard-material-names.js.map +1 -0
  200. package/dist/material/standard-materials.d.ts +1 -1
  201. package/dist/material/standard-materials.js +17 -24
  202. package/dist/material/standard-materials.js.map +1 -1
  203. package/dist/material/stress-strain-curve/create.d.ts +8 -0
  204. package/dist/material/stress-strain-curve/create.js +2 -0
  205. package/dist/material/stress-strain-curve/create.js.map +1 -0
  206. package/dist/material/stress-strain-curve/public.d.ts +2 -0
  207. package/dist/material/stress-strain-curve/public.js +3 -0
  208. package/dist/material/stress-strain-curve/public.js.map +1 -0
  209. package/dist/material/stress-strain-curve/schema.d.ts +52 -0
  210. package/dist/material/stress-strain-curve/schema.js +19 -0
  211. package/dist/material/stress-strain-curve/schema.js.map +1 -0
  212. package/dist/material/stress-strain-curve/schema.test.d.ts +1 -0
  213. package/dist/material/stress-strain-curve/schema.test.js +18 -0
  214. package/dist/material/stress-strain-curve/schema.test.js.map +1 -0
  215. package/dist/material/stress-strain-curve/stress-strain-curve.d.ts +4 -0
  216. package/dist/material/stress-strain-curve/stress-strain-curve.js +2 -0
  217. package/dist/material/stress-strain-curve/stress-strain-curve.js.map +1 -0
  218. package/dist/physics/body/collider-shape/mass-from-volume.d.ts +2 -0
  219. package/dist/physics/body/collider-shape/mass-from-volume.js +4 -0
  220. package/dist/physics/body/collider-shape/mass-from-volume.js.map +1 -0
  221. package/dist/physics/body/collider-shape/mass-from-volume.test.d.ts +1 -0
  222. package/dist/physics/body/collider-shape/mass-from-volume.test.js +8 -0
  223. package/dist/physics/body/collider-shape/mass-from-volume.test.js.map +1 -0
  224. package/dist/physics/collider-primitive-render-archetype.d.ts +2 -0
  225. package/dist/physics/collider-primitive-render-archetype.js +3 -0
  226. package/dist/physics/collider-primitive-render-archetype.js.map +1 -0
  227. package/dist/physics/collider-primitive-render-archetypes.d.ts +2 -0
  228. package/dist/physics/collider-primitive-render-archetypes.js +9 -0
  229. package/dist/physics/collider-primitive-render-archetypes.js.map +1 -0
  230. package/dist/physics/index.d.ts +1 -0
  231. package/dist/physics/index.js +3 -0
  232. package/dist/physics/index.js.map +1 -0
  233. package/dist/physics/is-voxel-shape-physics-pending.d.ts +3 -0
  234. package/dist/physics/is-voxel-shape-physics-pending.js +7 -0
  235. package/dist/physics/is-voxel-shape-physics-pending.js.map +1 -0
  236. package/dist/physics/physics-clock/physics-clock.d.ts +15 -0
  237. package/dist/physics/physics-clock/physics-clock.js +3 -0
  238. package/dist/physics/physics-clock/physics-clock.js.map +1 -0
  239. package/dist/physics/physics-clock-plugin.d.ts +2 -22
  240. package/dist/physics/physics-clock-plugin.js +0 -2
  241. package/dist/physics/physics-clock-plugin.js.map +1 -1
  242. package/dist/physics/physics-clock.test.js.map +1 -1
  243. package/dist/physics/physics-data-plugin.d.ts +889 -13
  244. package/dist/physics/physics-data-plugin.js +8 -6
  245. package/dist/physics/physics-data-plugin.js.map +1 -1
  246. package/dist/physics/public.d.ts +21 -0
  247. package/dist/physics/public.js +23 -0
  248. package/dist/physics/public.js.map +1 -0
  249. package/dist/physics/ragdoll/bone-capsule.d.ts +8 -0
  250. package/dist/physics/ragdoll/bone-capsule.js +3 -0
  251. package/dist/physics/ragdoll/bone-capsule.js.map +1 -0
  252. package/dist/physics/ragdoll/fit-bone-capsules-input.d.ts +11 -0
  253. package/dist/physics/ragdoll/fit-bone-capsules-input.js +3 -0
  254. package/dist/physics/ragdoll/fit-bone-capsules-input.js.map +1 -0
  255. package/dist/physics/ragdoll/fit-bone-capsules.d.ts +2 -38
  256. package/dist/physics/ragdoll/fit-bone-capsules.js +13 -0
  257. package/dist/physics/ragdoll/fit-bone-capsules.js.map +1 -1
  258. package/dist/physics/ragdoll/fit-bone-capsules.test.js.map +1 -1
  259. package/dist/physics/ragdoll/skin-vertices.d.ts +6 -0
  260. package/dist/physics/ragdoll/skin-vertices.js +3 -0
  261. package/dist/physics/ragdoll/skin-vertices.js.map +1 -0
  262. package/dist/physics/rigid-body-components.d.ts +2 -0
  263. package/dist/physics/rigid-body-components.js +13 -0
  264. package/dist/physics/rigid-body-components.js.map +1 -0
  265. package/dist/physics/solvers/jolt-solver-plugin.d.ts +918 -41
  266. package/dist/physics/solvers/jolt-solver-plugin.js +19 -3
  267. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  268. package/dist/physics/solvers/rapier-solver-plugin.d.ts +918 -41
  269. package/dist/physics/solvers/rapier-solver-plugin.js +7 -2
  270. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  271. package/dist/physics/solvers/solver-benchmark-options.d.ts +14 -0
  272. package/dist/physics/solvers/solver-benchmark-options.js +3 -0
  273. package/dist/physics/solvers/solver-benchmark-options.js.map +1 -0
  274. package/dist/physics/solvers/solver-benchmark-result.d.ts +15 -0
  275. package/dist/physics/solvers/solver-benchmark-result.js +3 -0
  276. package/dist/physics/solvers/solver-benchmark-result.js.map +1 -0
  277. package/dist/physics/solvers/solver-benchmark.d.ts +2 -43
  278. package/dist/physics/solvers/solver-benchmark.js.map +1 -1
  279. package/dist/physics/static-collider-components.d.ts +2 -0
  280. package/dist/physics/static-collider-components.js +10 -0
  281. package/dist/physics/static-collider-components.js.map +1 -0
  282. package/package.json +14 -2
  283. package/src/core/public.ts +4 -0
  284. package/src/graphics/camera/orbit/attach-orbit-drag.ts +7 -27
  285. package/src/graphics/camera/orbit/orbit-data-plugin.ts +1 -1
  286. package/src/graphics/camera/orbit/orbit-drag-service.ts +13 -0
  287. package/src/graphics/camera/orbit/orbit-system-plugin.ts +6 -9
  288. package/src/graphics/camera/orbit/orbit.ts +5 -5
  289. package/src/graphics/camera/orbit/public.ts +2 -2
  290. package/src/graphics/index.ts +3 -0
  291. package/src/graphics/picking/picking-plugin.ts +4 -4
  292. package/src/graphics/public.ts +40 -0
  293. package/src/graphics/rendering/bone-collider-plugin.ts +16 -12
  294. package/src/graphics/rendering/display-transform-plugin.ts +2 -2
  295. package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +9 -9
  296. package/src/graphics/rendering/interpolation.test.ts +1 -1
  297. package/src/graphics/rendering/jolt-ragdoll-plugin.ts +11 -7
  298. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +86 -0
  299. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu.test.ts +20 -0
  300. package/src/graphics/rendering/material-palette-gpu/material-palette.ts +41 -0
  301. package/src/graphics/rendering/material-palette-gpu/palette-bind-group.ts +24 -0
  302. package/src/graphics/rendering/model-collider-plugin.ts +19 -35
  303. package/src/graphics/rendering/pbr-core-plugin.ts +16 -19
  304. package/src/graphics/rendering/pbr-render/{pbr-render-plugin.ts → pbr-factor-render-plugin.ts} +60 -111
  305. package/src/graphics/rendering/pbr-render/{pbr-array-shader.wgsl.ts → pbr-factor-shader.wgsl.ts} +19 -40
  306. package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +95 -69
  307. package/src/graphics/rendering/pbr-render/primitive-render-shared.ts +76 -0
  308. package/src/graphics/rendering/skinning/skinning-plugin.ts +23 -41
  309. package/src/graphics/scene/model/geometry/public.ts +1 -1
  310. package/src/graphics/scene/model/mesh/mesh.ts +18 -0
  311. package/src/graphics/scene/model/mesh/public.ts +3 -0
  312. package/src/graphics/scene/model/mesh-plugin.ts +102 -0
  313. package/src/graphics/scene/model/model-loader-plugin.ts +25 -43
  314. package/src/graphics/scene/model/model-plugin.ts +1 -44
  315. package/src/graphics/scene/model/model.ts +2 -6
  316. package/src/graphics/scene/model/public.ts +3 -1
  317. package/src/graphics/scene/model/shape/bounds-from-shape-mesh.ts +20 -0
  318. package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +97 -18
  319. package/src/graphics/scene/model/shape/shape-spec.ts +9 -0
  320. package/src/graphics/scene/model/world-bounds-plugin.ts +6 -25
  321. package/src/graphics/scene/node/node-data-plugin.test.ts +47 -0
  322. package/src/graphics/scene/node/node-data-plugin.ts +12 -5
  323. package/src/graphics/scene/scene-plugin.ts +3 -3
  324. package/src/index.ts +1 -70
  325. package/src/material/assemble-material-row.ts +26 -0
  326. package/src/material/definitions.ts +427 -0
  327. package/src/material/emission-mode.ts +11 -0
  328. package/src/material/index.ts +3 -0
  329. package/src/material/json/from-json-string.ts +11 -0
  330. package/src/material/json/from-json.test.ts +50 -0
  331. package/src/material/json/from-json.ts +23 -0
  332. package/src/material/json/is-properties-json.ts +77 -0
  333. package/src/material/json/library-json.ts +4 -0
  334. package/src/material/json/load-json.ts +15 -0
  335. package/src/material/json/properties-json.ts +25 -0
  336. package/src/material/json/public.ts +9 -0
  337. package/src/material/json/to-definition.ts +70 -0
  338. package/src/material/material-by-name-lookup.ts +10 -0
  339. package/src/material/material-defaults.ts +26 -0
  340. package/src/material/material-definition.ts +4 -0
  341. package/src/material/material-name.ts +3 -0
  342. package/src/material/material-plugin.test.ts +97 -0
  343. package/src/material/material-plugin.ts +67 -39
  344. package/src/material/material.ts +35 -34
  345. package/src/material/public.ts +12 -2
  346. package/src/material/require-material.ts +15 -0
  347. package/src/material/standard-material-names.ts +4 -0
  348. package/src/material/standard-materials.ts +21 -27
  349. package/src/material/stress-strain-curve/create.ts +9 -0
  350. package/src/material/stress-strain-curve/public.ts +2 -0
  351. package/src/material/stress-strain-curve/schema.test.ts +20 -0
  352. package/src/material/stress-strain-curve/schema.ts +20 -0
  353. package/src/material/stress-strain-curve/stress-strain-curve.ts +11 -0
  354. package/src/physics/README.md +9 -1
  355. package/src/physics/body/collider-shape/mass-from-volume.test.ts +8 -0
  356. package/src/physics/body/collider-shape/mass-from-volume.ts +4 -0
  357. package/src/physics/collider-primitive-render-archetype.ts +5 -0
  358. package/src/physics/collider-primitive-render-archetypes.ts +9 -0
  359. package/src/physics/index.ts +3 -0
  360. package/src/physics/is-voxel-shape-physics-pending.ts +9 -0
  361. package/src/physics/physics-clock/physics-clock.ts +17 -0
  362. package/src/physics/physics-clock-plugin.ts +1 -24
  363. package/src/physics/physics-clock.test.ts +2 -1
  364. package/src/physics/physics-data-plugin.ts +8 -6
  365. package/src/physics/public.ts +23 -0
  366. package/src/physics/ragdoll/bone-capsule.ts +11 -0
  367. package/src/physics/ragdoll/fit-bone-capsules-input.ts +14 -0
  368. package/src/physics/ragdoll/fit-bone-capsules.test.ts +2 -1
  369. package/src/physics/ragdoll/fit-bone-capsules.ts +2 -27
  370. package/src/physics/ragdoll/skin-vertices.ts +8 -0
  371. package/src/physics/rigid-body-components.ts +13 -0
  372. package/src/physics/solvers/README.md +4 -0
  373. package/src/physics/solvers/jolt-solver-plugin.ts +19 -5
  374. package/src/physics/solvers/rapier-solver-plugin.ts +5 -2
  375. package/src/physics/solvers/solver-benchmark-options.ts +16 -0
  376. package/src/physics/solvers/solver-benchmark-result.ts +17 -0
  377. package/src/physics/solvers/solver-benchmark.ts +2 -35
  378. package/src/physics/static-collider-components.ts +10 -0
  379. package/tsconfig.tsbuildinfo +1 -1
  380. package/src/graphics/rendering/material-gpu/material-arrays.ts +0 -113
  381. package/src/graphics/rendering/material-gpu/material-bind-group.ts +0 -61
  382. package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +0 -95
  383. package/src/graphics/scene/model/geometry/geometry.ts +0 -12
@@ -5,13 +5,13 @@ import { Database } from "@adobe/data/ecs";
5
5
  *
6
6
  * Combines:
7
7
  * - `Node.plugin` (node data + transform system)
8
- * - `model` (Geometry + Model archetypes)
8
+ * - `mesh` (Mesh asset + Model/MeshInstance archetypes)
9
9
  * - `SceneUniforms.plugin` (camera resource + light resource + GPU uniform packing)
10
10
  *
11
11
  * Add a camera controller (e.g. `Orbit.plugin`), animation, and a renderer
12
12
  * (`pbrIblRender`) to get a working interactive scene.
13
13
  */
14
- export declare const scene: Database.Plugin<{} & {
14
+ export declare const scene: Database.Plugin<{
15
15
  readonly visible: {
16
16
  readonly type: "boolean";
17
17
  readonly const: true;
@@ -60,6 +60,7 @@ export declare const scene: Database.Plugin<{} & {
60
60
  readonly default: number;
61
61
  };
62
62
  readonly _worldMatrix: {
63
+ readonly nonPersistent: true;
63
64
  readonly type: "array";
64
65
  readonly items: {
65
66
  readonly type: "number";
@@ -71,6 +72,7 @@ export declare const scene: Database.Plugin<{} & {
71
72
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
72
73
  };
73
74
  readonly _worldBounds: {
75
+ readonly nonPersistent: true;
74
76
  readonly type: "object";
75
77
  readonly properties: {
76
78
  readonly min: {
@@ -103,17 +105,225 @@ export declare const scene: Database.Plugin<{} & {
103
105
  readonly max: readonly [0, 0, 0];
104
106
  };
105
107
  };
106
- } & {
107
- readonly modelUrl: {
108
+ } & {} & {
109
+ readonly material: {
110
+ readonly type: "integer";
111
+ readonly minimum: -2147483648;
112
+ readonly maximum: 2147483647;
113
+ readonly default: number;
114
+ };
115
+ readonly name: {
116
+ readonly type: "string";
117
+ };
118
+ readonly density: {
119
+ readonly type: "number";
120
+ readonly precision: 1;
121
+ readonly default: number;
122
+ };
123
+ readonly restitution: {
124
+ readonly type: "number";
125
+ readonly precision: 1;
126
+ readonly default: number;
127
+ };
128
+ readonly friction: {
129
+ readonly type: "number";
130
+ readonly precision: 1;
131
+ readonly default: number;
132
+ };
133
+ readonly compliance: {
134
+ readonly type: "number";
135
+ readonly precision: 1;
136
+ readonly default: number;
137
+ };
138
+ readonly heatCapacity: {
139
+ readonly type: "number";
140
+ readonly precision: 1;
141
+ readonly default: number;
142
+ };
143
+ readonly viscosity: {
144
+ readonly type: "number";
145
+ readonly precision: 1;
146
+ readonly default: number;
147
+ };
148
+ readonly thermalConductivity: {
149
+ readonly type: "number";
150
+ readonly precision: 1;
151
+ readonly default: number;
152
+ };
153
+ readonly stressStrainCurve: {
154
+ readonly type: "object";
155
+ readonly layout: "packed";
156
+ readonly properties: {
157
+ readonly tensileYieldStrainStress: {
158
+ readonly type: "array";
159
+ readonly items: {
160
+ readonly type: "number";
161
+ readonly precision: 1;
162
+ readonly default: number;
163
+ };
164
+ readonly minItems: 2;
165
+ readonly maxItems: 2;
166
+ readonly default: readonly [0, 0];
167
+ };
168
+ readonly tensileFractureStrainStress: {
169
+ readonly type: "array";
170
+ readonly items: {
171
+ readonly type: "number";
172
+ readonly precision: 1;
173
+ readonly default: number;
174
+ };
175
+ readonly minItems: 2;
176
+ readonly maxItems: 2;
177
+ readonly default: readonly [0, 0];
178
+ };
179
+ readonly compressiveYieldStrainStress: {
180
+ readonly type: "array";
181
+ readonly items: {
182
+ readonly type: "number";
183
+ readonly precision: 1;
184
+ readonly default: number;
185
+ };
186
+ readonly minItems: 2;
187
+ readonly maxItems: 2;
188
+ readonly default: readonly [0, 0];
189
+ };
190
+ readonly compressiveFractureStrainStress: {
191
+ readonly type: "array";
192
+ readonly items: {
193
+ readonly type: "number";
194
+ readonly precision: 1;
195
+ readonly default: number;
196
+ };
197
+ readonly minItems: 2;
198
+ readonly maxItems: 2;
199
+ readonly default: readonly [0, 0];
200
+ };
201
+ };
202
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
203
+ };
204
+ readonly baseColorFactor: {
205
+ readonly type: "array";
206
+ readonly items: {
207
+ readonly type: "number";
208
+ readonly precision: 1;
209
+ readonly default: number;
210
+ };
211
+ readonly minItems: 4;
212
+ readonly maxItems: 4;
213
+ readonly default: readonly [0, 0, 0, 0];
214
+ };
215
+ readonly emissiveFactor: {
216
+ readonly type: "array";
217
+ readonly items: {
218
+ readonly type: "number";
219
+ readonly precision: 1;
220
+ readonly default: number;
221
+ };
222
+ readonly minItems: 3;
223
+ readonly maxItems: 3;
224
+ readonly default: readonly [0, 0, 0];
225
+ };
226
+ readonly metallicFactor: {
227
+ readonly type: "number";
228
+ readonly precision: 1;
229
+ readonly default: number;
230
+ };
231
+ readonly roughnessFactor: {
232
+ readonly type: "number";
233
+ readonly precision: 1;
234
+ readonly default: number;
235
+ };
236
+ readonly normalScale: {
237
+ readonly type: "number";
238
+ readonly precision: 1;
239
+ readonly default: number;
240
+ };
241
+ readonly occlusionStrength: {
242
+ readonly type: "number";
243
+ readonly precision: 1;
244
+ readonly default: number;
245
+ };
246
+ readonly irReflectance: {
247
+ readonly type: "number";
248
+ readonly precision: 1;
249
+ readonly default: number;
250
+ };
251
+ readonly irEmission: {
252
+ readonly type: "number";
253
+ readonly precision: 1;
254
+ readonly default: number;
255
+ };
256
+ readonly emissionMode: {
257
+ readonly type: "integer";
258
+ readonly minimum: 0;
259
+ readonly maximum: 4294967295;
260
+ readonly default: number;
261
+ };
262
+ readonly baseColorUrl: {
263
+ readonly type: "string";
264
+ };
265
+ readonly metallicRoughnessUrl: {
266
+ readonly type: "string";
267
+ };
268
+ readonly normalUrl: {
269
+ readonly type: "string";
270
+ };
271
+ readonly occlusionUrl: {
272
+ readonly type: "string";
273
+ };
274
+ readonly emissiveUrl: {
108
275
  readonly type: "string";
109
276
  };
110
- readonly geometry: {
277
+ } & {
278
+ readonly mesh: {
111
279
  readonly type: "integer";
112
280
  readonly minimum: -2147483648;
113
281
  readonly maximum: 2147483647;
114
282
  readonly default: number;
115
283
  };
284
+ readonly gltfUrl: {
285
+ readonly type: "string";
286
+ };
287
+ readonly shapeSpec: {
288
+ readonly default: import("../public.js").ShapeSpec | null;
289
+ };
290
+ readonly voxelVolumeSize: {
291
+ readonly default: import("@adobe/data/math").Vec3 | null;
292
+ };
293
+ readonly localBounds: {
294
+ readonly default: {
295
+ readonly min: readonly [number, number, number];
296
+ readonly max: readonly [number, number, number];
297
+ } | null;
298
+ };
299
+ readonly skinJointTemplate: {
300
+ readonly default: import("./model/gltf/parse-skin.js").JointTemplate[];
301
+ };
302
+ readonly skinInverseBindMatrices: {
303
+ readonly default: Float32Array | null;
304
+ };
305
+ readonly animationClipRefs: {
306
+ readonly default: number[];
307
+ };
308
+ readonly cpuCollisionPositions: {
309
+ readonly default: Float32Array | null;
310
+ };
311
+ readonly cpuCollisionIndices: {
312
+ readonly default: Uint32Array | null;
313
+ };
314
+ readonly cpuSkin: {
315
+ readonly default: {
316
+ positions: Float32Array;
317
+ joints: Uint32Array;
318
+ weights: Float32Array;
319
+ } | null;
320
+ };
116
321
  }, {} & {
322
+ readonly _gltfMeshByUrl: {
323
+ readonly default: Map<string, number> | null;
324
+ readonly nonPersistent: true;
325
+ };
326
+ } & {
117
327
  readonly frameTime: {
118
328
  readonly default: import("../../core/frame-time/public.js");
119
329
  readonly nonPersistent: true;
@@ -141,7 +351,7 @@ export declare const scene: Database.Plugin<{} & {
141
351
  readonly nonPersistent: true;
142
352
  };
143
353
  readonly clearColor: {
144
- readonly default: readonly [number, number, number, number];
354
+ readonly default: import("@adobe/data/math").Vec4;
145
355
  readonly nonPersistent: true;
146
356
  };
147
357
  readonly canvas: {
@@ -173,22 +383,1971 @@ export declare const scene: Database.Plugin<{} & {
173
383
  readonly default: GPUBuffer | null;
174
384
  readonly nonPersistent: true;
175
385
  };
176
- }, {} & {
386
+ }, {
177
387
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
178
- } & {} & {
179
- readonly Geometry: readonly ["modelUrl"];
180
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
388
+ } & {} & {} & {
389
+ 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"];
390
+ } & {
391
+ readonly GltfMeshPending: readonly ["gltfUrl"];
392
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
393
+ readonly StaticMesh: readonly ["localBounds"];
394
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
395
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
396
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
181
397
  }, {} & {} & {
182
- readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
183
- readonly modelUrl: {
398
+ readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
399
+ readonly material: {
400
+ readonly type: "integer";
401
+ readonly minimum: -2147483648;
402
+ readonly maximum: 2147483647;
403
+ readonly default: number;
404
+ };
405
+ readonly name: {
406
+ readonly type: "string";
407
+ };
408
+ readonly density: {
409
+ readonly type: "number";
410
+ readonly precision: 1;
411
+ readonly default: number;
412
+ };
413
+ readonly restitution: {
414
+ readonly type: "number";
415
+ readonly precision: 1;
416
+ readonly default: number;
417
+ };
418
+ readonly friction: {
419
+ readonly type: "number";
420
+ readonly precision: 1;
421
+ readonly default: number;
422
+ };
423
+ readonly compliance: {
424
+ readonly type: "number";
425
+ readonly precision: 1;
426
+ readonly default: number;
427
+ };
428
+ readonly heatCapacity: {
429
+ readonly type: "number";
430
+ readonly precision: 1;
431
+ readonly default: number;
432
+ };
433
+ readonly viscosity: {
434
+ readonly type: "number";
435
+ readonly precision: 1;
436
+ readonly default: number;
437
+ };
438
+ readonly thermalConductivity: {
439
+ readonly type: "number";
440
+ readonly precision: 1;
441
+ readonly default: number;
442
+ };
443
+ readonly stressStrainCurve: {
444
+ readonly type: "object";
445
+ readonly layout: "packed";
446
+ readonly properties: {
447
+ readonly tensileYieldStrainStress: {
448
+ readonly type: "array";
449
+ readonly items: {
450
+ readonly type: "number";
451
+ readonly precision: 1;
452
+ readonly default: number;
453
+ };
454
+ readonly minItems: 2;
455
+ readonly maxItems: 2;
456
+ readonly default: readonly [0, 0];
457
+ };
458
+ readonly tensileFractureStrainStress: {
459
+ readonly type: "array";
460
+ readonly items: {
461
+ readonly type: "number";
462
+ readonly precision: 1;
463
+ readonly default: number;
464
+ };
465
+ readonly minItems: 2;
466
+ readonly maxItems: 2;
467
+ readonly default: readonly [0, 0];
468
+ };
469
+ readonly compressiveYieldStrainStress: {
470
+ readonly type: "array";
471
+ readonly items: {
472
+ readonly type: "number";
473
+ readonly precision: 1;
474
+ readonly default: number;
475
+ };
476
+ readonly minItems: 2;
477
+ readonly maxItems: 2;
478
+ readonly default: readonly [0, 0];
479
+ };
480
+ readonly compressiveFractureStrainStress: {
481
+ readonly type: "array";
482
+ readonly items: {
483
+ readonly type: "number";
484
+ readonly precision: 1;
485
+ readonly default: number;
486
+ };
487
+ readonly minItems: 2;
488
+ readonly maxItems: 2;
489
+ readonly default: readonly [0, 0];
490
+ };
491
+ };
492
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
493
+ };
494
+ readonly baseColorFactor: {
495
+ readonly type: "array";
496
+ readonly items: {
497
+ readonly type: "number";
498
+ readonly precision: 1;
499
+ readonly default: number;
500
+ };
501
+ readonly minItems: 4;
502
+ readonly maxItems: 4;
503
+ readonly default: readonly [0, 0, 0, 0];
504
+ };
505
+ readonly emissiveFactor: {
506
+ readonly type: "array";
507
+ readonly items: {
508
+ readonly type: "number";
509
+ readonly precision: 1;
510
+ readonly default: number;
511
+ };
512
+ readonly minItems: 3;
513
+ readonly maxItems: 3;
514
+ readonly default: readonly [0, 0, 0];
515
+ };
516
+ readonly metallicFactor: {
517
+ readonly type: "number";
518
+ readonly precision: 1;
519
+ readonly default: number;
520
+ };
521
+ readonly roughnessFactor: {
522
+ readonly type: "number";
523
+ readonly precision: 1;
524
+ readonly default: number;
525
+ };
526
+ readonly normalScale: {
527
+ readonly type: "number";
528
+ readonly precision: 1;
529
+ readonly default: number;
530
+ };
531
+ readonly occlusionStrength: {
532
+ readonly type: "number";
533
+ readonly precision: 1;
534
+ readonly default: number;
535
+ };
536
+ readonly irReflectance: {
537
+ readonly type: "number";
538
+ readonly precision: 1;
539
+ readonly default: number;
540
+ };
541
+ readonly irEmission: {
542
+ readonly type: "number";
543
+ readonly precision: 1;
544
+ readonly default: number;
545
+ };
546
+ readonly emissionMode: {
547
+ readonly type: "integer";
548
+ readonly minimum: 0;
549
+ readonly maximum: 4294967295;
550
+ readonly default: number;
551
+ };
552
+ readonly baseColorUrl: {
553
+ readonly type: "string";
554
+ };
555
+ readonly metallicRoughnessUrl: {
556
+ readonly type: "string";
557
+ };
558
+ readonly normalUrl: {
559
+ readonly type: "string";
560
+ };
561
+ readonly occlusionUrl: {
562
+ readonly type: "string";
563
+ };
564
+ readonly emissiveUrl: {
565
+ readonly type: "string";
566
+ };
567
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
568
+ 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"];
569
+ }, {
570
+ readonly materialByName: {
571
+ readonly key: "name";
572
+ readonly unique: true;
573
+ readonly archetype: "Material";
574
+ };
575
+ }>, row: import("../../material/public.js")) => number;
576
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
577
+ readonly material: {
578
+ readonly type: "integer";
579
+ readonly minimum: -2147483648;
580
+ readonly maximum: 2147483647;
581
+ readonly default: number;
582
+ };
583
+ readonly name: {
584
+ readonly type: "string";
585
+ };
586
+ readonly density: {
587
+ readonly type: "number";
588
+ readonly precision: 1;
589
+ readonly default: number;
590
+ };
591
+ readonly restitution: {
592
+ readonly type: "number";
593
+ readonly precision: 1;
594
+ readonly default: number;
595
+ };
596
+ readonly friction: {
597
+ readonly type: "number";
598
+ readonly precision: 1;
599
+ readonly default: number;
600
+ };
601
+ readonly compliance: {
602
+ readonly type: "number";
603
+ readonly precision: 1;
604
+ readonly default: number;
605
+ };
606
+ readonly heatCapacity: {
607
+ readonly type: "number";
608
+ readonly precision: 1;
609
+ readonly default: number;
610
+ };
611
+ readonly viscosity: {
612
+ readonly type: "number";
613
+ readonly precision: 1;
614
+ readonly default: number;
615
+ };
616
+ readonly thermalConductivity: {
617
+ readonly type: "number";
618
+ readonly precision: 1;
619
+ readonly default: number;
620
+ };
621
+ readonly stressStrainCurve: {
622
+ readonly type: "object";
623
+ readonly layout: "packed";
624
+ readonly properties: {
625
+ readonly tensileYieldStrainStress: {
626
+ readonly type: "array";
627
+ readonly items: {
628
+ readonly type: "number";
629
+ readonly precision: 1;
630
+ readonly default: number;
631
+ };
632
+ readonly minItems: 2;
633
+ readonly maxItems: 2;
634
+ readonly default: readonly [0, 0];
635
+ };
636
+ readonly tensileFractureStrainStress: {
637
+ readonly type: "array";
638
+ readonly items: {
639
+ readonly type: "number";
640
+ readonly precision: 1;
641
+ readonly default: number;
642
+ };
643
+ readonly minItems: 2;
644
+ readonly maxItems: 2;
645
+ readonly default: readonly [0, 0];
646
+ };
647
+ readonly compressiveYieldStrainStress: {
648
+ readonly type: "array";
649
+ readonly items: {
650
+ readonly type: "number";
651
+ readonly precision: 1;
652
+ readonly default: number;
653
+ };
654
+ readonly minItems: 2;
655
+ readonly maxItems: 2;
656
+ readonly default: readonly [0, 0];
657
+ };
658
+ readonly compressiveFractureStrainStress: {
659
+ readonly type: "array";
660
+ readonly items: {
661
+ readonly type: "number";
662
+ readonly precision: 1;
663
+ readonly default: number;
664
+ };
665
+ readonly minItems: 2;
666
+ readonly maxItems: 2;
667
+ readonly default: readonly [0, 0];
668
+ };
669
+ };
670
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
671
+ };
672
+ readonly baseColorFactor: {
673
+ readonly type: "array";
674
+ readonly items: {
675
+ readonly type: "number";
676
+ readonly precision: 1;
677
+ readonly default: number;
678
+ };
679
+ readonly minItems: 4;
680
+ readonly maxItems: 4;
681
+ readonly default: readonly [0, 0, 0, 0];
682
+ };
683
+ readonly emissiveFactor: {
684
+ readonly type: "array";
685
+ readonly items: {
686
+ readonly type: "number";
687
+ readonly precision: 1;
688
+ readonly default: number;
689
+ };
690
+ readonly minItems: 3;
691
+ readonly maxItems: 3;
692
+ readonly default: readonly [0, 0, 0];
693
+ };
694
+ readonly metallicFactor: {
695
+ readonly type: "number";
696
+ readonly precision: 1;
697
+ readonly default: number;
698
+ };
699
+ readonly roughnessFactor: {
700
+ readonly type: "number";
701
+ readonly precision: 1;
702
+ readonly default: number;
703
+ };
704
+ readonly normalScale: {
705
+ readonly type: "number";
706
+ readonly precision: 1;
707
+ readonly default: number;
708
+ };
709
+ readonly occlusionStrength: {
710
+ readonly type: "number";
711
+ readonly precision: 1;
712
+ readonly default: number;
713
+ };
714
+ readonly irReflectance: {
715
+ readonly type: "number";
716
+ readonly precision: 1;
717
+ readonly default: number;
718
+ };
719
+ readonly irEmission: {
720
+ readonly type: "number";
721
+ readonly precision: 1;
722
+ readonly default: number;
723
+ };
724
+ readonly emissionMode: {
725
+ readonly type: "integer";
726
+ readonly minimum: 0;
727
+ readonly maximum: 4294967295;
728
+ readonly default: number;
729
+ };
730
+ readonly baseColorUrl: {
731
+ readonly type: "string";
732
+ };
733
+ readonly metallicRoughnessUrl: {
734
+ readonly type: "string";
735
+ };
736
+ readonly normalUrl: {
737
+ readonly type: "string";
738
+ };
739
+ readonly occlusionUrl: {
740
+ readonly type: "string";
741
+ };
742
+ readonly emissiveUrl: {
743
+ readonly type: "string";
744
+ };
745
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
746
+ 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"];
747
+ }, {
748
+ readonly materialByName: {
749
+ readonly key: "name";
750
+ readonly unique: true;
751
+ readonly archetype: "Material";
752
+ };
753
+ }>, args: {
754
+ name: string;
755
+ definition: import("../../material/material-definition.js").MaterialDefinition;
756
+ }) => number;
757
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
758
+ readonly material: {
759
+ readonly type: "integer";
760
+ readonly minimum: -2147483648;
761
+ readonly maximum: 2147483647;
762
+ readonly default: number;
763
+ };
764
+ readonly name: {
765
+ readonly type: "string";
766
+ };
767
+ readonly density: {
768
+ readonly type: "number";
769
+ readonly precision: 1;
770
+ readonly default: number;
771
+ };
772
+ readonly restitution: {
773
+ readonly type: "number";
774
+ readonly precision: 1;
775
+ readonly default: number;
776
+ };
777
+ readonly friction: {
778
+ readonly type: "number";
779
+ readonly precision: 1;
780
+ readonly default: number;
781
+ };
782
+ readonly compliance: {
783
+ readonly type: "number";
784
+ readonly precision: 1;
785
+ readonly default: number;
786
+ };
787
+ readonly heatCapacity: {
788
+ readonly type: "number";
789
+ readonly precision: 1;
790
+ readonly default: number;
791
+ };
792
+ readonly viscosity: {
793
+ readonly type: "number";
794
+ readonly precision: 1;
795
+ readonly default: number;
796
+ };
797
+ readonly thermalConductivity: {
798
+ readonly type: "number";
799
+ readonly precision: 1;
800
+ readonly default: number;
801
+ };
802
+ readonly stressStrainCurve: {
803
+ readonly type: "object";
804
+ readonly layout: "packed";
805
+ readonly properties: {
806
+ readonly tensileYieldStrainStress: {
807
+ readonly type: "array";
808
+ readonly items: {
809
+ readonly type: "number";
810
+ readonly precision: 1;
811
+ readonly default: number;
812
+ };
813
+ readonly minItems: 2;
814
+ readonly maxItems: 2;
815
+ readonly default: readonly [0, 0];
816
+ };
817
+ readonly tensileFractureStrainStress: {
818
+ readonly type: "array";
819
+ readonly items: {
820
+ readonly type: "number";
821
+ readonly precision: 1;
822
+ readonly default: number;
823
+ };
824
+ readonly minItems: 2;
825
+ readonly maxItems: 2;
826
+ readonly default: readonly [0, 0];
827
+ };
828
+ readonly compressiveYieldStrainStress: {
829
+ readonly type: "array";
830
+ readonly items: {
831
+ readonly type: "number";
832
+ readonly precision: 1;
833
+ readonly default: number;
834
+ };
835
+ readonly minItems: 2;
836
+ readonly maxItems: 2;
837
+ readonly default: readonly [0, 0];
838
+ };
839
+ readonly compressiveFractureStrainStress: {
840
+ readonly type: "array";
841
+ readonly items: {
842
+ readonly type: "number";
843
+ readonly precision: 1;
844
+ readonly default: number;
845
+ };
846
+ readonly minItems: 2;
847
+ readonly maxItems: 2;
848
+ readonly default: readonly [0, 0];
849
+ };
850
+ };
851
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
852
+ };
853
+ readonly baseColorFactor: {
854
+ readonly type: "array";
855
+ readonly items: {
856
+ readonly type: "number";
857
+ readonly precision: 1;
858
+ readonly default: number;
859
+ };
860
+ readonly minItems: 4;
861
+ readonly maxItems: 4;
862
+ readonly default: readonly [0, 0, 0, 0];
863
+ };
864
+ readonly emissiveFactor: {
865
+ readonly type: "array";
866
+ readonly items: {
867
+ readonly type: "number";
868
+ readonly precision: 1;
869
+ readonly default: number;
870
+ };
871
+ readonly minItems: 3;
872
+ readonly maxItems: 3;
873
+ readonly default: readonly [0, 0, 0];
874
+ };
875
+ readonly metallicFactor: {
876
+ readonly type: "number";
877
+ readonly precision: 1;
878
+ readonly default: number;
879
+ };
880
+ readonly roughnessFactor: {
881
+ readonly type: "number";
882
+ readonly precision: 1;
883
+ readonly default: number;
884
+ };
885
+ readonly normalScale: {
886
+ readonly type: "number";
887
+ readonly precision: 1;
888
+ readonly default: number;
889
+ };
890
+ readonly occlusionStrength: {
891
+ readonly type: "number";
892
+ readonly precision: 1;
893
+ readonly default: number;
894
+ };
895
+ readonly irReflectance: {
896
+ readonly type: "number";
897
+ readonly precision: 1;
898
+ readonly default: number;
899
+ };
900
+ readonly irEmission: {
901
+ readonly type: "number";
902
+ readonly precision: 1;
903
+ readonly default: number;
904
+ };
905
+ readonly emissionMode: {
906
+ readonly type: "integer";
907
+ readonly minimum: 0;
908
+ readonly maximum: 4294967295;
909
+ readonly default: number;
910
+ };
911
+ readonly baseColorUrl: {
912
+ readonly type: "string";
913
+ };
914
+ readonly metallicRoughnessUrl: {
915
+ readonly type: "string";
916
+ };
917
+ readonly normalUrl: {
918
+ readonly type: "string";
919
+ };
920
+ readonly occlusionUrl: {
921
+ readonly type: "string";
922
+ };
923
+ readonly emissiveUrl: {
924
+ readonly type: "string";
925
+ };
926
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
927
+ 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"];
928
+ }, {
929
+ readonly materialByName: {
930
+ readonly key: "name";
931
+ readonly unique: true;
932
+ readonly archetype: "Material";
933
+ };
934
+ }>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
935
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
936
+ readonly material: {
937
+ readonly type: "integer";
938
+ readonly minimum: -2147483648;
939
+ readonly maximum: 2147483647;
940
+ readonly default: number;
941
+ };
942
+ readonly name: {
943
+ readonly type: "string";
944
+ };
945
+ readonly density: {
946
+ readonly type: "number";
947
+ readonly precision: 1;
948
+ readonly default: number;
949
+ };
950
+ readonly restitution: {
951
+ readonly type: "number";
952
+ readonly precision: 1;
953
+ readonly default: number;
954
+ };
955
+ readonly friction: {
956
+ readonly type: "number";
957
+ readonly precision: 1;
958
+ readonly default: number;
959
+ };
960
+ readonly compliance: {
961
+ readonly type: "number";
962
+ readonly precision: 1;
963
+ readonly default: number;
964
+ };
965
+ readonly heatCapacity: {
966
+ readonly type: "number";
967
+ readonly precision: 1;
968
+ readonly default: number;
969
+ };
970
+ readonly viscosity: {
971
+ readonly type: "number";
972
+ readonly precision: 1;
973
+ readonly default: number;
974
+ };
975
+ readonly thermalConductivity: {
976
+ readonly type: "number";
977
+ readonly precision: 1;
978
+ readonly default: number;
979
+ };
980
+ readonly stressStrainCurve: {
981
+ readonly type: "object";
982
+ readonly layout: "packed";
983
+ readonly properties: {
984
+ readonly tensileYieldStrainStress: {
985
+ readonly type: "array";
986
+ readonly items: {
987
+ readonly type: "number";
988
+ readonly precision: 1;
989
+ readonly default: number;
990
+ };
991
+ readonly minItems: 2;
992
+ readonly maxItems: 2;
993
+ readonly default: readonly [0, 0];
994
+ };
995
+ readonly tensileFractureStrainStress: {
996
+ readonly type: "array";
997
+ readonly items: {
998
+ readonly type: "number";
999
+ readonly precision: 1;
1000
+ readonly default: number;
1001
+ };
1002
+ readonly minItems: 2;
1003
+ readonly maxItems: 2;
1004
+ readonly default: readonly [0, 0];
1005
+ };
1006
+ readonly compressiveYieldStrainStress: {
1007
+ readonly type: "array";
1008
+ readonly items: {
1009
+ readonly type: "number";
1010
+ readonly precision: 1;
1011
+ readonly default: number;
1012
+ };
1013
+ readonly minItems: 2;
1014
+ readonly maxItems: 2;
1015
+ readonly default: readonly [0, 0];
1016
+ };
1017
+ readonly compressiveFractureStrainStress: {
1018
+ readonly type: "array";
1019
+ readonly items: {
1020
+ readonly type: "number";
1021
+ readonly precision: 1;
1022
+ readonly default: number;
1023
+ };
1024
+ readonly minItems: 2;
1025
+ readonly maxItems: 2;
1026
+ readonly default: readonly [0, 0];
1027
+ };
1028
+ };
1029
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1030
+ };
1031
+ readonly baseColorFactor: {
1032
+ readonly type: "array";
1033
+ readonly items: {
1034
+ readonly type: "number";
1035
+ readonly precision: 1;
1036
+ readonly default: number;
1037
+ };
1038
+ readonly minItems: 4;
1039
+ readonly maxItems: 4;
1040
+ readonly default: readonly [0, 0, 0, 0];
1041
+ };
1042
+ readonly emissiveFactor: {
1043
+ readonly type: "array";
1044
+ readonly items: {
1045
+ readonly type: "number";
1046
+ readonly precision: 1;
1047
+ readonly default: number;
1048
+ };
1049
+ readonly minItems: 3;
1050
+ readonly maxItems: 3;
1051
+ readonly default: readonly [0, 0, 0];
1052
+ };
1053
+ readonly metallicFactor: {
1054
+ readonly type: "number";
1055
+ readonly precision: 1;
1056
+ readonly default: number;
1057
+ };
1058
+ readonly roughnessFactor: {
1059
+ readonly type: "number";
1060
+ readonly precision: 1;
1061
+ readonly default: number;
1062
+ };
1063
+ readonly normalScale: {
1064
+ readonly type: "number";
1065
+ readonly precision: 1;
1066
+ readonly default: number;
1067
+ };
1068
+ readonly occlusionStrength: {
1069
+ readonly type: "number";
1070
+ readonly precision: 1;
1071
+ readonly default: number;
1072
+ };
1073
+ readonly irReflectance: {
1074
+ readonly type: "number";
1075
+ readonly precision: 1;
1076
+ readonly default: number;
1077
+ };
1078
+ readonly irEmission: {
1079
+ readonly type: "number";
1080
+ readonly precision: 1;
1081
+ readonly default: number;
1082
+ };
1083
+ readonly emissionMode: {
1084
+ readonly type: "integer";
1085
+ readonly minimum: 0;
1086
+ readonly maximum: 4294967295;
1087
+ readonly default: number;
1088
+ };
1089
+ readonly baseColorUrl: {
1090
+ readonly type: "string";
1091
+ };
1092
+ readonly metallicRoughnessUrl: {
1093
+ readonly type: "string";
1094
+ };
1095
+ readonly normalUrl: {
1096
+ readonly type: "string";
1097
+ };
1098
+ readonly occlusionUrl: {
1099
+ readonly type: "string";
1100
+ };
1101
+ readonly emissiveUrl: {
1102
+ readonly type: "string";
1103
+ };
1104
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1105
+ 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"];
1106
+ }, {
1107
+ readonly materialByName: {
1108
+ readonly key: "name";
1109
+ readonly unique: true;
1110
+ readonly archetype: "Material";
1111
+ };
1112
+ }>) => void;
1113
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1114
+ readonly material: {
1115
+ readonly type: "integer";
1116
+ readonly minimum: -2147483648;
1117
+ readonly maximum: 2147483647;
1118
+ readonly default: number;
1119
+ };
1120
+ readonly name: {
1121
+ readonly type: "string";
1122
+ };
1123
+ readonly density: {
1124
+ readonly type: "number";
1125
+ readonly precision: 1;
1126
+ readonly default: number;
1127
+ };
1128
+ readonly restitution: {
1129
+ readonly type: "number";
1130
+ readonly precision: 1;
1131
+ readonly default: number;
1132
+ };
1133
+ readonly friction: {
1134
+ readonly type: "number";
1135
+ readonly precision: 1;
1136
+ readonly default: number;
1137
+ };
1138
+ readonly compliance: {
1139
+ readonly type: "number";
1140
+ readonly precision: 1;
1141
+ readonly default: number;
1142
+ };
1143
+ readonly heatCapacity: {
1144
+ readonly type: "number";
1145
+ readonly precision: 1;
1146
+ readonly default: number;
1147
+ };
1148
+ readonly viscosity: {
1149
+ readonly type: "number";
1150
+ readonly precision: 1;
1151
+ readonly default: number;
1152
+ };
1153
+ readonly thermalConductivity: {
1154
+ readonly type: "number";
1155
+ readonly precision: 1;
1156
+ readonly default: number;
1157
+ };
1158
+ readonly stressStrainCurve: {
1159
+ readonly type: "object";
1160
+ readonly layout: "packed";
1161
+ readonly properties: {
1162
+ readonly tensileYieldStrainStress: {
1163
+ readonly type: "array";
1164
+ readonly items: {
1165
+ readonly type: "number";
1166
+ readonly precision: 1;
1167
+ readonly default: number;
1168
+ };
1169
+ readonly minItems: 2;
1170
+ readonly maxItems: 2;
1171
+ readonly default: readonly [0, 0];
1172
+ };
1173
+ readonly tensileFractureStrainStress: {
1174
+ readonly type: "array";
1175
+ readonly items: {
1176
+ readonly type: "number";
1177
+ readonly precision: 1;
1178
+ readonly default: number;
1179
+ };
1180
+ readonly minItems: 2;
1181
+ readonly maxItems: 2;
1182
+ readonly default: readonly [0, 0];
1183
+ };
1184
+ readonly compressiveYieldStrainStress: {
1185
+ readonly type: "array";
1186
+ readonly items: {
1187
+ readonly type: "number";
1188
+ readonly precision: 1;
1189
+ readonly default: number;
1190
+ };
1191
+ readonly minItems: 2;
1192
+ readonly maxItems: 2;
1193
+ readonly default: readonly [0, 0];
1194
+ };
1195
+ readonly compressiveFractureStrainStress: {
1196
+ readonly type: "array";
1197
+ readonly items: {
1198
+ readonly type: "number";
1199
+ readonly precision: 1;
1200
+ readonly default: number;
1201
+ };
1202
+ readonly minItems: 2;
1203
+ readonly maxItems: 2;
1204
+ readonly default: readonly [0, 0];
1205
+ };
1206
+ };
1207
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1208
+ };
1209
+ readonly baseColorFactor: {
1210
+ readonly type: "array";
1211
+ readonly items: {
1212
+ readonly type: "number";
1213
+ readonly precision: 1;
1214
+ readonly default: number;
1215
+ };
1216
+ readonly minItems: 4;
1217
+ readonly maxItems: 4;
1218
+ readonly default: readonly [0, 0, 0, 0];
1219
+ };
1220
+ readonly emissiveFactor: {
1221
+ readonly type: "array";
1222
+ readonly items: {
1223
+ readonly type: "number";
1224
+ readonly precision: 1;
1225
+ readonly default: number;
1226
+ };
1227
+ readonly minItems: 3;
1228
+ readonly maxItems: 3;
1229
+ readonly default: readonly [0, 0, 0];
1230
+ };
1231
+ readonly metallicFactor: {
1232
+ readonly type: "number";
1233
+ readonly precision: 1;
1234
+ readonly default: number;
1235
+ };
1236
+ readonly roughnessFactor: {
1237
+ readonly type: "number";
1238
+ readonly precision: 1;
1239
+ readonly default: number;
1240
+ };
1241
+ readonly normalScale: {
1242
+ readonly type: "number";
1243
+ readonly precision: 1;
1244
+ readonly default: number;
1245
+ };
1246
+ readonly occlusionStrength: {
1247
+ readonly type: "number";
1248
+ readonly precision: 1;
1249
+ readonly default: number;
1250
+ };
1251
+ readonly irReflectance: {
1252
+ readonly type: "number";
1253
+ readonly precision: 1;
1254
+ readonly default: number;
1255
+ };
1256
+ readonly irEmission: {
1257
+ readonly type: "number";
1258
+ readonly precision: 1;
1259
+ readonly default: number;
1260
+ };
1261
+ readonly emissionMode: {
1262
+ readonly type: "integer";
1263
+ readonly minimum: 0;
1264
+ readonly maximum: 4294967295;
1265
+ readonly default: number;
1266
+ };
1267
+ readonly baseColorUrl: {
1268
+ readonly type: "string";
1269
+ };
1270
+ readonly metallicRoughnessUrl: {
1271
+ readonly type: "string";
1272
+ };
1273
+ readonly normalUrl: {
1274
+ readonly type: "string";
1275
+ };
1276
+ readonly occlusionUrl: {
1277
+ readonly type: "string";
1278
+ };
1279
+ readonly emissiveUrl: {
1280
+ readonly type: "string";
1281
+ };
1282
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1283
+ 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"];
1284
+ }, {
1285
+ readonly materialByName: {
1286
+ readonly key: "name";
1287
+ readonly unique: true;
1288
+ readonly archetype: "Material";
1289
+ };
1290
+ }>) => void;
1291
+ } & {
1292
+ readonly insertGltfMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1293
+ readonly mesh: {
1294
+ readonly type: "integer";
1295
+ readonly minimum: -2147483648;
1296
+ readonly maximum: 2147483647;
1297
+ readonly default: number;
1298
+ };
1299
+ readonly gltfUrl: {
1300
+ readonly type: "string";
1301
+ };
1302
+ readonly shapeSpec: {
1303
+ readonly default: import("../public.js").ShapeSpec | null;
1304
+ };
1305
+ readonly voxelVolumeSize: {
1306
+ readonly default: import("@adobe/data/math").Vec3 | null;
1307
+ };
1308
+ readonly localBounds: {
1309
+ readonly default: {
1310
+ readonly min: readonly [number, number, number];
1311
+ readonly max: readonly [number, number, number];
1312
+ } | null;
1313
+ };
1314
+ readonly skinJointTemplate: {
1315
+ readonly default: import("./model/gltf/parse-skin.js").JointTemplate[];
1316
+ };
1317
+ readonly skinInverseBindMatrices: {
1318
+ readonly default: Float32Array | null;
1319
+ };
1320
+ readonly animationClipRefs: {
1321
+ readonly default: number[];
1322
+ };
1323
+ readonly cpuCollisionPositions: {
1324
+ readonly default: Float32Array | null;
1325
+ };
1326
+ readonly cpuCollisionIndices: {
1327
+ readonly default: Uint32Array | null;
1328
+ };
1329
+ readonly cpuSkin: {
1330
+ readonly default: {
1331
+ positions: Float32Array;
1332
+ joints: Uint32Array;
1333
+ weights: Float32Array;
1334
+ } | null;
1335
+ };
1336
+ } & {
1337
+ readonly visible: {
1338
+ readonly type: "boolean";
1339
+ readonly const: true;
1340
+ readonly default: true;
1341
+ };
1342
+ readonly position: {
1343
+ readonly type: "array";
1344
+ readonly items: {
1345
+ readonly type: "number";
1346
+ readonly precision: 1;
1347
+ readonly default: number;
1348
+ };
1349
+ readonly minItems: 3;
1350
+ readonly maxItems: 3;
1351
+ readonly default: readonly [0, 0, 0];
1352
+ };
1353
+ readonly rotation: {
1354
+ readonly type: "array";
1355
+ readonly items: {
1356
+ readonly type: "number";
1357
+ readonly precision: 1;
1358
+ readonly default: number;
1359
+ };
1360
+ readonly minItems: 4;
1361
+ readonly maxItems: 4;
1362
+ readonly default: readonly [0, 0, 0, 1];
1363
+ readonly interpolators: {
1364
+ readonly linear: (q1: any, q2: any, t: number) => any;
1365
+ };
1366
+ };
1367
+ readonly scale: {
1368
+ readonly type: "array";
1369
+ readonly items: {
1370
+ readonly type: "number";
1371
+ readonly precision: 1;
1372
+ readonly default: number;
1373
+ };
1374
+ readonly minItems: 3;
1375
+ readonly maxItems: 3;
1376
+ readonly default: readonly [0, 0, 0];
1377
+ };
1378
+ readonly parent: {
1379
+ readonly type: "integer";
1380
+ readonly minimum: -2147483648;
1381
+ readonly maximum: 2147483647;
1382
+ readonly default: number;
1383
+ };
1384
+ readonly _worldMatrix: {
1385
+ readonly nonPersistent: true;
1386
+ readonly type: "array";
1387
+ readonly items: {
1388
+ readonly type: "number";
1389
+ readonly precision: 1;
1390
+ readonly default: number;
1391
+ };
1392
+ readonly minItems: 16;
1393
+ readonly maxItems: 16;
1394
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1395
+ };
1396
+ readonly _worldBounds: {
1397
+ readonly nonPersistent: true;
1398
+ readonly type: "object";
1399
+ readonly properties: {
1400
+ readonly min: {
1401
+ readonly type: "array";
1402
+ readonly items: {
1403
+ readonly type: "number";
1404
+ readonly precision: 1;
1405
+ readonly default: number;
1406
+ };
1407
+ readonly minItems: 3;
1408
+ readonly maxItems: 3;
1409
+ readonly default: readonly [0, 0, 0];
1410
+ };
1411
+ readonly max: {
1412
+ readonly type: "array";
1413
+ readonly items: {
1414
+ readonly type: "number";
1415
+ readonly precision: 1;
1416
+ readonly default: number;
1417
+ };
1418
+ readonly minItems: 3;
1419
+ readonly maxItems: 3;
1420
+ readonly default: readonly [0, 0, 0];
1421
+ };
1422
+ };
1423
+ readonly required: readonly ["min", "max"];
1424
+ readonly additionalProperties: false;
1425
+ readonly default: {
1426
+ readonly min: readonly [0, 0, 0];
1427
+ readonly max: readonly [0, 0, 0];
1428
+ };
1429
+ };
1430
+ } & {} & {
1431
+ readonly material: {
1432
+ readonly type: "integer";
1433
+ readonly minimum: -2147483648;
1434
+ readonly maximum: 2147483647;
1435
+ readonly default: number;
1436
+ };
1437
+ readonly name: {
1438
+ readonly type: "string";
1439
+ };
1440
+ readonly density: {
1441
+ readonly type: "number";
1442
+ readonly precision: 1;
1443
+ readonly default: number;
1444
+ };
1445
+ readonly restitution: {
1446
+ readonly type: "number";
1447
+ readonly precision: 1;
1448
+ readonly default: number;
1449
+ };
1450
+ readonly friction: {
1451
+ readonly type: "number";
1452
+ readonly precision: 1;
1453
+ readonly default: number;
1454
+ };
1455
+ readonly compliance: {
1456
+ readonly type: "number";
1457
+ readonly precision: 1;
1458
+ readonly default: number;
1459
+ };
1460
+ readonly heatCapacity: {
1461
+ readonly type: "number";
1462
+ readonly precision: 1;
1463
+ readonly default: number;
1464
+ };
1465
+ readonly viscosity: {
1466
+ readonly type: "number";
1467
+ readonly precision: 1;
1468
+ readonly default: number;
1469
+ };
1470
+ readonly thermalConductivity: {
1471
+ readonly type: "number";
1472
+ readonly precision: 1;
1473
+ readonly default: number;
1474
+ };
1475
+ readonly stressStrainCurve: {
1476
+ readonly type: "object";
1477
+ readonly layout: "packed";
1478
+ readonly properties: {
1479
+ readonly tensileYieldStrainStress: {
1480
+ readonly type: "array";
1481
+ readonly items: {
1482
+ readonly type: "number";
1483
+ readonly precision: 1;
1484
+ readonly default: number;
1485
+ };
1486
+ readonly minItems: 2;
1487
+ readonly maxItems: 2;
1488
+ readonly default: readonly [0, 0];
1489
+ };
1490
+ readonly tensileFractureStrainStress: {
1491
+ readonly type: "array";
1492
+ readonly items: {
1493
+ readonly type: "number";
1494
+ readonly precision: 1;
1495
+ readonly default: number;
1496
+ };
1497
+ readonly minItems: 2;
1498
+ readonly maxItems: 2;
1499
+ readonly default: readonly [0, 0];
1500
+ };
1501
+ readonly compressiveYieldStrainStress: {
1502
+ readonly type: "array";
1503
+ readonly items: {
1504
+ readonly type: "number";
1505
+ readonly precision: 1;
1506
+ readonly default: number;
1507
+ };
1508
+ readonly minItems: 2;
1509
+ readonly maxItems: 2;
1510
+ readonly default: readonly [0, 0];
1511
+ };
1512
+ readonly compressiveFractureStrainStress: {
1513
+ readonly type: "array";
1514
+ readonly items: {
1515
+ readonly type: "number";
1516
+ readonly precision: 1;
1517
+ readonly default: number;
1518
+ };
1519
+ readonly minItems: 2;
1520
+ readonly maxItems: 2;
1521
+ readonly default: readonly [0, 0];
1522
+ };
1523
+ };
1524
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1525
+ };
1526
+ readonly baseColorFactor: {
1527
+ readonly type: "array";
1528
+ readonly items: {
1529
+ readonly type: "number";
1530
+ readonly precision: 1;
1531
+ readonly default: number;
1532
+ };
1533
+ readonly minItems: 4;
1534
+ readonly maxItems: 4;
1535
+ readonly default: readonly [0, 0, 0, 0];
1536
+ };
1537
+ readonly emissiveFactor: {
1538
+ readonly type: "array";
1539
+ readonly items: {
1540
+ readonly type: "number";
1541
+ readonly precision: 1;
1542
+ readonly default: number;
1543
+ };
1544
+ readonly minItems: 3;
1545
+ readonly maxItems: 3;
1546
+ readonly default: readonly [0, 0, 0];
1547
+ };
1548
+ readonly metallicFactor: {
1549
+ readonly type: "number";
1550
+ readonly precision: 1;
1551
+ readonly default: number;
1552
+ };
1553
+ readonly roughnessFactor: {
1554
+ readonly type: "number";
1555
+ readonly precision: 1;
1556
+ readonly default: number;
1557
+ };
1558
+ readonly normalScale: {
1559
+ readonly type: "number";
1560
+ readonly precision: 1;
1561
+ readonly default: number;
1562
+ };
1563
+ readonly occlusionStrength: {
1564
+ readonly type: "number";
1565
+ readonly precision: 1;
1566
+ readonly default: number;
1567
+ };
1568
+ readonly irReflectance: {
1569
+ readonly type: "number";
1570
+ readonly precision: 1;
1571
+ readonly default: number;
1572
+ };
1573
+ readonly irEmission: {
1574
+ readonly type: "number";
1575
+ readonly precision: 1;
1576
+ readonly default: number;
1577
+ };
1578
+ readonly emissionMode: {
1579
+ readonly type: "integer";
1580
+ readonly minimum: 0;
1581
+ readonly maximum: 4294967295;
1582
+ readonly default: number;
1583
+ };
1584
+ readonly baseColorUrl: {
1585
+ readonly type: "string";
1586
+ };
1587
+ readonly metallicRoughnessUrl: {
1588
+ readonly type: "string";
1589
+ };
1590
+ readonly normalUrl: {
1591
+ readonly type: "string";
1592
+ };
1593
+ readonly occlusionUrl: {
1594
+ readonly type: "string";
1595
+ };
1596
+ readonly emissiveUrl: {
1597
+ readonly type: "string";
1598
+ };
1599
+ }>, import("@adobe/data/schema").FromSchemas<{
1600
+ readonly _gltfMeshByUrl: {
1601
+ readonly default: Map<string, number> | null;
1602
+ readonly nonPersistent: true;
1603
+ };
1604
+ } & {}>, {
1605
+ readonly GltfMeshPending: readonly ["gltfUrl"];
1606
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
1607
+ readonly StaticMesh: readonly ["localBounds"];
1608
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
1609
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
1610
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
1611
+ } & {
1612
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1613
+ } & {} & {
1614
+ 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"];
1615
+ }, {} & {
1616
+ readonly nodeChildrenOf: {
1617
+ readonly key: "parent";
1618
+ readonly archetype: "Node";
1619
+ };
1620
+ } & {} & {
1621
+ readonly materialByName: {
1622
+ readonly key: "name";
1623
+ readonly unique: true;
1624
+ readonly archetype: "Material";
1625
+ };
1626
+ }>, args: {
1627
+ url: string;
1628
+ }) => number;
1629
+ readonly insertShapeMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1630
+ readonly mesh: {
1631
+ readonly type: "integer";
1632
+ readonly minimum: -2147483648;
1633
+ readonly maximum: 2147483647;
1634
+ readonly default: number;
1635
+ };
1636
+ readonly gltfUrl: {
1637
+ readonly type: "string";
1638
+ };
1639
+ readonly shapeSpec: {
1640
+ readonly default: import("../public.js").ShapeSpec | null;
1641
+ };
1642
+ readonly voxelVolumeSize: {
1643
+ readonly default: import("@adobe/data/math").Vec3 | null;
1644
+ };
1645
+ readonly localBounds: {
1646
+ readonly default: {
1647
+ readonly min: readonly [number, number, number];
1648
+ readonly max: readonly [number, number, number];
1649
+ } | null;
1650
+ };
1651
+ readonly skinJointTemplate: {
1652
+ readonly default: import("./model/gltf/parse-skin.js").JointTemplate[];
1653
+ };
1654
+ readonly skinInverseBindMatrices: {
1655
+ readonly default: Float32Array | null;
1656
+ };
1657
+ readonly animationClipRefs: {
1658
+ readonly default: number[];
1659
+ };
1660
+ readonly cpuCollisionPositions: {
1661
+ readonly default: Float32Array | null;
1662
+ };
1663
+ readonly cpuCollisionIndices: {
1664
+ readonly default: Uint32Array | null;
1665
+ };
1666
+ readonly cpuSkin: {
1667
+ readonly default: {
1668
+ positions: Float32Array;
1669
+ joints: Uint32Array;
1670
+ weights: Float32Array;
1671
+ } | null;
1672
+ };
1673
+ } & {
1674
+ readonly visible: {
1675
+ readonly type: "boolean";
1676
+ readonly const: true;
1677
+ readonly default: true;
1678
+ };
1679
+ readonly position: {
1680
+ readonly type: "array";
1681
+ readonly items: {
1682
+ readonly type: "number";
1683
+ readonly precision: 1;
1684
+ readonly default: number;
1685
+ };
1686
+ readonly minItems: 3;
1687
+ readonly maxItems: 3;
1688
+ readonly default: readonly [0, 0, 0];
1689
+ };
1690
+ readonly rotation: {
1691
+ readonly type: "array";
1692
+ readonly items: {
1693
+ readonly type: "number";
1694
+ readonly precision: 1;
1695
+ readonly default: number;
1696
+ };
1697
+ readonly minItems: 4;
1698
+ readonly maxItems: 4;
1699
+ readonly default: readonly [0, 0, 0, 1];
1700
+ readonly interpolators: {
1701
+ readonly linear: (q1: any, q2: any, t: number) => any;
1702
+ };
1703
+ };
1704
+ readonly scale: {
1705
+ readonly type: "array";
1706
+ readonly items: {
1707
+ readonly type: "number";
1708
+ readonly precision: 1;
1709
+ readonly default: number;
1710
+ };
1711
+ readonly minItems: 3;
1712
+ readonly maxItems: 3;
1713
+ readonly default: readonly [0, 0, 0];
1714
+ };
1715
+ readonly parent: {
1716
+ readonly type: "integer";
1717
+ readonly minimum: -2147483648;
1718
+ readonly maximum: 2147483647;
1719
+ readonly default: number;
1720
+ };
1721
+ readonly _worldMatrix: {
1722
+ readonly nonPersistent: true;
1723
+ readonly type: "array";
1724
+ readonly items: {
1725
+ readonly type: "number";
1726
+ readonly precision: 1;
1727
+ readonly default: number;
1728
+ };
1729
+ readonly minItems: 16;
1730
+ readonly maxItems: 16;
1731
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1732
+ };
1733
+ readonly _worldBounds: {
1734
+ readonly nonPersistent: true;
1735
+ readonly type: "object";
1736
+ readonly properties: {
1737
+ readonly min: {
1738
+ readonly type: "array";
1739
+ readonly items: {
1740
+ readonly type: "number";
1741
+ readonly precision: 1;
1742
+ readonly default: number;
1743
+ };
1744
+ readonly minItems: 3;
1745
+ readonly maxItems: 3;
1746
+ readonly default: readonly [0, 0, 0];
1747
+ };
1748
+ readonly max: {
1749
+ readonly type: "array";
1750
+ readonly items: {
1751
+ readonly type: "number";
1752
+ readonly precision: 1;
1753
+ readonly default: number;
1754
+ };
1755
+ readonly minItems: 3;
1756
+ readonly maxItems: 3;
1757
+ readonly default: readonly [0, 0, 0];
1758
+ };
1759
+ };
1760
+ readonly required: readonly ["min", "max"];
1761
+ readonly additionalProperties: false;
1762
+ readonly default: {
1763
+ readonly min: readonly [0, 0, 0];
1764
+ readonly max: readonly [0, 0, 0];
1765
+ };
1766
+ };
1767
+ } & {} & {
1768
+ readonly material: {
1769
+ readonly type: "integer";
1770
+ readonly minimum: -2147483648;
1771
+ readonly maximum: 2147483647;
1772
+ readonly default: number;
1773
+ };
1774
+ readonly name: {
1775
+ readonly type: "string";
1776
+ };
1777
+ readonly density: {
1778
+ readonly type: "number";
1779
+ readonly precision: 1;
1780
+ readonly default: number;
1781
+ };
1782
+ readonly restitution: {
1783
+ readonly type: "number";
1784
+ readonly precision: 1;
1785
+ readonly default: number;
1786
+ };
1787
+ readonly friction: {
1788
+ readonly type: "number";
1789
+ readonly precision: 1;
1790
+ readonly default: number;
1791
+ };
1792
+ readonly compliance: {
1793
+ readonly type: "number";
1794
+ readonly precision: 1;
1795
+ readonly default: number;
1796
+ };
1797
+ readonly heatCapacity: {
1798
+ readonly type: "number";
1799
+ readonly precision: 1;
1800
+ readonly default: number;
1801
+ };
1802
+ readonly viscosity: {
1803
+ readonly type: "number";
1804
+ readonly precision: 1;
1805
+ readonly default: number;
1806
+ };
1807
+ readonly thermalConductivity: {
1808
+ readonly type: "number";
1809
+ readonly precision: 1;
1810
+ readonly default: number;
1811
+ };
1812
+ readonly stressStrainCurve: {
1813
+ readonly type: "object";
1814
+ readonly layout: "packed";
1815
+ readonly properties: {
1816
+ readonly tensileYieldStrainStress: {
1817
+ readonly type: "array";
1818
+ readonly items: {
1819
+ readonly type: "number";
1820
+ readonly precision: 1;
1821
+ readonly default: number;
1822
+ };
1823
+ readonly minItems: 2;
1824
+ readonly maxItems: 2;
1825
+ readonly default: readonly [0, 0];
1826
+ };
1827
+ readonly tensileFractureStrainStress: {
1828
+ readonly type: "array";
1829
+ readonly items: {
1830
+ readonly type: "number";
1831
+ readonly precision: 1;
1832
+ readonly default: number;
1833
+ };
1834
+ readonly minItems: 2;
1835
+ readonly maxItems: 2;
1836
+ readonly default: readonly [0, 0];
1837
+ };
1838
+ readonly compressiveYieldStrainStress: {
1839
+ readonly type: "array";
1840
+ readonly items: {
1841
+ readonly type: "number";
1842
+ readonly precision: 1;
1843
+ readonly default: number;
1844
+ };
1845
+ readonly minItems: 2;
1846
+ readonly maxItems: 2;
1847
+ readonly default: readonly [0, 0];
1848
+ };
1849
+ readonly compressiveFractureStrainStress: {
1850
+ readonly type: "array";
1851
+ readonly items: {
1852
+ readonly type: "number";
1853
+ readonly precision: 1;
1854
+ readonly default: number;
1855
+ };
1856
+ readonly minItems: 2;
1857
+ readonly maxItems: 2;
1858
+ readonly default: readonly [0, 0];
1859
+ };
1860
+ };
1861
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1862
+ };
1863
+ readonly baseColorFactor: {
1864
+ readonly type: "array";
1865
+ readonly items: {
1866
+ readonly type: "number";
1867
+ readonly precision: 1;
1868
+ readonly default: number;
1869
+ };
1870
+ readonly minItems: 4;
1871
+ readonly maxItems: 4;
1872
+ readonly default: readonly [0, 0, 0, 0];
1873
+ };
1874
+ readonly emissiveFactor: {
1875
+ readonly type: "array";
1876
+ readonly items: {
1877
+ readonly type: "number";
1878
+ readonly precision: 1;
1879
+ readonly default: number;
1880
+ };
1881
+ readonly minItems: 3;
1882
+ readonly maxItems: 3;
1883
+ readonly default: readonly [0, 0, 0];
1884
+ };
1885
+ readonly metallicFactor: {
1886
+ readonly type: "number";
1887
+ readonly precision: 1;
1888
+ readonly default: number;
1889
+ };
1890
+ readonly roughnessFactor: {
1891
+ readonly type: "number";
1892
+ readonly precision: 1;
1893
+ readonly default: number;
1894
+ };
1895
+ readonly normalScale: {
1896
+ readonly type: "number";
1897
+ readonly precision: 1;
1898
+ readonly default: number;
1899
+ };
1900
+ readonly occlusionStrength: {
1901
+ readonly type: "number";
1902
+ readonly precision: 1;
1903
+ readonly default: number;
1904
+ };
1905
+ readonly irReflectance: {
1906
+ readonly type: "number";
1907
+ readonly precision: 1;
1908
+ readonly default: number;
1909
+ };
1910
+ readonly irEmission: {
1911
+ readonly type: "number";
1912
+ readonly precision: 1;
1913
+ readonly default: number;
1914
+ };
1915
+ readonly emissionMode: {
1916
+ readonly type: "integer";
1917
+ readonly minimum: 0;
1918
+ readonly maximum: 4294967295;
1919
+ readonly default: number;
1920
+ };
1921
+ readonly baseColorUrl: {
1922
+ readonly type: "string";
1923
+ };
1924
+ readonly metallicRoughnessUrl: {
1925
+ readonly type: "string";
1926
+ };
1927
+ readonly normalUrl: {
1928
+ readonly type: "string";
1929
+ };
1930
+ readonly occlusionUrl: {
1931
+ readonly type: "string";
1932
+ };
1933
+ readonly emissiveUrl: {
1934
+ readonly type: "string";
1935
+ };
1936
+ }>, import("@adobe/data/schema").FromSchemas<{
1937
+ readonly _gltfMeshByUrl: {
1938
+ readonly default: Map<string, number> | null;
1939
+ readonly nonPersistent: true;
1940
+ };
1941
+ } & {}>, {
1942
+ readonly GltfMeshPending: readonly ["gltfUrl"];
1943
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
1944
+ readonly StaticMesh: readonly ["localBounds"];
1945
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
1946
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
1947
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
1948
+ } & {
1949
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1950
+ } & {} & {
1951
+ 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"];
1952
+ }, {} & {
1953
+ readonly nodeChildrenOf: {
1954
+ readonly key: "parent";
1955
+ readonly archetype: "Node";
1956
+ };
1957
+ } & {} & {
1958
+ readonly materialByName: {
1959
+ readonly key: "name";
1960
+ readonly unique: true;
1961
+ readonly archetype: "Material";
1962
+ };
1963
+ }>, args: {
1964
+ shapeSpec: import("../public.js").ShapeSpec;
1965
+ }) => number;
1966
+ readonly insertMeshInstance: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1967
+ readonly mesh: {
1968
+ readonly type: "integer";
1969
+ readonly minimum: -2147483648;
1970
+ readonly maximum: 2147483647;
1971
+ readonly default: number;
1972
+ };
1973
+ readonly gltfUrl: {
1974
+ readonly type: "string";
1975
+ };
1976
+ readonly shapeSpec: {
1977
+ readonly default: import("../public.js").ShapeSpec | null;
1978
+ };
1979
+ readonly voxelVolumeSize: {
1980
+ readonly default: import("@adobe/data/math").Vec3 | null;
1981
+ };
1982
+ readonly localBounds: {
1983
+ readonly default: {
1984
+ readonly min: readonly [number, number, number];
1985
+ readonly max: readonly [number, number, number];
1986
+ } | null;
1987
+ };
1988
+ readonly skinJointTemplate: {
1989
+ readonly default: import("./model/gltf/parse-skin.js").JointTemplate[];
1990
+ };
1991
+ readonly skinInverseBindMatrices: {
1992
+ readonly default: Float32Array | null;
1993
+ };
1994
+ readonly animationClipRefs: {
1995
+ readonly default: number[];
1996
+ };
1997
+ readonly cpuCollisionPositions: {
1998
+ readonly default: Float32Array | null;
1999
+ };
2000
+ readonly cpuCollisionIndices: {
2001
+ readonly default: Uint32Array | null;
2002
+ };
2003
+ readonly cpuSkin: {
2004
+ readonly default: {
2005
+ positions: Float32Array;
2006
+ joints: Uint32Array;
2007
+ weights: Float32Array;
2008
+ } | null;
2009
+ };
2010
+ } & {
2011
+ readonly visible: {
2012
+ readonly type: "boolean";
2013
+ readonly const: true;
2014
+ readonly default: true;
2015
+ };
2016
+ readonly position: {
2017
+ readonly type: "array";
2018
+ readonly items: {
2019
+ readonly type: "number";
2020
+ readonly precision: 1;
2021
+ readonly default: number;
2022
+ };
2023
+ readonly minItems: 3;
2024
+ readonly maxItems: 3;
2025
+ readonly default: readonly [0, 0, 0];
2026
+ };
2027
+ readonly rotation: {
2028
+ readonly type: "array";
2029
+ readonly items: {
2030
+ readonly type: "number";
2031
+ readonly precision: 1;
2032
+ readonly default: number;
2033
+ };
2034
+ readonly minItems: 4;
2035
+ readonly maxItems: 4;
2036
+ readonly default: readonly [0, 0, 0, 1];
2037
+ readonly interpolators: {
2038
+ readonly linear: (q1: any, q2: any, t: number) => any;
2039
+ };
2040
+ };
2041
+ readonly scale: {
2042
+ readonly type: "array";
2043
+ readonly items: {
2044
+ readonly type: "number";
2045
+ readonly precision: 1;
2046
+ readonly default: number;
2047
+ };
2048
+ readonly minItems: 3;
2049
+ readonly maxItems: 3;
2050
+ readonly default: readonly [0, 0, 0];
2051
+ };
2052
+ readonly parent: {
2053
+ readonly type: "integer";
2054
+ readonly minimum: -2147483648;
2055
+ readonly maximum: 2147483647;
2056
+ readonly default: number;
2057
+ };
2058
+ readonly _worldMatrix: {
2059
+ readonly nonPersistent: true;
2060
+ readonly type: "array";
2061
+ readonly items: {
2062
+ readonly type: "number";
2063
+ readonly precision: 1;
2064
+ readonly default: number;
2065
+ };
2066
+ readonly minItems: 16;
2067
+ readonly maxItems: 16;
2068
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2069
+ };
2070
+ readonly _worldBounds: {
2071
+ readonly nonPersistent: true;
2072
+ readonly type: "object";
2073
+ readonly properties: {
2074
+ readonly min: {
2075
+ readonly type: "array";
2076
+ readonly items: {
2077
+ readonly type: "number";
2078
+ readonly precision: 1;
2079
+ readonly default: number;
2080
+ };
2081
+ readonly minItems: 3;
2082
+ readonly maxItems: 3;
2083
+ readonly default: readonly [0, 0, 0];
2084
+ };
2085
+ readonly max: {
2086
+ readonly type: "array";
2087
+ readonly items: {
2088
+ readonly type: "number";
2089
+ readonly precision: 1;
2090
+ readonly default: number;
2091
+ };
2092
+ readonly minItems: 3;
2093
+ readonly maxItems: 3;
2094
+ readonly default: readonly [0, 0, 0];
2095
+ };
2096
+ };
2097
+ readonly required: readonly ["min", "max"];
2098
+ readonly additionalProperties: false;
2099
+ readonly default: {
2100
+ readonly min: readonly [0, 0, 0];
2101
+ readonly max: readonly [0, 0, 0];
2102
+ };
2103
+ };
2104
+ } & {} & {
2105
+ readonly material: {
2106
+ readonly type: "integer";
2107
+ readonly minimum: -2147483648;
2108
+ readonly maximum: 2147483647;
2109
+ readonly default: number;
2110
+ };
2111
+ readonly name: {
2112
+ readonly type: "string";
2113
+ };
2114
+ readonly density: {
2115
+ readonly type: "number";
2116
+ readonly precision: 1;
2117
+ readonly default: number;
2118
+ };
2119
+ readonly restitution: {
2120
+ readonly type: "number";
2121
+ readonly precision: 1;
2122
+ readonly default: number;
2123
+ };
2124
+ readonly friction: {
2125
+ readonly type: "number";
2126
+ readonly precision: 1;
2127
+ readonly default: number;
2128
+ };
2129
+ readonly compliance: {
2130
+ readonly type: "number";
2131
+ readonly precision: 1;
2132
+ readonly default: number;
2133
+ };
2134
+ readonly heatCapacity: {
2135
+ readonly type: "number";
2136
+ readonly precision: 1;
2137
+ readonly default: number;
2138
+ };
2139
+ readonly viscosity: {
2140
+ readonly type: "number";
2141
+ readonly precision: 1;
2142
+ readonly default: number;
2143
+ };
2144
+ readonly thermalConductivity: {
2145
+ readonly type: "number";
2146
+ readonly precision: 1;
2147
+ readonly default: number;
2148
+ };
2149
+ readonly stressStrainCurve: {
2150
+ readonly type: "object";
2151
+ readonly layout: "packed";
2152
+ readonly properties: {
2153
+ readonly tensileYieldStrainStress: {
2154
+ readonly type: "array";
2155
+ readonly items: {
2156
+ readonly type: "number";
2157
+ readonly precision: 1;
2158
+ readonly default: number;
2159
+ };
2160
+ readonly minItems: 2;
2161
+ readonly maxItems: 2;
2162
+ readonly default: readonly [0, 0];
2163
+ };
2164
+ readonly tensileFractureStrainStress: {
2165
+ readonly type: "array";
2166
+ readonly items: {
2167
+ readonly type: "number";
2168
+ readonly precision: 1;
2169
+ readonly default: number;
2170
+ };
2171
+ readonly minItems: 2;
2172
+ readonly maxItems: 2;
2173
+ readonly default: readonly [0, 0];
2174
+ };
2175
+ readonly compressiveYieldStrainStress: {
2176
+ readonly type: "array";
2177
+ readonly items: {
2178
+ readonly type: "number";
2179
+ readonly precision: 1;
2180
+ readonly default: number;
2181
+ };
2182
+ readonly minItems: 2;
2183
+ readonly maxItems: 2;
2184
+ readonly default: readonly [0, 0];
2185
+ };
2186
+ readonly compressiveFractureStrainStress: {
2187
+ readonly type: "array";
2188
+ readonly items: {
2189
+ readonly type: "number";
2190
+ readonly precision: 1;
2191
+ readonly default: number;
2192
+ };
2193
+ readonly minItems: 2;
2194
+ readonly maxItems: 2;
2195
+ readonly default: readonly [0, 0];
2196
+ };
2197
+ };
2198
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2199
+ };
2200
+ readonly baseColorFactor: {
2201
+ readonly type: "array";
2202
+ readonly items: {
2203
+ readonly type: "number";
2204
+ readonly precision: 1;
2205
+ readonly default: number;
2206
+ };
2207
+ readonly minItems: 4;
2208
+ readonly maxItems: 4;
2209
+ readonly default: readonly [0, 0, 0, 0];
2210
+ };
2211
+ readonly emissiveFactor: {
2212
+ readonly type: "array";
2213
+ readonly items: {
2214
+ readonly type: "number";
2215
+ readonly precision: 1;
2216
+ readonly default: number;
2217
+ };
2218
+ readonly minItems: 3;
2219
+ readonly maxItems: 3;
2220
+ readonly default: readonly [0, 0, 0];
2221
+ };
2222
+ readonly metallicFactor: {
2223
+ readonly type: "number";
2224
+ readonly precision: 1;
2225
+ readonly default: number;
2226
+ };
2227
+ readonly roughnessFactor: {
2228
+ readonly type: "number";
2229
+ readonly precision: 1;
2230
+ readonly default: number;
2231
+ };
2232
+ readonly normalScale: {
2233
+ readonly type: "number";
2234
+ readonly precision: 1;
2235
+ readonly default: number;
2236
+ };
2237
+ readonly occlusionStrength: {
2238
+ readonly type: "number";
2239
+ readonly precision: 1;
2240
+ readonly default: number;
2241
+ };
2242
+ readonly irReflectance: {
2243
+ readonly type: "number";
2244
+ readonly precision: 1;
2245
+ readonly default: number;
2246
+ };
2247
+ readonly irEmission: {
2248
+ readonly type: "number";
2249
+ readonly precision: 1;
2250
+ readonly default: number;
2251
+ };
2252
+ readonly emissionMode: {
2253
+ readonly type: "integer";
2254
+ readonly minimum: 0;
2255
+ readonly maximum: 4294967295;
2256
+ readonly default: number;
2257
+ };
2258
+ readonly baseColorUrl: {
2259
+ readonly type: "string";
2260
+ };
2261
+ readonly metallicRoughnessUrl: {
2262
+ readonly type: "string";
2263
+ };
2264
+ readonly normalUrl: {
2265
+ readonly type: "string";
2266
+ };
2267
+ readonly occlusionUrl: {
2268
+ readonly type: "string";
2269
+ };
2270
+ readonly emissiveUrl: {
184
2271
  readonly type: "string";
185
2272
  };
186
- readonly geometry: {
2273
+ }>, import("@adobe/data/schema").FromSchemas<{
2274
+ readonly _gltfMeshByUrl: {
2275
+ readonly default: Map<string, number> | null;
2276
+ readonly nonPersistent: true;
2277
+ };
2278
+ } & {}>, {
2279
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2280
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2281
+ readonly StaticMesh: readonly ["localBounds"];
2282
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2283
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2284
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
2285
+ } & {
2286
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
2287
+ } & {} & {
2288
+ 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"];
2289
+ }, {} & {
2290
+ readonly nodeChildrenOf: {
2291
+ readonly key: "parent";
2292
+ readonly archetype: "Node";
2293
+ };
2294
+ } & {} & {
2295
+ readonly materialByName: {
2296
+ readonly key: "name";
2297
+ readonly unique: true;
2298
+ readonly archetype: "Material";
2299
+ };
2300
+ }>, args: {
2301
+ mesh: number;
2302
+ material: number;
2303
+ position?: import("@adobe/data/math").Vec3;
2304
+ rotation?: import("@adobe/data/math").Quat;
2305
+ scale?: import("@adobe/data/math").Vec3;
2306
+ }) => number;
2307
+ readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2308
+ readonly mesh: {
187
2309
  readonly type: "integer";
188
2310
  readonly minimum: -2147483648;
189
2311
  readonly maximum: 2147483647;
190
2312
  readonly default: number;
191
2313
  };
2314
+ readonly gltfUrl: {
2315
+ readonly type: "string";
2316
+ };
2317
+ readonly shapeSpec: {
2318
+ readonly default: import("../public.js").ShapeSpec | null;
2319
+ };
2320
+ readonly voxelVolumeSize: {
2321
+ readonly default: import("@adobe/data/math").Vec3 | null;
2322
+ };
2323
+ readonly localBounds: {
2324
+ readonly default: {
2325
+ readonly min: readonly [number, number, number];
2326
+ readonly max: readonly [number, number, number];
2327
+ } | null;
2328
+ };
2329
+ readonly skinJointTemplate: {
2330
+ readonly default: import("./model/gltf/parse-skin.js").JointTemplate[];
2331
+ };
2332
+ readonly skinInverseBindMatrices: {
2333
+ readonly default: Float32Array | null;
2334
+ };
2335
+ readonly animationClipRefs: {
2336
+ readonly default: number[];
2337
+ };
2338
+ readonly cpuCollisionPositions: {
2339
+ readonly default: Float32Array | null;
2340
+ };
2341
+ readonly cpuCollisionIndices: {
2342
+ readonly default: Uint32Array | null;
2343
+ };
2344
+ readonly cpuSkin: {
2345
+ readonly default: {
2346
+ positions: Float32Array;
2347
+ joints: Uint32Array;
2348
+ weights: Float32Array;
2349
+ } | null;
2350
+ };
192
2351
  } & {
193
2352
  readonly visible: {
194
2353
  readonly type: "boolean";
@@ -238,6 +2397,7 @@ export declare const scene: Database.Plugin<{} & {
238
2397
  readonly default: number;
239
2398
  };
240
2399
  readonly _worldMatrix: {
2400
+ readonly nonPersistent: true;
241
2401
  readonly type: "array";
242
2402
  readonly items: {
243
2403
  readonly type: "number";
@@ -249,6 +2409,7 @@ export declare const scene: Database.Plugin<{} & {
249
2409
  readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
250
2410
  };
251
2411
  readonly _worldBounds: {
2412
+ readonly nonPersistent: true;
252
2413
  readonly type: "object";
253
2414
  readonly properties: {
254
2415
  readonly min: {
@@ -281,42 +2442,103 @@ export declare const scene: Database.Plugin<{} & {
281
2442
  readonly max: readonly [0, 0, 0];
282
2443
  };
283
2444
  };
284
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
285
- readonly Geometry: readonly ["modelUrl"];
286
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
287
- } & {
288
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
289
- } & {}, {} & {} & {}>, args: {
290
- modelUrl: string;
291
- }) => number;
292
- readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
293
- readonly modelUrl: {
294
- readonly type: "string";
295
- };
296
- readonly geometry: {
2445
+ } & {} & {
2446
+ readonly material: {
297
2447
  readonly type: "integer";
298
2448
  readonly minimum: -2147483648;
299
2449
  readonly maximum: 2147483647;
300
2450
  readonly default: number;
301
2451
  };
302
- } & {
303
- readonly visible: {
304
- readonly type: "boolean";
305
- readonly const: true;
306
- readonly default: true;
2452
+ readonly name: {
2453
+ readonly type: "string";
307
2454
  };
308
- readonly position: {
309
- readonly type: "array";
310
- readonly items: {
311
- readonly type: "number";
312
- readonly precision: 1;
313
- readonly default: number;
2455
+ readonly density: {
2456
+ readonly type: "number";
2457
+ readonly precision: 1;
2458
+ readonly default: number;
2459
+ };
2460
+ readonly restitution: {
2461
+ readonly type: "number";
2462
+ readonly precision: 1;
2463
+ readonly default: number;
2464
+ };
2465
+ readonly friction: {
2466
+ readonly type: "number";
2467
+ readonly precision: 1;
2468
+ readonly default: number;
2469
+ };
2470
+ readonly compliance: {
2471
+ readonly type: "number";
2472
+ readonly precision: 1;
2473
+ readonly default: number;
2474
+ };
2475
+ readonly heatCapacity: {
2476
+ readonly type: "number";
2477
+ readonly precision: 1;
2478
+ readonly default: number;
2479
+ };
2480
+ readonly viscosity: {
2481
+ readonly type: "number";
2482
+ readonly precision: 1;
2483
+ readonly default: number;
2484
+ };
2485
+ readonly thermalConductivity: {
2486
+ readonly type: "number";
2487
+ readonly precision: 1;
2488
+ readonly default: number;
2489
+ };
2490
+ readonly stressStrainCurve: {
2491
+ readonly type: "object";
2492
+ readonly layout: "packed";
2493
+ readonly properties: {
2494
+ readonly tensileYieldStrainStress: {
2495
+ readonly type: "array";
2496
+ readonly items: {
2497
+ readonly type: "number";
2498
+ readonly precision: 1;
2499
+ readonly default: number;
2500
+ };
2501
+ readonly minItems: 2;
2502
+ readonly maxItems: 2;
2503
+ readonly default: readonly [0, 0];
2504
+ };
2505
+ readonly tensileFractureStrainStress: {
2506
+ readonly type: "array";
2507
+ readonly items: {
2508
+ readonly type: "number";
2509
+ readonly precision: 1;
2510
+ readonly default: number;
2511
+ };
2512
+ readonly minItems: 2;
2513
+ readonly maxItems: 2;
2514
+ readonly default: readonly [0, 0];
2515
+ };
2516
+ readonly compressiveYieldStrainStress: {
2517
+ readonly type: "array";
2518
+ readonly items: {
2519
+ readonly type: "number";
2520
+ readonly precision: 1;
2521
+ readonly default: number;
2522
+ };
2523
+ readonly minItems: 2;
2524
+ readonly maxItems: 2;
2525
+ readonly default: readonly [0, 0];
2526
+ };
2527
+ readonly compressiveFractureStrainStress: {
2528
+ readonly type: "array";
2529
+ readonly items: {
2530
+ readonly type: "number";
2531
+ readonly precision: 1;
2532
+ readonly default: number;
2533
+ };
2534
+ readonly minItems: 2;
2535
+ readonly maxItems: 2;
2536
+ readonly default: readonly [0, 0];
2537
+ };
314
2538
  };
315
- readonly minItems: 3;
316
- readonly maxItems: 3;
317
- readonly default: readonly [0, 0, 0];
2539
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
318
2540
  };
319
- readonly rotation: {
2541
+ readonly baseColorFactor: {
320
2542
  readonly type: "array";
321
2543
  readonly items: {
322
2544
  readonly type: "number";
@@ -325,12 +2547,9 @@ export declare const scene: Database.Plugin<{} & {
325
2547
  };
326
2548
  readonly minItems: 4;
327
2549
  readonly maxItems: 4;
328
- readonly default: readonly [0, 0, 0, 1];
329
- readonly interpolators: {
330
- readonly linear: (q1: any, q2: any, t: number) => any;
331
- };
2550
+ readonly default: readonly [0, 0, 0, 0];
332
2551
  };
333
- readonly scale: {
2552
+ readonly emissiveFactor: {
334
2553
  readonly type: "array";
335
2554
  readonly items: {
336
2555
  readonly type: "number";
@@ -341,66 +2560,89 @@ export declare const scene: Database.Plugin<{} & {
341
2560
  readonly maxItems: 3;
342
2561
  readonly default: readonly [0, 0, 0];
343
2562
  };
344
- readonly parent: {
2563
+ readonly metallicFactor: {
2564
+ readonly type: "number";
2565
+ readonly precision: 1;
2566
+ readonly default: number;
2567
+ };
2568
+ readonly roughnessFactor: {
2569
+ readonly type: "number";
2570
+ readonly precision: 1;
2571
+ readonly default: number;
2572
+ };
2573
+ readonly normalScale: {
2574
+ readonly type: "number";
2575
+ readonly precision: 1;
2576
+ readonly default: number;
2577
+ };
2578
+ readonly occlusionStrength: {
2579
+ readonly type: "number";
2580
+ readonly precision: 1;
2581
+ readonly default: number;
2582
+ };
2583
+ readonly irReflectance: {
2584
+ readonly type: "number";
2585
+ readonly precision: 1;
2586
+ readonly default: number;
2587
+ };
2588
+ readonly irEmission: {
2589
+ readonly type: "number";
2590
+ readonly precision: 1;
2591
+ readonly default: number;
2592
+ };
2593
+ readonly emissionMode: {
345
2594
  readonly type: "integer";
346
- readonly minimum: -2147483648;
347
- readonly maximum: 2147483647;
2595
+ readonly minimum: 0;
2596
+ readonly maximum: 4294967295;
348
2597
  readonly default: number;
349
2598
  };
350
- readonly _worldMatrix: {
351
- readonly type: "array";
352
- readonly items: {
353
- readonly type: "number";
354
- readonly precision: 1;
355
- readonly default: number;
356
- };
357
- readonly minItems: 16;
358
- readonly maxItems: 16;
359
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2599
+ readonly baseColorUrl: {
2600
+ readonly type: "string";
360
2601
  };
361
- readonly _worldBounds: {
362
- readonly type: "object";
363
- readonly properties: {
364
- readonly min: {
365
- readonly type: "array";
366
- readonly items: {
367
- readonly type: "number";
368
- readonly precision: 1;
369
- readonly default: number;
370
- };
371
- readonly minItems: 3;
372
- readonly maxItems: 3;
373
- readonly default: readonly [0, 0, 0];
374
- };
375
- readonly max: {
376
- readonly type: "array";
377
- readonly items: {
378
- readonly type: "number";
379
- readonly precision: 1;
380
- readonly default: number;
381
- };
382
- readonly minItems: 3;
383
- readonly maxItems: 3;
384
- readonly default: readonly [0, 0, 0];
385
- };
386
- };
387
- readonly required: readonly ["min", "max"];
388
- readonly additionalProperties: false;
389
- readonly default: {
390
- readonly min: readonly [0, 0, 0];
391
- readonly max: readonly [0, 0, 0];
392
- };
2602
+ readonly metallicRoughnessUrl: {
2603
+ readonly type: "string";
2604
+ };
2605
+ readonly normalUrl: {
2606
+ readonly type: "string";
2607
+ };
2608
+ readonly occlusionUrl: {
2609
+ readonly type: "string";
2610
+ };
2611
+ readonly emissiveUrl: {
2612
+ readonly type: "string";
2613
+ };
2614
+ }>, import("@adobe/data/schema").FromSchemas<{
2615
+ readonly _gltfMeshByUrl: {
2616
+ readonly default: Map<string, number> | null;
2617
+ readonly nonPersistent: true;
393
2618
  };
394
- } & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
395
- readonly Geometry: readonly ["modelUrl"];
396
- readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
2619
+ } & {}>, {
2620
+ readonly GltfMeshPending: readonly ["gltfUrl"];
2621
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
2622
+ readonly StaticMesh: readonly ["localBounds"];
2623
+ readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
2624
+ readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
2625
+ readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
397
2626
  } & {
398
2627
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
399
- } & {}, {} & {} & {}>, args: {
400
- geometry: number;
401
- position?: readonly [number, number, number];
2628
+ } & {} & {
2629
+ 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"];
2630
+ }, {} & {
2631
+ readonly nodeChildrenOf: {
2632
+ readonly key: "parent";
2633
+ readonly archetype: "Node";
2634
+ };
2635
+ } & {} & {
2636
+ readonly materialByName: {
2637
+ readonly key: "name";
2638
+ readonly unique: true;
2639
+ readonly archetype: "Material";
2640
+ };
2641
+ }>, args: {
2642
+ mesh: number;
2643
+ position?: import("@adobe/data/math").Vec3;
402
2644
  rotation?: import("@adobe/data/math").Quat;
403
- scale?: readonly [number, number, number];
2645
+ scale?: import("@adobe/data/math").Vec3;
404
2646
  parent?: number;
405
2647
  }) => number;
406
2648
  } & {} & {} & {
@@ -414,7 +2656,7 @@ export declare const scene: Database.Plugin<{} & {
414
2656
  readonly nonPersistent: true;
415
2657
  };
416
2658
  readonly clearColor: {
417
- readonly default: readonly [number, number, number, number];
2659
+ readonly default: import("@adobe/data/math").Vec4;
418
2660
  readonly nonPersistent: true;
419
2661
  };
420
2662
  readonly canvas: {
@@ -458,4 +2700,15 @@ export declare const scene: Database.Plugin<{} & {
458
2700
  readonly default: import("./light/public.js");
459
2701
  };
460
2702
  }>, {}, {}>, args: Partial<import("./light/public.js")>) => void;
461
- } & {}, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "transformCreateWorldMatrix" | "transformSystem", {}, {}, {}, {} & {} & {} & {}>;
2703
+ } & {}, "transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {
2704
+ readonly nodeChildrenOf: {
2705
+ readonly key: "parent";
2706
+ readonly archetype: "Node";
2707
+ };
2708
+ } & {} & {} & {
2709
+ readonly materialByName: {
2710
+ readonly key: "name";
2711
+ readonly unique: true;
2712
+ readonly archetype: "Material";
2713
+ };
2714
+ } & {}>;