@adobe/data-gpu 0.9.86 → 0.9.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +2724 -331
- package/dist/graphics/rendering/interpolation-plugin.d.ts +2532 -138
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2398 -5
- package/dist/graphics/rendering/model-collider-plugin.d.ts +2675 -282
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2396 -3
- package/dist/physics/physics-data-plugin.d.ts +2398 -2
- package/dist/physics/physics-data-plugin.js +26 -0
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/physics-hit.d.ts +18 -0
- package/dist/physics/physics-hit.js +3 -0
- package/dist/physics/physics-hit.js.map +1 -0
- package/dist/physics/physics-query.d.ts +43 -0
- package/dist/physics/physics-query.js +3 -0
- package/dist/physics/physics-query.js.map +1 -0
- package/dist/physics/public.d.ts +2 -0
- package/dist/physics/public.js +2 -0
- package/dist/physics/public.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +2394 -4
- package/dist/physics/solvers/jolt-solver-plugin.js +149 -0
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/mutable-hit.d.ts +14 -0
- package/dist/physics/solvers/mutable-hit.js +3 -0
- package/dist/physics/solvers/mutable-hit.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
- package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
- package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +2394 -4
- package/dist/physics/solvers/rapier-solver-plugin.js +110 -1
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
- package/package.json +2 -2
- package/src/physics/README.md +15 -2
- package/src/physics/physics-data-plugin.ts +29 -1
- package/src/physics/physics-hit.ts +21 -0
- package/src/physics/physics-query.ts +42 -0
- package/src/physics/public.ts +2 -0
- package/src/physics/solvers/jolt-solver-plugin.ts +119 -0
- package/src/physics/solvers/mutable-hit.ts +18 -0
- package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
- package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
- package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
- package/src/physics/solvers/rapier-solver-plugin.ts +92 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,104 +1,10 @@
|
|
|
1
|
-
import { Entity } from "@adobe/data/ecs";
|
|
1
|
+
import { Database, Entity } from "@adobe/data/ecs";
|
|
2
2
|
import type { ColliderMesh } from "../../physics/body/collider-mesh.js";
|
|
3
3
|
/**
|
|
4
4
|
* modelCollider — auto-generates physics colliders from loaded mesh CPU data.
|
|
5
5
|
*/
|
|
6
6
|
export declare const modelCollider: {
|
|
7
|
-
readonly components: {
|
|
8
|
-
readonly visible: {
|
|
9
|
-
readonly type: "boolean";
|
|
10
|
-
readonly const: true;
|
|
11
|
-
readonly default: true;
|
|
12
|
-
};
|
|
13
|
-
readonly position: {
|
|
14
|
-
readonly type: "array";
|
|
15
|
-
readonly items: {
|
|
16
|
-
readonly type: "number";
|
|
17
|
-
readonly precision: 1;
|
|
18
|
-
readonly default: number;
|
|
19
|
-
};
|
|
20
|
-
readonly minItems: 3;
|
|
21
|
-
readonly maxItems: 3;
|
|
22
|
-
readonly default: readonly [0, 0, 0];
|
|
23
|
-
};
|
|
24
|
-
readonly rotation: {
|
|
25
|
-
readonly type: "array";
|
|
26
|
-
readonly items: {
|
|
27
|
-
readonly type: "number";
|
|
28
|
-
readonly precision: 1;
|
|
29
|
-
readonly default: number;
|
|
30
|
-
};
|
|
31
|
-
readonly minItems: 4;
|
|
32
|
-
readonly maxItems: 4;
|
|
33
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
34
|
-
readonly interpolators: {
|
|
35
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
readonly scale: {
|
|
39
|
-
readonly type: "array";
|
|
40
|
-
readonly items: {
|
|
41
|
-
readonly type: "number";
|
|
42
|
-
readonly precision: 1;
|
|
43
|
-
readonly default: number;
|
|
44
|
-
};
|
|
45
|
-
readonly minItems: 3;
|
|
46
|
-
readonly maxItems: 3;
|
|
47
|
-
readonly default: readonly [0, 0, 0];
|
|
48
|
-
};
|
|
49
|
-
readonly parent: {
|
|
50
|
-
readonly type: "integer";
|
|
51
|
-
readonly minimum: -2147483648;
|
|
52
|
-
readonly maximum: 2147483647;
|
|
53
|
-
readonly default: number;
|
|
54
|
-
};
|
|
55
|
-
readonly _worldMatrix: {
|
|
56
|
-
readonly nonPersistent: true;
|
|
57
|
-
readonly type: "array";
|
|
58
|
-
readonly items: {
|
|
59
|
-
readonly type: "number";
|
|
60
|
-
readonly precision: 1;
|
|
61
|
-
readonly default: number;
|
|
62
|
-
};
|
|
63
|
-
readonly minItems: 16;
|
|
64
|
-
readonly maxItems: 16;
|
|
65
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
66
|
-
};
|
|
67
|
-
readonly _worldBounds: {
|
|
68
|
-
readonly nonPersistent: true;
|
|
69
|
-
readonly type: "object";
|
|
70
|
-
readonly properties: {
|
|
71
|
-
readonly min: {
|
|
72
|
-
readonly type: "array";
|
|
73
|
-
readonly items: {
|
|
74
|
-
readonly type: "number";
|
|
75
|
-
readonly precision: 1;
|
|
76
|
-
readonly default: number;
|
|
77
|
-
};
|
|
78
|
-
readonly minItems: 3;
|
|
79
|
-
readonly maxItems: 3;
|
|
80
|
-
readonly default: readonly [0, 0, 0];
|
|
81
|
-
};
|
|
82
|
-
readonly max: {
|
|
83
|
-
readonly type: "array";
|
|
84
|
-
readonly items: {
|
|
85
|
-
readonly type: "number";
|
|
86
|
-
readonly precision: 1;
|
|
87
|
-
readonly default: number;
|
|
88
|
-
};
|
|
89
|
-
readonly minItems: 3;
|
|
90
|
-
readonly maxItems: 3;
|
|
91
|
-
readonly default: readonly [0, 0, 0];
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["min", "max"];
|
|
95
|
-
readonly additionalProperties: false;
|
|
96
|
-
readonly default: {
|
|
97
|
-
readonly min: readonly [0, 0, 0];
|
|
98
|
-
readonly max: readonly [0, 0, 0];
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
} & {
|
|
7
|
+
readonly components: {
|
|
102
8
|
readonly material: {
|
|
103
9
|
readonly type: "integer";
|
|
104
10
|
readonly minimum: -2147483648;
|
|
@@ -267,156 +173,6 @@ export declare const modelCollider: {
|
|
|
267
173
|
readonly emissiveUrl: {
|
|
268
174
|
readonly type: "string";
|
|
269
175
|
};
|
|
270
|
-
} & {
|
|
271
|
-
readonly mesh: {
|
|
272
|
-
readonly type: "integer";
|
|
273
|
-
readonly minimum: -2147483648;
|
|
274
|
-
readonly maximum: 2147483647;
|
|
275
|
-
readonly default: number;
|
|
276
|
-
};
|
|
277
|
-
readonly gltfUrl: {
|
|
278
|
-
readonly type: "string";
|
|
279
|
-
};
|
|
280
|
-
readonly shapeSpec: {
|
|
281
|
-
readonly default: import("../public.js").ShapeSpec | null;
|
|
282
|
-
};
|
|
283
|
-
readonly voxelVolumeSize: {
|
|
284
|
-
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
285
|
-
};
|
|
286
|
-
readonly localBounds: {
|
|
287
|
-
readonly default: {
|
|
288
|
-
readonly min: readonly [number, number, number];
|
|
289
|
-
readonly max: readonly [number, number, number];
|
|
290
|
-
} | null;
|
|
291
|
-
};
|
|
292
|
-
readonly skinJointTemplate: {
|
|
293
|
-
readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
294
|
-
};
|
|
295
|
-
readonly skinInverseBindMatrices: {
|
|
296
|
-
readonly default: Float32Array | null;
|
|
297
|
-
};
|
|
298
|
-
readonly animationClipRefs: {
|
|
299
|
-
readonly default: number[];
|
|
300
|
-
};
|
|
301
|
-
readonly cpuCollisionPositions: {
|
|
302
|
-
readonly default: Float32Array | null;
|
|
303
|
-
};
|
|
304
|
-
readonly cpuCollisionIndices: {
|
|
305
|
-
readonly default: Uint32Array | null;
|
|
306
|
-
};
|
|
307
|
-
readonly cpuSkin: {
|
|
308
|
-
readonly default: {
|
|
309
|
-
positions: Float32Array;
|
|
310
|
-
joints: Uint32Array;
|
|
311
|
-
weights: Float32Array;
|
|
312
|
-
} | null;
|
|
313
|
-
};
|
|
314
|
-
} & {
|
|
315
|
-
readonly animationClipTracks: {
|
|
316
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
317
|
-
};
|
|
318
|
-
readonly animationClipDuration: {
|
|
319
|
-
readonly type: "number";
|
|
320
|
-
readonly precision: 2;
|
|
321
|
-
readonly default: number;
|
|
322
|
-
};
|
|
323
|
-
readonly animationClipRef: {
|
|
324
|
-
readonly type: "integer";
|
|
325
|
-
readonly minimum: -2147483648;
|
|
326
|
-
readonly maximum: 2147483647;
|
|
327
|
-
readonly default: number;
|
|
328
|
-
};
|
|
329
|
-
readonly animationTargets: {
|
|
330
|
-
readonly default: Entity[];
|
|
331
|
-
};
|
|
332
|
-
readonly animationTime: {
|
|
333
|
-
readonly type: "number";
|
|
334
|
-
readonly precision: 2;
|
|
335
|
-
readonly default: number;
|
|
336
|
-
};
|
|
337
|
-
readonly animationSpeed: {
|
|
338
|
-
readonly default: 1;
|
|
339
|
-
readonly type: "number";
|
|
340
|
-
readonly precision: 1;
|
|
341
|
-
};
|
|
342
|
-
readonly animationLoop: {
|
|
343
|
-
readonly type: "boolean";
|
|
344
|
-
readonly default: boolean;
|
|
345
|
-
};
|
|
346
|
-
readonly animationPlaying: {
|
|
347
|
-
readonly type: "boolean";
|
|
348
|
-
readonly default: boolean;
|
|
349
|
-
};
|
|
350
|
-
readonly animationObservable: {
|
|
351
|
-
readonly type: "boolean";
|
|
352
|
-
readonly const: true;
|
|
353
|
-
readonly default: true;
|
|
354
|
-
};
|
|
355
|
-
} & {
|
|
356
|
-
readonly _vertexBuffer: {
|
|
357
|
-
readonly default: GPUBuffer | null;
|
|
358
|
-
readonly nonPersistent: true;
|
|
359
|
-
};
|
|
360
|
-
readonly _skinVertexBuffer: {
|
|
361
|
-
readonly default: GPUBuffer | null;
|
|
362
|
-
readonly nonPersistent: true;
|
|
363
|
-
};
|
|
364
|
-
readonly _indexBuffer: {
|
|
365
|
-
readonly default: GPUBuffer | null;
|
|
366
|
-
readonly nonPersistent: true;
|
|
367
|
-
};
|
|
368
|
-
readonly _indexCount: {
|
|
369
|
-
readonly nonPersistent: true;
|
|
370
|
-
readonly type: "integer";
|
|
371
|
-
readonly minimum: 0;
|
|
372
|
-
readonly maximum: 4294967295;
|
|
373
|
-
readonly default: number;
|
|
374
|
-
};
|
|
375
|
-
readonly _indexFormat: {
|
|
376
|
-
readonly default: GPUIndexFormat;
|
|
377
|
-
readonly nonPersistent: true;
|
|
378
|
-
};
|
|
379
|
-
readonly _materialBindGroup: {
|
|
380
|
-
readonly default: GPUBindGroup | null;
|
|
381
|
-
readonly nonPersistent: true;
|
|
382
|
-
};
|
|
383
|
-
readonly _mesh: {
|
|
384
|
-
readonly nonPersistent: true;
|
|
385
|
-
readonly type: "integer";
|
|
386
|
-
readonly minimum: -2147483648;
|
|
387
|
-
readonly maximum: 2147483647;
|
|
388
|
-
readonly default: number;
|
|
389
|
-
};
|
|
390
|
-
readonly _material: {
|
|
391
|
-
readonly nonPersistent: true;
|
|
392
|
-
readonly type: "integer";
|
|
393
|
-
readonly minimum: -2147483648;
|
|
394
|
-
readonly maximum: 2147483647;
|
|
395
|
-
readonly default: number;
|
|
396
|
-
};
|
|
397
|
-
readonly _nodeLocalMatrix: {
|
|
398
|
-
readonly nonPersistent: true;
|
|
399
|
-
readonly type: "array";
|
|
400
|
-
readonly items: {
|
|
401
|
-
readonly type: "number";
|
|
402
|
-
readonly precision: 1;
|
|
403
|
-
readonly default: number;
|
|
404
|
-
};
|
|
405
|
-
readonly minItems: 16;
|
|
406
|
-
readonly maxItems: 16;
|
|
407
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
408
|
-
};
|
|
409
|
-
readonly _skeletonModelRef: {
|
|
410
|
-
readonly nonPersistent: true;
|
|
411
|
-
readonly type: "integer";
|
|
412
|
-
readonly minimum: -2147483648;
|
|
413
|
-
readonly maximum: 2147483647;
|
|
414
|
-
readonly default: number;
|
|
415
|
-
};
|
|
416
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
417
|
-
readonly default: GPUBindGroup | null;
|
|
418
|
-
readonly nonPersistent: true;
|
|
419
|
-
};
|
|
420
176
|
} & {
|
|
421
177
|
readonly bodyType: {
|
|
422
178
|
readonly type: "string";
|
|
@@ -522,15 +278,264 @@ export declare const modelCollider: {
|
|
|
522
278
|
readonly colliderMesh: {
|
|
523
279
|
readonly default: ColliderMesh | null;
|
|
524
280
|
};
|
|
525
|
-
} & {
|
|
526
|
-
readonly
|
|
527
|
-
readonly type: "
|
|
528
|
-
readonly
|
|
529
|
-
readonly
|
|
530
|
-
readonly default: number;
|
|
281
|
+
} & {} & {
|
|
282
|
+
readonly visible: {
|
|
283
|
+
readonly type: "boolean";
|
|
284
|
+
readonly const: true;
|
|
285
|
+
readonly default: true;
|
|
531
286
|
};
|
|
532
|
-
|
|
287
|
+
readonly position: {
|
|
288
|
+
readonly type: "array";
|
|
289
|
+
readonly items: {
|
|
290
|
+
readonly type: "number";
|
|
291
|
+
readonly precision: 1;
|
|
292
|
+
readonly default: number;
|
|
293
|
+
};
|
|
294
|
+
readonly minItems: 3;
|
|
295
|
+
readonly maxItems: 3;
|
|
296
|
+
readonly default: readonly [0, 0, 0];
|
|
297
|
+
};
|
|
298
|
+
readonly rotation: {
|
|
299
|
+
readonly type: "array";
|
|
300
|
+
readonly items: {
|
|
301
|
+
readonly type: "number";
|
|
302
|
+
readonly precision: 1;
|
|
303
|
+
readonly default: number;
|
|
304
|
+
};
|
|
305
|
+
readonly minItems: 4;
|
|
306
|
+
readonly maxItems: 4;
|
|
307
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
308
|
+
readonly interpolators: {
|
|
309
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
readonly scale: {
|
|
313
|
+
readonly type: "array";
|
|
314
|
+
readonly items: {
|
|
315
|
+
readonly type: "number";
|
|
316
|
+
readonly precision: 1;
|
|
317
|
+
readonly default: number;
|
|
318
|
+
};
|
|
319
|
+
readonly minItems: 3;
|
|
320
|
+
readonly maxItems: 3;
|
|
321
|
+
readonly default: readonly [0, 0, 0];
|
|
322
|
+
};
|
|
323
|
+
readonly parent: {
|
|
324
|
+
readonly type: "integer";
|
|
325
|
+
readonly minimum: -2147483648;
|
|
326
|
+
readonly maximum: 2147483647;
|
|
327
|
+
readonly default: number;
|
|
328
|
+
};
|
|
329
|
+
readonly _worldMatrix: {
|
|
330
|
+
readonly nonPersistent: true;
|
|
331
|
+
readonly type: "array";
|
|
332
|
+
readonly items: {
|
|
333
|
+
readonly type: "number";
|
|
334
|
+
readonly precision: 1;
|
|
335
|
+
readonly default: number;
|
|
336
|
+
};
|
|
337
|
+
readonly minItems: 16;
|
|
338
|
+
readonly maxItems: 16;
|
|
339
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
340
|
+
};
|
|
341
|
+
readonly _worldBounds: {
|
|
342
|
+
readonly nonPersistent: true;
|
|
343
|
+
readonly type: "object";
|
|
344
|
+
readonly properties: {
|
|
345
|
+
readonly min: {
|
|
346
|
+
readonly type: "array";
|
|
347
|
+
readonly items: {
|
|
348
|
+
readonly type: "number";
|
|
349
|
+
readonly precision: 1;
|
|
350
|
+
readonly default: number;
|
|
351
|
+
};
|
|
352
|
+
readonly minItems: 3;
|
|
353
|
+
readonly maxItems: 3;
|
|
354
|
+
readonly default: readonly [0, 0, 0];
|
|
355
|
+
};
|
|
356
|
+
readonly max: {
|
|
357
|
+
readonly type: "array";
|
|
358
|
+
readonly items: {
|
|
359
|
+
readonly type: "number";
|
|
360
|
+
readonly precision: 1;
|
|
361
|
+
readonly default: number;
|
|
362
|
+
};
|
|
363
|
+
readonly minItems: 3;
|
|
364
|
+
readonly maxItems: 3;
|
|
365
|
+
readonly default: readonly [0, 0, 0];
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
readonly required: readonly ["min", "max"];
|
|
369
|
+
readonly additionalProperties: false;
|
|
370
|
+
readonly default: {
|
|
371
|
+
readonly min: readonly [0, 0, 0];
|
|
372
|
+
readonly max: readonly [0, 0, 0];
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
} & {
|
|
376
|
+
readonly mesh: {
|
|
377
|
+
readonly type: "integer";
|
|
378
|
+
readonly minimum: -2147483648;
|
|
379
|
+
readonly maximum: 2147483647;
|
|
380
|
+
readonly default: number;
|
|
381
|
+
};
|
|
382
|
+
readonly gltfUrl: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
};
|
|
385
|
+
readonly shapeSpec: {
|
|
386
|
+
readonly default: import("../public.js").ShapeSpec | null;
|
|
387
|
+
};
|
|
388
|
+
readonly voxelVolumeSize: {
|
|
389
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
390
|
+
};
|
|
391
|
+
readonly localBounds: {
|
|
392
|
+
readonly default: {
|
|
393
|
+
readonly min: readonly [number, number, number];
|
|
394
|
+
readonly max: readonly [number, number, number];
|
|
395
|
+
} | null;
|
|
396
|
+
};
|
|
397
|
+
readonly skinJointTemplate: {
|
|
398
|
+
readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
399
|
+
};
|
|
400
|
+
readonly skinInverseBindMatrices: {
|
|
401
|
+
readonly default: Float32Array | null;
|
|
402
|
+
};
|
|
403
|
+
readonly animationClipRefs: {
|
|
404
|
+
readonly default: number[];
|
|
405
|
+
};
|
|
406
|
+
readonly cpuCollisionPositions: {
|
|
407
|
+
readonly default: Float32Array | null;
|
|
408
|
+
};
|
|
409
|
+
readonly cpuCollisionIndices: {
|
|
410
|
+
readonly default: Uint32Array | null;
|
|
411
|
+
};
|
|
412
|
+
readonly cpuSkin: {
|
|
413
|
+
readonly default: {
|
|
414
|
+
positions: Float32Array;
|
|
415
|
+
joints: Uint32Array;
|
|
416
|
+
weights: Float32Array;
|
|
417
|
+
} | null;
|
|
418
|
+
};
|
|
419
|
+
} & {
|
|
420
|
+
readonly animationClipTracks: {
|
|
421
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
422
|
+
};
|
|
423
|
+
readonly animationClipDuration: {
|
|
424
|
+
readonly type: "number";
|
|
425
|
+
readonly precision: 2;
|
|
426
|
+
readonly default: number;
|
|
427
|
+
};
|
|
428
|
+
readonly animationClipRef: {
|
|
429
|
+
readonly type: "integer";
|
|
430
|
+
readonly minimum: -2147483648;
|
|
431
|
+
readonly maximum: 2147483647;
|
|
432
|
+
readonly default: number;
|
|
433
|
+
};
|
|
434
|
+
readonly animationTargets: {
|
|
435
|
+
readonly default: Entity[];
|
|
436
|
+
};
|
|
437
|
+
readonly animationTime: {
|
|
438
|
+
readonly type: "number";
|
|
439
|
+
readonly precision: 2;
|
|
440
|
+
readonly default: number;
|
|
441
|
+
};
|
|
442
|
+
readonly animationSpeed: {
|
|
443
|
+
readonly default: 1;
|
|
444
|
+
readonly type: "number";
|
|
445
|
+
readonly precision: 1;
|
|
446
|
+
};
|
|
447
|
+
readonly animationLoop: {
|
|
448
|
+
readonly type: "boolean";
|
|
449
|
+
readonly default: boolean;
|
|
450
|
+
};
|
|
451
|
+
readonly animationPlaying: {
|
|
452
|
+
readonly type: "boolean";
|
|
453
|
+
readonly default: boolean;
|
|
454
|
+
};
|
|
455
|
+
readonly animationObservable: {
|
|
456
|
+
readonly type: "boolean";
|
|
457
|
+
readonly const: true;
|
|
458
|
+
readonly default: true;
|
|
459
|
+
};
|
|
460
|
+
} & {
|
|
461
|
+
readonly _vertexBuffer: {
|
|
462
|
+
readonly default: GPUBuffer | null;
|
|
463
|
+
readonly nonPersistent: true;
|
|
464
|
+
};
|
|
465
|
+
readonly _skinVertexBuffer: {
|
|
466
|
+
readonly default: GPUBuffer | null;
|
|
467
|
+
readonly nonPersistent: true;
|
|
468
|
+
};
|
|
469
|
+
readonly _indexBuffer: {
|
|
470
|
+
readonly default: GPUBuffer | null;
|
|
471
|
+
readonly nonPersistent: true;
|
|
472
|
+
};
|
|
473
|
+
readonly _indexCount: {
|
|
474
|
+
readonly nonPersistent: true;
|
|
475
|
+
readonly type: "integer";
|
|
476
|
+
readonly minimum: 0;
|
|
477
|
+
readonly maximum: 4294967295;
|
|
478
|
+
readonly default: number;
|
|
479
|
+
};
|
|
480
|
+
readonly _indexFormat: {
|
|
481
|
+
readonly default: GPUIndexFormat;
|
|
482
|
+
readonly nonPersistent: true;
|
|
483
|
+
};
|
|
484
|
+
readonly _materialBindGroup: {
|
|
485
|
+
readonly default: GPUBindGroup | null;
|
|
486
|
+
readonly nonPersistent: true;
|
|
487
|
+
};
|
|
488
|
+
readonly _mesh: {
|
|
489
|
+
readonly nonPersistent: true;
|
|
490
|
+
readonly type: "integer";
|
|
491
|
+
readonly minimum: -2147483648;
|
|
492
|
+
readonly maximum: 2147483647;
|
|
493
|
+
readonly default: number;
|
|
494
|
+
};
|
|
495
|
+
readonly _material: {
|
|
496
|
+
readonly nonPersistent: true;
|
|
497
|
+
readonly type: "integer";
|
|
498
|
+
readonly minimum: -2147483648;
|
|
499
|
+
readonly maximum: 2147483647;
|
|
500
|
+
readonly default: number;
|
|
501
|
+
};
|
|
502
|
+
readonly _nodeLocalMatrix: {
|
|
503
|
+
readonly nonPersistent: true;
|
|
504
|
+
readonly type: "array";
|
|
505
|
+
readonly items: {
|
|
506
|
+
readonly type: "number";
|
|
507
|
+
readonly precision: 1;
|
|
508
|
+
readonly default: number;
|
|
509
|
+
};
|
|
510
|
+
readonly minItems: 16;
|
|
511
|
+
readonly maxItems: 16;
|
|
512
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
513
|
+
};
|
|
514
|
+
readonly _skeletonModelRef: {
|
|
515
|
+
readonly nonPersistent: true;
|
|
516
|
+
readonly type: "integer";
|
|
517
|
+
readonly minimum: -2147483648;
|
|
518
|
+
readonly maximum: 2147483647;
|
|
519
|
+
readonly default: number;
|
|
520
|
+
};
|
|
521
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
522
|
+
readonly default: GPUBindGroup | null;
|
|
523
|
+
readonly nonPersistent: true;
|
|
524
|
+
};
|
|
525
|
+
} & {
|
|
526
|
+
readonly collisionMesh: {
|
|
527
|
+
readonly type: "integer";
|
|
528
|
+
readonly minimum: -2147483648;
|
|
529
|
+
readonly maximum: 2147483647;
|
|
530
|
+
readonly default: number;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
533
|
readonly resources: {} & {
|
|
534
|
+
readonly physicsQuery: {
|
|
535
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
536
|
+
readonly nonPersistent: true;
|
|
537
|
+
};
|
|
538
|
+
} & {
|
|
534
539
|
readonly _gltfMeshByUrl: {
|
|
535
540
|
readonly default: Map<string, Entity> | null;
|
|
536
541
|
readonly nonPersistent: true;
|
|
@@ -554,16 +559,21 @@ export declare const modelCollider: {
|
|
|
554
559
|
readonly nonPersistent: true;
|
|
555
560
|
};
|
|
556
561
|
};
|
|
557
|
-
readonly archetypes: {
|
|
558
|
-
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
559
|
-
} & {} & {
|
|
562
|
+
readonly archetypes: {
|
|
560
563
|
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"];
|
|
561
564
|
} & {
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
566
|
-
|
|
565
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
566
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
567
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
568
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
569
|
+
} & {} & {
|
|
570
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
571
|
+
} & {} & {
|
|
572
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
573
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
574
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
575
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
576
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
567
577
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
568
578
|
} & {
|
|
569
579
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
@@ -573,15 +583,10 @@ export declare const modelCollider: {
|
|
|
573
583
|
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
574
584
|
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
575
585
|
} & {} & {
|
|
576
|
-
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
577
|
-
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
578
|
-
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
579
|
-
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
580
|
-
} & {
|
|
581
586
|
readonly ModelBody: readonly ["mesh", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
582
587
|
readonly StaticModelCollider: readonly ["mesh", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
583
588
|
};
|
|
584
|
-
readonly transactions: {
|
|
589
|
+
readonly transactions: {
|
|
585
590
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
586
591
|
readonly material: {
|
|
587
592
|
readonly type: "integer";
|
|
@@ -1475,7 +1480,7 @@ export declare const modelCollider: {
|
|
|
1475
1480
|
readonly archetype: "Material";
|
|
1476
1481
|
};
|
|
1477
1482
|
}, never>) => void;
|
|
1478
|
-
} & {
|
|
1483
|
+
} & {} & {} & {} & {
|
|
1479
1484
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1480
1485
|
readonly mesh: {
|
|
1481
1486
|
readonly type: "integer";
|
|
@@ -3452,21 +3457,2409 @@ export declare const modelCollider: {
|
|
|
3452
3457
|
readonly archetype: "Material";
|
|
3453
3458
|
};
|
|
3454
3459
|
} & {} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3455
|
-
} & {}
|
|
3460
|
+
} & {};
|
|
3456
3461
|
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
|
|
3457
|
-
readonly actions: {
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
readonly
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
readonly
|
|
3468
|
-
|
|
3469
|
-
|
|
3462
|
+
readonly actions: {
|
|
3463
|
+
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
3464
|
+
readonly bodyType: {
|
|
3465
|
+
readonly type: "string";
|
|
3466
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
3467
|
+
};
|
|
3468
|
+
readonly colliderShape: {
|
|
3469
|
+
readonly type: "string";
|
|
3470
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
3471
|
+
};
|
|
3472
|
+
readonly halfExtents: {
|
|
3473
|
+
readonly type: "array";
|
|
3474
|
+
readonly items: {
|
|
3475
|
+
readonly type: "number";
|
|
3476
|
+
readonly precision: 1;
|
|
3477
|
+
readonly default: number;
|
|
3478
|
+
};
|
|
3479
|
+
readonly minItems: 3;
|
|
3480
|
+
readonly maxItems: 3;
|
|
3481
|
+
readonly default: readonly [0, 0, 0];
|
|
3482
|
+
};
|
|
3483
|
+
readonly position: {
|
|
3484
|
+
readonly type: "array";
|
|
3485
|
+
readonly items: {
|
|
3486
|
+
readonly type: "number";
|
|
3487
|
+
readonly precision: 1;
|
|
3488
|
+
readonly default: number;
|
|
3489
|
+
};
|
|
3490
|
+
readonly minItems: 3;
|
|
3491
|
+
readonly maxItems: 3;
|
|
3492
|
+
readonly default: readonly [0, 0, 0];
|
|
3493
|
+
};
|
|
3494
|
+
readonly rotation: {
|
|
3495
|
+
readonly type: "array";
|
|
3496
|
+
readonly items: {
|
|
3497
|
+
readonly type: "number";
|
|
3498
|
+
readonly precision: 1;
|
|
3499
|
+
readonly default: number;
|
|
3500
|
+
};
|
|
3501
|
+
readonly minItems: 4;
|
|
3502
|
+
readonly maxItems: 4;
|
|
3503
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
3504
|
+
readonly interpolators: {
|
|
3505
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3508
|
+
readonly linearVelocity: {
|
|
3509
|
+
readonly type: "array";
|
|
3510
|
+
readonly items: {
|
|
3511
|
+
readonly type: "number";
|
|
3512
|
+
readonly precision: 1;
|
|
3513
|
+
readonly default: number;
|
|
3514
|
+
};
|
|
3515
|
+
readonly minItems: 3;
|
|
3516
|
+
readonly maxItems: 3;
|
|
3517
|
+
readonly default: readonly [0, 0, 0];
|
|
3518
|
+
};
|
|
3519
|
+
readonly angularVelocity: {
|
|
3520
|
+
readonly type: "array";
|
|
3521
|
+
readonly items: {
|
|
3522
|
+
readonly type: "number";
|
|
3523
|
+
readonly precision: 1;
|
|
3524
|
+
readonly default: number;
|
|
3525
|
+
};
|
|
3526
|
+
readonly minItems: 3;
|
|
3527
|
+
readonly maxItems: 3;
|
|
3528
|
+
readonly default: readonly [0, 0, 0];
|
|
3529
|
+
};
|
|
3530
|
+
readonly _prevPosition: {
|
|
3531
|
+
readonly nonPersistent: true;
|
|
3532
|
+
readonly type: "array";
|
|
3533
|
+
readonly items: {
|
|
3534
|
+
readonly type: "number";
|
|
3535
|
+
readonly precision: 1;
|
|
3536
|
+
readonly default: number;
|
|
3537
|
+
};
|
|
3538
|
+
readonly minItems: 3;
|
|
3539
|
+
readonly maxItems: 3;
|
|
3540
|
+
readonly default: readonly [0, 0, 0];
|
|
3541
|
+
};
|
|
3542
|
+
readonly _prevRotation: {
|
|
3543
|
+
readonly nonPersistent: true;
|
|
3544
|
+
readonly type: "array";
|
|
3545
|
+
readonly items: {
|
|
3546
|
+
readonly type: "number";
|
|
3547
|
+
readonly precision: 1;
|
|
3548
|
+
readonly default: number;
|
|
3549
|
+
};
|
|
3550
|
+
readonly minItems: 4;
|
|
3551
|
+
readonly maxItems: 4;
|
|
3552
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
3553
|
+
readonly interpolators: {
|
|
3554
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
3555
|
+
};
|
|
3556
|
+
};
|
|
3557
|
+
readonly collisionGroup: {
|
|
3558
|
+
readonly type: "number";
|
|
3559
|
+
readonly precision: 1;
|
|
3560
|
+
readonly default: number;
|
|
3561
|
+
};
|
|
3562
|
+
readonly convexPoints: {
|
|
3563
|
+
readonly default: Float32Array | null;
|
|
3564
|
+
};
|
|
3565
|
+
readonly colliderMesh: {
|
|
3566
|
+
readonly default: ColliderMesh | null;
|
|
3567
|
+
};
|
|
3568
|
+
} & {
|
|
3569
|
+
readonly material: {
|
|
3570
|
+
readonly type: "integer";
|
|
3571
|
+
readonly minimum: -2147483648;
|
|
3572
|
+
readonly maximum: 2147483647;
|
|
3573
|
+
readonly default: number;
|
|
3574
|
+
};
|
|
3575
|
+
readonly name: {
|
|
3576
|
+
readonly type: "string";
|
|
3577
|
+
};
|
|
3578
|
+
readonly density: {
|
|
3579
|
+
readonly type: "number";
|
|
3580
|
+
readonly precision: 1;
|
|
3581
|
+
readonly default: number;
|
|
3582
|
+
};
|
|
3583
|
+
readonly restitution: {
|
|
3584
|
+
readonly type: "number";
|
|
3585
|
+
readonly precision: 1;
|
|
3586
|
+
readonly default: number;
|
|
3587
|
+
};
|
|
3588
|
+
readonly friction: {
|
|
3589
|
+
readonly type: "number";
|
|
3590
|
+
readonly precision: 1;
|
|
3591
|
+
readonly default: number;
|
|
3592
|
+
};
|
|
3593
|
+
readonly compliance: {
|
|
3594
|
+
readonly type: "number";
|
|
3595
|
+
readonly precision: 1;
|
|
3596
|
+
readonly default: number;
|
|
3597
|
+
};
|
|
3598
|
+
readonly heatCapacity: {
|
|
3599
|
+
readonly type: "number";
|
|
3600
|
+
readonly precision: 1;
|
|
3601
|
+
readonly default: number;
|
|
3602
|
+
};
|
|
3603
|
+
readonly viscosity: {
|
|
3604
|
+
readonly type: "number";
|
|
3605
|
+
readonly precision: 1;
|
|
3606
|
+
readonly default: number;
|
|
3607
|
+
};
|
|
3608
|
+
readonly thermalConductivity: {
|
|
3609
|
+
readonly type: "number";
|
|
3610
|
+
readonly precision: 1;
|
|
3611
|
+
readonly default: number;
|
|
3612
|
+
};
|
|
3613
|
+
readonly stressStrainCurve: {
|
|
3614
|
+
readonly type: "object";
|
|
3615
|
+
readonly layout: "packed";
|
|
3616
|
+
readonly properties: {
|
|
3617
|
+
readonly tensileYieldStrainStress: {
|
|
3618
|
+
readonly type: "array";
|
|
3619
|
+
readonly items: {
|
|
3620
|
+
readonly type: "number";
|
|
3621
|
+
readonly precision: 1;
|
|
3622
|
+
readonly default: number;
|
|
3623
|
+
};
|
|
3624
|
+
readonly minItems: 2;
|
|
3625
|
+
readonly maxItems: 2;
|
|
3626
|
+
readonly default: readonly [0, 0];
|
|
3627
|
+
};
|
|
3628
|
+
readonly tensileFractureStrainStress: {
|
|
3629
|
+
readonly type: "array";
|
|
3630
|
+
readonly items: {
|
|
3631
|
+
readonly type: "number";
|
|
3632
|
+
readonly precision: 1;
|
|
3633
|
+
readonly default: number;
|
|
3634
|
+
};
|
|
3635
|
+
readonly minItems: 2;
|
|
3636
|
+
readonly maxItems: 2;
|
|
3637
|
+
readonly default: readonly [0, 0];
|
|
3638
|
+
};
|
|
3639
|
+
readonly compressiveYieldStrainStress: {
|
|
3640
|
+
readonly type: "array";
|
|
3641
|
+
readonly items: {
|
|
3642
|
+
readonly type: "number";
|
|
3643
|
+
readonly precision: 1;
|
|
3644
|
+
readonly default: number;
|
|
3645
|
+
};
|
|
3646
|
+
readonly minItems: 2;
|
|
3647
|
+
readonly maxItems: 2;
|
|
3648
|
+
readonly default: readonly [0, 0];
|
|
3649
|
+
};
|
|
3650
|
+
readonly compressiveFractureStrainStress: {
|
|
3651
|
+
readonly type: "array";
|
|
3652
|
+
readonly items: {
|
|
3653
|
+
readonly type: "number";
|
|
3654
|
+
readonly precision: 1;
|
|
3655
|
+
readonly default: number;
|
|
3656
|
+
};
|
|
3657
|
+
readonly minItems: 2;
|
|
3658
|
+
readonly maxItems: 2;
|
|
3659
|
+
readonly default: readonly [0, 0];
|
|
3660
|
+
};
|
|
3661
|
+
};
|
|
3662
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3663
|
+
};
|
|
3664
|
+
readonly baseColorFactor: {
|
|
3665
|
+
readonly type: "array";
|
|
3666
|
+
readonly items: {
|
|
3667
|
+
readonly type: "number";
|
|
3668
|
+
readonly precision: 1;
|
|
3669
|
+
readonly default: number;
|
|
3670
|
+
};
|
|
3671
|
+
readonly minItems: 4;
|
|
3672
|
+
readonly maxItems: 4;
|
|
3673
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3674
|
+
};
|
|
3675
|
+
readonly emissiveFactor: {
|
|
3676
|
+
readonly type: "array";
|
|
3677
|
+
readonly items: {
|
|
3678
|
+
readonly type: "number";
|
|
3679
|
+
readonly precision: 1;
|
|
3680
|
+
readonly default: number;
|
|
3681
|
+
};
|
|
3682
|
+
readonly minItems: 3;
|
|
3683
|
+
readonly maxItems: 3;
|
|
3684
|
+
readonly default: readonly [0, 0, 0];
|
|
3685
|
+
};
|
|
3686
|
+
readonly metallicFactor: {
|
|
3687
|
+
readonly type: "number";
|
|
3688
|
+
readonly precision: 1;
|
|
3689
|
+
readonly default: number;
|
|
3690
|
+
};
|
|
3691
|
+
readonly roughnessFactor: {
|
|
3692
|
+
readonly type: "number";
|
|
3693
|
+
readonly precision: 1;
|
|
3694
|
+
readonly default: number;
|
|
3695
|
+
};
|
|
3696
|
+
readonly normalScale: {
|
|
3697
|
+
readonly type: "number";
|
|
3698
|
+
readonly precision: 1;
|
|
3699
|
+
readonly default: number;
|
|
3700
|
+
};
|
|
3701
|
+
readonly occlusionStrength: {
|
|
3702
|
+
readonly type: "number";
|
|
3703
|
+
readonly precision: 1;
|
|
3704
|
+
readonly default: number;
|
|
3705
|
+
};
|
|
3706
|
+
readonly irReflectance: {
|
|
3707
|
+
readonly type: "number";
|
|
3708
|
+
readonly precision: 1;
|
|
3709
|
+
readonly default: number;
|
|
3710
|
+
};
|
|
3711
|
+
readonly irEmission: {
|
|
3712
|
+
readonly type: "number";
|
|
3713
|
+
readonly precision: 1;
|
|
3714
|
+
readonly default: number;
|
|
3715
|
+
};
|
|
3716
|
+
readonly emissionMode: {
|
|
3717
|
+
readonly type: "integer";
|
|
3718
|
+
readonly minimum: 0;
|
|
3719
|
+
readonly maximum: 4294967295;
|
|
3720
|
+
readonly default: number;
|
|
3721
|
+
};
|
|
3722
|
+
readonly baseColorUrl: {
|
|
3723
|
+
readonly type: "string";
|
|
3724
|
+
};
|
|
3725
|
+
readonly metallicRoughnessUrl: {
|
|
3726
|
+
readonly type: "string";
|
|
3727
|
+
};
|
|
3728
|
+
readonly normalUrl: {
|
|
3729
|
+
readonly type: "string";
|
|
3730
|
+
};
|
|
3731
|
+
readonly occlusionUrl: {
|
|
3732
|
+
readonly type: "string";
|
|
3733
|
+
};
|
|
3734
|
+
readonly emissiveUrl: {
|
|
3735
|
+
readonly type: "string";
|
|
3736
|
+
};
|
|
3737
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
3738
|
+
readonly physicsQuery: {
|
|
3739
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
3740
|
+
readonly nonPersistent: true;
|
|
3741
|
+
};
|
|
3742
|
+
} & {}>, {
|
|
3743
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
3744
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
3745
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
3746
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
3747
|
+
} & {
|
|
3748
|
+
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"];
|
|
3749
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
3750
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3751
|
+
readonly material: {
|
|
3752
|
+
readonly type: "integer";
|
|
3753
|
+
readonly minimum: -2147483648;
|
|
3754
|
+
readonly maximum: 2147483647;
|
|
3755
|
+
readonly default: number;
|
|
3756
|
+
};
|
|
3757
|
+
readonly name: {
|
|
3758
|
+
readonly type: "string";
|
|
3759
|
+
};
|
|
3760
|
+
readonly density: {
|
|
3761
|
+
readonly type: "number";
|
|
3762
|
+
readonly precision: 1;
|
|
3763
|
+
readonly default: number;
|
|
3764
|
+
};
|
|
3765
|
+
readonly restitution: {
|
|
3766
|
+
readonly type: "number";
|
|
3767
|
+
readonly precision: 1;
|
|
3768
|
+
readonly default: number;
|
|
3769
|
+
};
|
|
3770
|
+
readonly friction: {
|
|
3771
|
+
readonly type: "number";
|
|
3772
|
+
readonly precision: 1;
|
|
3773
|
+
readonly default: number;
|
|
3774
|
+
};
|
|
3775
|
+
readonly compliance: {
|
|
3776
|
+
readonly type: "number";
|
|
3777
|
+
readonly precision: 1;
|
|
3778
|
+
readonly default: number;
|
|
3779
|
+
};
|
|
3780
|
+
readonly heatCapacity: {
|
|
3781
|
+
readonly type: "number";
|
|
3782
|
+
readonly precision: 1;
|
|
3783
|
+
readonly default: number;
|
|
3784
|
+
};
|
|
3785
|
+
readonly viscosity: {
|
|
3786
|
+
readonly type: "number";
|
|
3787
|
+
readonly precision: 1;
|
|
3788
|
+
readonly default: number;
|
|
3789
|
+
};
|
|
3790
|
+
readonly thermalConductivity: {
|
|
3791
|
+
readonly type: "number";
|
|
3792
|
+
readonly precision: 1;
|
|
3793
|
+
readonly default: number;
|
|
3794
|
+
};
|
|
3795
|
+
readonly stressStrainCurve: {
|
|
3796
|
+
readonly type: "object";
|
|
3797
|
+
readonly layout: "packed";
|
|
3798
|
+
readonly properties: {
|
|
3799
|
+
readonly tensileYieldStrainStress: {
|
|
3800
|
+
readonly type: "array";
|
|
3801
|
+
readonly items: {
|
|
3802
|
+
readonly type: "number";
|
|
3803
|
+
readonly precision: 1;
|
|
3804
|
+
readonly default: number;
|
|
3805
|
+
};
|
|
3806
|
+
readonly minItems: 2;
|
|
3807
|
+
readonly maxItems: 2;
|
|
3808
|
+
readonly default: readonly [0, 0];
|
|
3809
|
+
};
|
|
3810
|
+
readonly tensileFractureStrainStress: {
|
|
3811
|
+
readonly type: "array";
|
|
3812
|
+
readonly items: {
|
|
3813
|
+
readonly type: "number";
|
|
3814
|
+
readonly precision: 1;
|
|
3815
|
+
readonly default: number;
|
|
3816
|
+
};
|
|
3817
|
+
readonly minItems: 2;
|
|
3818
|
+
readonly maxItems: 2;
|
|
3819
|
+
readonly default: readonly [0, 0];
|
|
3820
|
+
};
|
|
3821
|
+
readonly compressiveYieldStrainStress: {
|
|
3822
|
+
readonly type: "array";
|
|
3823
|
+
readonly items: {
|
|
3824
|
+
readonly type: "number";
|
|
3825
|
+
readonly precision: 1;
|
|
3826
|
+
readonly default: number;
|
|
3827
|
+
};
|
|
3828
|
+
readonly minItems: 2;
|
|
3829
|
+
readonly maxItems: 2;
|
|
3830
|
+
readonly default: readonly [0, 0];
|
|
3831
|
+
};
|
|
3832
|
+
readonly compressiveFractureStrainStress: {
|
|
3833
|
+
readonly type: "array";
|
|
3834
|
+
readonly items: {
|
|
3835
|
+
readonly type: "number";
|
|
3836
|
+
readonly precision: 1;
|
|
3837
|
+
readonly default: number;
|
|
3838
|
+
};
|
|
3839
|
+
readonly minItems: 2;
|
|
3840
|
+
readonly maxItems: 2;
|
|
3841
|
+
readonly default: readonly [0, 0];
|
|
3842
|
+
};
|
|
3843
|
+
};
|
|
3844
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3845
|
+
};
|
|
3846
|
+
readonly baseColorFactor: {
|
|
3847
|
+
readonly type: "array";
|
|
3848
|
+
readonly items: {
|
|
3849
|
+
readonly type: "number";
|
|
3850
|
+
readonly precision: 1;
|
|
3851
|
+
readonly default: number;
|
|
3852
|
+
};
|
|
3853
|
+
readonly minItems: 4;
|
|
3854
|
+
readonly maxItems: 4;
|
|
3855
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3856
|
+
};
|
|
3857
|
+
readonly emissiveFactor: {
|
|
3858
|
+
readonly type: "array";
|
|
3859
|
+
readonly items: {
|
|
3860
|
+
readonly type: "number";
|
|
3861
|
+
readonly precision: 1;
|
|
3862
|
+
readonly default: number;
|
|
3863
|
+
};
|
|
3864
|
+
readonly minItems: 3;
|
|
3865
|
+
readonly maxItems: 3;
|
|
3866
|
+
readonly default: readonly [0, 0, 0];
|
|
3867
|
+
};
|
|
3868
|
+
readonly metallicFactor: {
|
|
3869
|
+
readonly type: "number";
|
|
3870
|
+
readonly precision: 1;
|
|
3871
|
+
readonly default: number;
|
|
3872
|
+
};
|
|
3873
|
+
readonly roughnessFactor: {
|
|
3874
|
+
readonly type: "number";
|
|
3875
|
+
readonly precision: 1;
|
|
3876
|
+
readonly default: number;
|
|
3877
|
+
};
|
|
3878
|
+
readonly normalScale: {
|
|
3879
|
+
readonly type: "number";
|
|
3880
|
+
readonly precision: 1;
|
|
3881
|
+
readonly default: number;
|
|
3882
|
+
};
|
|
3883
|
+
readonly occlusionStrength: {
|
|
3884
|
+
readonly type: "number";
|
|
3885
|
+
readonly precision: 1;
|
|
3886
|
+
readonly default: number;
|
|
3887
|
+
};
|
|
3888
|
+
readonly irReflectance: {
|
|
3889
|
+
readonly type: "number";
|
|
3890
|
+
readonly precision: 1;
|
|
3891
|
+
readonly default: number;
|
|
3892
|
+
};
|
|
3893
|
+
readonly irEmission: {
|
|
3894
|
+
readonly type: "number";
|
|
3895
|
+
readonly precision: 1;
|
|
3896
|
+
readonly default: number;
|
|
3897
|
+
};
|
|
3898
|
+
readonly emissionMode: {
|
|
3899
|
+
readonly type: "integer";
|
|
3900
|
+
readonly minimum: 0;
|
|
3901
|
+
readonly maximum: 4294967295;
|
|
3902
|
+
readonly default: number;
|
|
3903
|
+
};
|
|
3904
|
+
readonly baseColorUrl: {
|
|
3905
|
+
readonly type: "string";
|
|
3906
|
+
};
|
|
3907
|
+
readonly metallicRoughnessUrl: {
|
|
3908
|
+
readonly type: "string";
|
|
3909
|
+
};
|
|
3910
|
+
readonly normalUrl: {
|
|
3911
|
+
readonly type: "string";
|
|
3912
|
+
};
|
|
3913
|
+
readonly occlusionUrl: {
|
|
3914
|
+
readonly type: "string";
|
|
3915
|
+
};
|
|
3916
|
+
readonly emissiveUrl: {
|
|
3917
|
+
readonly type: "string";
|
|
3918
|
+
};
|
|
3919
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
3920
|
+
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"];
|
|
3921
|
+
}, {
|
|
3922
|
+
readonly materialByName: {
|
|
3923
|
+
readonly key: "name";
|
|
3924
|
+
readonly unique: true;
|
|
3925
|
+
readonly archetype: "Material";
|
|
3926
|
+
};
|
|
3927
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
3928
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3929
|
+
readonly material: {
|
|
3930
|
+
readonly type: "integer";
|
|
3931
|
+
readonly minimum: -2147483648;
|
|
3932
|
+
readonly maximum: 2147483647;
|
|
3933
|
+
readonly default: number;
|
|
3934
|
+
};
|
|
3935
|
+
readonly name: {
|
|
3936
|
+
readonly type: "string";
|
|
3937
|
+
};
|
|
3938
|
+
readonly density: {
|
|
3939
|
+
readonly type: "number";
|
|
3940
|
+
readonly precision: 1;
|
|
3941
|
+
readonly default: number;
|
|
3942
|
+
};
|
|
3943
|
+
readonly restitution: {
|
|
3944
|
+
readonly type: "number";
|
|
3945
|
+
readonly precision: 1;
|
|
3946
|
+
readonly default: number;
|
|
3947
|
+
};
|
|
3948
|
+
readonly friction: {
|
|
3949
|
+
readonly type: "number";
|
|
3950
|
+
readonly precision: 1;
|
|
3951
|
+
readonly default: number;
|
|
3952
|
+
};
|
|
3953
|
+
readonly compliance: {
|
|
3954
|
+
readonly type: "number";
|
|
3955
|
+
readonly precision: 1;
|
|
3956
|
+
readonly default: number;
|
|
3957
|
+
};
|
|
3958
|
+
readonly heatCapacity: {
|
|
3959
|
+
readonly type: "number";
|
|
3960
|
+
readonly precision: 1;
|
|
3961
|
+
readonly default: number;
|
|
3962
|
+
};
|
|
3963
|
+
readonly viscosity: {
|
|
3964
|
+
readonly type: "number";
|
|
3965
|
+
readonly precision: 1;
|
|
3966
|
+
readonly default: number;
|
|
3967
|
+
};
|
|
3968
|
+
readonly thermalConductivity: {
|
|
3969
|
+
readonly type: "number";
|
|
3970
|
+
readonly precision: 1;
|
|
3971
|
+
readonly default: number;
|
|
3972
|
+
};
|
|
3973
|
+
readonly stressStrainCurve: {
|
|
3974
|
+
readonly type: "object";
|
|
3975
|
+
readonly layout: "packed";
|
|
3976
|
+
readonly properties: {
|
|
3977
|
+
readonly tensileYieldStrainStress: {
|
|
3978
|
+
readonly type: "array";
|
|
3979
|
+
readonly items: {
|
|
3980
|
+
readonly type: "number";
|
|
3981
|
+
readonly precision: 1;
|
|
3982
|
+
readonly default: number;
|
|
3983
|
+
};
|
|
3984
|
+
readonly minItems: 2;
|
|
3985
|
+
readonly maxItems: 2;
|
|
3986
|
+
readonly default: readonly [0, 0];
|
|
3987
|
+
};
|
|
3988
|
+
readonly tensileFractureStrainStress: {
|
|
3989
|
+
readonly type: "array";
|
|
3990
|
+
readonly items: {
|
|
3991
|
+
readonly type: "number";
|
|
3992
|
+
readonly precision: 1;
|
|
3993
|
+
readonly default: number;
|
|
3994
|
+
};
|
|
3995
|
+
readonly minItems: 2;
|
|
3996
|
+
readonly maxItems: 2;
|
|
3997
|
+
readonly default: readonly [0, 0];
|
|
3998
|
+
};
|
|
3999
|
+
readonly compressiveYieldStrainStress: {
|
|
4000
|
+
readonly type: "array";
|
|
4001
|
+
readonly items: {
|
|
4002
|
+
readonly type: "number";
|
|
4003
|
+
readonly precision: 1;
|
|
4004
|
+
readonly default: number;
|
|
4005
|
+
};
|
|
4006
|
+
readonly minItems: 2;
|
|
4007
|
+
readonly maxItems: 2;
|
|
4008
|
+
readonly default: readonly [0, 0];
|
|
4009
|
+
};
|
|
4010
|
+
readonly compressiveFractureStrainStress: {
|
|
4011
|
+
readonly type: "array";
|
|
4012
|
+
readonly items: {
|
|
4013
|
+
readonly type: "number";
|
|
4014
|
+
readonly precision: 1;
|
|
4015
|
+
readonly default: number;
|
|
4016
|
+
};
|
|
4017
|
+
readonly minItems: 2;
|
|
4018
|
+
readonly maxItems: 2;
|
|
4019
|
+
readonly default: readonly [0, 0];
|
|
4020
|
+
};
|
|
4021
|
+
};
|
|
4022
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4023
|
+
};
|
|
4024
|
+
readonly baseColorFactor: {
|
|
4025
|
+
readonly type: "array";
|
|
4026
|
+
readonly items: {
|
|
4027
|
+
readonly type: "number";
|
|
4028
|
+
readonly precision: 1;
|
|
4029
|
+
readonly default: number;
|
|
4030
|
+
};
|
|
4031
|
+
readonly minItems: 4;
|
|
4032
|
+
readonly maxItems: 4;
|
|
4033
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4034
|
+
};
|
|
4035
|
+
readonly emissiveFactor: {
|
|
4036
|
+
readonly type: "array";
|
|
4037
|
+
readonly items: {
|
|
4038
|
+
readonly type: "number";
|
|
4039
|
+
readonly precision: 1;
|
|
4040
|
+
readonly default: number;
|
|
4041
|
+
};
|
|
4042
|
+
readonly minItems: 3;
|
|
4043
|
+
readonly maxItems: 3;
|
|
4044
|
+
readonly default: readonly [0, 0, 0];
|
|
4045
|
+
};
|
|
4046
|
+
readonly metallicFactor: {
|
|
4047
|
+
readonly type: "number";
|
|
4048
|
+
readonly precision: 1;
|
|
4049
|
+
readonly default: number;
|
|
4050
|
+
};
|
|
4051
|
+
readonly roughnessFactor: {
|
|
4052
|
+
readonly type: "number";
|
|
4053
|
+
readonly precision: 1;
|
|
4054
|
+
readonly default: number;
|
|
4055
|
+
};
|
|
4056
|
+
readonly normalScale: {
|
|
4057
|
+
readonly type: "number";
|
|
4058
|
+
readonly precision: 1;
|
|
4059
|
+
readonly default: number;
|
|
4060
|
+
};
|
|
4061
|
+
readonly occlusionStrength: {
|
|
4062
|
+
readonly type: "number";
|
|
4063
|
+
readonly precision: 1;
|
|
4064
|
+
readonly default: number;
|
|
4065
|
+
};
|
|
4066
|
+
readonly irReflectance: {
|
|
4067
|
+
readonly type: "number";
|
|
4068
|
+
readonly precision: 1;
|
|
4069
|
+
readonly default: number;
|
|
4070
|
+
};
|
|
4071
|
+
readonly irEmission: {
|
|
4072
|
+
readonly type: "number";
|
|
4073
|
+
readonly precision: 1;
|
|
4074
|
+
readonly default: number;
|
|
4075
|
+
};
|
|
4076
|
+
readonly emissionMode: {
|
|
4077
|
+
readonly type: "integer";
|
|
4078
|
+
readonly minimum: 0;
|
|
4079
|
+
readonly maximum: 4294967295;
|
|
4080
|
+
readonly default: number;
|
|
4081
|
+
};
|
|
4082
|
+
readonly baseColorUrl: {
|
|
4083
|
+
readonly type: "string";
|
|
4084
|
+
};
|
|
4085
|
+
readonly metallicRoughnessUrl: {
|
|
4086
|
+
readonly type: "string";
|
|
4087
|
+
};
|
|
4088
|
+
readonly normalUrl: {
|
|
4089
|
+
readonly type: "string";
|
|
4090
|
+
};
|
|
4091
|
+
readonly occlusionUrl: {
|
|
4092
|
+
readonly type: "string";
|
|
4093
|
+
};
|
|
4094
|
+
readonly emissiveUrl: {
|
|
4095
|
+
readonly type: "string";
|
|
4096
|
+
};
|
|
4097
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4098
|
+
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"];
|
|
4099
|
+
}, {
|
|
4100
|
+
readonly materialByName: {
|
|
4101
|
+
readonly key: "name";
|
|
4102
|
+
readonly unique: true;
|
|
4103
|
+
readonly archetype: "Material";
|
|
4104
|
+
};
|
|
4105
|
+
}, never>, args: {
|
|
4106
|
+
name: string;
|
|
4107
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
4108
|
+
}) => Entity;
|
|
4109
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4110
|
+
readonly material: {
|
|
4111
|
+
readonly type: "integer";
|
|
4112
|
+
readonly minimum: -2147483648;
|
|
4113
|
+
readonly maximum: 2147483647;
|
|
4114
|
+
readonly default: number;
|
|
4115
|
+
};
|
|
4116
|
+
readonly name: {
|
|
4117
|
+
readonly type: "string";
|
|
4118
|
+
};
|
|
4119
|
+
readonly density: {
|
|
4120
|
+
readonly type: "number";
|
|
4121
|
+
readonly precision: 1;
|
|
4122
|
+
readonly default: number;
|
|
4123
|
+
};
|
|
4124
|
+
readonly restitution: {
|
|
4125
|
+
readonly type: "number";
|
|
4126
|
+
readonly precision: 1;
|
|
4127
|
+
readonly default: number;
|
|
4128
|
+
};
|
|
4129
|
+
readonly friction: {
|
|
4130
|
+
readonly type: "number";
|
|
4131
|
+
readonly precision: 1;
|
|
4132
|
+
readonly default: number;
|
|
4133
|
+
};
|
|
4134
|
+
readonly compliance: {
|
|
4135
|
+
readonly type: "number";
|
|
4136
|
+
readonly precision: 1;
|
|
4137
|
+
readonly default: number;
|
|
4138
|
+
};
|
|
4139
|
+
readonly heatCapacity: {
|
|
4140
|
+
readonly type: "number";
|
|
4141
|
+
readonly precision: 1;
|
|
4142
|
+
readonly default: number;
|
|
4143
|
+
};
|
|
4144
|
+
readonly viscosity: {
|
|
4145
|
+
readonly type: "number";
|
|
4146
|
+
readonly precision: 1;
|
|
4147
|
+
readonly default: number;
|
|
4148
|
+
};
|
|
4149
|
+
readonly thermalConductivity: {
|
|
4150
|
+
readonly type: "number";
|
|
4151
|
+
readonly precision: 1;
|
|
4152
|
+
readonly default: number;
|
|
4153
|
+
};
|
|
4154
|
+
readonly stressStrainCurve: {
|
|
4155
|
+
readonly type: "object";
|
|
4156
|
+
readonly layout: "packed";
|
|
4157
|
+
readonly properties: {
|
|
4158
|
+
readonly tensileYieldStrainStress: {
|
|
4159
|
+
readonly type: "array";
|
|
4160
|
+
readonly items: {
|
|
4161
|
+
readonly type: "number";
|
|
4162
|
+
readonly precision: 1;
|
|
4163
|
+
readonly default: number;
|
|
4164
|
+
};
|
|
4165
|
+
readonly minItems: 2;
|
|
4166
|
+
readonly maxItems: 2;
|
|
4167
|
+
readonly default: readonly [0, 0];
|
|
4168
|
+
};
|
|
4169
|
+
readonly tensileFractureStrainStress: {
|
|
4170
|
+
readonly type: "array";
|
|
4171
|
+
readonly items: {
|
|
4172
|
+
readonly type: "number";
|
|
4173
|
+
readonly precision: 1;
|
|
4174
|
+
readonly default: number;
|
|
4175
|
+
};
|
|
4176
|
+
readonly minItems: 2;
|
|
4177
|
+
readonly maxItems: 2;
|
|
4178
|
+
readonly default: readonly [0, 0];
|
|
4179
|
+
};
|
|
4180
|
+
readonly compressiveYieldStrainStress: {
|
|
4181
|
+
readonly type: "array";
|
|
4182
|
+
readonly items: {
|
|
4183
|
+
readonly type: "number";
|
|
4184
|
+
readonly precision: 1;
|
|
4185
|
+
readonly default: number;
|
|
4186
|
+
};
|
|
4187
|
+
readonly minItems: 2;
|
|
4188
|
+
readonly maxItems: 2;
|
|
4189
|
+
readonly default: readonly [0, 0];
|
|
4190
|
+
};
|
|
4191
|
+
readonly compressiveFractureStrainStress: {
|
|
4192
|
+
readonly type: "array";
|
|
4193
|
+
readonly items: {
|
|
4194
|
+
readonly type: "number";
|
|
4195
|
+
readonly precision: 1;
|
|
4196
|
+
readonly default: number;
|
|
4197
|
+
};
|
|
4198
|
+
readonly minItems: 2;
|
|
4199
|
+
readonly maxItems: 2;
|
|
4200
|
+
readonly default: readonly [0, 0];
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4203
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4204
|
+
};
|
|
4205
|
+
readonly baseColorFactor: {
|
|
4206
|
+
readonly type: "array";
|
|
4207
|
+
readonly items: {
|
|
4208
|
+
readonly type: "number";
|
|
4209
|
+
readonly precision: 1;
|
|
4210
|
+
readonly default: number;
|
|
4211
|
+
};
|
|
4212
|
+
readonly minItems: 4;
|
|
4213
|
+
readonly maxItems: 4;
|
|
4214
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4215
|
+
};
|
|
4216
|
+
readonly emissiveFactor: {
|
|
4217
|
+
readonly type: "array";
|
|
4218
|
+
readonly items: {
|
|
4219
|
+
readonly type: "number";
|
|
4220
|
+
readonly precision: 1;
|
|
4221
|
+
readonly default: number;
|
|
4222
|
+
};
|
|
4223
|
+
readonly minItems: 3;
|
|
4224
|
+
readonly maxItems: 3;
|
|
4225
|
+
readonly default: readonly [0, 0, 0];
|
|
4226
|
+
};
|
|
4227
|
+
readonly metallicFactor: {
|
|
4228
|
+
readonly type: "number";
|
|
4229
|
+
readonly precision: 1;
|
|
4230
|
+
readonly default: number;
|
|
4231
|
+
};
|
|
4232
|
+
readonly roughnessFactor: {
|
|
4233
|
+
readonly type: "number";
|
|
4234
|
+
readonly precision: 1;
|
|
4235
|
+
readonly default: number;
|
|
4236
|
+
};
|
|
4237
|
+
readonly normalScale: {
|
|
4238
|
+
readonly type: "number";
|
|
4239
|
+
readonly precision: 1;
|
|
4240
|
+
readonly default: number;
|
|
4241
|
+
};
|
|
4242
|
+
readonly occlusionStrength: {
|
|
4243
|
+
readonly type: "number";
|
|
4244
|
+
readonly precision: 1;
|
|
4245
|
+
readonly default: number;
|
|
4246
|
+
};
|
|
4247
|
+
readonly irReflectance: {
|
|
4248
|
+
readonly type: "number";
|
|
4249
|
+
readonly precision: 1;
|
|
4250
|
+
readonly default: number;
|
|
4251
|
+
};
|
|
4252
|
+
readonly irEmission: {
|
|
4253
|
+
readonly type: "number";
|
|
4254
|
+
readonly precision: 1;
|
|
4255
|
+
readonly default: number;
|
|
4256
|
+
};
|
|
4257
|
+
readonly emissionMode: {
|
|
4258
|
+
readonly type: "integer";
|
|
4259
|
+
readonly minimum: 0;
|
|
4260
|
+
readonly maximum: 4294967295;
|
|
4261
|
+
readonly default: number;
|
|
4262
|
+
};
|
|
4263
|
+
readonly baseColorUrl: {
|
|
4264
|
+
readonly type: "string";
|
|
4265
|
+
};
|
|
4266
|
+
readonly metallicRoughnessUrl: {
|
|
4267
|
+
readonly type: "string";
|
|
4268
|
+
};
|
|
4269
|
+
readonly normalUrl: {
|
|
4270
|
+
readonly type: "string";
|
|
4271
|
+
};
|
|
4272
|
+
readonly occlusionUrl: {
|
|
4273
|
+
readonly type: "string";
|
|
4274
|
+
};
|
|
4275
|
+
readonly emissiveUrl: {
|
|
4276
|
+
readonly type: "string";
|
|
4277
|
+
};
|
|
4278
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4279
|
+
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"];
|
|
4280
|
+
}, {
|
|
4281
|
+
readonly materialByName: {
|
|
4282
|
+
readonly key: "name";
|
|
4283
|
+
readonly unique: true;
|
|
4284
|
+
readonly archetype: "Material";
|
|
4285
|
+
};
|
|
4286
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
4287
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4288
|
+
readonly material: {
|
|
4289
|
+
readonly type: "integer";
|
|
4290
|
+
readonly minimum: -2147483648;
|
|
4291
|
+
readonly maximum: 2147483647;
|
|
4292
|
+
readonly default: number;
|
|
4293
|
+
};
|
|
4294
|
+
readonly name: {
|
|
4295
|
+
readonly type: "string";
|
|
4296
|
+
};
|
|
4297
|
+
readonly density: {
|
|
4298
|
+
readonly type: "number";
|
|
4299
|
+
readonly precision: 1;
|
|
4300
|
+
readonly default: number;
|
|
4301
|
+
};
|
|
4302
|
+
readonly restitution: {
|
|
4303
|
+
readonly type: "number";
|
|
4304
|
+
readonly precision: 1;
|
|
4305
|
+
readonly default: number;
|
|
4306
|
+
};
|
|
4307
|
+
readonly friction: {
|
|
4308
|
+
readonly type: "number";
|
|
4309
|
+
readonly precision: 1;
|
|
4310
|
+
readonly default: number;
|
|
4311
|
+
};
|
|
4312
|
+
readonly compliance: {
|
|
4313
|
+
readonly type: "number";
|
|
4314
|
+
readonly precision: 1;
|
|
4315
|
+
readonly default: number;
|
|
4316
|
+
};
|
|
4317
|
+
readonly heatCapacity: {
|
|
4318
|
+
readonly type: "number";
|
|
4319
|
+
readonly precision: 1;
|
|
4320
|
+
readonly default: number;
|
|
4321
|
+
};
|
|
4322
|
+
readonly viscosity: {
|
|
4323
|
+
readonly type: "number";
|
|
4324
|
+
readonly precision: 1;
|
|
4325
|
+
readonly default: number;
|
|
4326
|
+
};
|
|
4327
|
+
readonly thermalConductivity: {
|
|
4328
|
+
readonly type: "number";
|
|
4329
|
+
readonly precision: 1;
|
|
4330
|
+
readonly default: number;
|
|
4331
|
+
};
|
|
4332
|
+
readonly stressStrainCurve: {
|
|
4333
|
+
readonly type: "object";
|
|
4334
|
+
readonly layout: "packed";
|
|
4335
|
+
readonly properties: {
|
|
4336
|
+
readonly tensileYieldStrainStress: {
|
|
4337
|
+
readonly type: "array";
|
|
4338
|
+
readonly items: {
|
|
4339
|
+
readonly type: "number";
|
|
4340
|
+
readonly precision: 1;
|
|
4341
|
+
readonly default: number;
|
|
4342
|
+
};
|
|
4343
|
+
readonly minItems: 2;
|
|
4344
|
+
readonly maxItems: 2;
|
|
4345
|
+
readonly default: readonly [0, 0];
|
|
4346
|
+
};
|
|
4347
|
+
readonly tensileFractureStrainStress: {
|
|
4348
|
+
readonly type: "array";
|
|
4349
|
+
readonly items: {
|
|
4350
|
+
readonly type: "number";
|
|
4351
|
+
readonly precision: 1;
|
|
4352
|
+
readonly default: number;
|
|
4353
|
+
};
|
|
4354
|
+
readonly minItems: 2;
|
|
4355
|
+
readonly maxItems: 2;
|
|
4356
|
+
readonly default: readonly [0, 0];
|
|
4357
|
+
};
|
|
4358
|
+
readonly compressiveYieldStrainStress: {
|
|
4359
|
+
readonly type: "array";
|
|
4360
|
+
readonly items: {
|
|
4361
|
+
readonly type: "number";
|
|
4362
|
+
readonly precision: 1;
|
|
4363
|
+
readonly default: number;
|
|
4364
|
+
};
|
|
4365
|
+
readonly minItems: 2;
|
|
4366
|
+
readonly maxItems: 2;
|
|
4367
|
+
readonly default: readonly [0, 0];
|
|
4368
|
+
};
|
|
4369
|
+
readonly compressiveFractureStrainStress: {
|
|
4370
|
+
readonly type: "array";
|
|
4371
|
+
readonly items: {
|
|
4372
|
+
readonly type: "number";
|
|
4373
|
+
readonly precision: 1;
|
|
4374
|
+
readonly default: number;
|
|
4375
|
+
};
|
|
4376
|
+
readonly minItems: 2;
|
|
4377
|
+
readonly maxItems: 2;
|
|
4378
|
+
readonly default: readonly [0, 0];
|
|
4379
|
+
};
|
|
4380
|
+
};
|
|
4381
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4382
|
+
};
|
|
4383
|
+
readonly baseColorFactor: {
|
|
4384
|
+
readonly type: "array";
|
|
4385
|
+
readonly items: {
|
|
4386
|
+
readonly type: "number";
|
|
4387
|
+
readonly precision: 1;
|
|
4388
|
+
readonly default: number;
|
|
4389
|
+
};
|
|
4390
|
+
readonly minItems: 4;
|
|
4391
|
+
readonly maxItems: 4;
|
|
4392
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4393
|
+
};
|
|
4394
|
+
readonly emissiveFactor: {
|
|
4395
|
+
readonly type: "array";
|
|
4396
|
+
readonly items: {
|
|
4397
|
+
readonly type: "number";
|
|
4398
|
+
readonly precision: 1;
|
|
4399
|
+
readonly default: number;
|
|
4400
|
+
};
|
|
4401
|
+
readonly minItems: 3;
|
|
4402
|
+
readonly maxItems: 3;
|
|
4403
|
+
readonly default: readonly [0, 0, 0];
|
|
4404
|
+
};
|
|
4405
|
+
readonly metallicFactor: {
|
|
4406
|
+
readonly type: "number";
|
|
4407
|
+
readonly precision: 1;
|
|
4408
|
+
readonly default: number;
|
|
4409
|
+
};
|
|
4410
|
+
readonly roughnessFactor: {
|
|
4411
|
+
readonly type: "number";
|
|
4412
|
+
readonly precision: 1;
|
|
4413
|
+
readonly default: number;
|
|
4414
|
+
};
|
|
4415
|
+
readonly normalScale: {
|
|
4416
|
+
readonly type: "number";
|
|
4417
|
+
readonly precision: 1;
|
|
4418
|
+
readonly default: number;
|
|
4419
|
+
};
|
|
4420
|
+
readonly occlusionStrength: {
|
|
4421
|
+
readonly type: "number";
|
|
4422
|
+
readonly precision: 1;
|
|
4423
|
+
readonly default: number;
|
|
4424
|
+
};
|
|
4425
|
+
readonly irReflectance: {
|
|
4426
|
+
readonly type: "number";
|
|
4427
|
+
readonly precision: 1;
|
|
4428
|
+
readonly default: number;
|
|
4429
|
+
};
|
|
4430
|
+
readonly irEmission: {
|
|
4431
|
+
readonly type: "number";
|
|
4432
|
+
readonly precision: 1;
|
|
4433
|
+
readonly default: number;
|
|
4434
|
+
};
|
|
4435
|
+
readonly emissionMode: {
|
|
4436
|
+
readonly type: "integer";
|
|
4437
|
+
readonly minimum: 0;
|
|
4438
|
+
readonly maximum: 4294967295;
|
|
4439
|
+
readonly default: number;
|
|
4440
|
+
};
|
|
4441
|
+
readonly baseColorUrl: {
|
|
4442
|
+
readonly type: "string";
|
|
4443
|
+
};
|
|
4444
|
+
readonly metallicRoughnessUrl: {
|
|
4445
|
+
readonly type: "string";
|
|
4446
|
+
};
|
|
4447
|
+
readonly normalUrl: {
|
|
4448
|
+
readonly type: "string";
|
|
4449
|
+
};
|
|
4450
|
+
readonly occlusionUrl: {
|
|
4451
|
+
readonly type: "string";
|
|
4452
|
+
};
|
|
4453
|
+
readonly emissiveUrl: {
|
|
4454
|
+
readonly type: "string";
|
|
4455
|
+
};
|
|
4456
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4457
|
+
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"];
|
|
4458
|
+
}, {
|
|
4459
|
+
readonly materialByName: {
|
|
4460
|
+
readonly key: "name";
|
|
4461
|
+
readonly unique: true;
|
|
4462
|
+
readonly archetype: "Material";
|
|
4463
|
+
};
|
|
4464
|
+
}, never>) => void;
|
|
4465
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4466
|
+
readonly material: {
|
|
4467
|
+
readonly type: "integer";
|
|
4468
|
+
readonly minimum: -2147483648;
|
|
4469
|
+
readonly maximum: 2147483647;
|
|
4470
|
+
readonly default: number;
|
|
4471
|
+
};
|
|
4472
|
+
readonly name: {
|
|
4473
|
+
readonly type: "string";
|
|
4474
|
+
};
|
|
4475
|
+
readonly density: {
|
|
4476
|
+
readonly type: "number";
|
|
4477
|
+
readonly precision: 1;
|
|
4478
|
+
readonly default: number;
|
|
4479
|
+
};
|
|
4480
|
+
readonly restitution: {
|
|
4481
|
+
readonly type: "number";
|
|
4482
|
+
readonly precision: 1;
|
|
4483
|
+
readonly default: number;
|
|
4484
|
+
};
|
|
4485
|
+
readonly friction: {
|
|
4486
|
+
readonly type: "number";
|
|
4487
|
+
readonly precision: 1;
|
|
4488
|
+
readonly default: number;
|
|
4489
|
+
};
|
|
4490
|
+
readonly compliance: {
|
|
4491
|
+
readonly type: "number";
|
|
4492
|
+
readonly precision: 1;
|
|
4493
|
+
readonly default: number;
|
|
4494
|
+
};
|
|
4495
|
+
readonly heatCapacity: {
|
|
4496
|
+
readonly type: "number";
|
|
4497
|
+
readonly precision: 1;
|
|
4498
|
+
readonly default: number;
|
|
4499
|
+
};
|
|
4500
|
+
readonly viscosity: {
|
|
4501
|
+
readonly type: "number";
|
|
4502
|
+
readonly precision: 1;
|
|
4503
|
+
readonly default: number;
|
|
4504
|
+
};
|
|
4505
|
+
readonly thermalConductivity: {
|
|
4506
|
+
readonly type: "number";
|
|
4507
|
+
readonly precision: 1;
|
|
4508
|
+
readonly default: number;
|
|
4509
|
+
};
|
|
4510
|
+
readonly stressStrainCurve: {
|
|
4511
|
+
readonly type: "object";
|
|
4512
|
+
readonly layout: "packed";
|
|
4513
|
+
readonly properties: {
|
|
4514
|
+
readonly tensileYieldStrainStress: {
|
|
4515
|
+
readonly type: "array";
|
|
4516
|
+
readonly items: {
|
|
4517
|
+
readonly type: "number";
|
|
4518
|
+
readonly precision: 1;
|
|
4519
|
+
readonly default: number;
|
|
4520
|
+
};
|
|
4521
|
+
readonly minItems: 2;
|
|
4522
|
+
readonly maxItems: 2;
|
|
4523
|
+
readonly default: readonly [0, 0];
|
|
4524
|
+
};
|
|
4525
|
+
readonly tensileFractureStrainStress: {
|
|
4526
|
+
readonly type: "array";
|
|
4527
|
+
readonly items: {
|
|
4528
|
+
readonly type: "number";
|
|
4529
|
+
readonly precision: 1;
|
|
4530
|
+
readonly default: number;
|
|
4531
|
+
};
|
|
4532
|
+
readonly minItems: 2;
|
|
4533
|
+
readonly maxItems: 2;
|
|
4534
|
+
readonly default: readonly [0, 0];
|
|
4535
|
+
};
|
|
4536
|
+
readonly compressiveYieldStrainStress: {
|
|
4537
|
+
readonly type: "array";
|
|
4538
|
+
readonly items: {
|
|
4539
|
+
readonly type: "number";
|
|
4540
|
+
readonly precision: 1;
|
|
4541
|
+
readonly default: number;
|
|
4542
|
+
};
|
|
4543
|
+
readonly minItems: 2;
|
|
4544
|
+
readonly maxItems: 2;
|
|
4545
|
+
readonly default: readonly [0, 0];
|
|
4546
|
+
};
|
|
4547
|
+
readonly compressiveFractureStrainStress: {
|
|
4548
|
+
readonly type: "array";
|
|
4549
|
+
readonly items: {
|
|
4550
|
+
readonly type: "number";
|
|
4551
|
+
readonly precision: 1;
|
|
4552
|
+
readonly default: number;
|
|
4553
|
+
};
|
|
4554
|
+
readonly minItems: 2;
|
|
4555
|
+
readonly maxItems: 2;
|
|
4556
|
+
readonly default: readonly [0, 0];
|
|
4557
|
+
};
|
|
4558
|
+
};
|
|
4559
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4560
|
+
};
|
|
4561
|
+
readonly baseColorFactor: {
|
|
4562
|
+
readonly type: "array";
|
|
4563
|
+
readonly items: {
|
|
4564
|
+
readonly type: "number";
|
|
4565
|
+
readonly precision: 1;
|
|
4566
|
+
readonly default: number;
|
|
4567
|
+
};
|
|
4568
|
+
readonly minItems: 4;
|
|
4569
|
+
readonly maxItems: 4;
|
|
4570
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4571
|
+
};
|
|
4572
|
+
readonly emissiveFactor: {
|
|
4573
|
+
readonly type: "array";
|
|
4574
|
+
readonly items: {
|
|
4575
|
+
readonly type: "number";
|
|
4576
|
+
readonly precision: 1;
|
|
4577
|
+
readonly default: number;
|
|
4578
|
+
};
|
|
4579
|
+
readonly minItems: 3;
|
|
4580
|
+
readonly maxItems: 3;
|
|
4581
|
+
readonly default: readonly [0, 0, 0];
|
|
4582
|
+
};
|
|
4583
|
+
readonly metallicFactor: {
|
|
4584
|
+
readonly type: "number";
|
|
4585
|
+
readonly precision: 1;
|
|
4586
|
+
readonly default: number;
|
|
4587
|
+
};
|
|
4588
|
+
readonly roughnessFactor: {
|
|
4589
|
+
readonly type: "number";
|
|
4590
|
+
readonly precision: 1;
|
|
4591
|
+
readonly default: number;
|
|
4592
|
+
};
|
|
4593
|
+
readonly normalScale: {
|
|
4594
|
+
readonly type: "number";
|
|
4595
|
+
readonly precision: 1;
|
|
4596
|
+
readonly default: number;
|
|
4597
|
+
};
|
|
4598
|
+
readonly occlusionStrength: {
|
|
4599
|
+
readonly type: "number";
|
|
4600
|
+
readonly precision: 1;
|
|
4601
|
+
readonly default: number;
|
|
4602
|
+
};
|
|
4603
|
+
readonly irReflectance: {
|
|
4604
|
+
readonly type: "number";
|
|
4605
|
+
readonly precision: 1;
|
|
4606
|
+
readonly default: number;
|
|
4607
|
+
};
|
|
4608
|
+
readonly irEmission: {
|
|
4609
|
+
readonly type: "number";
|
|
4610
|
+
readonly precision: 1;
|
|
4611
|
+
readonly default: number;
|
|
4612
|
+
};
|
|
4613
|
+
readonly emissionMode: {
|
|
4614
|
+
readonly type: "integer";
|
|
4615
|
+
readonly minimum: 0;
|
|
4616
|
+
readonly maximum: 4294967295;
|
|
4617
|
+
readonly default: number;
|
|
4618
|
+
};
|
|
4619
|
+
readonly baseColorUrl: {
|
|
4620
|
+
readonly type: "string";
|
|
4621
|
+
};
|
|
4622
|
+
readonly metallicRoughnessUrl: {
|
|
4623
|
+
readonly type: "string";
|
|
4624
|
+
};
|
|
4625
|
+
readonly normalUrl: {
|
|
4626
|
+
readonly type: "string";
|
|
4627
|
+
};
|
|
4628
|
+
readonly occlusionUrl: {
|
|
4629
|
+
readonly type: "string";
|
|
4630
|
+
};
|
|
4631
|
+
readonly emissiveUrl: {
|
|
4632
|
+
readonly type: "string";
|
|
4633
|
+
};
|
|
4634
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4635
|
+
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"];
|
|
4636
|
+
}, {
|
|
4637
|
+
readonly materialByName: {
|
|
4638
|
+
readonly key: "name";
|
|
4639
|
+
readonly unique: true;
|
|
4640
|
+
readonly archetype: "Material";
|
|
4641
|
+
};
|
|
4642
|
+
}, never>) => void;
|
|
4643
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
4644
|
+
readonly materialByName: {
|
|
4645
|
+
readonly key: "name";
|
|
4646
|
+
readonly unique: true;
|
|
4647
|
+
readonly archetype: "Material";
|
|
4648
|
+
};
|
|
4649
|
+
}, never>, args: {
|
|
4650
|
+
ray: {
|
|
4651
|
+
readonly a: readonly [number, number, number];
|
|
4652
|
+
readonly b: readonly [number, number, number];
|
|
4653
|
+
};
|
|
4654
|
+
radius?: number;
|
|
4655
|
+
}) => import("../../physics/physics-hit.js").PhysicsHit | null;
|
|
4656
|
+
readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
4657
|
+
readonly bodyType: {
|
|
4658
|
+
readonly type: "string";
|
|
4659
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
4660
|
+
};
|
|
4661
|
+
readonly colliderShape: {
|
|
4662
|
+
readonly type: "string";
|
|
4663
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
4664
|
+
};
|
|
4665
|
+
readonly halfExtents: {
|
|
4666
|
+
readonly type: "array";
|
|
4667
|
+
readonly items: {
|
|
4668
|
+
readonly type: "number";
|
|
4669
|
+
readonly precision: 1;
|
|
4670
|
+
readonly default: number;
|
|
4671
|
+
};
|
|
4672
|
+
readonly minItems: 3;
|
|
4673
|
+
readonly maxItems: 3;
|
|
4674
|
+
readonly default: readonly [0, 0, 0];
|
|
4675
|
+
};
|
|
4676
|
+
readonly position: {
|
|
4677
|
+
readonly type: "array";
|
|
4678
|
+
readonly items: {
|
|
4679
|
+
readonly type: "number";
|
|
4680
|
+
readonly precision: 1;
|
|
4681
|
+
readonly default: number;
|
|
4682
|
+
};
|
|
4683
|
+
readonly minItems: 3;
|
|
4684
|
+
readonly maxItems: 3;
|
|
4685
|
+
readonly default: readonly [0, 0, 0];
|
|
4686
|
+
};
|
|
4687
|
+
readonly rotation: {
|
|
4688
|
+
readonly type: "array";
|
|
4689
|
+
readonly items: {
|
|
4690
|
+
readonly type: "number";
|
|
4691
|
+
readonly precision: 1;
|
|
4692
|
+
readonly default: number;
|
|
4693
|
+
};
|
|
4694
|
+
readonly minItems: 4;
|
|
4695
|
+
readonly maxItems: 4;
|
|
4696
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
4697
|
+
readonly interpolators: {
|
|
4698
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4699
|
+
};
|
|
4700
|
+
};
|
|
4701
|
+
readonly linearVelocity: {
|
|
4702
|
+
readonly type: "array";
|
|
4703
|
+
readonly items: {
|
|
4704
|
+
readonly type: "number";
|
|
4705
|
+
readonly precision: 1;
|
|
4706
|
+
readonly default: number;
|
|
4707
|
+
};
|
|
4708
|
+
readonly minItems: 3;
|
|
4709
|
+
readonly maxItems: 3;
|
|
4710
|
+
readonly default: readonly [0, 0, 0];
|
|
4711
|
+
};
|
|
4712
|
+
readonly angularVelocity: {
|
|
4713
|
+
readonly type: "array";
|
|
4714
|
+
readonly items: {
|
|
4715
|
+
readonly type: "number";
|
|
4716
|
+
readonly precision: 1;
|
|
4717
|
+
readonly default: number;
|
|
4718
|
+
};
|
|
4719
|
+
readonly minItems: 3;
|
|
4720
|
+
readonly maxItems: 3;
|
|
4721
|
+
readonly default: readonly [0, 0, 0];
|
|
4722
|
+
};
|
|
4723
|
+
readonly _prevPosition: {
|
|
4724
|
+
readonly nonPersistent: true;
|
|
4725
|
+
readonly type: "array";
|
|
4726
|
+
readonly items: {
|
|
4727
|
+
readonly type: "number";
|
|
4728
|
+
readonly precision: 1;
|
|
4729
|
+
readonly default: number;
|
|
4730
|
+
};
|
|
4731
|
+
readonly minItems: 3;
|
|
4732
|
+
readonly maxItems: 3;
|
|
4733
|
+
readonly default: readonly [0, 0, 0];
|
|
4734
|
+
};
|
|
4735
|
+
readonly _prevRotation: {
|
|
4736
|
+
readonly nonPersistent: true;
|
|
4737
|
+
readonly type: "array";
|
|
4738
|
+
readonly items: {
|
|
4739
|
+
readonly type: "number";
|
|
4740
|
+
readonly precision: 1;
|
|
4741
|
+
readonly default: number;
|
|
4742
|
+
};
|
|
4743
|
+
readonly minItems: 4;
|
|
4744
|
+
readonly maxItems: 4;
|
|
4745
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
4746
|
+
readonly interpolators: {
|
|
4747
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4748
|
+
};
|
|
4749
|
+
};
|
|
4750
|
+
readonly collisionGroup: {
|
|
4751
|
+
readonly type: "number";
|
|
4752
|
+
readonly precision: 1;
|
|
4753
|
+
readonly default: number;
|
|
4754
|
+
};
|
|
4755
|
+
readonly convexPoints: {
|
|
4756
|
+
readonly default: Float32Array | null;
|
|
4757
|
+
};
|
|
4758
|
+
readonly colliderMesh: {
|
|
4759
|
+
readonly default: ColliderMesh | null;
|
|
4760
|
+
};
|
|
4761
|
+
} & {
|
|
4762
|
+
readonly material: {
|
|
4763
|
+
readonly type: "integer";
|
|
4764
|
+
readonly minimum: -2147483648;
|
|
4765
|
+
readonly maximum: 2147483647;
|
|
4766
|
+
readonly default: number;
|
|
4767
|
+
};
|
|
4768
|
+
readonly name: {
|
|
4769
|
+
readonly type: "string";
|
|
4770
|
+
};
|
|
4771
|
+
readonly density: {
|
|
4772
|
+
readonly type: "number";
|
|
4773
|
+
readonly precision: 1;
|
|
4774
|
+
readonly default: number;
|
|
4775
|
+
};
|
|
4776
|
+
readonly restitution: {
|
|
4777
|
+
readonly type: "number";
|
|
4778
|
+
readonly precision: 1;
|
|
4779
|
+
readonly default: number;
|
|
4780
|
+
};
|
|
4781
|
+
readonly friction: {
|
|
4782
|
+
readonly type: "number";
|
|
4783
|
+
readonly precision: 1;
|
|
4784
|
+
readonly default: number;
|
|
4785
|
+
};
|
|
4786
|
+
readonly compliance: {
|
|
4787
|
+
readonly type: "number";
|
|
4788
|
+
readonly precision: 1;
|
|
4789
|
+
readonly default: number;
|
|
4790
|
+
};
|
|
4791
|
+
readonly heatCapacity: {
|
|
4792
|
+
readonly type: "number";
|
|
4793
|
+
readonly precision: 1;
|
|
4794
|
+
readonly default: number;
|
|
4795
|
+
};
|
|
4796
|
+
readonly viscosity: {
|
|
4797
|
+
readonly type: "number";
|
|
4798
|
+
readonly precision: 1;
|
|
4799
|
+
readonly default: number;
|
|
4800
|
+
};
|
|
4801
|
+
readonly thermalConductivity: {
|
|
4802
|
+
readonly type: "number";
|
|
4803
|
+
readonly precision: 1;
|
|
4804
|
+
readonly default: number;
|
|
4805
|
+
};
|
|
4806
|
+
readonly stressStrainCurve: {
|
|
4807
|
+
readonly type: "object";
|
|
4808
|
+
readonly layout: "packed";
|
|
4809
|
+
readonly properties: {
|
|
4810
|
+
readonly tensileYieldStrainStress: {
|
|
4811
|
+
readonly type: "array";
|
|
4812
|
+
readonly items: {
|
|
4813
|
+
readonly type: "number";
|
|
4814
|
+
readonly precision: 1;
|
|
4815
|
+
readonly default: number;
|
|
4816
|
+
};
|
|
4817
|
+
readonly minItems: 2;
|
|
4818
|
+
readonly maxItems: 2;
|
|
4819
|
+
readonly default: readonly [0, 0];
|
|
4820
|
+
};
|
|
4821
|
+
readonly tensileFractureStrainStress: {
|
|
4822
|
+
readonly type: "array";
|
|
4823
|
+
readonly items: {
|
|
4824
|
+
readonly type: "number";
|
|
4825
|
+
readonly precision: 1;
|
|
4826
|
+
readonly default: number;
|
|
4827
|
+
};
|
|
4828
|
+
readonly minItems: 2;
|
|
4829
|
+
readonly maxItems: 2;
|
|
4830
|
+
readonly default: readonly [0, 0];
|
|
4831
|
+
};
|
|
4832
|
+
readonly compressiveYieldStrainStress: {
|
|
4833
|
+
readonly type: "array";
|
|
4834
|
+
readonly items: {
|
|
4835
|
+
readonly type: "number";
|
|
4836
|
+
readonly precision: 1;
|
|
4837
|
+
readonly default: number;
|
|
4838
|
+
};
|
|
4839
|
+
readonly minItems: 2;
|
|
4840
|
+
readonly maxItems: 2;
|
|
4841
|
+
readonly default: readonly [0, 0];
|
|
4842
|
+
};
|
|
4843
|
+
readonly compressiveFractureStrainStress: {
|
|
4844
|
+
readonly type: "array";
|
|
4845
|
+
readonly items: {
|
|
4846
|
+
readonly type: "number";
|
|
4847
|
+
readonly precision: 1;
|
|
4848
|
+
readonly default: number;
|
|
4849
|
+
};
|
|
4850
|
+
readonly minItems: 2;
|
|
4851
|
+
readonly maxItems: 2;
|
|
4852
|
+
readonly default: readonly [0, 0];
|
|
4853
|
+
};
|
|
4854
|
+
};
|
|
4855
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4856
|
+
};
|
|
4857
|
+
readonly baseColorFactor: {
|
|
4858
|
+
readonly type: "array";
|
|
4859
|
+
readonly items: {
|
|
4860
|
+
readonly type: "number";
|
|
4861
|
+
readonly precision: 1;
|
|
4862
|
+
readonly default: number;
|
|
4863
|
+
};
|
|
4864
|
+
readonly minItems: 4;
|
|
4865
|
+
readonly maxItems: 4;
|
|
4866
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4867
|
+
};
|
|
4868
|
+
readonly emissiveFactor: {
|
|
4869
|
+
readonly type: "array";
|
|
4870
|
+
readonly items: {
|
|
4871
|
+
readonly type: "number";
|
|
4872
|
+
readonly precision: 1;
|
|
4873
|
+
readonly default: number;
|
|
4874
|
+
};
|
|
4875
|
+
readonly minItems: 3;
|
|
4876
|
+
readonly maxItems: 3;
|
|
4877
|
+
readonly default: readonly [0, 0, 0];
|
|
4878
|
+
};
|
|
4879
|
+
readonly metallicFactor: {
|
|
4880
|
+
readonly type: "number";
|
|
4881
|
+
readonly precision: 1;
|
|
4882
|
+
readonly default: number;
|
|
4883
|
+
};
|
|
4884
|
+
readonly roughnessFactor: {
|
|
4885
|
+
readonly type: "number";
|
|
4886
|
+
readonly precision: 1;
|
|
4887
|
+
readonly default: number;
|
|
4888
|
+
};
|
|
4889
|
+
readonly normalScale: {
|
|
4890
|
+
readonly type: "number";
|
|
4891
|
+
readonly precision: 1;
|
|
4892
|
+
readonly default: number;
|
|
4893
|
+
};
|
|
4894
|
+
readonly occlusionStrength: {
|
|
4895
|
+
readonly type: "number";
|
|
4896
|
+
readonly precision: 1;
|
|
4897
|
+
readonly default: number;
|
|
4898
|
+
};
|
|
4899
|
+
readonly irReflectance: {
|
|
4900
|
+
readonly type: "number";
|
|
4901
|
+
readonly precision: 1;
|
|
4902
|
+
readonly default: number;
|
|
4903
|
+
};
|
|
4904
|
+
readonly irEmission: {
|
|
4905
|
+
readonly type: "number";
|
|
4906
|
+
readonly precision: 1;
|
|
4907
|
+
readonly default: number;
|
|
4908
|
+
};
|
|
4909
|
+
readonly emissionMode: {
|
|
4910
|
+
readonly type: "integer";
|
|
4911
|
+
readonly minimum: 0;
|
|
4912
|
+
readonly maximum: 4294967295;
|
|
4913
|
+
readonly default: number;
|
|
4914
|
+
};
|
|
4915
|
+
readonly baseColorUrl: {
|
|
4916
|
+
readonly type: "string";
|
|
4917
|
+
};
|
|
4918
|
+
readonly metallicRoughnessUrl: {
|
|
4919
|
+
readonly type: "string";
|
|
4920
|
+
};
|
|
4921
|
+
readonly normalUrl: {
|
|
4922
|
+
readonly type: "string";
|
|
4923
|
+
};
|
|
4924
|
+
readonly occlusionUrl: {
|
|
4925
|
+
readonly type: "string";
|
|
4926
|
+
};
|
|
4927
|
+
readonly emissiveUrl: {
|
|
4928
|
+
readonly type: "string";
|
|
4929
|
+
};
|
|
4930
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
4931
|
+
readonly physicsQuery: {
|
|
4932
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
4933
|
+
readonly nonPersistent: true;
|
|
4934
|
+
};
|
|
4935
|
+
} & {}>, {
|
|
4936
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
4937
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
4938
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
4939
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
4940
|
+
} & {
|
|
4941
|
+
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"];
|
|
4942
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
4943
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4944
|
+
readonly material: {
|
|
4945
|
+
readonly type: "integer";
|
|
4946
|
+
readonly minimum: -2147483648;
|
|
4947
|
+
readonly maximum: 2147483647;
|
|
4948
|
+
readonly default: number;
|
|
4949
|
+
};
|
|
4950
|
+
readonly name: {
|
|
4951
|
+
readonly type: "string";
|
|
4952
|
+
};
|
|
4953
|
+
readonly density: {
|
|
4954
|
+
readonly type: "number";
|
|
4955
|
+
readonly precision: 1;
|
|
4956
|
+
readonly default: number;
|
|
4957
|
+
};
|
|
4958
|
+
readonly restitution: {
|
|
4959
|
+
readonly type: "number";
|
|
4960
|
+
readonly precision: 1;
|
|
4961
|
+
readonly default: number;
|
|
4962
|
+
};
|
|
4963
|
+
readonly friction: {
|
|
4964
|
+
readonly type: "number";
|
|
4965
|
+
readonly precision: 1;
|
|
4966
|
+
readonly default: number;
|
|
4967
|
+
};
|
|
4968
|
+
readonly compliance: {
|
|
4969
|
+
readonly type: "number";
|
|
4970
|
+
readonly precision: 1;
|
|
4971
|
+
readonly default: number;
|
|
4972
|
+
};
|
|
4973
|
+
readonly heatCapacity: {
|
|
4974
|
+
readonly type: "number";
|
|
4975
|
+
readonly precision: 1;
|
|
4976
|
+
readonly default: number;
|
|
4977
|
+
};
|
|
4978
|
+
readonly viscosity: {
|
|
4979
|
+
readonly type: "number";
|
|
4980
|
+
readonly precision: 1;
|
|
4981
|
+
readonly default: number;
|
|
4982
|
+
};
|
|
4983
|
+
readonly thermalConductivity: {
|
|
4984
|
+
readonly type: "number";
|
|
4985
|
+
readonly precision: 1;
|
|
4986
|
+
readonly default: number;
|
|
4987
|
+
};
|
|
4988
|
+
readonly stressStrainCurve: {
|
|
4989
|
+
readonly type: "object";
|
|
4990
|
+
readonly layout: "packed";
|
|
4991
|
+
readonly properties: {
|
|
4992
|
+
readonly tensileYieldStrainStress: {
|
|
4993
|
+
readonly type: "array";
|
|
4994
|
+
readonly items: {
|
|
4995
|
+
readonly type: "number";
|
|
4996
|
+
readonly precision: 1;
|
|
4997
|
+
readonly default: number;
|
|
4998
|
+
};
|
|
4999
|
+
readonly minItems: 2;
|
|
5000
|
+
readonly maxItems: 2;
|
|
5001
|
+
readonly default: readonly [0, 0];
|
|
5002
|
+
};
|
|
5003
|
+
readonly tensileFractureStrainStress: {
|
|
5004
|
+
readonly type: "array";
|
|
5005
|
+
readonly items: {
|
|
5006
|
+
readonly type: "number";
|
|
5007
|
+
readonly precision: 1;
|
|
5008
|
+
readonly default: number;
|
|
5009
|
+
};
|
|
5010
|
+
readonly minItems: 2;
|
|
5011
|
+
readonly maxItems: 2;
|
|
5012
|
+
readonly default: readonly [0, 0];
|
|
5013
|
+
};
|
|
5014
|
+
readonly compressiveYieldStrainStress: {
|
|
5015
|
+
readonly type: "array";
|
|
5016
|
+
readonly items: {
|
|
5017
|
+
readonly type: "number";
|
|
5018
|
+
readonly precision: 1;
|
|
5019
|
+
readonly default: number;
|
|
5020
|
+
};
|
|
5021
|
+
readonly minItems: 2;
|
|
5022
|
+
readonly maxItems: 2;
|
|
5023
|
+
readonly default: readonly [0, 0];
|
|
5024
|
+
};
|
|
5025
|
+
readonly compressiveFractureStrainStress: {
|
|
5026
|
+
readonly type: "array";
|
|
5027
|
+
readonly items: {
|
|
5028
|
+
readonly type: "number";
|
|
5029
|
+
readonly precision: 1;
|
|
5030
|
+
readonly default: number;
|
|
5031
|
+
};
|
|
5032
|
+
readonly minItems: 2;
|
|
5033
|
+
readonly maxItems: 2;
|
|
5034
|
+
readonly default: readonly [0, 0];
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5037
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5038
|
+
};
|
|
5039
|
+
readonly baseColorFactor: {
|
|
5040
|
+
readonly type: "array";
|
|
5041
|
+
readonly items: {
|
|
5042
|
+
readonly type: "number";
|
|
5043
|
+
readonly precision: 1;
|
|
5044
|
+
readonly default: number;
|
|
5045
|
+
};
|
|
5046
|
+
readonly minItems: 4;
|
|
5047
|
+
readonly maxItems: 4;
|
|
5048
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5049
|
+
};
|
|
5050
|
+
readonly emissiveFactor: {
|
|
5051
|
+
readonly type: "array";
|
|
5052
|
+
readonly items: {
|
|
5053
|
+
readonly type: "number";
|
|
5054
|
+
readonly precision: 1;
|
|
5055
|
+
readonly default: number;
|
|
5056
|
+
};
|
|
5057
|
+
readonly minItems: 3;
|
|
5058
|
+
readonly maxItems: 3;
|
|
5059
|
+
readonly default: readonly [0, 0, 0];
|
|
5060
|
+
};
|
|
5061
|
+
readonly metallicFactor: {
|
|
5062
|
+
readonly type: "number";
|
|
5063
|
+
readonly precision: 1;
|
|
5064
|
+
readonly default: number;
|
|
5065
|
+
};
|
|
5066
|
+
readonly roughnessFactor: {
|
|
5067
|
+
readonly type: "number";
|
|
5068
|
+
readonly precision: 1;
|
|
5069
|
+
readonly default: number;
|
|
5070
|
+
};
|
|
5071
|
+
readonly normalScale: {
|
|
5072
|
+
readonly type: "number";
|
|
5073
|
+
readonly precision: 1;
|
|
5074
|
+
readonly default: number;
|
|
5075
|
+
};
|
|
5076
|
+
readonly occlusionStrength: {
|
|
5077
|
+
readonly type: "number";
|
|
5078
|
+
readonly precision: 1;
|
|
5079
|
+
readonly default: number;
|
|
5080
|
+
};
|
|
5081
|
+
readonly irReflectance: {
|
|
5082
|
+
readonly type: "number";
|
|
5083
|
+
readonly precision: 1;
|
|
5084
|
+
readonly default: number;
|
|
5085
|
+
};
|
|
5086
|
+
readonly irEmission: {
|
|
5087
|
+
readonly type: "number";
|
|
5088
|
+
readonly precision: 1;
|
|
5089
|
+
readonly default: number;
|
|
5090
|
+
};
|
|
5091
|
+
readonly emissionMode: {
|
|
5092
|
+
readonly type: "integer";
|
|
5093
|
+
readonly minimum: 0;
|
|
5094
|
+
readonly maximum: 4294967295;
|
|
5095
|
+
readonly default: number;
|
|
5096
|
+
};
|
|
5097
|
+
readonly baseColorUrl: {
|
|
5098
|
+
readonly type: "string";
|
|
5099
|
+
};
|
|
5100
|
+
readonly metallicRoughnessUrl: {
|
|
5101
|
+
readonly type: "string";
|
|
5102
|
+
};
|
|
5103
|
+
readonly normalUrl: {
|
|
5104
|
+
readonly type: "string";
|
|
5105
|
+
};
|
|
5106
|
+
readonly occlusionUrl: {
|
|
5107
|
+
readonly type: "string";
|
|
5108
|
+
};
|
|
5109
|
+
readonly emissiveUrl: {
|
|
5110
|
+
readonly type: "string";
|
|
5111
|
+
};
|
|
5112
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5113
|
+
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"];
|
|
5114
|
+
}, {
|
|
5115
|
+
readonly materialByName: {
|
|
5116
|
+
readonly key: "name";
|
|
5117
|
+
readonly unique: true;
|
|
5118
|
+
readonly archetype: "Material";
|
|
5119
|
+
};
|
|
5120
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
5121
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5122
|
+
readonly material: {
|
|
5123
|
+
readonly type: "integer";
|
|
5124
|
+
readonly minimum: -2147483648;
|
|
5125
|
+
readonly maximum: 2147483647;
|
|
5126
|
+
readonly default: number;
|
|
5127
|
+
};
|
|
5128
|
+
readonly name: {
|
|
5129
|
+
readonly type: "string";
|
|
5130
|
+
};
|
|
5131
|
+
readonly density: {
|
|
5132
|
+
readonly type: "number";
|
|
5133
|
+
readonly precision: 1;
|
|
5134
|
+
readonly default: number;
|
|
5135
|
+
};
|
|
5136
|
+
readonly restitution: {
|
|
5137
|
+
readonly type: "number";
|
|
5138
|
+
readonly precision: 1;
|
|
5139
|
+
readonly default: number;
|
|
5140
|
+
};
|
|
5141
|
+
readonly friction: {
|
|
5142
|
+
readonly type: "number";
|
|
5143
|
+
readonly precision: 1;
|
|
5144
|
+
readonly default: number;
|
|
5145
|
+
};
|
|
5146
|
+
readonly compliance: {
|
|
5147
|
+
readonly type: "number";
|
|
5148
|
+
readonly precision: 1;
|
|
5149
|
+
readonly default: number;
|
|
5150
|
+
};
|
|
5151
|
+
readonly heatCapacity: {
|
|
5152
|
+
readonly type: "number";
|
|
5153
|
+
readonly precision: 1;
|
|
5154
|
+
readonly default: number;
|
|
5155
|
+
};
|
|
5156
|
+
readonly viscosity: {
|
|
5157
|
+
readonly type: "number";
|
|
5158
|
+
readonly precision: 1;
|
|
5159
|
+
readonly default: number;
|
|
5160
|
+
};
|
|
5161
|
+
readonly thermalConductivity: {
|
|
5162
|
+
readonly type: "number";
|
|
5163
|
+
readonly precision: 1;
|
|
5164
|
+
readonly default: number;
|
|
5165
|
+
};
|
|
5166
|
+
readonly stressStrainCurve: {
|
|
5167
|
+
readonly type: "object";
|
|
5168
|
+
readonly layout: "packed";
|
|
5169
|
+
readonly properties: {
|
|
5170
|
+
readonly tensileYieldStrainStress: {
|
|
5171
|
+
readonly type: "array";
|
|
5172
|
+
readonly items: {
|
|
5173
|
+
readonly type: "number";
|
|
5174
|
+
readonly precision: 1;
|
|
5175
|
+
readonly default: number;
|
|
5176
|
+
};
|
|
5177
|
+
readonly minItems: 2;
|
|
5178
|
+
readonly maxItems: 2;
|
|
5179
|
+
readonly default: readonly [0, 0];
|
|
5180
|
+
};
|
|
5181
|
+
readonly tensileFractureStrainStress: {
|
|
5182
|
+
readonly type: "array";
|
|
5183
|
+
readonly items: {
|
|
5184
|
+
readonly type: "number";
|
|
5185
|
+
readonly precision: 1;
|
|
5186
|
+
readonly default: number;
|
|
5187
|
+
};
|
|
5188
|
+
readonly minItems: 2;
|
|
5189
|
+
readonly maxItems: 2;
|
|
5190
|
+
readonly default: readonly [0, 0];
|
|
5191
|
+
};
|
|
5192
|
+
readonly compressiveYieldStrainStress: {
|
|
5193
|
+
readonly type: "array";
|
|
5194
|
+
readonly items: {
|
|
5195
|
+
readonly type: "number";
|
|
5196
|
+
readonly precision: 1;
|
|
5197
|
+
readonly default: number;
|
|
5198
|
+
};
|
|
5199
|
+
readonly minItems: 2;
|
|
5200
|
+
readonly maxItems: 2;
|
|
5201
|
+
readonly default: readonly [0, 0];
|
|
5202
|
+
};
|
|
5203
|
+
readonly compressiveFractureStrainStress: {
|
|
5204
|
+
readonly type: "array";
|
|
5205
|
+
readonly items: {
|
|
5206
|
+
readonly type: "number";
|
|
5207
|
+
readonly precision: 1;
|
|
5208
|
+
readonly default: number;
|
|
5209
|
+
};
|
|
5210
|
+
readonly minItems: 2;
|
|
5211
|
+
readonly maxItems: 2;
|
|
5212
|
+
readonly default: readonly [0, 0];
|
|
5213
|
+
};
|
|
5214
|
+
};
|
|
5215
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5216
|
+
};
|
|
5217
|
+
readonly baseColorFactor: {
|
|
5218
|
+
readonly type: "array";
|
|
5219
|
+
readonly items: {
|
|
5220
|
+
readonly type: "number";
|
|
5221
|
+
readonly precision: 1;
|
|
5222
|
+
readonly default: number;
|
|
5223
|
+
};
|
|
5224
|
+
readonly minItems: 4;
|
|
5225
|
+
readonly maxItems: 4;
|
|
5226
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5227
|
+
};
|
|
5228
|
+
readonly emissiveFactor: {
|
|
5229
|
+
readonly type: "array";
|
|
5230
|
+
readonly items: {
|
|
5231
|
+
readonly type: "number";
|
|
5232
|
+
readonly precision: 1;
|
|
5233
|
+
readonly default: number;
|
|
5234
|
+
};
|
|
5235
|
+
readonly minItems: 3;
|
|
5236
|
+
readonly maxItems: 3;
|
|
5237
|
+
readonly default: readonly [0, 0, 0];
|
|
5238
|
+
};
|
|
5239
|
+
readonly metallicFactor: {
|
|
5240
|
+
readonly type: "number";
|
|
5241
|
+
readonly precision: 1;
|
|
5242
|
+
readonly default: number;
|
|
5243
|
+
};
|
|
5244
|
+
readonly roughnessFactor: {
|
|
5245
|
+
readonly type: "number";
|
|
5246
|
+
readonly precision: 1;
|
|
5247
|
+
readonly default: number;
|
|
5248
|
+
};
|
|
5249
|
+
readonly normalScale: {
|
|
5250
|
+
readonly type: "number";
|
|
5251
|
+
readonly precision: 1;
|
|
5252
|
+
readonly default: number;
|
|
5253
|
+
};
|
|
5254
|
+
readonly occlusionStrength: {
|
|
5255
|
+
readonly type: "number";
|
|
5256
|
+
readonly precision: 1;
|
|
5257
|
+
readonly default: number;
|
|
5258
|
+
};
|
|
5259
|
+
readonly irReflectance: {
|
|
5260
|
+
readonly type: "number";
|
|
5261
|
+
readonly precision: 1;
|
|
5262
|
+
readonly default: number;
|
|
5263
|
+
};
|
|
5264
|
+
readonly irEmission: {
|
|
5265
|
+
readonly type: "number";
|
|
5266
|
+
readonly precision: 1;
|
|
5267
|
+
readonly default: number;
|
|
5268
|
+
};
|
|
5269
|
+
readonly emissionMode: {
|
|
5270
|
+
readonly type: "integer";
|
|
5271
|
+
readonly minimum: 0;
|
|
5272
|
+
readonly maximum: 4294967295;
|
|
5273
|
+
readonly default: number;
|
|
5274
|
+
};
|
|
5275
|
+
readonly baseColorUrl: {
|
|
5276
|
+
readonly type: "string";
|
|
5277
|
+
};
|
|
5278
|
+
readonly metallicRoughnessUrl: {
|
|
5279
|
+
readonly type: "string";
|
|
5280
|
+
};
|
|
5281
|
+
readonly normalUrl: {
|
|
5282
|
+
readonly type: "string";
|
|
5283
|
+
};
|
|
5284
|
+
readonly occlusionUrl: {
|
|
5285
|
+
readonly type: "string";
|
|
5286
|
+
};
|
|
5287
|
+
readonly emissiveUrl: {
|
|
5288
|
+
readonly type: "string";
|
|
5289
|
+
};
|
|
5290
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5291
|
+
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"];
|
|
5292
|
+
}, {
|
|
5293
|
+
readonly materialByName: {
|
|
5294
|
+
readonly key: "name";
|
|
5295
|
+
readonly unique: true;
|
|
5296
|
+
readonly archetype: "Material";
|
|
5297
|
+
};
|
|
5298
|
+
}, never>, args: {
|
|
5299
|
+
name: string;
|
|
5300
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
5301
|
+
}) => Entity;
|
|
5302
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5303
|
+
readonly material: {
|
|
5304
|
+
readonly type: "integer";
|
|
5305
|
+
readonly minimum: -2147483648;
|
|
5306
|
+
readonly maximum: 2147483647;
|
|
5307
|
+
readonly default: number;
|
|
5308
|
+
};
|
|
5309
|
+
readonly name: {
|
|
5310
|
+
readonly type: "string";
|
|
5311
|
+
};
|
|
5312
|
+
readonly density: {
|
|
5313
|
+
readonly type: "number";
|
|
5314
|
+
readonly precision: 1;
|
|
5315
|
+
readonly default: number;
|
|
5316
|
+
};
|
|
5317
|
+
readonly restitution: {
|
|
5318
|
+
readonly type: "number";
|
|
5319
|
+
readonly precision: 1;
|
|
5320
|
+
readonly default: number;
|
|
5321
|
+
};
|
|
5322
|
+
readonly friction: {
|
|
5323
|
+
readonly type: "number";
|
|
5324
|
+
readonly precision: 1;
|
|
5325
|
+
readonly default: number;
|
|
5326
|
+
};
|
|
5327
|
+
readonly compliance: {
|
|
5328
|
+
readonly type: "number";
|
|
5329
|
+
readonly precision: 1;
|
|
5330
|
+
readonly default: number;
|
|
5331
|
+
};
|
|
5332
|
+
readonly heatCapacity: {
|
|
5333
|
+
readonly type: "number";
|
|
5334
|
+
readonly precision: 1;
|
|
5335
|
+
readonly default: number;
|
|
5336
|
+
};
|
|
5337
|
+
readonly viscosity: {
|
|
5338
|
+
readonly type: "number";
|
|
5339
|
+
readonly precision: 1;
|
|
5340
|
+
readonly default: number;
|
|
5341
|
+
};
|
|
5342
|
+
readonly thermalConductivity: {
|
|
5343
|
+
readonly type: "number";
|
|
5344
|
+
readonly precision: 1;
|
|
5345
|
+
readonly default: number;
|
|
5346
|
+
};
|
|
5347
|
+
readonly stressStrainCurve: {
|
|
5348
|
+
readonly type: "object";
|
|
5349
|
+
readonly layout: "packed";
|
|
5350
|
+
readonly properties: {
|
|
5351
|
+
readonly tensileYieldStrainStress: {
|
|
5352
|
+
readonly type: "array";
|
|
5353
|
+
readonly items: {
|
|
5354
|
+
readonly type: "number";
|
|
5355
|
+
readonly precision: 1;
|
|
5356
|
+
readonly default: number;
|
|
5357
|
+
};
|
|
5358
|
+
readonly minItems: 2;
|
|
5359
|
+
readonly maxItems: 2;
|
|
5360
|
+
readonly default: readonly [0, 0];
|
|
5361
|
+
};
|
|
5362
|
+
readonly tensileFractureStrainStress: {
|
|
5363
|
+
readonly type: "array";
|
|
5364
|
+
readonly items: {
|
|
5365
|
+
readonly type: "number";
|
|
5366
|
+
readonly precision: 1;
|
|
5367
|
+
readonly default: number;
|
|
5368
|
+
};
|
|
5369
|
+
readonly minItems: 2;
|
|
5370
|
+
readonly maxItems: 2;
|
|
5371
|
+
readonly default: readonly [0, 0];
|
|
5372
|
+
};
|
|
5373
|
+
readonly compressiveYieldStrainStress: {
|
|
5374
|
+
readonly type: "array";
|
|
5375
|
+
readonly items: {
|
|
5376
|
+
readonly type: "number";
|
|
5377
|
+
readonly precision: 1;
|
|
5378
|
+
readonly default: number;
|
|
5379
|
+
};
|
|
5380
|
+
readonly minItems: 2;
|
|
5381
|
+
readonly maxItems: 2;
|
|
5382
|
+
readonly default: readonly [0, 0];
|
|
5383
|
+
};
|
|
5384
|
+
readonly compressiveFractureStrainStress: {
|
|
5385
|
+
readonly type: "array";
|
|
5386
|
+
readonly items: {
|
|
5387
|
+
readonly type: "number";
|
|
5388
|
+
readonly precision: 1;
|
|
5389
|
+
readonly default: number;
|
|
5390
|
+
};
|
|
5391
|
+
readonly minItems: 2;
|
|
5392
|
+
readonly maxItems: 2;
|
|
5393
|
+
readonly default: readonly [0, 0];
|
|
5394
|
+
};
|
|
5395
|
+
};
|
|
5396
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5397
|
+
};
|
|
5398
|
+
readonly baseColorFactor: {
|
|
5399
|
+
readonly type: "array";
|
|
5400
|
+
readonly items: {
|
|
5401
|
+
readonly type: "number";
|
|
5402
|
+
readonly precision: 1;
|
|
5403
|
+
readonly default: number;
|
|
5404
|
+
};
|
|
5405
|
+
readonly minItems: 4;
|
|
5406
|
+
readonly maxItems: 4;
|
|
5407
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5408
|
+
};
|
|
5409
|
+
readonly emissiveFactor: {
|
|
5410
|
+
readonly type: "array";
|
|
5411
|
+
readonly items: {
|
|
5412
|
+
readonly type: "number";
|
|
5413
|
+
readonly precision: 1;
|
|
5414
|
+
readonly default: number;
|
|
5415
|
+
};
|
|
5416
|
+
readonly minItems: 3;
|
|
5417
|
+
readonly maxItems: 3;
|
|
5418
|
+
readonly default: readonly [0, 0, 0];
|
|
5419
|
+
};
|
|
5420
|
+
readonly metallicFactor: {
|
|
5421
|
+
readonly type: "number";
|
|
5422
|
+
readonly precision: 1;
|
|
5423
|
+
readonly default: number;
|
|
5424
|
+
};
|
|
5425
|
+
readonly roughnessFactor: {
|
|
5426
|
+
readonly type: "number";
|
|
5427
|
+
readonly precision: 1;
|
|
5428
|
+
readonly default: number;
|
|
5429
|
+
};
|
|
5430
|
+
readonly normalScale: {
|
|
5431
|
+
readonly type: "number";
|
|
5432
|
+
readonly precision: 1;
|
|
5433
|
+
readonly default: number;
|
|
5434
|
+
};
|
|
5435
|
+
readonly occlusionStrength: {
|
|
5436
|
+
readonly type: "number";
|
|
5437
|
+
readonly precision: 1;
|
|
5438
|
+
readonly default: number;
|
|
5439
|
+
};
|
|
5440
|
+
readonly irReflectance: {
|
|
5441
|
+
readonly type: "number";
|
|
5442
|
+
readonly precision: 1;
|
|
5443
|
+
readonly default: number;
|
|
5444
|
+
};
|
|
5445
|
+
readonly irEmission: {
|
|
5446
|
+
readonly type: "number";
|
|
5447
|
+
readonly precision: 1;
|
|
5448
|
+
readonly default: number;
|
|
5449
|
+
};
|
|
5450
|
+
readonly emissionMode: {
|
|
5451
|
+
readonly type: "integer";
|
|
5452
|
+
readonly minimum: 0;
|
|
5453
|
+
readonly maximum: 4294967295;
|
|
5454
|
+
readonly default: number;
|
|
5455
|
+
};
|
|
5456
|
+
readonly baseColorUrl: {
|
|
5457
|
+
readonly type: "string";
|
|
5458
|
+
};
|
|
5459
|
+
readonly metallicRoughnessUrl: {
|
|
5460
|
+
readonly type: "string";
|
|
5461
|
+
};
|
|
5462
|
+
readonly normalUrl: {
|
|
5463
|
+
readonly type: "string";
|
|
5464
|
+
};
|
|
5465
|
+
readonly occlusionUrl: {
|
|
5466
|
+
readonly type: "string";
|
|
5467
|
+
};
|
|
5468
|
+
readonly emissiveUrl: {
|
|
5469
|
+
readonly type: "string";
|
|
5470
|
+
};
|
|
5471
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5472
|
+
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"];
|
|
5473
|
+
}, {
|
|
5474
|
+
readonly materialByName: {
|
|
5475
|
+
readonly key: "name";
|
|
5476
|
+
readonly unique: true;
|
|
5477
|
+
readonly archetype: "Material";
|
|
5478
|
+
};
|
|
5479
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
5480
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5481
|
+
readonly material: {
|
|
5482
|
+
readonly type: "integer";
|
|
5483
|
+
readonly minimum: -2147483648;
|
|
5484
|
+
readonly maximum: 2147483647;
|
|
5485
|
+
readonly default: number;
|
|
5486
|
+
};
|
|
5487
|
+
readonly name: {
|
|
5488
|
+
readonly type: "string";
|
|
5489
|
+
};
|
|
5490
|
+
readonly density: {
|
|
5491
|
+
readonly type: "number";
|
|
5492
|
+
readonly precision: 1;
|
|
5493
|
+
readonly default: number;
|
|
5494
|
+
};
|
|
5495
|
+
readonly restitution: {
|
|
5496
|
+
readonly type: "number";
|
|
5497
|
+
readonly precision: 1;
|
|
5498
|
+
readonly default: number;
|
|
5499
|
+
};
|
|
5500
|
+
readonly friction: {
|
|
5501
|
+
readonly type: "number";
|
|
5502
|
+
readonly precision: 1;
|
|
5503
|
+
readonly default: number;
|
|
5504
|
+
};
|
|
5505
|
+
readonly compliance: {
|
|
5506
|
+
readonly type: "number";
|
|
5507
|
+
readonly precision: 1;
|
|
5508
|
+
readonly default: number;
|
|
5509
|
+
};
|
|
5510
|
+
readonly heatCapacity: {
|
|
5511
|
+
readonly type: "number";
|
|
5512
|
+
readonly precision: 1;
|
|
5513
|
+
readonly default: number;
|
|
5514
|
+
};
|
|
5515
|
+
readonly viscosity: {
|
|
5516
|
+
readonly type: "number";
|
|
5517
|
+
readonly precision: 1;
|
|
5518
|
+
readonly default: number;
|
|
5519
|
+
};
|
|
5520
|
+
readonly thermalConductivity: {
|
|
5521
|
+
readonly type: "number";
|
|
5522
|
+
readonly precision: 1;
|
|
5523
|
+
readonly default: number;
|
|
5524
|
+
};
|
|
5525
|
+
readonly stressStrainCurve: {
|
|
5526
|
+
readonly type: "object";
|
|
5527
|
+
readonly layout: "packed";
|
|
5528
|
+
readonly properties: {
|
|
5529
|
+
readonly tensileYieldStrainStress: {
|
|
5530
|
+
readonly type: "array";
|
|
5531
|
+
readonly items: {
|
|
5532
|
+
readonly type: "number";
|
|
5533
|
+
readonly precision: 1;
|
|
5534
|
+
readonly default: number;
|
|
5535
|
+
};
|
|
5536
|
+
readonly minItems: 2;
|
|
5537
|
+
readonly maxItems: 2;
|
|
5538
|
+
readonly default: readonly [0, 0];
|
|
5539
|
+
};
|
|
5540
|
+
readonly tensileFractureStrainStress: {
|
|
5541
|
+
readonly type: "array";
|
|
5542
|
+
readonly items: {
|
|
5543
|
+
readonly type: "number";
|
|
5544
|
+
readonly precision: 1;
|
|
5545
|
+
readonly default: number;
|
|
5546
|
+
};
|
|
5547
|
+
readonly minItems: 2;
|
|
5548
|
+
readonly maxItems: 2;
|
|
5549
|
+
readonly default: readonly [0, 0];
|
|
5550
|
+
};
|
|
5551
|
+
readonly compressiveYieldStrainStress: {
|
|
5552
|
+
readonly type: "array";
|
|
5553
|
+
readonly items: {
|
|
5554
|
+
readonly type: "number";
|
|
5555
|
+
readonly precision: 1;
|
|
5556
|
+
readonly default: number;
|
|
5557
|
+
};
|
|
5558
|
+
readonly minItems: 2;
|
|
5559
|
+
readonly maxItems: 2;
|
|
5560
|
+
readonly default: readonly [0, 0];
|
|
5561
|
+
};
|
|
5562
|
+
readonly compressiveFractureStrainStress: {
|
|
5563
|
+
readonly type: "array";
|
|
5564
|
+
readonly items: {
|
|
5565
|
+
readonly type: "number";
|
|
5566
|
+
readonly precision: 1;
|
|
5567
|
+
readonly default: number;
|
|
5568
|
+
};
|
|
5569
|
+
readonly minItems: 2;
|
|
5570
|
+
readonly maxItems: 2;
|
|
5571
|
+
readonly default: readonly [0, 0];
|
|
5572
|
+
};
|
|
5573
|
+
};
|
|
5574
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5575
|
+
};
|
|
5576
|
+
readonly baseColorFactor: {
|
|
5577
|
+
readonly type: "array";
|
|
5578
|
+
readonly items: {
|
|
5579
|
+
readonly type: "number";
|
|
5580
|
+
readonly precision: 1;
|
|
5581
|
+
readonly default: number;
|
|
5582
|
+
};
|
|
5583
|
+
readonly minItems: 4;
|
|
5584
|
+
readonly maxItems: 4;
|
|
5585
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5586
|
+
};
|
|
5587
|
+
readonly emissiveFactor: {
|
|
5588
|
+
readonly type: "array";
|
|
5589
|
+
readonly items: {
|
|
5590
|
+
readonly type: "number";
|
|
5591
|
+
readonly precision: 1;
|
|
5592
|
+
readonly default: number;
|
|
5593
|
+
};
|
|
5594
|
+
readonly minItems: 3;
|
|
5595
|
+
readonly maxItems: 3;
|
|
5596
|
+
readonly default: readonly [0, 0, 0];
|
|
5597
|
+
};
|
|
5598
|
+
readonly metallicFactor: {
|
|
5599
|
+
readonly type: "number";
|
|
5600
|
+
readonly precision: 1;
|
|
5601
|
+
readonly default: number;
|
|
5602
|
+
};
|
|
5603
|
+
readonly roughnessFactor: {
|
|
5604
|
+
readonly type: "number";
|
|
5605
|
+
readonly precision: 1;
|
|
5606
|
+
readonly default: number;
|
|
5607
|
+
};
|
|
5608
|
+
readonly normalScale: {
|
|
5609
|
+
readonly type: "number";
|
|
5610
|
+
readonly precision: 1;
|
|
5611
|
+
readonly default: number;
|
|
5612
|
+
};
|
|
5613
|
+
readonly occlusionStrength: {
|
|
5614
|
+
readonly type: "number";
|
|
5615
|
+
readonly precision: 1;
|
|
5616
|
+
readonly default: number;
|
|
5617
|
+
};
|
|
5618
|
+
readonly irReflectance: {
|
|
5619
|
+
readonly type: "number";
|
|
5620
|
+
readonly precision: 1;
|
|
5621
|
+
readonly default: number;
|
|
5622
|
+
};
|
|
5623
|
+
readonly irEmission: {
|
|
5624
|
+
readonly type: "number";
|
|
5625
|
+
readonly precision: 1;
|
|
5626
|
+
readonly default: number;
|
|
5627
|
+
};
|
|
5628
|
+
readonly emissionMode: {
|
|
5629
|
+
readonly type: "integer";
|
|
5630
|
+
readonly minimum: 0;
|
|
5631
|
+
readonly maximum: 4294967295;
|
|
5632
|
+
readonly default: number;
|
|
5633
|
+
};
|
|
5634
|
+
readonly baseColorUrl: {
|
|
5635
|
+
readonly type: "string";
|
|
5636
|
+
};
|
|
5637
|
+
readonly metallicRoughnessUrl: {
|
|
5638
|
+
readonly type: "string";
|
|
5639
|
+
};
|
|
5640
|
+
readonly normalUrl: {
|
|
5641
|
+
readonly type: "string";
|
|
5642
|
+
};
|
|
5643
|
+
readonly occlusionUrl: {
|
|
5644
|
+
readonly type: "string";
|
|
5645
|
+
};
|
|
5646
|
+
readonly emissiveUrl: {
|
|
5647
|
+
readonly type: "string";
|
|
5648
|
+
};
|
|
5649
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5650
|
+
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"];
|
|
5651
|
+
}, {
|
|
5652
|
+
readonly materialByName: {
|
|
5653
|
+
readonly key: "name";
|
|
5654
|
+
readonly unique: true;
|
|
5655
|
+
readonly archetype: "Material";
|
|
5656
|
+
};
|
|
5657
|
+
}, never>) => void;
|
|
5658
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5659
|
+
readonly material: {
|
|
5660
|
+
readonly type: "integer";
|
|
5661
|
+
readonly minimum: -2147483648;
|
|
5662
|
+
readonly maximum: 2147483647;
|
|
5663
|
+
readonly default: number;
|
|
5664
|
+
};
|
|
5665
|
+
readonly name: {
|
|
5666
|
+
readonly type: "string";
|
|
5667
|
+
};
|
|
5668
|
+
readonly density: {
|
|
5669
|
+
readonly type: "number";
|
|
5670
|
+
readonly precision: 1;
|
|
5671
|
+
readonly default: number;
|
|
5672
|
+
};
|
|
5673
|
+
readonly restitution: {
|
|
5674
|
+
readonly type: "number";
|
|
5675
|
+
readonly precision: 1;
|
|
5676
|
+
readonly default: number;
|
|
5677
|
+
};
|
|
5678
|
+
readonly friction: {
|
|
5679
|
+
readonly type: "number";
|
|
5680
|
+
readonly precision: 1;
|
|
5681
|
+
readonly default: number;
|
|
5682
|
+
};
|
|
5683
|
+
readonly compliance: {
|
|
5684
|
+
readonly type: "number";
|
|
5685
|
+
readonly precision: 1;
|
|
5686
|
+
readonly default: number;
|
|
5687
|
+
};
|
|
5688
|
+
readonly heatCapacity: {
|
|
5689
|
+
readonly type: "number";
|
|
5690
|
+
readonly precision: 1;
|
|
5691
|
+
readonly default: number;
|
|
5692
|
+
};
|
|
5693
|
+
readonly viscosity: {
|
|
5694
|
+
readonly type: "number";
|
|
5695
|
+
readonly precision: 1;
|
|
5696
|
+
readonly default: number;
|
|
5697
|
+
};
|
|
5698
|
+
readonly thermalConductivity: {
|
|
5699
|
+
readonly type: "number";
|
|
5700
|
+
readonly precision: 1;
|
|
5701
|
+
readonly default: number;
|
|
5702
|
+
};
|
|
5703
|
+
readonly stressStrainCurve: {
|
|
5704
|
+
readonly type: "object";
|
|
5705
|
+
readonly layout: "packed";
|
|
5706
|
+
readonly properties: {
|
|
5707
|
+
readonly tensileYieldStrainStress: {
|
|
5708
|
+
readonly type: "array";
|
|
5709
|
+
readonly items: {
|
|
5710
|
+
readonly type: "number";
|
|
5711
|
+
readonly precision: 1;
|
|
5712
|
+
readonly default: number;
|
|
5713
|
+
};
|
|
5714
|
+
readonly minItems: 2;
|
|
5715
|
+
readonly maxItems: 2;
|
|
5716
|
+
readonly default: readonly [0, 0];
|
|
5717
|
+
};
|
|
5718
|
+
readonly tensileFractureStrainStress: {
|
|
5719
|
+
readonly type: "array";
|
|
5720
|
+
readonly items: {
|
|
5721
|
+
readonly type: "number";
|
|
5722
|
+
readonly precision: 1;
|
|
5723
|
+
readonly default: number;
|
|
5724
|
+
};
|
|
5725
|
+
readonly minItems: 2;
|
|
5726
|
+
readonly maxItems: 2;
|
|
5727
|
+
readonly default: readonly [0, 0];
|
|
5728
|
+
};
|
|
5729
|
+
readonly compressiveYieldStrainStress: {
|
|
5730
|
+
readonly type: "array";
|
|
5731
|
+
readonly items: {
|
|
5732
|
+
readonly type: "number";
|
|
5733
|
+
readonly precision: 1;
|
|
5734
|
+
readonly default: number;
|
|
5735
|
+
};
|
|
5736
|
+
readonly minItems: 2;
|
|
5737
|
+
readonly maxItems: 2;
|
|
5738
|
+
readonly default: readonly [0, 0];
|
|
5739
|
+
};
|
|
5740
|
+
readonly compressiveFractureStrainStress: {
|
|
5741
|
+
readonly type: "array";
|
|
5742
|
+
readonly items: {
|
|
5743
|
+
readonly type: "number";
|
|
5744
|
+
readonly precision: 1;
|
|
5745
|
+
readonly default: number;
|
|
5746
|
+
};
|
|
5747
|
+
readonly minItems: 2;
|
|
5748
|
+
readonly maxItems: 2;
|
|
5749
|
+
readonly default: readonly [0, 0];
|
|
5750
|
+
};
|
|
5751
|
+
};
|
|
5752
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5753
|
+
};
|
|
5754
|
+
readonly baseColorFactor: {
|
|
5755
|
+
readonly type: "array";
|
|
5756
|
+
readonly items: {
|
|
5757
|
+
readonly type: "number";
|
|
5758
|
+
readonly precision: 1;
|
|
5759
|
+
readonly default: number;
|
|
5760
|
+
};
|
|
5761
|
+
readonly minItems: 4;
|
|
5762
|
+
readonly maxItems: 4;
|
|
5763
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5764
|
+
};
|
|
5765
|
+
readonly emissiveFactor: {
|
|
5766
|
+
readonly type: "array";
|
|
5767
|
+
readonly items: {
|
|
5768
|
+
readonly type: "number";
|
|
5769
|
+
readonly precision: 1;
|
|
5770
|
+
readonly default: number;
|
|
5771
|
+
};
|
|
5772
|
+
readonly minItems: 3;
|
|
5773
|
+
readonly maxItems: 3;
|
|
5774
|
+
readonly default: readonly [0, 0, 0];
|
|
5775
|
+
};
|
|
5776
|
+
readonly metallicFactor: {
|
|
5777
|
+
readonly type: "number";
|
|
5778
|
+
readonly precision: 1;
|
|
5779
|
+
readonly default: number;
|
|
5780
|
+
};
|
|
5781
|
+
readonly roughnessFactor: {
|
|
5782
|
+
readonly type: "number";
|
|
5783
|
+
readonly precision: 1;
|
|
5784
|
+
readonly default: number;
|
|
5785
|
+
};
|
|
5786
|
+
readonly normalScale: {
|
|
5787
|
+
readonly type: "number";
|
|
5788
|
+
readonly precision: 1;
|
|
5789
|
+
readonly default: number;
|
|
5790
|
+
};
|
|
5791
|
+
readonly occlusionStrength: {
|
|
5792
|
+
readonly type: "number";
|
|
5793
|
+
readonly precision: 1;
|
|
5794
|
+
readonly default: number;
|
|
5795
|
+
};
|
|
5796
|
+
readonly irReflectance: {
|
|
5797
|
+
readonly type: "number";
|
|
5798
|
+
readonly precision: 1;
|
|
5799
|
+
readonly default: number;
|
|
5800
|
+
};
|
|
5801
|
+
readonly irEmission: {
|
|
5802
|
+
readonly type: "number";
|
|
5803
|
+
readonly precision: 1;
|
|
5804
|
+
readonly default: number;
|
|
5805
|
+
};
|
|
5806
|
+
readonly emissionMode: {
|
|
5807
|
+
readonly type: "integer";
|
|
5808
|
+
readonly minimum: 0;
|
|
5809
|
+
readonly maximum: 4294967295;
|
|
5810
|
+
readonly default: number;
|
|
5811
|
+
};
|
|
5812
|
+
readonly baseColorUrl: {
|
|
5813
|
+
readonly type: "string";
|
|
5814
|
+
};
|
|
5815
|
+
readonly metallicRoughnessUrl: {
|
|
5816
|
+
readonly type: "string";
|
|
5817
|
+
};
|
|
5818
|
+
readonly normalUrl: {
|
|
5819
|
+
readonly type: "string";
|
|
5820
|
+
};
|
|
5821
|
+
readonly occlusionUrl: {
|
|
5822
|
+
readonly type: "string";
|
|
5823
|
+
};
|
|
5824
|
+
readonly emissiveUrl: {
|
|
5825
|
+
readonly type: "string";
|
|
5826
|
+
};
|
|
5827
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5828
|
+
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"];
|
|
5829
|
+
}, {
|
|
5830
|
+
readonly materialByName: {
|
|
5831
|
+
readonly key: "name";
|
|
5832
|
+
readonly unique: true;
|
|
5833
|
+
readonly archetype: "Material";
|
|
5834
|
+
};
|
|
5835
|
+
}, never>) => void;
|
|
5836
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
5837
|
+
readonly materialByName: {
|
|
5838
|
+
readonly key: "name";
|
|
5839
|
+
readonly unique: true;
|
|
5840
|
+
readonly archetype: "Material";
|
|
5841
|
+
};
|
|
5842
|
+
}, never>, args: {
|
|
5843
|
+
ray: {
|
|
5844
|
+
readonly a: readonly [number, number, number];
|
|
5845
|
+
readonly b: readonly [number, number, number];
|
|
5846
|
+
};
|
|
5847
|
+
visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
|
|
5848
|
+
radius?: number;
|
|
5849
|
+
}) => void;
|
|
5850
|
+
};
|
|
5851
|
+
readonly services: {};
|
|
5852
|
+
readonly computed: {};
|
|
5853
|
+
readonly indexes: {
|
|
5854
|
+
readonly materialByName: {
|
|
5855
|
+
readonly key: "name";
|
|
5856
|
+
readonly unique: true;
|
|
5857
|
+
readonly archetype: "Material";
|
|
5858
|
+
};
|
|
5859
|
+
} & {} & {} & {
|
|
5860
|
+
readonly nodeChildrenOf: {
|
|
5861
|
+
readonly key: "parent";
|
|
5862
|
+
readonly archetype: "Node";
|
|
3470
5863
|
};
|
|
3471
5864
|
} & {} & {} & {} & {} & {} & {} & {} & {};
|
|
3472
5865
|
};
|