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