@adobe/data-gpu 0.9.75 → 0.9.76

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