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