@adobe/data-gpu 0.9.86 → 0.9.88

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 (48) hide show
  1. package/dist/graphics/rendering/bone-collider-plugin.d.ts +2724 -331
  2. package/dist/graphics/rendering/interpolation-plugin.d.ts +2532 -138
  3. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2398 -5
  4. package/dist/graphics/rendering/model-collider-plugin.d.ts +2675 -282
  5. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2396 -3
  6. package/dist/physics/physics-data-plugin.d.ts +2398 -2
  7. package/dist/physics/physics-data-plugin.js +26 -0
  8. package/dist/physics/physics-data-plugin.js.map +1 -1
  9. package/dist/physics/physics-hit.d.ts +18 -0
  10. package/dist/physics/physics-hit.js +3 -0
  11. package/dist/physics/physics-hit.js.map +1 -0
  12. package/dist/physics/physics-query.d.ts +43 -0
  13. package/dist/physics/physics-query.js +3 -0
  14. package/dist/physics/physics-query.js.map +1 -0
  15. package/dist/physics/public.d.ts +2 -0
  16. package/dist/physics/public.js +2 -0
  17. package/dist/physics/public.js.map +1 -1
  18. package/dist/physics/solvers/jolt-solver-plugin.d.ts +2394 -4
  19. package/dist/physics/solvers/jolt-solver-plugin.js +149 -0
  20. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  21. package/dist/physics/solvers/mutable-hit.d.ts +14 -0
  22. package/dist/physics/solvers/mutable-hit.js +3 -0
  23. package/dist/physics/solvers/mutable-hit.js.map +1 -0
  24. package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
  25. package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
  26. package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
  27. package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
  28. package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
  29. package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
  30. package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
  31. package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
  32. package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
  33. package/dist/physics/solvers/rapier-solver-plugin.d.ts +2394 -4
  34. package/dist/physics/solvers/rapier-solver-plugin.js +110 -1
  35. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  36. package/package.json +2 -2
  37. package/src/physics/README.md +15 -2
  38. package/src/physics/physics-data-plugin.ts +29 -1
  39. package/src/physics/physics-hit.ts +21 -0
  40. package/src/physics/physics-query.ts +42 -0
  41. package/src/physics/public.ts +2 -0
  42. package/src/physics/solvers/jolt-solver-plugin.ts +119 -0
  43. package/src/physics/solvers/mutable-hit.ts +18 -0
  44. package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
  45. package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
  46. package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
  47. package/src/physics/solvers/rapier-solver-plugin.ts +92 -1
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -1,127 +1,6 @@
1
+ import { Database } from "@adobe/data/ecs";
1
2
  export declare const interpolation: {
2
3
  readonly components: {} & {
3
- readonly visible: {
4
- readonly type: "boolean";
5
- readonly const: true;
6
- readonly default: true;
7
- };
8
- readonly position: {
9
- readonly type: "array";
10
- readonly items: {
11
- readonly type: "number";
12
- readonly precision: 1;
13
- readonly default: number;
14
- };
15
- readonly minItems: 3;
16
- readonly maxItems: 3;
17
- readonly default: readonly [0, 0, 0];
18
- };
19
- readonly rotation: {
20
- readonly type: "array";
21
- readonly items: {
22
- readonly type: "number";
23
- readonly precision: 1;
24
- readonly default: number;
25
- };
26
- readonly minItems: 4;
27
- readonly maxItems: 4;
28
- readonly default: readonly [0, 0, 0, 1];
29
- readonly interpolators: {
30
- readonly linear: (q1: any, q2: any, t: number) => any;
31
- };
32
- };
33
- readonly scale: {
34
- readonly type: "array";
35
- readonly items: {
36
- readonly type: "number";
37
- readonly precision: 1;
38
- readonly default: number;
39
- };
40
- readonly minItems: 3;
41
- readonly maxItems: 3;
42
- readonly default: readonly [0, 0, 0];
43
- };
44
- readonly parent: {
45
- readonly type: "integer";
46
- readonly minimum: -2147483648;
47
- readonly maximum: 2147483647;
48
- readonly default: number;
49
- };
50
- readonly _worldMatrix: {
51
- readonly nonPersistent: true;
52
- readonly type: "array";
53
- readonly items: {
54
- readonly type: "number";
55
- readonly precision: 1;
56
- readonly default: number;
57
- };
58
- readonly minItems: 16;
59
- readonly maxItems: 16;
60
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
61
- };
62
- readonly _worldBounds: {
63
- readonly nonPersistent: true;
64
- readonly type: "object";
65
- readonly properties: {
66
- readonly min: {
67
- readonly type: "array";
68
- readonly items: {
69
- readonly type: "number";
70
- readonly precision: 1;
71
- readonly default: number;
72
- };
73
- readonly minItems: 3;
74
- readonly maxItems: 3;
75
- readonly default: readonly [0, 0, 0];
76
- };
77
- readonly max: {
78
- readonly type: "array";
79
- readonly items: {
80
- readonly type: "number";
81
- readonly precision: 1;
82
- readonly default: number;
83
- };
84
- readonly minItems: 3;
85
- readonly maxItems: 3;
86
- readonly default: readonly [0, 0, 0];
87
- };
88
- };
89
- readonly required: readonly ["min", "max"];
90
- readonly additionalProperties: false;
91
- readonly default: {
92
- readonly min: readonly [0, 0, 0];
93
- readonly max: readonly [0, 0, 0];
94
- };
95
- };
96
- } & {
97
- readonly _renderPosition: {
98
- readonly nonPersistent: true;
99
- readonly type: "array";
100
- readonly items: {
101
- readonly type: "number";
102
- readonly precision: 1;
103
- readonly default: number;
104
- };
105
- readonly minItems: 3;
106
- readonly maxItems: 3;
107
- readonly default: readonly [0, 0, 0];
108
- };
109
- readonly _renderRotation: {
110
- readonly nonPersistent: true;
111
- readonly type: "array";
112
- readonly items: {
113
- readonly type: "number";
114
- readonly precision: 1;
115
- readonly default: number;
116
- };
117
- readonly minItems: 4;
118
- readonly maxItems: 4;
119
- readonly default: readonly [0, 0, 0, 1];
120
- readonly interpolators: {
121
- readonly linear: (q1: any, q2: any, t: number) => any;
122
- };
123
- };
124
- } & {
125
4
  readonly material: {
126
5
  readonly type: "integer";
127
6
  readonly minimum: -2147483648;
@@ -395,8 +274,135 @@ export declare const interpolation: {
395
274
  readonly colliderMesh: {
396
275
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
397
276
  };
277
+ } & {
278
+ readonly visible: {
279
+ readonly type: "boolean";
280
+ readonly const: true;
281
+ readonly default: true;
282
+ };
283
+ readonly position: {
284
+ readonly type: "array";
285
+ readonly items: {
286
+ readonly type: "number";
287
+ readonly precision: 1;
288
+ readonly default: number;
289
+ };
290
+ readonly minItems: 3;
291
+ readonly maxItems: 3;
292
+ readonly default: readonly [0, 0, 0];
293
+ };
294
+ readonly rotation: {
295
+ readonly type: "array";
296
+ readonly items: {
297
+ readonly type: "number";
298
+ readonly precision: 1;
299
+ readonly default: number;
300
+ };
301
+ readonly minItems: 4;
302
+ readonly maxItems: 4;
303
+ readonly default: readonly [0, 0, 0, 1];
304
+ readonly interpolators: {
305
+ readonly linear: (q1: any, q2: any, t: number) => any;
306
+ };
307
+ };
308
+ readonly scale: {
309
+ readonly type: "array";
310
+ readonly items: {
311
+ readonly type: "number";
312
+ readonly precision: 1;
313
+ readonly default: number;
314
+ };
315
+ readonly minItems: 3;
316
+ readonly maxItems: 3;
317
+ readonly default: readonly [0, 0, 0];
318
+ };
319
+ readonly parent: {
320
+ readonly type: "integer";
321
+ readonly minimum: -2147483648;
322
+ readonly maximum: 2147483647;
323
+ readonly default: number;
324
+ };
325
+ readonly _worldMatrix: {
326
+ readonly nonPersistent: true;
327
+ readonly type: "array";
328
+ readonly items: {
329
+ readonly type: "number";
330
+ readonly precision: 1;
331
+ readonly default: number;
332
+ };
333
+ readonly minItems: 16;
334
+ readonly maxItems: 16;
335
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
336
+ };
337
+ readonly _worldBounds: {
338
+ readonly nonPersistent: true;
339
+ readonly type: "object";
340
+ readonly properties: {
341
+ readonly min: {
342
+ readonly type: "array";
343
+ readonly items: {
344
+ readonly type: "number";
345
+ readonly precision: 1;
346
+ readonly default: number;
347
+ };
348
+ readonly minItems: 3;
349
+ readonly maxItems: 3;
350
+ readonly default: readonly [0, 0, 0];
351
+ };
352
+ readonly max: {
353
+ readonly type: "array";
354
+ readonly items: {
355
+ readonly type: "number";
356
+ readonly precision: 1;
357
+ readonly default: number;
358
+ };
359
+ readonly minItems: 3;
360
+ readonly maxItems: 3;
361
+ readonly default: readonly [0, 0, 0];
362
+ };
363
+ };
364
+ readonly required: readonly ["min", "max"];
365
+ readonly additionalProperties: false;
366
+ readonly default: {
367
+ readonly min: readonly [0, 0, 0];
368
+ readonly max: readonly [0, 0, 0];
369
+ };
370
+ };
371
+ } & {
372
+ readonly _renderPosition: {
373
+ readonly nonPersistent: true;
374
+ readonly type: "array";
375
+ readonly items: {
376
+ readonly type: "number";
377
+ readonly precision: 1;
378
+ readonly default: number;
379
+ };
380
+ readonly minItems: 3;
381
+ readonly maxItems: 3;
382
+ readonly default: readonly [0, 0, 0];
383
+ };
384
+ readonly _renderRotation: {
385
+ readonly nonPersistent: true;
386
+ readonly type: "array";
387
+ readonly items: {
388
+ readonly type: "number";
389
+ readonly precision: 1;
390
+ readonly default: number;
391
+ };
392
+ readonly minItems: 4;
393
+ readonly maxItems: 4;
394
+ readonly default: readonly [0, 0, 0, 1];
395
+ readonly interpolators: {
396
+ readonly linear: (q1: any, q2: any, t: number) => any;
397
+ };
398
+ };
398
399
  };
399
400
  readonly resources: {} & {
401
+ readonly physicsQuery: {
402
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
403
+ readonly nonPersistent: true;
404
+ };
405
+ } & {
400
406
  readonly frameTime: {
401
407
  readonly default: import("../../core/frame-time/public.js");
402
408
  readonly nonPersistent: true;
@@ -421,16 +427,16 @@ export declare const interpolation: {
421
427
  };
422
428
  };
423
429
  readonly archetypes: {} & {
424
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
425
- } & {} & {} & {
426
430
  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"];
427
431
  } & {
428
432
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
429
433
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
430
434
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
431
435
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
432
- } & {};
433
- readonly transactions: {} & {} & {} & {
436
+ } & {
437
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
438
+ } & {} & {} & {};
439
+ readonly transactions: {
434
440
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
435
441
  readonly material: {
436
442
  readonly type: "integer";
@@ -1349,21 +1355,2409 @@ export declare const interpolation: {
1349
1355
  readonly nonPersistent: true;
1350
1356
  };
1351
1357
  }>, {}, {}, never>, hz: number) => void;
1352
- } & {};
1353
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
1354
- readonly actions: {};
1355
- readonly services: {};
1356
- readonly computed: {};
1357
- readonly indexes: {} & {
1358
- readonly nodeChildrenOf: {
1359
- readonly key: "parent";
1360
- readonly archetype: "Node";
1361
- };
1362
- } & {} & {} & {
1358
+ } & {} & {} & {} & {};
1359
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "transformCreateWorldMatrix" | "transformSystem" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
1360
+ readonly actions: {
1361
+ readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
1362
+ readonly bodyType: {
1363
+ readonly type: "string";
1364
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
1365
+ };
1366
+ readonly colliderShape: {
1367
+ readonly type: "string";
1368
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
1369
+ };
1370
+ readonly halfExtents: {
1371
+ readonly type: "array";
1372
+ readonly items: {
1373
+ readonly type: "number";
1374
+ readonly precision: 1;
1375
+ readonly default: number;
1376
+ };
1377
+ readonly minItems: 3;
1378
+ readonly maxItems: 3;
1379
+ readonly default: readonly [0, 0, 0];
1380
+ };
1381
+ readonly position: {
1382
+ readonly type: "array";
1383
+ readonly items: {
1384
+ readonly type: "number";
1385
+ readonly precision: 1;
1386
+ readonly default: number;
1387
+ };
1388
+ readonly minItems: 3;
1389
+ readonly maxItems: 3;
1390
+ readonly default: readonly [0, 0, 0];
1391
+ };
1392
+ readonly rotation: {
1393
+ readonly type: "array";
1394
+ readonly items: {
1395
+ readonly type: "number";
1396
+ readonly precision: 1;
1397
+ readonly default: number;
1398
+ };
1399
+ readonly minItems: 4;
1400
+ readonly maxItems: 4;
1401
+ readonly default: readonly [0, 0, 0, 1];
1402
+ readonly interpolators: {
1403
+ readonly linear: (q1: any, q2: any, t: number) => any;
1404
+ };
1405
+ };
1406
+ readonly linearVelocity: {
1407
+ readonly type: "array";
1408
+ readonly items: {
1409
+ readonly type: "number";
1410
+ readonly precision: 1;
1411
+ readonly default: number;
1412
+ };
1413
+ readonly minItems: 3;
1414
+ readonly maxItems: 3;
1415
+ readonly default: readonly [0, 0, 0];
1416
+ };
1417
+ readonly angularVelocity: {
1418
+ readonly type: "array";
1419
+ readonly items: {
1420
+ readonly type: "number";
1421
+ readonly precision: 1;
1422
+ readonly default: number;
1423
+ };
1424
+ readonly minItems: 3;
1425
+ readonly maxItems: 3;
1426
+ readonly default: readonly [0, 0, 0];
1427
+ };
1428
+ readonly _prevPosition: {
1429
+ readonly nonPersistent: true;
1430
+ readonly type: "array";
1431
+ readonly items: {
1432
+ readonly type: "number";
1433
+ readonly precision: 1;
1434
+ readonly default: number;
1435
+ };
1436
+ readonly minItems: 3;
1437
+ readonly maxItems: 3;
1438
+ readonly default: readonly [0, 0, 0];
1439
+ };
1440
+ readonly _prevRotation: {
1441
+ readonly nonPersistent: true;
1442
+ readonly type: "array";
1443
+ readonly items: {
1444
+ readonly type: "number";
1445
+ readonly precision: 1;
1446
+ readonly default: number;
1447
+ };
1448
+ readonly minItems: 4;
1449
+ readonly maxItems: 4;
1450
+ readonly default: readonly [0, 0, 0, 1];
1451
+ readonly interpolators: {
1452
+ readonly linear: (q1: any, q2: any, t: number) => any;
1453
+ };
1454
+ };
1455
+ readonly collisionGroup: {
1456
+ readonly type: "number";
1457
+ readonly precision: 1;
1458
+ readonly default: number;
1459
+ };
1460
+ readonly convexPoints: {
1461
+ readonly default: Float32Array | null;
1462
+ };
1463
+ readonly colliderMesh: {
1464
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
1465
+ };
1466
+ } & {
1467
+ readonly material: {
1468
+ readonly type: "integer";
1469
+ readonly minimum: -2147483648;
1470
+ readonly maximum: 2147483647;
1471
+ readonly default: number;
1472
+ };
1473
+ readonly name: {
1474
+ readonly type: "string";
1475
+ };
1476
+ readonly density: {
1477
+ readonly type: "number";
1478
+ readonly precision: 1;
1479
+ readonly default: number;
1480
+ };
1481
+ readonly restitution: {
1482
+ readonly type: "number";
1483
+ readonly precision: 1;
1484
+ readonly default: number;
1485
+ };
1486
+ readonly friction: {
1487
+ readonly type: "number";
1488
+ readonly precision: 1;
1489
+ readonly default: number;
1490
+ };
1491
+ readonly compliance: {
1492
+ readonly type: "number";
1493
+ readonly precision: 1;
1494
+ readonly default: number;
1495
+ };
1496
+ readonly heatCapacity: {
1497
+ readonly type: "number";
1498
+ readonly precision: 1;
1499
+ readonly default: number;
1500
+ };
1501
+ readonly viscosity: {
1502
+ readonly type: "number";
1503
+ readonly precision: 1;
1504
+ readonly default: number;
1505
+ };
1506
+ readonly thermalConductivity: {
1507
+ readonly type: "number";
1508
+ readonly precision: 1;
1509
+ readonly default: number;
1510
+ };
1511
+ readonly stressStrainCurve: {
1512
+ readonly type: "object";
1513
+ readonly layout: "packed";
1514
+ readonly properties: {
1515
+ readonly tensileYieldStrainStress: {
1516
+ readonly type: "array";
1517
+ readonly items: {
1518
+ readonly type: "number";
1519
+ readonly precision: 1;
1520
+ readonly default: number;
1521
+ };
1522
+ readonly minItems: 2;
1523
+ readonly maxItems: 2;
1524
+ readonly default: readonly [0, 0];
1525
+ };
1526
+ readonly tensileFractureStrainStress: {
1527
+ readonly type: "array";
1528
+ readonly items: {
1529
+ readonly type: "number";
1530
+ readonly precision: 1;
1531
+ readonly default: number;
1532
+ };
1533
+ readonly minItems: 2;
1534
+ readonly maxItems: 2;
1535
+ readonly default: readonly [0, 0];
1536
+ };
1537
+ readonly compressiveYieldStrainStress: {
1538
+ readonly type: "array";
1539
+ readonly items: {
1540
+ readonly type: "number";
1541
+ readonly precision: 1;
1542
+ readonly default: number;
1543
+ };
1544
+ readonly minItems: 2;
1545
+ readonly maxItems: 2;
1546
+ readonly default: readonly [0, 0];
1547
+ };
1548
+ readonly compressiveFractureStrainStress: {
1549
+ readonly type: "array";
1550
+ readonly items: {
1551
+ readonly type: "number";
1552
+ readonly precision: 1;
1553
+ readonly default: number;
1554
+ };
1555
+ readonly minItems: 2;
1556
+ readonly maxItems: 2;
1557
+ readonly default: readonly [0, 0];
1558
+ };
1559
+ };
1560
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1561
+ };
1562
+ readonly baseColorFactor: {
1563
+ readonly type: "array";
1564
+ readonly items: {
1565
+ readonly type: "number";
1566
+ readonly precision: 1;
1567
+ readonly default: number;
1568
+ };
1569
+ readonly minItems: 4;
1570
+ readonly maxItems: 4;
1571
+ readonly default: readonly [0, 0, 0, 0];
1572
+ };
1573
+ readonly emissiveFactor: {
1574
+ readonly type: "array";
1575
+ readonly items: {
1576
+ readonly type: "number";
1577
+ readonly precision: 1;
1578
+ readonly default: number;
1579
+ };
1580
+ readonly minItems: 3;
1581
+ readonly maxItems: 3;
1582
+ readonly default: readonly [0, 0, 0];
1583
+ };
1584
+ readonly metallicFactor: {
1585
+ readonly type: "number";
1586
+ readonly precision: 1;
1587
+ readonly default: number;
1588
+ };
1589
+ readonly roughnessFactor: {
1590
+ readonly type: "number";
1591
+ readonly precision: 1;
1592
+ readonly default: number;
1593
+ };
1594
+ readonly normalScale: {
1595
+ readonly type: "number";
1596
+ readonly precision: 1;
1597
+ readonly default: number;
1598
+ };
1599
+ readonly occlusionStrength: {
1600
+ readonly type: "number";
1601
+ readonly precision: 1;
1602
+ readonly default: number;
1603
+ };
1604
+ readonly irReflectance: {
1605
+ readonly type: "number";
1606
+ readonly precision: 1;
1607
+ readonly default: number;
1608
+ };
1609
+ readonly irEmission: {
1610
+ readonly type: "number";
1611
+ readonly precision: 1;
1612
+ readonly default: number;
1613
+ };
1614
+ readonly emissionMode: {
1615
+ readonly type: "integer";
1616
+ readonly minimum: 0;
1617
+ readonly maximum: 4294967295;
1618
+ readonly default: number;
1619
+ };
1620
+ readonly baseColorUrl: {
1621
+ readonly type: "string";
1622
+ };
1623
+ readonly metallicRoughnessUrl: {
1624
+ readonly type: "string";
1625
+ };
1626
+ readonly normalUrl: {
1627
+ readonly type: "string";
1628
+ };
1629
+ readonly occlusionUrl: {
1630
+ readonly type: "string";
1631
+ };
1632
+ readonly emissiveUrl: {
1633
+ readonly type: "string";
1634
+ };
1635
+ }>, import("@adobe/data/schema").FromSchemas<{
1636
+ readonly physicsQuery: {
1637
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
1638
+ readonly nonPersistent: true;
1639
+ };
1640
+ } & {}>, {
1641
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
1642
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
1643
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
1644
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
1645
+ } & {
1646
+ 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"];
1647
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
1648
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
1649
+ readonly material: {
1650
+ readonly type: "integer";
1651
+ readonly minimum: -2147483648;
1652
+ readonly maximum: 2147483647;
1653
+ readonly default: number;
1654
+ };
1655
+ readonly name: {
1656
+ readonly type: "string";
1657
+ };
1658
+ readonly density: {
1659
+ readonly type: "number";
1660
+ readonly precision: 1;
1661
+ readonly default: number;
1662
+ };
1663
+ readonly restitution: {
1664
+ readonly type: "number";
1665
+ readonly precision: 1;
1666
+ readonly default: number;
1667
+ };
1668
+ readonly friction: {
1669
+ readonly type: "number";
1670
+ readonly precision: 1;
1671
+ readonly default: number;
1672
+ };
1673
+ readonly compliance: {
1674
+ readonly type: "number";
1675
+ readonly precision: 1;
1676
+ readonly default: number;
1677
+ };
1678
+ readonly heatCapacity: {
1679
+ readonly type: "number";
1680
+ readonly precision: 1;
1681
+ readonly default: number;
1682
+ };
1683
+ readonly viscosity: {
1684
+ readonly type: "number";
1685
+ readonly precision: 1;
1686
+ readonly default: number;
1687
+ };
1688
+ readonly thermalConductivity: {
1689
+ readonly type: "number";
1690
+ readonly precision: 1;
1691
+ readonly default: number;
1692
+ };
1693
+ readonly stressStrainCurve: {
1694
+ readonly type: "object";
1695
+ readonly layout: "packed";
1696
+ readonly properties: {
1697
+ readonly tensileYieldStrainStress: {
1698
+ readonly type: "array";
1699
+ readonly items: {
1700
+ readonly type: "number";
1701
+ readonly precision: 1;
1702
+ readonly default: number;
1703
+ };
1704
+ readonly minItems: 2;
1705
+ readonly maxItems: 2;
1706
+ readonly default: readonly [0, 0];
1707
+ };
1708
+ readonly tensileFractureStrainStress: {
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 compressiveYieldStrainStress: {
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 compressiveFractureStrainStress: {
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
+ };
1742
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1743
+ };
1744
+ readonly baseColorFactor: {
1745
+ readonly type: "array";
1746
+ readonly items: {
1747
+ readonly type: "number";
1748
+ readonly precision: 1;
1749
+ readonly default: number;
1750
+ };
1751
+ readonly minItems: 4;
1752
+ readonly maxItems: 4;
1753
+ readonly default: readonly [0, 0, 0, 0];
1754
+ };
1755
+ readonly emissiveFactor: {
1756
+ readonly type: "array";
1757
+ readonly items: {
1758
+ readonly type: "number";
1759
+ readonly precision: 1;
1760
+ readonly default: number;
1761
+ };
1762
+ readonly minItems: 3;
1763
+ readonly maxItems: 3;
1764
+ readonly default: readonly [0, 0, 0];
1765
+ };
1766
+ readonly metallicFactor: {
1767
+ readonly type: "number";
1768
+ readonly precision: 1;
1769
+ readonly default: number;
1770
+ };
1771
+ readonly roughnessFactor: {
1772
+ readonly type: "number";
1773
+ readonly precision: 1;
1774
+ readonly default: number;
1775
+ };
1776
+ readonly normalScale: {
1777
+ readonly type: "number";
1778
+ readonly precision: 1;
1779
+ readonly default: number;
1780
+ };
1781
+ readonly occlusionStrength: {
1782
+ readonly type: "number";
1783
+ readonly precision: 1;
1784
+ readonly default: number;
1785
+ };
1786
+ readonly irReflectance: {
1787
+ readonly type: "number";
1788
+ readonly precision: 1;
1789
+ readonly default: number;
1790
+ };
1791
+ readonly irEmission: {
1792
+ readonly type: "number";
1793
+ readonly precision: 1;
1794
+ readonly default: number;
1795
+ };
1796
+ readonly emissionMode: {
1797
+ readonly type: "integer";
1798
+ readonly minimum: 0;
1799
+ readonly maximum: 4294967295;
1800
+ readonly default: number;
1801
+ };
1802
+ readonly baseColorUrl: {
1803
+ readonly type: "string";
1804
+ };
1805
+ readonly metallicRoughnessUrl: {
1806
+ readonly type: "string";
1807
+ };
1808
+ readonly normalUrl: {
1809
+ readonly type: "string";
1810
+ };
1811
+ readonly occlusionUrl: {
1812
+ readonly type: "string";
1813
+ };
1814
+ readonly emissiveUrl: {
1815
+ readonly type: "string";
1816
+ };
1817
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1818
+ 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"];
1819
+ }, {
1820
+ readonly materialByName: {
1821
+ readonly key: "name";
1822
+ readonly unique: true;
1823
+ readonly archetype: "Material";
1824
+ };
1825
+ }, never>, row: import("../../material/public.js")) => number;
1826
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
1827
+ readonly material: {
1828
+ readonly type: "integer";
1829
+ readonly minimum: -2147483648;
1830
+ readonly maximum: 2147483647;
1831
+ readonly default: number;
1832
+ };
1833
+ readonly name: {
1834
+ readonly type: "string";
1835
+ };
1836
+ readonly density: {
1837
+ readonly type: "number";
1838
+ readonly precision: 1;
1839
+ readonly default: number;
1840
+ };
1841
+ readonly restitution: {
1842
+ readonly type: "number";
1843
+ readonly precision: 1;
1844
+ readonly default: number;
1845
+ };
1846
+ readonly friction: {
1847
+ readonly type: "number";
1848
+ readonly precision: 1;
1849
+ readonly default: number;
1850
+ };
1851
+ readonly compliance: {
1852
+ readonly type: "number";
1853
+ readonly precision: 1;
1854
+ readonly default: number;
1855
+ };
1856
+ readonly heatCapacity: {
1857
+ readonly type: "number";
1858
+ readonly precision: 1;
1859
+ readonly default: number;
1860
+ };
1861
+ readonly viscosity: {
1862
+ readonly type: "number";
1863
+ readonly precision: 1;
1864
+ readonly default: number;
1865
+ };
1866
+ readonly thermalConductivity: {
1867
+ readonly type: "number";
1868
+ readonly precision: 1;
1869
+ readonly default: number;
1870
+ };
1871
+ readonly stressStrainCurve: {
1872
+ readonly type: "object";
1873
+ readonly layout: "packed";
1874
+ readonly properties: {
1875
+ readonly tensileYieldStrainStress: {
1876
+ readonly type: "array";
1877
+ readonly items: {
1878
+ readonly type: "number";
1879
+ readonly precision: 1;
1880
+ readonly default: number;
1881
+ };
1882
+ readonly minItems: 2;
1883
+ readonly maxItems: 2;
1884
+ readonly default: readonly [0, 0];
1885
+ };
1886
+ readonly tensileFractureStrainStress: {
1887
+ readonly type: "array";
1888
+ readonly items: {
1889
+ readonly type: "number";
1890
+ readonly precision: 1;
1891
+ readonly default: number;
1892
+ };
1893
+ readonly minItems: 2;
1894
+ readonly maxItems: 2;
1895
+ readonly default: readonly [0, 0];
1896
+ };
1897
+ readonly compressiveYieldStrainStress: {
1898
+ readonly type: "array";
1899
+ readonly items: {
1900
+ readonly type: "number";
1901
+ readonly precision: 1;
1902
+ readonly default: number;
1903
+ };
1904
+ readonly minItems: 2;
1905
+ readonly maxItems: 2;
1906
+ readonly default: readonly [0, 0];
1907
+ };
1908
+ readonly compressiveFractureStrainStress: {
1909
+ readonly type: "array";
1910
+ readonly items: {
1911
+ readonly type: "number";
1912
+ readonly precision: 1;
1913
+ readonly default: number;
1914
+ };
1915
+ readonly minItems: 2;
1916
+ readonly maxItems: 2;
1917
+ readonly default: readonly [0, 0];
1918
+ };
1919
+ };
1920
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
1921
+ };
1922
+ readonly baseColorFactor: {
1923
+ readonly type: "array";
1924
+ readonly items: {
1925
+ readonly type: "number";
1926
+ readonly precision: 1;
1927
+ readonly default: number;
1928
+ };
1929
+ readonly minItems: 4;
1930
+ readonly maxItems: 4;
1931
+ readonly default: readonly [0, 0, 0, 0];
1932
+ };
1933
+ readonly emissiveFactor: {
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 metallicFactor: {
1945
+ readonly type: "number";
1946
+ readonly precision: 1;
1947
+ readonly default: number;
1948
+ };
1949
+ readonly roughnessFactor: {
1950
+ readonly type: "number";
1951
+ readonly precision: 1;
1952
+ readonly default: number;
1953
+ };
1954
+ readonly normalScale: {
1955
+ readonly type: "number";
1956
+ readonly precision: 1;
1957
+ readonly default: number;
1958
+ };
1959
+ readonly occlusionStrength: {
1960
+ readonly type: "number";
1961
+ readonly precision: 1;
1962
+ readonly default: number;
1963
+ };
1964
+ readonly irReflectance: {
1965
+ readonly type: "number";
1966
+ readonly precision: 1;
1967
+ readonly default: number;
1968
+ };
1969
+ readonly irEmission: {
1970
+ readonly type: "number";
1971
+ readonly precision: 1;
1972
+ readonly default: number;
1973
+ };
1974
+ readonly emissionMode: {
1975
+ readonly type: "integer";
1976
+ readonly minimum: 0;
1977
+ readonly maximum: 4294967295;
1978
+ readonly default: number;
1979
+ };
1980
+ readonly baseColorUrl: {
1981
+ readonly type: "string";
1982
+ };
1983
+ readonly metallicRoughnessUrl: {
1984
+ readonly type: "string";
1985
+ };
1986
+ readonly normalUrl: {
1987
+ readonly type: "string";
1988
+ };
1989
+ readonly occlusionUrl: {
1990
+ readonly type: "string";
1991
+ };
1992
+ readonly emissiveUrl: {
1993
+ readonly type: "string";
1994
+ };
1995
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
1996
+ 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"];
1997
+ }, {
1998
+ readonly materialByName: {
1999
+ readonly key: "name";
2000
+ readonly unique: true;
2001
+ readonly archetype: "Material";
2002
+ };
2003
+ }, never>, args: {
2004
+ name: string;
2005
+ definition: import("../../material/material-definition.js").MaterialDefinition;
2006
+ }) => number;
2007
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
2008
+ readonly material: {
2009
+ readonly type: "integer";
2010
+ readonly minimum: -2147483648;
2011
+ readonly maximum: 2147483647;
2012
+ readonly default: number;
2013
+ };
2014
+ readonly name: {
2015
+ readonly type: "string";
2016
+ };
2017
+ readonly density: {
2018
+ readonly type: "number";
2019
+ readonly precision: 1;
2020
+ readonly default: number;
2021
+ };
2022
+ readonly restitution: {
2023
+ readonly type: "number";
2024
+ readonly precision: 1;
2025
+ readonly default: number;
2026
+ };
2027
+ readonly friction: {
2028
+ readonly type: "number";
2029
+ readonly precision: 1;
2030
+ readonly default: number;
2031
+ };
2032
+ readonly compliance: {
2033
+ readonly type: "number";
2034
+ readonly precision: 1;
2035
+ readonly default: number;
2036
+ };
2037
+ readonly heatCapacity: {
2038
+ readonly type: "number";
2039
+ readonly precision: 1;
2040
+ readonly default: number;
2041
+ };
2042
+ readonly viscosity: {
2043
+ readonly type: "number";
2044
+ readonly precision: 1;
2045
+ readonly default: number;
2046
+ };
2047
+ readonly thermalConductivity: {
2048
+ readonly type: "number";
2049
+ readonly precision: 1;
2050
+ readonly default: number;
2051
+ };
2052
+ readonly stressStrainCurve: {
2053
+ readonly type: "object";
2054
+ readonly layout: "packed";
2055
+ readonly properties: {
2056
+ readonly tensileYieldStrainStress: {
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 tensileFractureStrainStress: {
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 compressiveYieldStrainStress: {
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
+ readonly compressiveFractureStrainStress: {
2090
+ readonly type: "array";
2091
+ readonly items: {
2092
+ readonly type: "number";
2093
+ readonly precision: 1;
2094
+ readonly default: number;
2095
+ };
2096
+ readonly minItems: 2;
2097
+ readonly maxItems: 2;
2098
+ readonly default: readonly [0, 0];
2099
+ };
2100
+ };
2101
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2102
+ };
2103
+ readonly baseColorFactor: {
2104
+ readonly type: "array";
2105
+ readonly items: {
2106
+ readonly type: "number";
2107
+ readonly precision: 1;
2108
+ readonly default: number;
2109
+ };
2110
+ readonly minItems: 4;
2111
+ readonly maxItems: 4;
2112
+ readonly default: readonly [0, 0, 0, 0];
2113
+ };
2114
+ readonly emissiveFactor: {
2115
+ readonly type: "array";
2116
+ readonly items: {
2117
+ readonly type: "number";
2118
+ readonly precision: 1;
2119
+ readonly default: number;
2120
+ };
2121
+ readonly minItems: 3;
2122
+ readonly maxItems: 3;
2123
+ readonly default: readonly [0, 0, 0];
2124
+ };
2125
+ readonly metallicFactor: {
2126
+ readonly type: "number";
2127
+ readonly precision: 1;
2128
+ readonly default: number;
2129
+ };
2130
+ readonly roughnessFactor: {
2131
+ readonly type: "number";
2132
+ readonly precision: 1;
2133
+ readonly default: number;
2134
+ };
2135
+ readonly normalScale: {
2136
+ readonly type: "number";
2137
+ readonly precision: 1;
2138
+ readonly default: number;
2139
+ };
2140
+ readonly occlusionStrength: {
2141
+ readonly type: "number";
2142
+ readonly precision: 1;
2143
+ readonly default: number;
2144
+ };
2145
+ readonly irReflectance: {
2146
+ readonly type: "number";
2147
+ readonly precision: 1;
2148
+ readonly default: number;
2149
+ };
2150
+ readonly irEmission: {
2151
+ readonly type: "number";
2152
+ readonly precision: 1;
2153
+ readonly default: number;
2154
+ };
2155
+ readonly emissionMode: {
2156
+ readonly type: "integer";
2157
+ readonly minimum: 0;
2158
+ readonly maximum: 4294967295;
2159
+ readonly default: number;
2160
+ };
2161
+ readonly baseColorUrl: {
2162
+ readonly type: "string";
2163
+ };
2164
+ readonly metallicRoughnessUrl: {
2165
+ readonly type: "string";
2166
+ };
2167
+ readonly normalUrl: {
2168
+ readonly type: "string";
2169
+ };
2170
+ readonly occlusionUrl: {
2171
+ readonly type: "string";
2172
+ };
2173
+ readonly emissiveUrl: {
2174
+ readonly type: "string";
2175
+ };
2176
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
2177
+ 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"];
2178
+ }, {
2179
+ readonly materialByName: {
2180
+ readonly key: "name";
2181
+ readonly unique: true;
2182
+ readonly archetype: "Material";
2183
+ };
2184
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
2185
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
2186
+ readonly material: {
2187
+ readonly type: "integer";
2188
+ readonly minimum: -2147483648;
2189
+ readonly maximum: 2147483647;
2190
+ readonly default: number;
2191
+ };
2192
+ readonly name: {
2193
+ readonly type: "string";
2194
+ };
2195
+ readonly density: {
2196
+ readonly type: "number";
2197
+ readonly precision: 1;
2198
+ readonly default: number;
2199
+ };
2200
+ readonly restitution: {
2201
+ readonly type: "number";
2202
+ readonly precision: 1;
2203
+ readonly default: number;
2204
+ };
2205
+ readonly friction: {
2206
+ readonly type: "number";
2207
+ readonly precision: 1;
2208
+ readonly default: number;
2209
+ };
2210
+ readonly compliance: {
2211
+ readonly type: "number";
2212
+ readonly precision: 1;
2213
+ readonly default: number;
2214
+ };
2215
+ readonly heatCapacity: {
2216
+ readonly type: "number";
2217
+ readonly precision: 1;
2218
+ readonly default: number;
2219
+ };
2220
+ readonly viscosity: {
2221
+ readonly type: "number";
2222
+ readonly precision: 1;
2223
+ readonly default: number;
2224
+ };
2225
+ readonly thermalConductivity: {
2226
+ readonly type: "number";
2227
+ readonly precision: 1;
2228
+ readonly default: number;
2229
+ };
2230
+ readonly stressStrainCurve: {
2231
+ readonly type: "object";
2232
+ readonly layout: "packed";
2233
+ readonly properties: {
2234
+ readonly tensileYieldStrainStress: {
2235
+ readonly type: "array";
2236
+ readonly items: {
2237
+ readonly type: "number";
2238
+ readonly precision: 1;
2239
+ readonly default: number;
2240
+ };
2241
+ readonly minItems: 2;
2242
+ readonly maxItems: 2;
2243
+ readonly default: readonly [0, 0];
2244
+ };
2245
+ readonly tensileFractureStrainStress: {
2246
+ readonly type: "array";
2247
+ readonly items: {
2248
+ readonly type: "number";
2249
+ readonly precision: 1;
2250
+ readonly default: number;
2251
+ };
2252
+ readonly minItems: 2;
2253
+ readonly maxItems: 2;
2254
+ readonly default: readonly [0, 0];
2255
+ };
2256
+ readonly compressiveYieldStrainStress: {
2257
+ readonly type: "array";
2258
+ readonly items: {
2259
+ readonly type: "number";
2260
+ readonly precision: 1;
2261
+ readonly default: number;
2262
+ };
2263
+ readonly minItems: 2;
2264
+ readonly maxItems: 2;
2265
+ readonly default: readonly [0, 0];
2266
+ };
2267
+ readonly compressiveFractureStrainStress: {
2268
+ readonly type: "array";
2269
+ readonly items: {
2270
+ readonly type: "number";
2271
+ readonly precision: 1;
2272
+ readonly default: number;
2273
+ };
2274
+ readonly minItems: 2;
2275
+ readonly maxItems: 2;
2276
+ readonly default: readonly [0, 0];
2277
+ };
2278
+ };
2279
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2280
+ };
2281
+ readonly baseColorFactor: {
2282
+ readonly type: "array";
2283
+ readonly items: {
2284
+ readonly type: "number";
2285
+ readonly precision: 1;
2286
+ readonly default: number;
2287
+ };
2288
+ readonly minItems: 4;
2289
+ readonly maxItems: 4;
2290
+ readonly default: readonly [0, 0, 0, 0];
2291
+ };
2292
+ readonly emissiveFactor: {
2293
+ readonly type: "array";
2294
+ readonly items: {
2295
+ readonly type: "number";
2296
+ readonly precision: 1;
2297
+ readonly default: number;
2298
+ };
2299
+ readonly minItems: 3;
2300
+ readonly maxItems: 3;
2301
+ readonly default: readonly [0, 0, 0];
2302
+ };
2303
+ readonly metallicFactor: {
2304
+ readonly type: "number";
2305
+ readonly precision: 1;
2306
+ readonly default: number;
2307
+ };
2308
+ readonly roughnessFactor: {
2309
+ readonly type: "number";
2310
+ readonly precision: 1;
2311
+ readonly default: number;
2312
+ };
2313
+ readonly normalScale: {
2314
+ readonly type: "number";
2315
+ readonly precision: 1;
2316
+ readonly default: number;
2317
+ };
2318
+ readonly occlusionStrength: {
2319
+ readonly type: "number";
2320
+ readonly precision: 1;
2321
+ readonly default: number;
2322
+ };
2323
+ readonly irReflectance: {
2324
+ readonly type: "number";
2325
+ readonly precision: 1;
2326
+ readonly default: number;
2327
+ };
2328
+ readonly irEmission: {
2329
+ readonly type: "number";
2330
+ readonly precision: 1;
2331
+ readonly default: number;
2332
+ };
2333
+ readonly emissionMode: {
2334
+ readonly type: "integer";
2335
+ readonly minimum: 0;
2336
+ readonly maximum: 4294967295;
2337
+ readonly default: number;
2338
+ };
2339
+ readonly baseColorUrl: {
2340
+ readonly type: "string";
2341
+ };
2342
+ readonly metallicRoughnessUrl: {
2343
+ readonly type: "string";
2344
+ };
2345
+ readonly normalUrl: {
2346
+ readonly type: "string";
2347
+ };
2348
+ readonly occlusionUrl: {
2349
+ readonly type: "string";
2350
+ };
2351
+ readonly emissiveUrl: {
2352
+ readonly type: "string";
2353
+ };
2354
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
2355
+ 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"];
2356
+ }, {
2357
+ readonly materialByName: {
2358
+ readonly key: "name";
2359
+ readonly unique: true;
2360
+ readonly archetype: "Material";
2361
+ };
2362
+ }, never>) => void;
2363
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
2364
+ readonly material: {
2365
+ readonly type: "integer";
2366
+ readonly minimum: -2147483648;
2367
+ readonly maximum: 2147483647;
2368
+ readonly default: number;
2369
+ };
2370
+ readonly name: {
2371
+ readonly type: "string";
2372
+ };
2373
+ readonly density: {
2374
+ readonly type: "number";
2375
+ readonly precision: 1;
2376
+ readonly default: number;
2377
+ };
2378
+ readonly restitution: {
2379
+ readonly type: "number";
2380
+ readonly precision: 1;
2381
+ readonly default: number;
2382
+ };
2383
+ readonly friction: {
2384
+ readonly type: "number";
2385
+ readonly precision: 1;
2386
+ readonly default: number;
2387
+ };
2388
+ readonly compliance: {
2389
+ readonly type: "number";
2390
+ readonly precision: 1;
2391
+ readonly default: number;
2392
+ };
2393
+ readonly heatCapacity: {
2394
+ readonly type: "number";
2395
+ readonly precision: 1;
2396
+ readonly default: number;
2397
+ };
2398
+ readonly viscosity: {
2399
+ readonly type: "number";
2400
+ readonly precision: 1;
2401
+ readonly default: number;
2402
+ };
2403
+ readonly thermalConductivity: {
2404
+ readonly type: "number";
2405
+ readonly precision: 1;
2406
+ readonly default: number;
2407
+ };
2408
+ readonly stressStrainCurve: {
2409
+ readonly type: "object";
2410
+ readonly layout: "packed";
2411
+ readonly properties: {
2412
+ readonly tensileYieldStrainStress: {
2413
+ readonly type: "array";
2414
+ readonly items: {
2415
+ readonly type: "number";
2416
+ readonly precision: 1;
2417
+ readonly default: number;
2418
+ };
2419
+ readonly minItems: 2;
2420
+ readonly maxItems: 2;
2421
+ readonly default: readonly [0, 0];
2422
+ };
2423
+ readonly tensileFractureStrainStress: {
2424
+ readonly type: "array";
2425
+ readonly items: {
2426
+ readonly type: "number";
2427
+ readonly precision: 1;
2428
+ readonly default: number;
2429
+ };
2430
+ readonly minItems: 2;
2431
+ readonly maxItems: 2;
2432
+ readonly default: readonly [0, 0];
2433
+ };
2434
+ readonly compressiveYieldStrainStress: {
2435
+ readonly type: "array";
2436
+ readonly items: {
2437
+ readonly type: "number";
2438
+ readonly precision: 1;
2439
+ readonly default: number;
2440
+ };
2441
+ readonly minItems: 2;
2442
+ readonly maxItems: 2;
2443
+ readonly default: readonly [0, 0];
2444
+ };
2445
+ readonly compressiveFractureStrainStress: {
2446
+ readonly type: "array";
2447
+ readonly items: {
2448
+ readonly type: "number";
2449
+ readonly precision: 1;
2450
+ readonly default: number;
2451
+ };
2452
+ readonly minItems: 2;
2453
+ readonly maxItems: 2;
2454
+ readonly default: readonly [0, 0];
2455
+ };
2456
+ };
2457
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2458
+ };
2459
+ readonly baseColorFactor: {
2460
+ readonly type: "array";
2461
+ readonly items: {
2462
+ readonly type: "number";
2463
+ readonly precision: 1;
2464
+ readonly default: number;
2465
+ };
2466
+ readonly minItems: 4;
2467
+ readonly maxItems: 4;
2468
+ readonly default: readonly [0, 0, 0, 0];
2469
+ };
2470
+ readonly emissiveFactor: {
2471
+ readonly type: "array";
2472
+ readonly items: {
2473
+ readonly type: "number";
2474
+ readonly precision: 1;
2475
+ readonly default: number;
2476
+ };
2477
+ readonly minItems: 3;
2478
+ readonly maxItems: 3;
2479
+ readonly default: readonly [0, 0, 0];
2480
+ };
2481
+ readonly metallicFactor: {
2482
+ readonly type: "number";
2483
+ readonly precision: 1;
2484
+ readonly default: number;
2485
+ };
2486
+ readonly roughnessFactor: {
2487
+ readonly type: "number";
2488
+ readonly precision: 1;
2489
+ readonly default: number;
2490
+ };
2491
+ readonly normalScale: {
2492
+ readonly type: "number";
2493
+ readonly precision: 1;
2494
+ readonly default: number;
2495
+ };
2496
+ readonly occlusionStrength: {
2497
+ readonly type: "number";
2498
+ readonly precision: 1;
2499
+ readonly default: number;
2500
+ };
2501
+ readonly irReflectance: {
2502
+ readonly type: "number";
2503
+ readonly precision: 1;
2504
+ readonly default: number;
2505
+ };
2506
+ readonly irEmission: {
2507
+ readonly type: "number";
2508
+ readonly precision: 1;
2509
+ readonly default: number;
2510
+ };
2511
+ readonly emissionMode: {
2512
+ readonly type: "integer";
2513
+ readonly minimum: 0;
2514
+ readonly maximum: 4294967295;
2515
+ readonly default: number;
2516
+ };
2517
+ readonly baseColorUrl: {
2518
+ readonly type: "string";
2519
+ };
2520
+ readonly metallicRoughnessUrl: {
2521
+ readonly type: "string";
2522
+ };
2523
+ readonly normalUrl: {
2524
+ readonly type: "string";
2525
+ };
2526
+ readonly occlusionUrl: {
2527
+ readonly type: "string";
2528
+ };
2529
+ readonly emissiveUrl: {
2530
+ readonly type: "string";
2531
+ };
2532
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
2533
+ 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"];
2534
+ }, {
2535
+ readonly materialByName: {
2536
+ readonly key: "name";
2537
+ readonly unique: true;
2538
+ readonly archetype: "Material";
2539
+ };
2540
+ }, never>) => void;
2541
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
2542
+ readonly materialByName: {
2543
+ readonly key: "name";
2544
+ readonly unique: true;
2545
+ readonly archetype: "Material";
2546
+ };
2547
+ }, never>, args: {
2548
+ ray: {
2549
+ readonly a: readonly [number, number, number];
2550
+ readonly b: readonly [number, number, number];
2551
+ };
2552
+ radius?: number;
2553
+ }) => import("../../physics/physics-hit.js").PhysicsHit | null;
2554
+ readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
2555
+ readonly bodyType: {
2556
+ readonly type: "string";
2557
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
2558
+ };
2559
+ readonly colliderShape: {
2560
+ readonly type: "string";
2561
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
2562
+ };
2563
+ readonly halfExtents: {
2564
+ readonly type: "array";
2565
+ readonly items: {
2566
+ readonly type: "number";
2567
+ readonly precision: 1;
2568
+ readonly default: number;
2569
+ };
2570
+ readonly minItems: 3;
2571
+ readonly maxItems: 3;
2572
+ readonly default: readonly [0, 0, 0];
2573
+ };
2574
+ readonly position: {
2575
+ readonly type: "array";
2576
+ readonly items: {
2577
+ readonly type: "number";
2578
+ readonly precision: 1;
2579
+ readonly default: number;
2580
+ };
2581
+ readonly minItems: 3;
2582
+ readonly maxItems: 3;
2583
+ readonly default: readonly [0, 0, 0];
2584
+ };
2585
+ readonly rotation: {
2586
+ readonly type: "array";
2587
+ readonly items: {
2588
+ readonly type: "number";
2589
+ readonly precision: 1;
2590
+ readonly default: number;
2591
+ };
2592
+ readonly minItems: 4;
2593
+ readonly maxItems: 4;
2594
+ readonly default: readonly [0, 0, 0, 1];
2595
+ readonly interpolators: {
2596
+ readonly linear: (q1: any, q2: any, t: number) => any;
2597
+ };
2598
+ };
2599
+ readonly linearVelocity: {
2600
+ readonly type: "array";
2601
+ readonly items: {
2602
+ readonly type: "number";
2603
+ readonly precision: 1;
2604
+ readonly default: number;
2605
+ };
2606
+ readonly minItems: 3;
2607
+ readonly maxItems: 3;
2608
+ readonly default: readonly [0, 0, 0];
2609
+ };
2610
+ readonly angularVelocity: {
2611
+ readonly type: "array";
2612
+ readonly items: {
2613
+ readonly type: "number";
2614
+ readonly precision: 1;
2615
+ readonly default: number;
2616
+ };
2617
+ readonly minItems: 3;
2618
+ readonly maxItems: 3;
2619
+ readonly default: readonly [0, 0, 0];
2620
+ };
2621
+ readonly _prevPosition: {
2622
+ readonly nonPersistent: true;
2623
+ readonly type: "array";
2624
+ readonly items: {
2625
+ readonly type: "number";
2626
+ readonly precision: 1;
2627
+ readonly default: number;
2628
+ };
2629
+ readonly minItems: 3;
2630
+ readonly maxItems: 3;
2631
+ readonly default: readonly [0, 0, 0];
2632
+ };
2633
+ readonly _prevRotation: {
2634
+ readonly nonPersistent: true;
2635
+ readonly type: "array";
2636
+ readonly items: {
2637
+ readonly type: "number";
2638
+ readonly precision: 1;
2639
+ readonly default: number;
2640
+ };
2641
+ readonly minItems: 4;
2642
+ readonly maxItems: 4;
2643
+ readonly default: readonly [0, 0, 0, 1];
2644
+ readonly interpolators: {
2645
+ readonly linear: (q1: any, q2: any, t: number) => any;
2646
+ };
2647
+ };
2648
+ readonly collisionGroup: {
2649
+ readonly type: "number";
2650
+ readonly precision: 1;
2651
+ readonly default: number;
2652
+ };
2653
+ readonly convexPoints: {
2654
+ readonly default: Float32Array | null;
2655
+ };
2656
+ readonly colliderMesh: {
2657
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
2658
+ };
2659
+ } & {
2660
+ readonly material: {
2661
+ readonly type: "integer";
2662
+ readonly minimum: -2147483648;
2663
+ readonly maximum: 2147483647;
2664
+ readonly default: number;
2665
+ };
2666
+ readonly name: {
2667
+ readonly type: "string";
2668
+ };
2669
+ readonly density: {
2670
+ readonly type: "number";
2671
+ readonly precision: 1;
2672
+ readonly default: number;
2673
+ };
2674
+ readonly restitution: {
2675
+ readonly type: "number";
2676
+ readonly precision: 1;
2677
+ readonly default: number;
2678
+ };
2679
+ readonly friction: {
2680
+ readonly type: "number";
2681
+ readonly precision: 1;
2682
+ readonly default: number;
2683
+ };
2684
+ readonly compliance: {
2685
+ readonly type: "number";
2686
+ readonly precision: 1;
2687
+ readonly default: number;
2688
+ };
2689
+ readonly heatCapacity: {
2690
+ readonly type: "number";
2691
+ readonly precision: 1;
2692
+ readonly default: number;
2693
+ };
2694
+ readonly viscosity: {
2695
+ readonly type: "number";
2696
+ readonly precision: 1;
2697
+ readonly default: number;
2698
+ };
2699
+ readonly thermalConductivity: {
2700
+ readonly type: "number";
2701
+ readonly precision: 1;
2702
+ readonly default: number;
2703
+ };
2704
+ readonly stressStrainCurve: {
2705
+ readonly type: "object";
2706
+ readonly layout: "packed";
2707
+ readonly properties: {
2708
+ readonly tensileYieldStrainStress: {
2709
+ readonly type: "array";
2710
+ readonly items: {
2711
+ readonly type: "number";
2712
+ readonly precision: 1;
2713
+ readonly default: number;
2714
+ };
2715
+ readonly minItems: 2;
2716
+ readonly maxItems: 2;
2717
+ readonly default: readonly [0, 0];
2718
+ };
2719
+ readonly tensileFractureStrainStress: {
2720
+ readonly type: "array";
2721
+ readonly items: {
2722
+ readonly type: "number";
2723
+ readonly precision: 1;
2724
+ readonly default: number;
2725
+ };
2726
+ readonly minItems: 2;
2727
+ readonly maxItems: 2;
2728
+ readonly default: readonly [0, 0];
2729
+ };
2730
+ readonly compressiveYieldStrainStress: {
2731
+ readonly type: "array";
2732
+ readonly items: {
2733
+ readonly type: "number";
2734
+ readonly precision: 1;
2735
+ readonly default: number;
2736
+ };
2737
+ readonly minItems: 2;
2738
+ readonly maxItems: 2;
2739
+ readonly default: readonly [0, 0];
2740
+ };
2741
+ readonly compressiveFractureStrainStress: {
2742
+ readonly type: "array";
2743
+ readonly items: {
2744
+ readonly type: "number";
2745
+ readonly precision: 1;
2746
+ readonly default: number;
2747
+ };
2748
+ readonly minItems: 2;
2749
+ readonly maxItems: 2;
2750
+ readonly default: readonly [0, 0];
2751
+ };
2752
+ };
2753
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2754
+ };
2755
+ readonly baseColorFactor: {
2756
+ readonly type: "array";
2757
+ readonly items: {
2758
+ readonly type: "number";
2759
+ readonly precision: 1;
2760
+ readonly default: number;
2761
+ };
2762
+ readonly minItems: 4;
2763
+ readonly maxItems: 4;
2764
+ readonly default: readonly [0, 0, 0, 0];
2765
+ };
2766
+ readonly emissiveFactor: {
2767
+ readonly type: "array";
2768
+ readonly items: {
2769
+ readonly type: "number";
2770
+ readonly precision: 1;
2771
+ readonly default: number;
2772
+ };
2773
+ readonly minItems: 3;
2774
+ readonly maxItems: 3;
2775
+ readonly default: readonly [0, 0, 0];
2776
+ };
2777
+ readonly metallicFactor: {
2778
+ readonly type: "number";
2779
+ readonly precision: 1;
2780
+ readonly default: number;
2781
+ };
2782
+ readonly roughnessFactor: {
2783
+ readonly type: "number";
2784
+ readonly precision: 1;
2785
+ readonly default: number;
2786
+ };
2787
+ readonly normalScale: {
2788
+ readonly type: "number";
2789
+ readonly precision: 1;
2790
+ readonly default: number;
2791
+ };
2792
+ readonly occlusionStrength: {
2793
+ readonly type: "number";
2794
+ readonly precision: 1;
2795
+ readonly default: number;
2796
+ };
2797
+ readonly irReflectance: {
2798
+ readonly type: "number";
2799
+ readonly precision: 1;
2800
+ readonly default: number;
2801
+ };
2802
+ readonly irEmission: {
2803
+ readonly type: "number";
2804
+ readonly precision: 1;
2805
+ readonly default: number;
2806
+ };
2807
+ readonly emissionMode: {
2808
+ readonly type: "integer";
2809
+ readonly minimum: 0;
2810
+ readonly maximum: 4294967295;
2811
+ readonly default: number;
2812
+ };
2813
+ readonly baseColorUrl: {
2814
+ readonly type: "string";
2815
+ };
2816
+ readonly metallicRoughnessUrl: {
2817
+ readonly type: "string";
2818
+ };
2819
+ readonly normalUrl: {
2820
+ readonly type: "string";
2821
+ };
2822
+ readonly occlusionUrl: {
2823
+ readonly type: "string";
2824
+ };
2825
+ readonly emissiveUrl: {
2826
+ readonly type: "string";
2827
+ };
2828
+ }>, import("@adobe/data/schema").FromSchemas<{
2829
+ readonly physicsQuery: {
2830
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
2831
+ readonly nonPersistent: true;
2832
+ };
2833
+ } & {}>, {
2834
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
2835
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
2836
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
2837
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
2838
+ } & {
2839
+ 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"];
2840
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
2841
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
2842
+ readonly material: {
2843
+ readonly type: "integer";
2844
+ readonly minimum: -2147483648;
2845
+ readonly maximum: 2147483647;
2846
+ readonly default: number;
2847
+ };
2848
+ readonly name: {
2849
+ readonly type: "string";
2850
+ };
2851
+ readonly density: {
2852
+ readonly type: "number";
2853
+ readonly precision: 1;
2854
+ readonly default: number;
2855
+ };
2856
+ readonly restitution: {
2857
+ readonly type: "number";
2858
+ readonly precision: 1;
2859
+ readonly default: number;
2860
+ };
2861
+ readonly friction: {
2862
+ readonly type: "number";
2863
+ readonly precision: 1;
2864
+ readonly default: number;
2865
+ };
2866
+ readonly compliance: {
2867
+ readonly type: "number";
2868
+ readonly precision: 1;
2869
+ readonly default: number;
2870
+ };
2871
+ readonly heatCapacity: {
2872
+ readonly type: "number";
2873
+ readonly precision: 1;
2874
+ readonly default: number;
2875
+ };
2876
+ readonly viscosity: {
2877
+ readonly type: "number";
2878
+ readonly precision: 1;
2879
+ readonly default: number;
2880
+ };
2881
+ readonly thermalConductivity: {
2882
+ readonly type: "number";
2883
+ readonly precision: 1;
2884
+ readonly default: number;
2885
+ };
2886
+ readonly stressStrainCurve: {
2887
+ readonly type: "object";
2888
+ readonly layout: "packed";
2889
+ readonly properties: {
2890
+ readonly tensileYieldStrainStress: {
2891
+ readonly type: "array";
2892
+ readonly items: {
2893
+ readonly type: "number";
2894
+ readonly precision: 1;
2895
+ readonly default: number;
2896
+ };
2897
+ readonly minItems: 2;
2898
+ readonly maxItems: 2;
2899
+ readonly default: readonly [0, 0];
2900
+ };
2901
+ readonly tensileFractureStrainStress: {
2902
+ readonly type: "array";
2903
+ readonly items: {
2904
+ readonly type: "number";
2905
+ readonly precision: 1;
2906
+ readonly default: number;
2907
+ };
2908
+ readonly minItems: 2;
2909
+ readonly maxItems: 2;
2910
+ readonly default: readonly [0, 0];
2911
+ };
2912
+ readonly compressiveYieldStrainStress: {
2913
+ readonly type: "array";
2914
+ readonly items: {
2915
+ readonly type: "number";
2916
+ readonly precision: 1;
2917
+ readonly default: number;
2918
+ };
2919
+ readonly minItems: 2;
2920
+ readonly maxItems: 2;
2921
+ readonly default: readonly [0, 0];
2922
+ };
2923
+ readonly compressiveFractureStrainStress: {
2924
+ readonly type: "array";
2925
+ readonly items: {
2926
+ readonly type: "number";
2927
+ readonly precision: 1;
2928
+ readonly default: number;
2929
+ };
2930
+ readonly minItems: 2;
2931
+ readonly maxItems: 2;
2932
+ readonly default: readonly [0, 0];
2933
+ };
2934
+ };
2935
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
2936
+ };
2937
+ readonly baseColorFactor: {
2938
+ readonly type: "array";
2939
+ readonly items: {
2940
+ readonly type: "number";
2941
+ readonly precision: 1;
2942
+ readonly default: number;
2943
+ };
2944
+ readonly minItems: 4;
2945
+ readonly maxItems: 4;
2946
+ readonly default: readonly [0, 0, 0, 0];
2947
+ };
2948
+ readonly emissiveFactor: {
2949
+ readonly type: "array";
2950
+ readonly items: {
2951
+ readonly type: "number";
2952
+ readonly precision: 1;
2953
+ readonly default: number;
2954
+ };
2955
+ readonly minItems: 3;
2956
+ readonly maxItems: 3;
2957
+ readonly default: readonly [0, 0, 0];
2958
+ };
2959
+ readonly metallicFactor: {
2960
+ readonly type: "number";
2961
+ readonly precision: 1;
2962
+ readonly default: number;
2963
+ };
2964
+ readonly roughnessFactor: {
2965
+ readonly type: "number";
2966
+ readonly precision: 1;
2967
+ readonly default: number;
2968
+ };
2969
+ readonly normalScale: {
2970
+ readonly type: "number";
2971
+ readonly precision: 1;
2972
+ readonly default: number;
2973
+ };
2974
+ readonly occlusionStrength: {
2975
+ readonly type: "number";
2976
+ readonly precision: 1;
2977
+ readonly default: number;
2978
+ };
2979
+ readonly irReflectance: {
2980
+ readonly type: "number";
2981
+ readonly precision: 1;
2982
+ readonly default: number;
2983
+ };
2984
+ readonly irEmission: {
2985
+ readonly type: "number";
2986
+ readonly precision: 1;
2987
+ readonly default: number;
2988
+ };
2989
+ readonly emissionMode: {
2990
+ readonly type: "integer";
2991
+ readonly minimum: 0;
2992
+ readonly maximum: 4294967295;
2993
+ readonly default: number;
2994
+ };
2995
+ readonly baseColorUrl: {
2996
+ readonly type: "string";
2997
+ };
2998
+ readonly metallicRoughnessUrl: {
2999
+ readonly type: "string";
3000
+ };
3001
+ readonly normalUrl: {
3002
+ readonly type: "string";
3003
+ };
3004
+ readonly occlusionUrl: {
3005
+ readonly type: "string";
3006
+ };
3007
+ readonly emissiveUrl: {
3008
+ readonly type: "string";
3009
+ };
3010
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3011
+ 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"];
3012
+ }, {
3013
+ readonly materialByName: {
3014
+ readonly key: "name";
3015
+ readonly unique: true;
3016
+ readonly archetype: "Material";
3017
+ };
3018
+ }, never>, row: import("../../material/public.js")) => number;
3019
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3020
+ readonly material: {
3021
+ readonly type: "integer";
3022
+ readonly minimum: -2147483648;
3023
+ readonly maximum: 2147483647;
3024
+ readonly default: number;
3025
+ };
3026
+ readonly name: {
3027
+ readonly type: "string";
3028
+ };
3029
+ readonly density: {
3030
+ readonly type: "number";
3031
+ readonly precision: 1;
3032
+ readonly default: number;
3033
+ };
3034
+ readonly restitution: {
3035
+ readonly type: "number";
3036
+ readonly precision: 1;
3037
+ readonly default: number;
3038
+ };
3039
+ readonly friction: {
3040
+ readonly type: "number";
3041
+ readonly precision: 1;
3042
+ readonly default: number;
3043
+ };
3044
+ readonly compliance: {
3045
+ readonly type: "number";
3046
+ readonly precision: 1;
3047
+ readonly default: number;
3048
+ };
3049
+ readonly heatCapacity: {
3050
+ readonly type: "number";
3051
+ readonly precision: 1;
3052
+ readonly default: number;
3053
+ };
3054
+ readonly viscosity: {
3055
+ readonly type: "number";
3056
+ readonly precision: 1;
3057
+ readonly default: number;
3058
+ };
3059
+ readonly thermalConductivity: {
3060
+ readonly type: "number";
3061
+ readonly precision: 1;
3062
+ readonly default: number;
3063
+ };
3064
+ readonly stressStrainCurve: {
3065
+ readonly type: "object";
3066
+ readonly layout: "packed";
3067
+ readonly properties: {
3068
+ readonly tensileYieldStrainStress: {
3069
+ readonly type: "array";
3070
+ readonly items: {
3071
+ readonly type: "number";
3072
+ readonly precision: 1;
3073
+ readonly default: number;
3074
+ };
3075
+ readonly minItems: 2;
3076
+ readonly maxItems: 2;
3077
+ readonly default: readonly [0, 0];
3078
+ };
3079
+ readonly tensileFractureStrainStress: {
3080
+ readonly type: "array";
3081
+ readonly items: {
3082
+ readonly type: "number";
3083
+ readonly precision: 1;
3084
+ readonly default: number;
3085
+ };
3086
+ readonly minItems: 2;
3087
+ readonly maxItems: 2;
3088
+ readonly default: readonly [0, 0];
3089
+ };
3090
+ readonly compressiveYieldStrainStress: {
3091
+ readonly type: "array";
3092
+ readonly items: {
3093
+ readonly type: "number";
3094
+ readonly precision: 1;
3095
+ readonly default: number;
3096
+ };
3097
+ readonly minItems: 2;
3098
+ readonly maxItems: 2;
3099
+ readonly default: readonly [0, 0];
3100
+ };
3101
+ readonly compressiveFractureStrainStress: {
3102
+ readonly type: "array";
3103
+ readonly items: {
3104
+ readonly type: "number";
3105
+ readonly precision: 1;
3106
+ readonly default: number;
3107
+ };
3108
+ readonly minItems: 2;
3109
+ readonly maxItems: 2;
3110
+ readonly default: readonly [0, 0];
3111
+ };
3112
+ };
3113
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3114
+ };
3115
+ readonly baseColorFactor: {
3116
+ readonly type: "array";
3117
+ readonly items: {
3118
+ readonly type: "number";
3119
+ readonly precision: 1;
3120
+ readonly default: number;
3121
+ };
3122
+ readonly minItems: 4;
3123
+ readonly maxItems: 4;
3124
+ readonly default: readonly [0, 0, 0, 0];
3125
+ };
3126
+ readonly emissiveFactor: {
3127
+ readonly type: "array";
3128
+ readonly items: {
3129
+ readonly type: "number";
3130
+ readonly precision: 1;
3131
+ readonly default: number;
3132
+ };
3133
+ readonly minItems: 3;
3134
+ readonly maxItems: 3;
3135
+ readonly default: readonly [0, 0, 0];
3136
+ };
3137
+ readonly metallicFactor: {
3138
+ readonly type: "number";
3139
+ readonly precision: 1;
3140
+ readonly default: number;
3141
+ };
3142
+ readonly roughnessFactor: {
3143
+ readonly type: "number";
3144
+ readonly precision: 1;
3145
+ readonly default: number;
3146
+ };
3147
+ readonly normalScale: {
3148
+ readonly type: "number";
3149
+ readonly precision: 1;
3150
+ readonly default: number;
3151
+ };
3152
+ readonly occlusionStrength: {
3153
+ readonly type: "number";
3154
+ readonly precision: 1;
3155
+ readonly default: number;
3156
+ };
3157
+ readonly irReflectance: {
3158
+ readonly type: "number";
3159
+ readonly precision: 1;
3160
+ readonly default: number;
3161
+ };
3162
+ readonly irEmission: {
3163
+ readonly type: "number";
3164
+ readonly precision: 1;
3165
+ readonly default: number;
3166
+ };
3167
+ readonly emissionMode: {
3168
+ readonly type: "integer";
3169
+ readonly minimum: 0;
3170
+ readonly maximum: 4294967295;
3171
+ readonly default: number;
3172
+ };
3173
+ readonly baseColorUrl: {
3174
+ readonly type: "string";
3175
+ };
3176
+ readonly metallicRoughnessUrl: {
3177
+ readonly type: "string";
3178
+ };
3179
+ readonly normalUrl: {
3180
+ readonly type: "string";
3181
+ };
3182
+ readonly occlusionUrl: {
3183
+ readonly type: "string";
3184
+ };
3185
+ readonly emissiveUrl: {
3186
+ readonly type: "string";
3187
+ };
3188
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3189
+ 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"];
3190
+ }, {
3191
+ readonly materialByName: {
3192
+ readonly key: "name";
3193
+ readonly unique: true;
3194
+ readonly archetype: "Material";
3195
+ };
3196
+ }, never>, args: {
3197
+ name: string;
3198
+ definition: import("../../material/material-definition.js").MaterialDefinition;
3199
+ }) => number;
3200
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3201
+ readonly material: {
3202
+ readonly type: "integer";
3203
+ readonly minimum: -2147483648;
3204
+ readonly maximum: 2147483647;
3205
+ readonly default: number;
3206
+ };
3207
+ readonly name: {
3208
+ readonly type: "string";
3209
+ };
3210
+ readonly density: {
3211
+ readonly type: "number";
3212
+ readonly precision: 1;
3213
+ readonly default: number;
3214
+ };
3215
+ readonly restitution: {
3216
+ readonly type: "number";
3217
+ readonly precision: 1;
3218
+ readonly default: number;
3219
+ };
3220
+ readonly friction: {
3221
+ readonly type: "number";
3222
+ readonly precision: 1;
3223
+ readonly default: number;
3224
+ };
3225
+ readonly compliance: {
3226
+ readonly type: "number";
3227
+ readonly precision: 1;
3228
+ readonly default: number;
3229
+ };
3230
+ readonly heatCapacity: {
3231
+ readonly type: "number";
3232
+ readonly precision: 1;
3233
+ readonly default: number;
3234
+ };
3235
+ readonly viscosity: {
3236
+ readonly type: "number";
3237
+ readonly precision: 1;
3238
+ readonly default: number;
3239
+ };
3240
+ readonly thermalConductivity: {
3241
+ readonly type: "number";
3242
+ readonly precision: 1;
3243
+ readonly default: number;
3244
+ };
3245
+ readonly stressStrainCurve: {
3246
+ readonly type: "object";
3247
+ readonly layout: "packed";
3248
+ readonly properties: {
3249
+ readonly tensileYieldStrainStress: {
3250
+ readonly type: "array";
3251
+ readonly items: {
3252
+ readonly type: "number";
3253
+ readonly precision: 1;
3254
+ readonly default: number;
3255
+ };
3256
+ readonly minItems: 2;
3257
+ readonly maxItems: 2;
3258
+ readonly default: readonly [0, 0];
3259
+ };
3260
+ readonly tensileFractureStrainStress: {
3261
+ readonly type: "array";
3262
+ readonly items: {
3263
+ readonly type: "number";
3264
+ readonly precision: 1;
3265
+ readonly default: number;
3266
+ };
3267
+ readonly minItems: 2;
3268
+ readonly maxItems: 2;
3269
+ readonly default: readonly [0, 0];
3270
+ };
3271
+ readonly compressiveYieldStrainStress: {
3272
+ readonly type: "array";
3273
+ readonly items: {
3274
+ readonly type: "number";
3275
+ readonly precision: 1;
3276
+ readonly default: number;
3277
+ };
3278
+ readonly minItems: 2;
3279
+ readonly maxItems: 2;
3280
+ readonly default: readonly [0, 0];
3281
+ };
3282
+ readonly compressiveFractureStrainStress: {
3283
+ readonly type: "array";
3284
+ readonly items: {
3285
+ readonly type: "number";
3286
+ readonly precision: 1;
3287
+ readonly default: number;
3288
+ };
3289
+ readonly minItems: 2;
3290
+ readonly maxItems: 2;
3291
+ readonly default: readonly [0, 0];
3292
+ };
3293
+ };
3294
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3295
+ };
3296
+ readonly baseColorFactor: {
3297
+ readonly type: "array";
3298
+ readonly items: {
3299
+ readonly type: "number";
3300
+ readonly precision: 1;
3301
+ readonly default: number;
3302
+ };
3303
+ readonly minItems: 4;
3304
+ readonly maxItems: 4;
3305
+ readonly default: readonly [0, 0, 0, 0];
3306
+ };
3307
+ readonly emissiveFactor: {
3308
+ readonly type: "array";
3309
+ readonly items: {
3310
+ readonly type: "number";
3311
+ readonly precision: 1;
3312
+ readonly default: number;
3313
+ };
3314
+ readonly minItems: 3;
3315
+ readonly maxItems: 3;
3316
+ readonly default: readonly [0, 0, 0];
3317
+ };
3318
+ readonly metallicFactor: {
3319
+ readonly type: "number";
3320
+ readonly precision: 1;
3321
+ readonly default: number;
3322
+ };
3323
+ readonly roughnessFactor: {
3324
+ readonly type: "number";
3325
+ readonly precision: 1;
3326
+ readonly default: number;
3327
+ };
3328
+ readonly normalScale: {
3329
+ readonly type: "number";
3330
+ readonly precision: 1;
3331
+ readonly default: number;
3332
+ };
3333
+ readonly occlusionStrength: {
3334
+ readonly type: "number";
3335
+ readonly precision: 1;
3336
+ readonly default: number;
3337
+ };
3338
+ readonly irReflectance: {
3339
+ readonly type: "number";
3340
+ readonly precision: 1;
3341
+ readonly default: number;
3342
+ };
3343
+ readonly irEmission: {
3344
+ readonly type: "number";
3345
+ readonly precision: 1;
3346
+ readonly default: number;
3347
+ };
3348
+ readonly emissionMode: {
3349
+ readonly type: "integer";
3350
+ readonly minimum: 0;
3351
+ readonly maximum: 4294967295;
3352
+ readonly default: number;
3353
+ };
3354
+ readonly baseColorUrl: {
3355
+ readonly type: "string";
3356
+ };
3357
+ readonly metallicRoughnessUrl: {
3358
+ readonly type: "string";
3359
+ };
3360
+ readonly normalUrl: {
3361
+ readonly type: "string";
3362
+ };
3363
+ readonly occlusionUrl: {
3364
+ readonly type: "string";
3365
+ };
3366
+ readonly emissiveUrl: {
3367
+ readonly type: "string";
3368
+ };
3369
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3370
+ 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"];
3371
+ }, {
3372
+ readonly materialByName: {
3373
+ readonly key: "name";
3374
+ readonly unique: true;
3375
+ readonly archetype: "Material";
3376
+ };
3377
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
3378
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3379
+ readonly material: {
3380
+ readonly type: "integer";
3381
+ readonly minimum: -2147483648;
3382
+ readonly maximum: 2147483647;
3383
+ readonly default: number;
3384
+ };
3385
+ readonly name: {
3386
+ readonly type: "string";
3387
+ };
3388
+ readonly density: {
3389
+ readonly type: "number";
3390
+ readonly precision: 1;
3391
+ readonly default: number;
3392
+ };
3393
+ readonly restitution: {
3394
+ readonly type: "number";
3395
+ readonly precision: 1;
3396
+ readonly default: number;
3397
+ };
3398
+ readonly friction: {
3399
+ readonly type: "number";
3400
+ readonly precision: 1;
3401
+ readonly default: number;
3402
+ };
3403
+ readonly compliance: {
3404
+ readonly type: "number";
3405
+ readonly precision: 1;
3406
+ readonly default: number;
3407
+ };
3408
+ readonly heatCapacity: {
3409
+ readonly type: "number";
3410
+ readonly precision: 1;
3411
+ readonly default: number;
3412
+ };
3413
+ readonly viscosity: {
3414
+ readonly type: "number";
3415
+ readonly precision: 1;
3416
+ readonly default: number;
3417
+ };
3418
+ readonly thermalConductivity: {
3419
+ readonly type: "number";
3420
+ readonly precision: 1;
3421
+ readonly default: number;
3422
+ };
3423
+ readonly stressStrainCurve: {
3424
+ readonly type: "object";
3425
+ readonly layout: "packed";
3426
+ readonly properties: {
3427
+ readonly tensileYieldStrainStress: {
3428
+ readonly type: "array";
3429
+ readonly items: {
3430
+ readonly type: "number";
3431
+ readonly precision: 1;
3432
+ readonly default: number;
3433
+ };
3434
+ readonly minItems: 2;
3435
+ readonly maxItems: 2;
3436
+ readonly default: readonly [0, 0];
3437
+ };
3438
+ readonly tensileFractureStrainStress: {
3439
+ readonly type: "array";
3440
+ readonly items: {
3441
+ readonly type: "number";
3442
+ readonly precision: 1;
3443
+ readonly default: number;
3444
+ };
3445
+ readonly minItems: 2;
3446
+ readonly maxItems: 2;
3447
+ readonly default: readonly [0, 0];
3448
+ };
3449
+ readonly compressiveYieldStrainStress: {
3450
+ readonly type: "array";
3451
+ readonly items: {
3452
+ readonly type: "number";
3453
+ readonly precision: 1;
3454
+ readonly default: number;
3455
+ };
3456
+ readonly minItems: 2;
3457
+ readonly maxItems: 2;
3458
+ readonly default: readonly [0, 0];
3459
+ };
3460
+ readonly compressiveFractureStrainStress: {
3461
+ readonly type: "array";
3462
+ readonly items: {
3463
+ readonly type: "number";
3464
+ readonly precision: 1;
3465
+ readonly default: number;
3466
+ };
3467
+ readonly minItems: 2;
3468
+ readonly maxItems: 2;
3469
+ readonly default: readonly [0, 0];
3470
+ };
3471
+ };
3472
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3473
+ };
3474
+ readonly baseColorFactor: {
3475
+ readonly type: "array";
3476
+ readonly items: {
3477
+ readonly type: "number";
3478
+ readonly precision: 1;
3479
+ readonly default: number;
3480
+ };
3481
+ readonly minItems: 4;
3482
+ readonly maxItems: 4;
3483
+ readonly default: readonly [0, 0, 0, 0];
3484
+ };
3485
+ readonly emissiveFactor: {
3486
+ readonly type: "array";
3487
+ readonly items: {
3488
+ readonly type: "number";
3489
+ readonly precision: 1;
3490
+ readonly default: number;
3491
+ };
3492
+ readonly minItems: 3;
3493
+ readonly maxItems: 3;
3494
+ readonly default: readonly [0, 0, 0];
3495
+ };
3496
+ readonly metallicFactor: {
3497
+ readonly type: "number";
3498
+ readonly precision: 1;
3499
+ readonly default: number;
3500
+ };
3501
+ readonly roughnessFactor: {
3502
+ readonly type: "number";
3503
+ readonly precision: 1;
3504
+ readonly default: number;
3505
+ };
3506
+ readonly normalScale: {
3507
+ readonly type: "number";
3508
+ readonly precision: 1;
3509
+ readonly default: number;
3510
+ };
3511
+ readonly occlusionStrength: {
3512
+ readonly type: "number";
3513
+ readonly precision: 1;
3514
+ readonly default: number;
3515
+ };
3516
+ readonly irReflectance: {
3517
+ readonly type: "number";
3518
+ readonly precision: 1;
3519
+ readonly default: number;
3520
+ };
3521
+ readonly irEmission: {
3522
+ readonly type: "number";
3523
+ readonly precision: 1;
3524
+ readonly default: number;
3525
+ };
3526
+ readonly emissionMode: {
3527
+ readonly type: "integer";
3528
+ readonly minimum: 0;
3529
+ readonly maximum: 4294967295;
3530
+ readonly default: number;
3531
+ };
3532
+ readonly baseColorUrl: {
3533
+ readonly type: "string";
3534
+ };
3535
+ readonly metallicRoughnessUrl: {
3536
+ readonly type: "string";
3537
+ };
3538
+ readonly normalUrl: {
3539
+ readonly type: "string";
3540
+ };
3541
+ readonly occlusionUrl: {
3542
+ readonly type: "string";
3543
+ };
3544
+ readonly emissiveUrl: {
3545
+ readonly type: "string";
3546
+ };
3547
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3548
+ 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"];
3549
+ }, {
3550
+ readonly materialByName: {
3551
+ readonly key: "name";
3552
+ readonly unique: true;
3553
+ readonly archetype: "Material";
3554
+ };
3555
+ }, never>) => void;
3556
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3557
+ readonly material: {
3558
+ readonly type: "integer";
3559
+ readonly minimum: -2147483648;
3560
+ readonly maximum: 2147483647;
3561
+ readonly default: number;
3562
+ };
3563
+ readonly name: {
3564
+ readonly type: "string";
3565
+ };
3566
+ readonly density: {
3567
+ readonly type: "number";
3568
+ readonly precision: 1;
3569
+ readonly default: number;
3570
+ };
3571
+ readonly restitution: {
3572
+ readonly type: "number";
3573
+ readonly precision: 1;
3574
+ readonly default: number;
3575
+ };
3576
+ readonly friction: {
3577
+ readonly type: "number";
3578
+ readonly precision: 1;
3579
+ readonly default: number;
3580
+ };
3581
+ readonly compliance: {
3582
+ readonly type: "number";
3583
+ readonly precision: 1;
3584
+ readonly default: number;
3585
+ };
3586
+ readonly heatCapacity: {
3587
+ readonly type: "number";
3588
+ readonly precision: 1;
3589
+ readonly default: number;
3590
+ };
3591
+ readonly viscosity: {
3592
+ readonly type: "number";
3593
+ readonly precision: 1;
3594
+ readonly default: number;
3595
+ };
3596
+ readonly thermalConductivity: {
3597
+ readonly type: "number";
3598
+ readonly precision: 1;
3599
+ readonly default: number;
3600
+ };
3601
+ readonly stressStrainCurve: {
3602
+ readonly type: "object";
3603
+ readonly layout: "packed";
3604
+ readonly properties: {
3605
+ readonly tensileYieldStrainStress: {
3606
+ readonly type: "array";
3607
+ readonly items: {
3608
+ readonly type: "number";
3609
+ readonly precision: 1;
3610
+ readonly default: number;
3611
+ };
3612
+ readonly minItems: 2;
3613
+ readonly maxItems: 2;
3614
+ readonly default: readonly [0, 0];
3615
+ };
3616
+ readonly tensileFractureStrainStress: {
3617
+ readonly type: "array";
3618
+ readonly items: {
3619
+ readonly type: "number";
3620
+ readonly precision: 1;
3621
+ readonly default: number;
3622
+ };
3623
+ readonly minItems: 2;
3624
+ readonly maxItems: 2;
3625
+ readonly default: readonly [0, 0];
3626
+ };
3627
+ readonly compressiveYieldStrainStress: {
3628
+ readonly type: "array";
3629
+ readonly items: {
3630
+ readonly type: "number";
3631
+ readonly precision: 1;
3632
+ readonly default: number;
3633
+ };
3634
+ readonly minItems: 2;
3635
+ readonly maxItems: 2;
3636
+ readonly default: readonly [0, 0];
3637
+ };
3638
+ readonly compressiveFractureStrainStress: {
3639
+ readonly type: "array";
3640
+ readonly items: {
3641
+ readonly type: "number";
3642
+ readonly precision: 1;
3643
+ readonly default: number;
3644
+ };
3645
+ readonly minItems: 2;
3646
+ readonly maxItems: 2;
3647
+ readonly default: readonly [0, 0];
3648
+ };
3649
+ };
3650
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
3651
+ };
3652
+ readonly baseColorFactor: {
3653
+ readonly type: "array";
3654
+ readonly items: {
3655
+ readonly type: "number";
3656
+ readonly precision: 1;
3657
+ readonly default: number;
3658
+ };
3659
+ readonly minItems: 4;
3660
+ readonly maxItems: 4;
3661
+ readonly default: readonly [0, 0, 0, 0];
3662
+ };
3663
+ readonly emissiveFactor: {
3664
+ readonly type: "array";
3665
+ readonly items: {
3666
+ readonly type: "number";
3667
+ readonly precision: 1;
3668
+ readonly default: number;
3669
+ };
3670
+ readonly minItems: 3;
3671
+ readonly maxItems: 3;
3672
+ readonly default: readonly [0, 0, 0];
3673
+ };
3674
+ readonly metallicFactor: {
3675
+ readonly type: "number";
3676
+ readonly precision: 1;
3677
+ readonly default: number;
3678
+ };
3679
+ readonly roughnessFactor: {
3680
+ readonly type: "number";
3681
+ readonly precision: 1;
3682
+ readonly default: number;
3683
+ };
3684
+ readonly normalScale: {
3685
+ readonly type: "number";
3686
+ readonly precision: 1;
3687
+ readonly default: number;
3688
+ };
3689
+ readonly occlusionStrength: {
3690
+ readonly type: "number";
3691
+ readonly precision: 1;
3692
+ readonly default: number;
3693
+ };
3694
+ readonly irReflectance: {
3695
+ readonly type: "number";
3696
+ readonly precision: 1;
3697
+ readonly default: number;
3698
+ };
3699
+ readonly irEmission: {
3700
+ readonly type: "number";
3701
+ readonly precision: 1;
3702
+ readonly default: number;
3703
+ };
3704
+ readonly emissionMode: {
3705
+ readonly type: "integer";
3706
+ readonly minimum: 0;
3707
+ readonly maximum: 4294967295;
3708
+ readonly default: number;
3709
+ };
3710
+ readonly baseColorUrl: {
3711
+ readonly type: "string";
3712
+ };
3713
+ readonly metallicRoughnessUrl: {
3714
+ readonly type: "string";
3715
+ };
3716
+ readonly normalUrl: {
3717
+ readonly type: "string";
3718
+ };
3719
+ readonly occlusionUrl: {
3720
+ readonly type: "string";
3721
+ };
3722
+ readonly emissiveUrl: {
3723
+ readonly type: "string";
3724
+ };
3725
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
3726
+ 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"];
3727
+ }, {
3728
+ readonly materialByName: {
3729
+ readonly key: "name";
3730
+ readonly unique: true;
3731
+ readonly archetype: "Material";
3732
+ };
3733
+ }, never>) => void;
3734
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
3735
+ readonly materialByName: {
3736
+ readonly key: "name";
3737
+ readonly unique: true;
3738
+ readonly archetype: "Material";
3739
+ };
3740
+ }, never>, args: {
3741
+ ray: {
3742
+ readonly a: readonly [number, number, number];
3743
+ readonly b: readonly [number, number, number];
3744
+ };
3745
+ visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
3746
+ radius?: number;
3747
+ }) => void;
3748
+ };
3749
+ readonly services: {};
3750
+ readonly computed: {};
3751
+ readonly indexes: {} & {
1363
3752
  readonly materialByName: {
1364
3753
  readonly key: "name";
1365
3754
  readonly unique: true;
1366
3755
  readonly archetype: "Material";
1367
3756
  };
1368
- } & {} & {};
3757
+ } & {} & {
3758
+ readonly nodeChildrenOf: {
3759
+ readonly key: "parent";
3760
+ readonly archetype: "Node";
3761
+ };
3762
+ } & {} & {} & {};
1369
3763
  };