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