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