@adobe/data-gpu 0.9.87 → 0.9.89

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