@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.
Files changed (48) hide show
  1. package/dist/graphics/rendering/bone-collider-plugin.d.ts +2724 -331
  2. package/dist/graphics/rendering/interpolation-plugin.d.ts +2532 -138
  3. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2398 -5
  4. package/dist/graphics/rendering/model-collider-plugin.d.ts +2675 -282
  5. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2396 -3
  6. package/dist/physics/physics-data-plugin.d.ts +2398 -2
  7. package/dist/physics/physics-data-plugin.js +26 -0
  8. package/dist/physics/physics-data-plugin.js.map +1 -1
  9. package/dist/physics/physics-hit.d.ts +18 -0
  10. package/dist/physics/physics-hit.js +3 -0
  11. package/dist/physics/physics-hit.js.map +1 -0
  12. package/dist/physics/physics-query.d.ts +43 -0
  13. package/dist/physics/physics-query.js +3 -0
  14. package/dist/physics/physics-query.js.map +1 -0
  15. package/dist/physics/public.d.ts +2 -0
  16. package/dist/physics/public.js +2 -0
  17. package/dist/physics/public.js.map +1 -1
  18. package/dist/physics/solvers/jolt-solver-plugin.d.ts +2394 -4
  19. package/dist/physics/solvers/jolt-solver-plugin.js +149 -0
  20. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  21. package/dist/physics/solvers/mutable-hit.d.ts +14 -0
  22. package/dist/physics/solvers/mutable-hit.js +3 -0
  23. package/dist/physics/solvers/mutable-hit.js.map +1 -0
  24. package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
  25. package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
  26. package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
  27. package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
  28. package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
  29. package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
  30. package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
  31. package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
  32. package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
  33. package/dist/physics/solvers/rapier-solver-plugin.d.ts +2394 -4
  34. package/dist/physics/solvers/rapier-solver-plugin.js +110 -1
  35. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  36. package/package.json +2 -2
  37. package/src/physics/README.md +15 -2
  38. package/src/physics/physics-data-plugin.ts +29 -1
  39. package/src/physics/physics-hit.ts +21 -0
  40. package/src/physics/physics-query.ts +42 -0
  41. package/src/physics/public.ts +2 -0
  42. package/src/physics/solvers/jolt-solver-plugin.ts +119 -0
  43. package/src/physics/solvers/mutable-hit.ts +18 -0
  44. package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
  45. package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
  46. package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
  47. package/src/physics/solvers/rapier-solver-plugin.ts +92 -1
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -1,101 +1,7 @@
1
- import { Entity } from "@adobe/data/ecs";
1
+ import { Database, Entity } from "@adobe/data/ecs";
2
2
  import { Vec3, Quat } from "@adobe/data/math";
3
3
  export declare const boneColliders: {
4
4
  readonly components: {} & {
5
- readonly visible: {
6
- readonly type: "boolean";
7
- readonly const: true;
8
- readonly default: true;
9
- };
10
- readonly position: {
11
- readonly type: "array";
12
- readonly items: {
13
- readonly type: "number";
14
- readonly precision: 1;
15
- readonly default: number;
16
- };
17
- readonly minItems: 3;
18
- readonly maxItems: 3;
19
- readonly default: readonly [0, 0, 0];
20
- };
21
- readonly rotation: {
22
- readonly type: "array";
23
- readonly items: {
24
- readonly type: "number";
25
- readonly precision: 1;
26
- readonly default: number;
27
- };
28
- readonly minItems: 4;
29
- readonly maxItems: 4;
30
- readonly default: readonly [0, 0, 0, 1];
31
- readonly interpolators: {
32
- readonly linear: (q1: any, q2: any, t: number) => any;
33
- };
34
- };
35
- readonly scale: {
36
- readonly type: "array";
37
- readonly items: {
38
- readonly type: "number";
39
- readonly precision: 1;
40
- readonly default: number;
41
- };
42
- readonly minItems: 3;
43
- readonly maxItems: 3;
44
- readonly default: readonly [0, 0, 0];
45
- };
46
- readonly parent: {
47
- readonly type: "integer";
48
- readonly minimum: -2147483648;
49
- readonly maximum: 2147483647;
50
- readonly default: number;
51
- };
52
- readonly _worldMatrix: {
53
- readonly nonPersistent: true;
54
- readonly type: "array";
55
- readonly items: {
56
- readonly type: "number";
57
- readonly precision: 1;
58
- readonly default: number;
59
- };
60
- readonly minItems: 16;
61
- readonly maxItems: 16;
62
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
63
- };
64
- readonly _worldBounds: {
65
- readonly nonPersistent: true;
66
- readonly type: "object";
67
- readonly properties: {
68
- readonly min: {
69
- readonly type: "array";
70
- readonly items: {
71
- readonly type: "number";
72
- readonly precision: 1;
73
- readonly default: number;
74
- };
75
- readonly minItems: 3;
76
- readonly maxItems: 3;
77
- readonly default: readonly [0, 0, 0];
78
- };
79
- readonly max: {
80
- readonly type: "array";
81
- readonly items: {
82
- readonly type: "number";
83
- readonly precision: 1;
84
- readonly default: number;
85
- };
86
- readonly minItems: 3;
87
- readonly maxItems: 3;
88
- readonly default: readonly [0, 0, 0];
89
- };
90
- };
91
- readonly required: readonly ["min", "max"];
92
- readonly additionalProperties: false;
93
- readonly default: {
94
- readonly min: readonly [0, 0, 0];
95
- readonly max: readonly [0, 0, 0];
96
- };
97
- };
98
- } & {
99
5
  readonly material: {
100
6
  readonly type: "integer";
101
7
  readonly minimum: -2147483648;
@@ -264,156 +170,6 @@ export declare const boneColliders: {
264
170
  readonly emissiveUrl: {
265
171
  readonly type: "string";
266
172
  };
267
- } & {
268
- readonly mesh: {
269
- readonly type: "integer";
270
- readonly minimum: -2147483648;
271
- readonly maximum: 2147483647;
272
- readonly default: number;
273
- };
274
- readonly gltfUrl: {
275
- readonly type: "string";
276
- };
277
- readonly shapeSpec: {
278
- readonly default: import("../public.js").ShapeSpec | null;
279
- };
280
- readonly voxelVolumeSize: {
281
- readonly default: Vec3 | null;
282
- };
283
- readonly localBounds: {
284
- readonly default: {
285
- readonly min: readonly [number, number, number];
286
- readonly max: readonly [number, number, number];
287
- } | null;
288
- };
289
- readonly skinJointTemplate: {
290
- readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
291
- };
292
- readonly skinInverseBindMatrices: {
293
- readonly default: Float32Array | null;
294
- };
295
- readonly animationClipRefs: {
296
- readonly default: number[];
297
- };
298
- readonly cpuCollisionPositions: {
299
- readonly default: Float32Array | null;
300
- };
301
- readonly cpuCollisionIndices: {
302
- readonly default: Uint32Array | null;
303
- };
304
- readonly cpuSkin: {
305
- readonly default: {
306
- positions: Float32Array;
307
- joints: Uint32Array;
308
- weights: Float32Array;
309
- } | null;
310
- };
311
- } & {
312
- readonly animationClipTracks: {
313
- readonly default: import("../animation/animation-track/public.js")[];
314
- };
315
- readonly animationClipDuration: {
316
- readonly type: "number";
317
- readonly precision: 2;
318
- readonly default: number;
319
- };
320
- readonly animationClipRef: {
321
- readonly type: "integer";
322
- readonly minimum: -2147483648;
323
- readonly maximum: 2147483647;
324
- readonly default: number;
325
- };
326
- readonly animationTargets: {
327
- readonly default: Entity[];
328
- };
329
- readonly animationTime: {
330
- readonly type: "number";
331
- readonly precision: 2;
332
- readonly default: number;
333
- };
334
- readonly animationSpeed: {
335
- readonly default: 1;
336
- readonly type: "number";
337
- readonly precision: 1;
338
- };
339
- readonly animationLoop: {
340
- readonly type: "boolean";
341
- readonly default: boolean;
342
- };
343
- readonly animationPlaying: {
344
- readonly type: "boolean";
345
- readonly default: boolean;
346
- };
347
- readonly animationObservable: {
348
- readonly type: "boolean";
349
- readonly const: true;
350
- readonly default: true;
351
- };
352
- } & {
353
- readonly _vertexBuffer: {
354
- readonly default: GPUBuffer | null;
355
- readonly nonPersistent: true;
356
- };
357
- readonly _skinVertexBuffer: {
358
- readonly default: GPUBuffer | null;
359
- readonly nonPersistent: true;
360
- };
361
- readonly _indexBuffer: {
362
- readonly default: GPUBuffer | null;
363
- readonly nonPersistent: true;
364
- };
365
- readonly _indexCount: {
366
- readonly nonPersistent: true;
367
- readonly type: "integer";
368
- readonly minimum: 0;
369
- readonly maximum: 4294967295;
370
- readonly default: number;
371
- };
372
- readonly _indexFormat: {
373
- readonly default: GPUIndexFormat;
374
- readonly nonPersistent: true;
375
- };
376
- readonly _materialBindGroup: {
377
- readonly default: GPUBindGroup | null;
378
- readonly nonPersistent: true;
379
- };
380
- readonly _mesh: {
381
- readonly nonPersistent: true;
382
- readonly type: "integer";
383
- readonly minimum: -2147483648;
384
- readonly maximum: 2147483647;
385
- readonly default: number;
386
- };
387
- readonly _material: {
388
- readonly nonPersistent: true;
389
- readonly type: "integer";
390
- readonly minimum: -2147483648;
391
- readonly maximum: 2147483647;
392
- readonly default: number;
393
- };
394
- readonly _nodeLocalMatrix: {
395
- readonly nonPersistent: true;
396
- readonly type: "array";
397
- readonly items: {
398
- readonly type: "number";
399
- readonly precision: 1;
400
- readonly default: number;
401
- };
402
- readonly minItems: 16;
403
- readonly maxItems: 16;
404
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
405
- };
406
- readonly _skeletonModelRef: {
407
- readonly nonPersistent: true;
408
- readonly type: "integer";
409
- readonly minimum: -2147483648;
410
- readonly maximum: 2147483647;
411
- readonly default: number;
412
- };
413
- readonly _skeletonJointMatrixBindGroup: {
414
- readonly default: GPUBindGroup | null;
415
- readonly nonPersistent: true;
416
- };
417
173
  } & {
418
174
  readonly bodyType: {
419
175
  readonly type: "string";
@@ -520,31 +276,11 @@ export declare const boneColliders: {
520
276
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
521
277
  };
522
278
  } & {
523
- readonly _skeletonJoints: {
524
- readonly default: number[];
525
- readonly nonPersistent: true;
279
+ readonly jointType: {
280
+ readonly type: "string";
281
+ readonly enum: readonly ["fixed", "point", "hinge", "cone"];
526
282
  };
527
- readonly _skeletonMesh: {
528
- readonly nonPersistent: true;
529
- readonly type: "integer";
530
- readonly minimum: -2147483648;
531
- readonly maximum: 2147483647;
532
- readonly default: number;
533
- };
534
- readonly _skeletonInstanceBuffer: {
535
- readonly default: GPUBuffer | null;
536
- readonly nonPersistent: true;
537
- };
538
- readonly _skeletonJointMatrixBuffer: {
539
- readonly default: GPUBuffer | null;
540
- readonly nonPersistent: true;
541
- };
542
- } & {
543
- readonly jointType: {
544
- readonly type: "string";
545
- readonly enum: readonly ["fixed", "point", "hinge", "cone"];
546
- };
547
- readonly jointBodyA: {
283
+ readonly jointBodyA: {
548
284
  readonly type: "integer";
549
285
  readonly minimum: -2147483648;
550
286
  readonly maximum: 2147483647;
@@ -605,15 +341,12 @@ export declare const boneColliders: {
605
341
  readonly default: number;
606
342
  };
607
343
  } & {
608
- readonly _boneJoint: {
609
- readonly nonPersistent: true;
610
- readonly type: "integer";
611
- readonly minimum: -2147483648;
612
- readonly maximum: 2147483647;
613
- readonly default: number;
344
+ readonly visible: {
345
+ readonly type: "boolean";
346
+ readonly const: true;
347
+ readonly default: true;
614
348
  };
615
- readonly _boneOffsetPos: {
616
- readonly nonPersistent: true;
349
+ readonly position: {
617
350
  readonly type: "array";
618
351
  readonly items: {
619
352
  readonly type: "number";
@@ -624,8 +357,7 @@ export declare const boneColliders: {
624
357
  readonly maxItems: 3;
625
358
  readonly default: readonly [0, 0, 0];
626
359
  };
627
- readonly _boneOffsetRot: {
628
- readonly nonPersistent: true;
360
+ readonly rotation: {
629
361
  readonly type: "array";
630
362
  readonly items: {
631
363
  readonly type: "number";
@@ -639,50 +371,330 @@ export declare const boneColliders: {
639
371
  readonly linear: (q1: any, q2: any, t: number) => any;
640
372
  };
641
373
  };
642
- readonly _ragdollBuilt: {
374
+ readonly scale: {
375
+ readonly type: "array";
376
+ readonly items: {
377
+ readonly type: "number";
378
+ readonly precision: 1;
379
+ readonly default: number;
380
+ };
381
+ readonly minItems: 3;
382
+ readonly maxItems: 3;
383
+ readonly default: readonly [0, 0, 0];
384
+ };
385
+ readonly parent: {
386
+ readonly type: "integer";
387
+ readonly minimum: -2147483648;
388
+ readonly maximum: 2147483647;
389
+ readonly default: number;
390
+ };
391
+ readonly _worldMatrix: {
392
+ readonly nonPersistent: true;
393
+ readonly type: "array";
394
+ readonly items: {
395
+ readonly type: "number";
396
+ readonly precision: 1;
397
+ readonly default: number;
398
+ };
399
+ readonly minItems: 16;
400
+ readonly maxItems: 16;
401
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
402
+ };
403
+ readonly _worldBounds: {
643
404
  readonly nonPersistent: true;
405
+ readonly type: "object";
406
+ readonly properties: {
407
+ readonly min: {
408
+ readonly type: "array";
409
+ readonly items: {
410
+ readonly type: "number";
411
+ readonly precision: 1;
412
+ readonly default: number;
413
+ };
414
+ readonly minItems: 3;
415
+ readonly maxItems: 3;
416
+ readonly default: readonly [0, 0, 0];
417
+ };
418
+ readonly max: {
419
+ readonly type: "array";
420
+ readonly items: {
421
+ readonly type: "number";
422
+ readonly precision: 1;
423
+ readonly default: number;
424
+ };
425
+ readonly minItems: 3;
426
+ readonly maxItems: 3;
427
+ readonly default: readonly [0, 0, 0];
428
+ };
429
+ };
430
+ readonly required: readonly ["min", "max"];
431
+ readonly additionalProperties: false;
432
+ readonly default: {
433
+ readonly min: readonly [0, 0, 0];
434
+ readonly max: readonly [0, 0, 0];
435
+ };
436
+ };
437
+ } & {
438
+ readonly mesh: {
439
+ readonly type: "integer";
440
+ readonly minimum: -2147483648;
441
+ readonly maximum: 2147483647;
442
+ readonly default: number;
443
+ };
444
+ readonly gltfUrl: {
445
+ readonly type: "string";
446
+ };
447
+ readonly shapeSpec: {
448
+ readonly default: import("../public.js").ShapeSpec | null;
449
+ };
450
+ readonly voxelVolumeSize: {
451
+ readonly default: Vec3 | null;
452
+ };
453
+ readonly localBounds: {
454
+ readonly default: {
455
+ readonly min: readonly [number, number, number];
456
+ readonly max: readonly [number, number, number];
457
+ } | null;
458
+ };
459
+ readonly skinJointTemplate: {
460
+ readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
461
+ };
462
+ readonly skinInverseBindMatrices: {
463
+ readonly default: Float32Array | null;
464
+ };
465
+ readonly animationClipRefs: {
466
+ readonly default: number[];
467
+ };
468
+ readonly cpuCollisionPositions: {
469
+ readonly default: Float32Array | null;
470
+ };
471
+ readonly cpuCollisionIndices: {
472
+ readonly default: Uint32Array | null;
473
+ };
474
+ readonly cpuSkin: {
475
+ readonly default: {
476
+ positions: Float32Array;
477
+ joints: Uint32Array;
478
+ weights: Float32Array;
479
+ } | null;
480
+ };
481
+ } & {
482
+ readonly animationClipTracks: {
483
+ readonly default: import("../animation/animation-track/public.js")[];
484
+ };
485
+ readonly animationClipDuration: {
486
+ readonly type: "number";
487
+ readonly precision: 2;
488
+ readonly default: number;
489
+ };
490
+ readonly animationClipRef: {
491
+ readonly type: "integer";
492
+ readonly minimum: -2147483648;
493
+ readonly maximum: 2147483647;
494
+ readonly default: number;
495
+ };
496
+ readonly animationTargets: {
497
+ readonly default: Entity[];
498
+ };
499
+ readonly animationTime: {
500
+ readonly type: "number";
501
+ readonly precision: 2;
502
+ readonly default: number;
503
+ };
504
+ readonly animationSpeed: {
505
+ readonly default: 1;
506
+ readonly type: "number";
507
+ readonly precision: 1;
508
+ };
509
+ readonly animationLoop: {
510
+ readonly type: "boolean";
511
+ readonly default: boolean;
512
+ };
513
+ readonly animationPlaying: {
514
+ readonly type: "boolean";
515
+ readonly default: boolean;
516
+ };
517
+ readonly animationObservable: {
644
518
  readonly type: "boolean";
645
519
  readonly const: true;
646
520
  readonly default: true;
647
521
  };
648
- };
649
- readonly resources: {} & {
650
- readonly _gltfMeshByUrl: {
651
- readonly default: Map<string, Entity> | null;
522
+ } & {
523
+ readonly _vertexBuffer: {
524
+ readonly default: GPUBuffer | null;
652
525
  readonly nonPersistent: true;
653
526
  };
654
- } & {
655
- readonly frameTime: {
656
- readonly default: import("../../core/frame-time/public.js");
527
+ readonly _skinVertexBuffer: {
528
+ readonly default: GPUBuffer | null;
657
529
  readonly nonPersistent: true;
658
530
  };
659
- } & {
660
- readonly schedulerState: {
661
- readonly default: import("@adobe/data/ecs").SchedulerState;
531
+ readonly _indexBuffer: {
532
+ readonly default: GPUBuffer | null;
533
+ readonly nonPersistent: true;
662
534
  };
663
- } & {
664
- readonly device: {
665
- readonly default: GPUDevice | null;
535
+ readonly _indexCount: {
666
536
  readonly nonPersistent: true;
537
+ readonly type: "integer";
538
+ readonly minimum: 0;
539
+ readonly maximum: 4294967295;
540
+ readonly default: number;
667
541
  };
668
- readonly commandEncoder: {
669
- readonly default: GPUCommandEncoder | null;
542
+ readonly _indexFormat: {
543
+ readonly default: GPUIndexFormat;
670
544
  readonly nonPersistent: true;
671
545
  };
672
- } & {
673
- readonly _ragdollTrigger: {
674
- readonly default: boolean;
546
+ readonly _materialBindGroup: {
547
+ readonly default: GPUBindGroup | null;
548
+ readonly nonPersistent: true;
549
+ };
550
+ readonly _mesh: {
551
+ readonly nonPersistent: true;
552
+ readonly type: "integer";
553
+ readonly minimum: -2147483648;
554
+ readonly maximum: 2147483647;
555
+ readonly default: number;
556
+ };
557
+ readonly _material: {
558
+ readonly nonPersistent: true;
559
+ readonly type: "integer";
560
+ readonly minimum: -2147483648;
561
+ readonly maximum: 2147483647;
562
+ readonly default: number;
563
+ };
564
+ readonly _nodeLocalMatrix: {
565
+ readonly nonPersistent: true;
566
+ readonly type: "array";
567
+ readonly items: {
568
+ readonly type: "number";
569
+ readonly precision: 1;
570
+ readonly default: number;
571
+ };
572
+ readonly minItems: 16;
573
+ readonly maxItems: 16;
574
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
575
+ };
576
+ readonly _skeletonModelRef: {
577
+ readonly nonPersistent: true;
578
+ readonly type: "integer";
579
+ readonly minimum: -2147483648;
580
+ readonly maximum: 2147483647;
581
+ readonly default: number;
582
+ };
583
+ readonly _skeletonJointMatrixBindGroup: {
584
+ readonly default: GPUBindGroup | null;
675
585
  readonly nonPersistent: true;
676
586
  };
677
- };
678
- readonly archetypes: {} & {
679
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
680
- } & {} & {
681
- 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"];
682
587
  } & {
683
- readonly GltfMeshPending: readonly ["gltfUrl"];
684
- readonly ShapeMeshPending: readonly ["shapeSpec"];
685
- readonly StaticMesh: readonly ["localBounds"];
588
+ readonly _skeletonJoints: {
589
+ readonly default: number[];
590
+ readonly nonPersistent: true;
591
+ };
592
+ readonly _skeletonMesh: {
593
+ readonly nonPersistent: true;
594
+ readonly type: "integer";
595
+ readonly minimum: -2147483648;
596
+ readonly maximum: 2147483647;
597
+ readonly default: number;
598
+ };
599
+ readonly _skeletonInstanceBuffer: {
600
+ readonly default: GPUBuffer | null;
601
+ readonly nonPersistent: true;
602
+ };
603
+ readonly _skeletonJointMatrixBuffer: {
604
+ readonly default: GPUBuffer | null;
605
+ readonly nonPersistent: true;
606
+ };
607
+ } & {
608
+ readonly _boneJoint: {
609
+ readonly nonPersistent: true;
610
+ readonly type: "integer";
611
+ readonly minimum: -2147483648;
612
+ readonly maximum: 2147483647;
613
+ readonly default: number;
614
+ };
615
+ readonly _boneOffsetPos: {
616
+ readonly nonPersistent: true;
617
+ readonly type: "array";
618
+ readonly items: {
619
+ readonly type: "number";
620
+ readonly precision: 1;
621
+ readonly default: number;
622
+ };
623
+ readonly minItems: 3;
624
+ readonly maxItems: 3;
625
+ readonly default: readonly [0, 0, 0];
626
+ };
627
+ readonly _boneOffsetRot: {
628
+ readonly nonPersistent: true;
629
+ readonly type: "array";
630
+ readonly items: {
631
+ readonly type: "number";
632
+ readonly precision: 1;
633
+ readonly default: number;
634
+ };
635
+ readonly minItems: 4;
636
+ readonly maxItems: 4;
637
+ readonly default: readonly [0, 0, 0, 1];
638
+ readonly interpolators: {
639
+ readonly linear: (q1: any, q2: any, t: number) => any;
640
+ };
641
+ };
642
+ readonly _ragdollBuilt: {
643
+ readonly nonPersistent: true;
644
+ readonly type: "boolean";
645
+ readonly const: true;
646
+ readonly default: true;
647
+ };
648
+ };
649
+ readonly resources: {} & {
650
+ readonly physicsQuery: {
651
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
652
+ readonly nonPersistent: true;
653
+ };
654
+ } & {
655
+ readonly _gltfMeshByUrl: {
656
+ readonly default: Map<string, Entity> | null;
657
+ readonly nonPersistent: true;
658
+ };
659
+ } & {
660
+ readonly frameTime: {
661
+ readonly default: import("../../core/frame-time/public.js");
662
+ readonly nonPersistent: true;
663
+ };
664
+ } & {
665
+ readonly schedulerState: {
666
+ readonly default: import("@adobe/data/ecs").SchedulerState;
667
+ };
668
+ } & {
669
+ readonly device: {
670
+ readonly default: GPUDevice | null;
671
+ readonly nonPersistent: true;
672
+ };
673
+ readonly commandEncoder: {
674
+ readonly default: GPUCommandEncoder | null;
675
+ readonly nonPersistent: true;
676
+ };
677
+ } & {
678
+ readonly _ragdollTrigger: {
679
+ readonly default: boolean;
680
+ readonly nonPersistent: true;
681
+ };
682
+ };
683
+ readonly archetypes: {} & {
684
+ 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"];
685
+ } & {
686
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
687
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
688
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
689
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
690
+ } & {
691
+ readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
692
+ } & {
693
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
694
+ } & {} & {
695
+ readonly GltfMeshPending: readonly ["gltfUrl"];
696
+ readonly ShapeMeshPending: readonly ["shapeSpec"];
697
+ readonly StaticMesh: readonly ["localBounds"];
686
698
  readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
687
699
  readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
688
700
  readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
@@ -694,18 +706,11 @@ export declare const boneColliders: {
694
706
  readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
695
707
  readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
696
708
  } & {} & {
697
- readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
698
- readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
699
- readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
700
- readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
701
- } & {
702
709
  readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
703
- } & {
704
- readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
705
710
  } & {
706
711
  readonly BoneCapsule: readonly ["bodyType", "colliderShape", "halfExtents", "material", "collisionGroup", "position", "rotation", "linearVelocity", "angularVelocity", "_boneJoint", "_boneOffsetPos", "_boneOffsetRot"];
707
712
  };
708
- readonly transactions: {} & {} & {
713
+ readonly transactions: {
709
714
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
710
715
  readonly material: {
711
716
  readonly type: "integer";
@@ -1599,7 +1604,7 @@ export declare const boneColliders: {
1599
1604
  readonly archetype: "Material";
1600
1605
  };
1601
1606
  }, never>) => void;
1602
- } & {
1607
+ } & {} & {} & {} & {} & {
1603
1608
  readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
1604
1609
  readonly mesh: {
1605
1610
  readonly type: "integer";
@@ -3576,7 +3581,7 @@ export declare const boneColliders: {
3576
3581
  readonly archetype: "Material";
3577
3582
  };
3578
3583
  } & {} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3579
- } & {} & {
3584
+ } & {
3580
3585
  readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3581
3586
  readonly _skeletonJoints: {
3582
3587
  readonly default: number[];
@@ -4073,7 +4078,7 @@ export declare const boneColliders: {
4073
4078
  jointMatrixBindGroup: GPUBindGroup;
4074
4079
  clipRef: number | null;
4075
4080
  }) => void;
4076
- } & {} & {
4081
+ } & {
4077
4082
  readonly triggerRagdoll: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
4078
4083
  readonly _ragdollTrigger: {
4079
4084
  readonly default: boolean;
@@ -4082,19 +4087,2407 @@ export declare const boneColliders: {
4082
4087
  }>, {}, {}, never>) => void;
4083
4088
  } & {};
4084
4089
  readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "generateBoneColliders" | "trackBoneColliders" | "ragdollOnTrigger" | "reconcileRagdoll">;
4085
- readonly actions: {};
4086
- readonly services: {};
4087
- readonly computed: {};
4088
- readonly indexes: {} & {
4089
- readonly nodeChildrenOf: {
4090
- readonly key: "parent";
4091
- readonly archetype: "Node";
4092
- };
4093
- } & {} & {
4094
- readonly materialByName: {
4095
- readonly key: "name";
4096
- readonly unique: true;
4097
- readonly archetype: "Material";
4090
+ readonly actions: {
4091
+ readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
4092
+ readonly bodyType: {
4093
+ readonly type: "string";
4094
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
4095
+ };
4096
+ readonly colliderShape: {
4097
+ readonly type: "string";
4098
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
4099
+ };
4100
+ readonly halfExtents: {
4101
+ readonly type: "array";
4102
+ readonly items: {
4103
+ readonly type: "number";
4104
+ readonly precision: 1;
4105
+ readonly default: number;
4106
+ };
4107
+ readonly minItems: 3;
4108
+ readonly maxItems: 3;
4109
+ readonly default: readonly [0, 0, 0];
4110
+ };
4111
+ readonly position: {
4112
+ readonly type: "array";
4113
+ readonly items: {
4114
+ readonly type: "number";
4115
+ readonly precision: 1;
4116
+ readonly default: number;
4117
+ };
4118
+ readonly minItems: 3;
4119
+ readonly maxItems: 3;
4120
+ readonly default: readonly [0, 0, 0];
4121
+ };
4122
+ readonly rotation: {
4123
+ readonly type: "array";
4124
+ readonly items: {
4125
+ readonly type: "number";
4126
+ readonly precision: 1;
4127
+ readonly default: number;
4128
+ };
4129
+ readonly minItems: 4;
4130
+ readonly maxItems: 4;
4131
+ readonly default: readonly [0, 0, 0, 1];
4132
+ readonly interpolators: {
4133
+ readonly linear: (q1: any, q2: any, t: number) => any;
4134
+ };
4135
+ };
4136
+ readonly linearVelocity: {
4137
+ readonly type: "array";
4138
+ readonly items: {
4139
+ readonly type: "number";
4140
+ readonly precision: 1;
4141
+ readonly default: number;
4142
+ };
4143
+ readonly minItems: 3;
4144
+ readonly maxItems: 3;
4145
+ readonly default: readonly [0, 0, 0];
4146
+ };
4147
+ readonly angularVelocity: {
4148
+ readonly type: "array";
4149
+ readonly items: {
4150
+ readonly type: "number";
4151
+ readonly precision: 1;
4152
+ readonly default: number;
4153
+ };
4154
+ readonly minItems: 3;
4155
+ readonly maxItems: 3;
4156
+ readonly default: readonly [0, 0, 0];
4157
+ };
4158
+ readonly _prevPosition: {
4159
+ readonly nonPersistent: true;
4160
+ readonly type: "array";
4161
+ readonly items: {
4162
+ readonly type: "number";
4163
+ readonly precision: 1;
4164
+ readonly default: number;
4165
+ };
4166
+ readonly minItems: 3;
4167
+ readonly maxItems: 3;
4168
+ readonly default: readonly [0, 0, 0];
4169
+ };
4170
+ readonly _prevRotation: {
4171
+ readonly nonPersistent: true;
4172
+ readonly type: "array";
4173
+ readonly items: {
4174
+ readonly type: "number";
4175
+ readonly precision: 1;
4176
+ readonly default: number;
4177
+ };
4178
+ readonly minItems: 4;
4179
+ readonly maxItems: 4;
4180
+ readonly default: readonly [0, 0, 0, 1];
4181
+ readonly interpolators: {
4182
+ readonly linear: (q1: any, q2: any, t: number) => any;
4183
+ };
4184
+ };
4185
+ readonly collisionGroup: {
4186
+ readonly type: "number";
4187
+ readonly precision: 1;
4188
+ readonly default: number;
4189
+ };
4190
+ readonly convexPoints: {
4191
+ readonly default: Float32Array | null;
4192
+ };
4193
+ readonly colliderMesh: {
4194
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
4195
+ };
4196
+ } & {
4197
+ readonly material: {
4198
+ readonly type: "integer";
4199
+ readonly minimum: -2147483648;
4200
+ readonly maximum: 2147483647;
4201
+ readonly default: number;
4202
+ };
4203
+ readonly name: {
4204
+ readonly type: "string";
4205
+ };
4206
+ readonly density: {
4207
+ readonly type: "number";
4208
+ readonly precision: 1;
4209
+ readonly default: number;
4210
+ };
4211
+ readonly restitution: {
4212
+ readonly type: "number";
4213
+ readonly precision: 1;
4214
+ readonly default: number;
4215
+ };
4216
+ readonly friction: {
4217
+ readonly type: "number";
4218
+ readonly precision: 1;
4219
+ readonly default: number;
4220
+ };
4221
+ readonly compliance: {
4222
+ readonly type: "number";
4223
+ readonly precision: 1;
4224
+ readonly default: number;
4225
+ };
4226
+ readonly heatCapacity: {
4227
+ readonly type: "number";
4228
+ readonly precision: 1;
4229
+ readonly default: number;
4230
+ };
4231
+ readonly viscosity: {
4232
+ readonly type: "number";
4233
+ readonly precision: 1;
4234
+ readonly default: number;
4235
+ };
4236
+ readonly thermalConductivity: {
4237
+ readonly type: "number";
4238
+ readonly precision: 1;
4239
+ readonly default: number;
4240
+ };
4241
+ readonly stressStrainCurve: {
4242
+ readonly type: "object";
4243
+ readonly layout: "packed";
4244
+ readonly properties: {
4245
+ readonly tensileYieldStrainStress: {
4246
+ readonly type: "array";
4247
+ readonly items: {
4248
+ readonly type: "number";
4249
+ readonly precision: 1;
4250
+ readonly default: number;
4251
+ };
4252
+ readonly minItems: 2;
4253
+ readonly maxItems: 2;
4254
+ readonly default: readonly [0, 0];
4255
+ };
4256
+ readonly tensileFractureStrainStress: {
4257
+ readonly type: "array";
4258
+ readonly items: {
4259
+ readonly type: "number";
4260
+ readonly precision: 1;
4261
+ readonly default: number;
4262
+ };
4263
+ readonly minItems: 2;
4264
+ readonly maxItems: 2;
4265
+ readonly default: readonly [0, 0];
4266
+ };
4267
+ readonly compressiveYieldStrainStress: {
4268
+ readonly type: "array";
4269
+ readonly items: {
4270
+ readonly type: "number";
4271
+ readonly precision: 1;
4272
+ readonly default: number;
4273
+ };
4274
+ readonly minItems: 2;
4275
+ readonly maxItems: 2;
4276
+ readonly default: readonly [0, 0];
4277
+ };
4278
+ readonly compressiveFractureStrainStress: {
4279
+ readonly type: "array";
4280
+ readonly items: {
4281
+ readonly type: "number";
4282
+ readonly precision: 1;
4283
+ readonly default: number;
4284
+ };
4285
+ readonly minItems: 2;
4286
+ readonly maxItems: 2;
4287
+ readonly default: readonly [0, 0];
4288
+ };
4289
+ };
4290
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4291
+ };
4292
+ readonly baseColorFactor: {
4293
+ readonly type: "array";
4294
+ readonly items: {
4295
+ readonly type: "number";
4296
+ readonly precision: 1;
4297
+ readonly default: number;
4298
+ };
4299
+ readonly minItems: 4;
4300
+ readonly maxItems: 4;
4301
+ readonly default: readonly [0, 0, 0, 0];
4302
+ };
4303
+ readonly emissiveFactor: {
4304
+ readonly type: "array";
4305
+ readonly items: {
4306
+ readonly type: "number";
4307
+ readonly precision: 1;
4308
+ readonly default: number;
4309
+ };
4310
+ readonly minItems: 3;
4311
+ readonly maxItems: 3;
4312
+ readonly default: readonly [0, 0, 0];
4313
+ };
4314
+ readonly metallicFactor: {
4315
+ readonly type: "number";
4316
+ readonly precision: 1;
4317
+ readonly default: number;
4318
+ };
4319
+ readonly roughnessFactor: {
4320
+ readonly type: "number";
4321
+ readonly precision: 1;
4322
+ readonly default: number;
4323
+ };
4324
+ readonly normalScale: {
4325
+ readonly type: "number";
4326
+ readonly precision: 1;
4327
+ readonly default: number;
4328
+ };
4329
+ readonly occlusionStrength: {
4330
+ readonly type: "number";
4331
+ readonly precision: 1;
4332
+ readonly default: number;
4333
+ };
4334
+ readonly irReflectance: {
4335
+ readonly type: "number";
4336
+ readonly precision: 1;
4337
+ readonly default: number;
4338
+ };
4339
+ readonly irEmission: {
4340
+ readonly type: "number";
4341
+ readonly precision: 1;
4342
+ readonly default: number;
4343
+ };
4344
+ readonly emissionMode: {
4345
+ readonly type: "integer";
4346
+ readonly minimum: 0;
4347
+ readonly maximum: 4294967295;
4348
+ readonly default: number;
4349
+ };
4350
+ readonly baseColorUrl: {
4351
+ readonly type: "string";
4352
+ };
4353
+ readonly metallicRoughnessUrl: {
4354
+ readonly type: "string";
4355
+ };
4356
+ readonly normalUrl: {
4357
+ readonly type: "string";
4358
+ };
4359
+ readonly occlusionUrl: {
4360
+ readonly type: "string";
4361
+ };
4362
+ readonly emissiveUrl: {
4363
+ readonly type: "string";
4364
+ };
4365
+ }>, import("@adobe/data/schema").FromSchemas<{
4366
+ readonly physicsQuery: {
4367
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
4368
+ readonly nonPersistent: true;
4369
+ };
4370
+ } & {}>, {
4371
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
4372
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
4373
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
4374
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
4375
+ } & {
4376
+ 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"];
4377
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
4378
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4379
+ readonly material: {
4380
+ readonly type: "integer";
4381
+ readonly minimum: -2147483648;
4382
+ readonly maximum: 2147483647;
4383
+ readonly default: number;
4384
+ };
4385
+ readonly name: {
4386
+ readonly type: "string";
4387
+ };
4388
+ readonly density: {
4389
+ readonly type: "number";
4390
+ readonly precision: 1;
4391
+ readonly default: number;
4392
+ };
4393
+ readonly restitution: {
4394
+ readonly type: "number";
4395
+ readonly precision: 1;
4396
+ readonly default: number;
4397
+ };
4398
+ readonly friction: {
4399
+ readonly type: "number";
4400
+ readonly precision: 1;
4401
+ readonly default: number;
4402
+ };
4403
+ readonly compliance: {
4404
+ readonly type: "number";
4405
+ readonly precision: 1;
4406
+ readonly default: number;
4407
+ };
4408
+ readonly heatCapacity: {
4409
+ readonly type: "number";
4410
+ readonly precision: 1;
4411
+ readonly default: number;
4412
+ };
4413
+ readonly viscosity: {
4414
+ readonly type: "number";
4415
+ readonly precision: 1;
4416
+ readonly default: number;
4417
+ };
4418
+ readonly thermalConductivity: {
4419
+ readonly type: "number";
4420
+ readonly precision: 1;
4421
+ readonly default: number;
4422
+ };
4423
+ readonly stressStrainCurve: {
4424
+ readonly type: "object";
4425
+ readonly layout: "packed";
4426
+ readonly properties: {
4427
+ readonly tensileYieldStrainStress: {
4428
+ readonly type: "array";
4429
+ readonly items: {
4430
+ readonly type: "number";
4431
+ readonly precision: 1;
4432
+ readonly default: number;
4433
+ };
4434
+ readonly minItems: 2;
4435
+ readonly maxItems: 2;
4436
+ readonly default: readonly [0, 0];
4437
+ };
4438
+ readonly tensileFractureStrainStress: {
4439
+ readonly type: "array";
4440
+ readonly items: {
4441
+ readonly type: "number";
4442
+ readonly precision: 1;
4443
+ readonly default: number;
4444
+ };
4445
+ readonly minItems: 2;
4446
+ readonly maxItems: 2;
4447
+ readonly default: readonly [0, 0];
4448
+ };
4449
+ readonly compressiveYieldStrainStress: {
4450
+ readonly type: "array";
4451
+ readonly items: {
4452
+ readonly type: "number";
4453
+ readonly precision: 1;
4454
+ readonly default: number;
4455
+ };
4456
+ readonly minItems: 2;
4457
+ readonly maxItems: 2;
4458
+ readonly default: readonly [0, 0];
4459
+ };
4460
+ readonly compressiveFractureStrainStress: {
4461
+ readonly type: "array";
4462
+ readonly items: {
4463
+ readonly type: "number";
4464
+ readonly precision: 1;
4465
+ readonly default: number;
4466
+ };
4467
+ readonly minItems: 2;
4468
+ readonly maxItems: 2;
4469
+ readonly default: readonly [0, 0];
4470
+ };
4471
+ };
4472
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4473
+ };
4474
+ readonly baseColorFactor: {
4475
+ readonly type: "array";
4476
+ readonly items: {
4477
+ readonly type: "number";
4478
+ readonly precision: 1;
4479
+ readonly default: number;
4480
+ };
4481
+ readonly minItems: 4;
4482
+ readonly maxItems: 4;
4483
+ readonly default: readonly [0, 0, 0, 0];
4484
+ };
4485
+ readonly emissiveFactor: {
4486
+ readonly type: "array";
4487
+ readonly items: {
4488
+ readonly type: "number";
4489
+ readonly precision: 1;
4490
+ readonly default: number;
4491
+ };
4492
+ readonly minItems: 3;
4493
+ readonly maxItems: 3;
4494
+ readonly default: readonly [0, 0, 0];
4495
+ };
4496
+ readonly metallicFactor: {
4497
+ readonly type: "number";
4498
+ readonly precision: 1;
4499
+ readonly default: number;
4500
+ };
4501
+ readonly roughnessFactor: {
4502
+ readonly type: "number";
4503
+ readonly precision: 1;
4504
+ readonly default: number;
4505
+ };
4506
+ readonly normalScale: {
4507
+ readonly type: "number";
4508
+ readonly precision: 1;
4509
+ readonly default: number;
4510
+ };
4511
+ readonly occlusionStrength: {
4512
+ readonly type: "number";
4513
+ readonly precision: 1;
4514
+ readonly default: number;
4515
+ };
4516
+ readonly irReflectance: {
4517
+ readonly type: "number";
4518
+ readonly precision: 1;
4519
+ readonly default: number;
4520
+ };
4521
+ readonly irEmission: {
4522
+ readonly type: "number";
4523
+ readonly precision: 1;
4524
+ readonly default: number;
4525
+ };
4526
+ readonly emissionMode: {
4527
+ readonly type: "integer";
4528
+ readonly minimum: 0;
4529
+ readonly maximum: 4294967295;
4530
+ readonly default: number;
4531
+ };
4532
+ readonly baseColorUrl: {
4533
+ readonly type: "string";
4534
+ };
4535
+ readonly metallicRoughnessUrl: {
4536
+ readonly type: "string";
4537
+ };
4538
+ readonly normalUrl: {
4539
+ readonly type: "string";
4540
+ };
4541
+ readonly occlusionUrl: {
4542
+ readonly type: "string";
4543
+ };
4544
+ readonly emissiveUrl: {
4545
+ readonly type: "string";
4546
+ };
4547
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4548
+ 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"];
4549
+ }, {
4550
+ readonly materialByName: {
4551
+ readonly key: "name";
4552
+ readonly unique: true;
4553
+ readonly archetype: "Material";
4554
+ };
4555
+ }, never>, row: import("../../material/public.js")) => Entity;
4556
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4557
+ readonly material: {
4558
+ readonly type: "integer";
4559
+ readonly minimum: -2147483648;
4560
+ readonly maximum: 2147483647;
4561
+ readonly default: number;
4562
+ };
4563
+ readonly name: {
4564
+ readonly type: "string";
4565
+ };
4566
+ readonly density: {
4567
+ readonly type: "number";
4568
+ readonly precision: 1;
4569
+ readonly default: number;
4570
+ };
4571
+ readonly restitution: {
4572
+ readonly type: "number";
4573
+ readonly precision: 1;
4574
+ readonly default: number;
4575
+ };
4576
+ readonly friction: {
4577
+ readonly type: "number";
4578
+ readonly precision: 1;
4579
+ readonly default: number;
4580
+ };
4581
+ readonly compliance: {
4582
+ readonly type: "number";
4583
+ readonly precision: 1;
4584
+ readonly default: number;
4585
+ };
4586
+ readonly heatCapacity: {
4587
+ readonly type: "number";
4588
+ readonly precision: 1;
4589
+ readonly default: number;
4590
+ };
4591
+ readonly viscosity: {
4592
+ readonly type: "number";
4593
+ readonly precision: 1;
4594
+ readonly default: number;
4595
+ };
4596
+ readonly thermalConductivity: {
4597
+ readonly type: "number";
4598
+ readonly precision: 1;
4599
+ readonly default: number;
4600
+ };
4601
+ readonly stressStrainCurve: {
4602
+ readonly type: "object";
4603
+ readonly layout: "packed";
4604
+ readonly properties: {
4605
+ readonly tensileYieldStrainStress: {
4606
+ readonly type: "array";
4607
+ readonly items: {
4608
+ readonly type: "number";
4609
+ readonly precision: 1;
4610
+ readonly default: number;
4611
+ };
4612
+ readonly minItems: 2;
4613
+ readonly maxItems: 2;
4614
+ readonly default: readonly [0, 0];
4615
+ };
4616
+ readonly tensileFractureStrainStress: {
4617
+ readonly type: "array";
4618
+ readonly items: {
4619
+ readonly type: "number";
4620
+ readonly precision: 1;
4621
+ readonly default: number;
4622
+ };
4623
+ readonly minItems: 2;
4624
+ readonly maxItems: 2;
4625
+ readonly default: readonly [0, 0];
4626
+ };
4627
+ readonly compressiveYieldStrainStress: {
4628
+ readonly type: "array";
4629
+ readonly items: {
4630
+ readonly type: "number";
4631
+ readonly precision: 1;
4632
+ readonly default: number;
4633
+ };
4634
+ readonly minItems: 2;
4635
+ readonly maxItems: 2;
4636
+ readonly default: readonly [0, 0];
4637
+ };
4638
+ readonly compressiveFractureStrainStress: {
4639
+ readonly type: "array";
4640
+ readonly items: {
4641
+ readonly type: "number";
4642
+ readonly precision: 1;
4643
+ readonly default: number;
4644
+ };
4645
+ readonly minItems: 2;
4646
+ readonly maxItems: 2;
4647
+ readonly default: readonly [0, 0];
4648
+ };
4649
+ };
4650
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4651
+ };
4652
+ readonly baseColorFactor: {
4653
+ readonly type: "array";
4654
+ readonly items: {
4655
+ readonly type: "number";
4656
+ readonly precision: 1;
4657
+ readonly default: number;
4658
+ };
4659
+ readonly minItems: 4;
4660
+ readonly maxItems: 4;
4661
+ readonly default: readonly [0, 0, 0, 0];
4662
+ };
4663
+ readonly emissiveFactor: {
4664
+ readonly type: "array";
4665
+ readonly items: {
4666
+ readonly type: "number";
4667
+ readonly precision: 1;
4668
+ readonly default: number;
4669
+ };
4670
+ readonly minItems: 3;
4671
+ readonly maxItems: 3;
4672
+ readonly default: readonly [0, 0, 0];
4673
+ };
4674
+ readonly metallicFactor: {
4675
+ readonly type: "number";
4676
+ readonly precision: 1;
4677
+ readonly default: number;
4678
+ };
4679
+ readonly roughnessFactor: {
4680
+ readonly type: "number";
4681
+ readonly precision: 1;
4682
+ readonly default: number;
4683
+ };
4684
+ readonly normalScale: {
4685
+ readonly type: "number";
4686
+ readonly precision: 1;
4687
+ readonly default: number;
4688
+ };
4689
+ readonly occlusionStrength: {
4690
+ readonly type: "number";
4691
+ readonly precision: 1;
4692
+ readonly default: number;
4693
+ };
4694
+ readonly irReflectance: {
4695
+ readonly type: "number";
4696
+ readonly precision: 1;
4697
+ readonly default: number;
4698
+ };
4699
+ readonly irEmission: {
4700
+ readonly type: "number";
4701
+ readonly precision: 1;
4702
+ readonly default: number;
4703
+ };
4704
+ readonly emissionMode: {
4705
+ readonly type: "integer";
4706
+ readonly minimum: 0;
4707
+ readonly maximum: 4294967295;
4708
+ readonly default: number;
4709
+ };
4710
+ readonly baseColorUrl: {
4711
+ readonly type: "string";
4712
+ };
4713
+ readonly metallicRoughnessUrl: {
4714
+ readonly type: "string";
4715
+ };
4716
+ readonly normalUrl: {
4717
+ readonly type: "string";
4718
+ };
4719
+ readonly occlusionUrl: {
4720
+ readonly type: "string";
4721
+ };
4722
+ readonly emissiveUrl: {
4723
+ readonly type: "string";
4724
+ };
4725
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4726
+ 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"];
4727
+ }, {
4728
+ readonly materialByName: {
4729
+ readonly key: "name";
4730
+ readonly unique: true;
4731
+ readonly archetype: "Material";
4732
+ };
4733
+ }, never>, args: {
4734
+ name: string;
4735
+ definition: import("../../material/material-definition.js").MaterialDefinition;
4736
+ }) => Entity;
4737
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4738
+ readonly material: {
4739
+ readonly type: "integer";
4740
+ readonly minimum: -2147483648;
4741
+ readonly maximum: 2147483647;
4742
+ readonly default: number;
4743
+ };
4744
+ readonly name: {
4745
+ readonly type: "string";
4746
+ };
4747
+ readonly density: {
4748
+ readonly type: "number";
4749
+ readonly precision: 1;
4750
+ readonly default: number;
4751
+ };
4752
+ readonly restitution: {
4753
+ readonly type: "number";
4754
+ readonly precision: 1;
4755
+ readonly default: number;
4756
+ };
4757
+ readonly friction: {
4758
+ readonly type: "number";
4759
+ readonly precision: 1;
4760
+ readonly default: number;
4761
+ };
4762
+ readonly compliance: {
4763
+ readonly type: "number";
4764
+ readonly precision: 1;
4765
+ readonly default: number;
4766
+ };
4767
+ readonly heatCapacity: {
4768
+ readonly type: "number";
4769
+ readonly precision: 1;
4770
+ readonly default: number;
4771
+ };
4772
+ readonly viscosity: {
4773
+ readonly type: "number";
4774
+ readonly precision: 1;
4775
+ readonly default: number;
4776
+ };
4777
+ readonly thermalConductivity: {
4778
+ readonly type: "number";
4779
+ readonly precision: 1;
4780
+ readonly default: number;
4781
+ };
4782
+ readonly stressStrainCurve: {
4783
+ readonly type: "object";
4784
+ readonly layout: "packed";
4785
+ readonly properties: {
4786
+ readonly tensileYieldStrainStress: {
4787
+ readonly type: "array";
4788
+ readonly items: {
4789
+ readonly type: "number";
4790
+ readonly precision: 1;
4791
+ readonly default: number;
4792
+ };
4793
+ readonly minItems: 2;
4794
+ readonly maxItems: 2;
4795
+ readonly default: readonly [0, 0];
4796
+ };
4797
+ readonly tensileFractureStrainStress: {
4798
+ readonly type: "array";
4799
+ readonly items: {
4800
+ readonly type: "number";
4801
+ readonly precision: 1;
4802
+ readonly default: number;
4803
+ };
4804
+ readonly minItems: 2;
4805
+ readonly maxItems: 2;
4806
+ readonly default: readonly [0, 0];
4807
+ };
4808
+ readonly compressiveYieldStrainStress: {
4809
+ readonly type: "array";
4810
+ readonly items: {
4811
+ readonly type: "number";
4812
+ readonly precision: 1;
4813
+ readonly default: number;
4814
+ };
4815
+ readonly minItems: 2;
4816
+ readonly maxItems: 2;
4817
+ readonly default: readonly [0, 0];
4818
+ };
4819
+ readonly compressiveFractureStrainStress: {
4820
+ readonly type: "array";
4821
+ readonly items: {
4822
+ readonly type: "number";
4823
+ readonly precision: 1;
4824
+ readonly default: number;
4825
+ };
4826
+ readonly minItems: 2;
4827
+ readonly maxItems: 2;
4828
+ readonly default: readonly [0, 0];
4829
+ };
4830
+ };
4831
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4832
+ };
4833
+ readonly baseColorFactor: {
4834
+ readonly type: "array";
4835
+ readonly items: {
4836
+ readonly type: "number";
4837
+ readonly precision: 1;
4838
+ readonly default: number;
4839
+ };
4840
+ readonly minItems: 4;
4841
+ readonly maxItems: 4;
4842
+ readonly default: readonly [0, 0, 0, 0];
4843
+ };
4844
+ readonly emissiveFactor: {
4845
+ readonly type: "array";
4846
+ readonly items: {
4847
+ readonly type: "number";
4848
+ readonly precision: 1;
4849
+ readonly default: number;
4850
+ };
4851
+ readonly minItems: 3;
4852
+ readonly maxItems: 3;
4853
+ readonly default: readonly [0, 0, 0];
4854
+ };
4855
+ readonly metallicFactor: {
4856
+ readonly type: "number";
4857
+ readonly precision: 1;
4858
+ readonly default: number;
4859
+ };
4860
+ readonly roughnessFactor: {
4861
+ readonly type: "number";
4862
+ readonly precision: 1;
4863
+ readonly default: number;
4864
+ };
4865
+ readonly normalScale: {
4866
+ readonly type: "number";
4867
+ readonly precision: 1;
4868
+ readonly default: number;
4869
+ };
4870
+ readonly occlusionStrength: {
4871
+ readonly type: "number";
4872
+ readonly precision: 1;
4873
+ readonly default: number;
4874
+ };
4875
+ readonly irReflectance: {
4876
+ readonly type: "number";
4877
+ readonly precision: 1;
4878
+ readonly default: number;
4879
+ };
4880
+ readonly irEmission: {
4881
+ readonly type: "number";
4882
+ readonly precision: 1;
4883
+ readonly default: number;
4884
+ };
4885
+ readonly emissionMode: {
4886
+ readonly type: "integer";
4887
+ readonly minimum: 0;
4888
+ readonly maximum: 4294967295;
4889
+ readonly default: number;
4890
+ };
4891
+ readonly baseColorUrl: {
4892
+ readonly type: "string";
4893
+ };
4894
+ readonly metallicRoughnessUrl: {
4895
+ readonly type: "string";
4896
+ };
4897
+ readonly normalUrl: {
4898
+ readonly type: "string";
4899
+ };
4900
+ readonly occlusionUrl: {
4901
+ readonly type: "string";
4902
+ };
4903
+ readonly emissiveUrl: {
4904
+ readonly type: "string";
4905
+ };
4906
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4907
+ 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"];
4908
+ }, {
4909
+ readonly materialByName: {
4910
+ readonly key: "name";
4911
+ readonly unique: true;
4912
+ readonly archetype: "Material";
4913
+ };
4914
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
4915
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4916
+ readonly material: {
4917
+ readonly type: "integer";
4918
+ readonly minimum: -2147483648;
4919
+ readonly maximum: 2147483647;
4920
+ readonly default: number;
4921
+ };
4922
+ readonly name: {
4923
+ readonly type: "string";
4924
+ };
4925
+ readonly density: {
4926
+ readonly type: "number";
4927
+ readonly precision: 1;
4928
+ readonly default: number;
4929
+ };
4930
+ readonly restitution: {
4931
+ readonly type: "number";
4932
+ readonly precision: 1;
4933
+ readonly default: number;
4934
+ };
4935
+ readonly friction: {
4936
+ readonly type: "number";
4937
+ readonly precision: 1;
4938
+ readonly default: number;
4939
+ };
4940
+ readonly compliance: {
4941
+ readonly type: "number";
4942
+ readonly precision: 1;
4943
+ readonly default: number;
4944
+ };
4945
+ readonly heatCapacity: {
4946
+ readonly type: "number";
4947
+ readonly precision: 1;
4948
+ readonly default: number;
4949
+ };
4950
+ readonly viscosity: {
4951
+ readonly type: "number";
4952
+ readonly precision: 1;
4953
+ readonly default: number;
4954
+ };
4955
+ readonly thermalConductivity: {
4956
+ readonly type: "number";
4957
+ readonly precision: 1;
4958
+ readonly default: number;
4959
+ };
4960
+ readonly stressStrainCurve: {
4961
+ readonly type: "object";
4962
+ readonly layout: "packed";
4963
+ readonly properties: {
4964
+ readonly tensileYieldStrainStress: {
4965
+ readonly type: "array";
4966
+ readonly items: {
4967
+ readonly type: "number";
4968
+ readonly precision: 1;
4969
+ readonly default: number;
4970
+ };
4971
+ readonly minItems: 2;
4972
+ readonly maxItems: 2;
4973
+ readonly default: readonly [0, 0];
4974
+ };
4975
+ readonly tensileFractureStrainStress: {
4976
+ readonly type: "array";
4977
+ readonly items: {
4978
+ readonly type: "number";
4979
+ readonly precision: 1;
4980
+ readonly default: number;
4981
+ };
4982
+ readonly minItems: 2;
4983
+ readonly maxItems: 2;
4984
+ readonly default: readonly [0, 0];
4985
+ };
4986
+ readonly compressiveYieldStrainStress: {
4987
+ readonly type: "array";
4988
+ readonly items: {
4989
+ readonly type: "number";
4990
+ readonly precision: 1;
4991
+ readonly default: number;
4992
+ };
4993
+ readonly minItems: 2;
4994
+ readonly maxItems: 2;
4995
+ readonly default: readonly [0, 0];
4996
+ };
4997
+ readonly compressiveFractureStrainStress: {
4998
+ readonly type: "array";
4999
+ readonly items: {
5000
+ readonly type: "number";
5001
+ readonly precision: 1;
5002
+ readonly default: number;
5003
+ };
5004
+ readonly minItems: 2;
5005
+ readonly maxItems: 2;
5006
+ readonly default: readonly [0, 0];
5007
+ };
5008
+ };
5009
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5010
+ };
5011
+ readonly baseColorFactor: {
5012
+ readonly type: "array";
5013
+ readonly items: {
5014
+ readonly type: "number";
5015
+ readonly precision: 1;
5016
+ readonly default: number;
5017
+ };
5018
+ readonly minItems: 4;
5019
+ readonly maxItems: 4;
5020
+ readonly default: readonly [0, 0, 0, 0];
5021
+ };
5022
+ readonly emissiveFactor: {
5023
+ readonly type: "array";
5024
+ readonly items: {
5025
+ readonly type: "number";
5026
+ readonly precision: 1;
5027
+ readonly default: number;
5028
+ };
5029
+ readonly minItems: 3;
5030
+ readonly maxItems: 3;
5031
+ readonly default: readonly [0, 0, 0];
5032
+ };
5033
+ readonly metallicFactor: {
5034
+ readonly type: "number";
5035
+ readonly precision: 1;
5036
+ readonly default: number;
5037
+ };
5038
+ readonly roughnessFactor: {
5039
+ readonly type: "number";
5040
+ readonly precision: 1;
5041
+ readonly default: number;
5042
+ };
5043
+ readonly normalScale: {
5044
+ readonly type: "number";
5045
+ readonly precision: 1;
5046
+ readonly default: number;
5047
+ };
5048
+ readonly occlusionStrength: {
5049
+ readonly type: "number";
5050
+ readonly precision: 1;
5051
+ readonly default: number;
5052
+ };
5053
+ readonly irReflectance: {
5054
+ readonly type: "number";
5055
+ readonly precision: 1;
5056
+ readonly default: number;
5057
+ };
5058
+ readonly irEmission: {
5059
+ readonly type: "number";
5060
+ readonly precision: 1;
5061
+ readonly default: number;
5062
+ };
5063
+ readonly emissionMode: {
5064
+ readonly type: "integer";
5065
+ readonly minimum: 0;
5066
+ readonly maximum: 4294967295;
5067
+ readonly default: number;
5068
+ };
5069
+ readonly baseColorUrl: {
5070
+ readonly type: "string";
5071
+ };
5072
+ readonly metallicRoughnessUrl: {
5073
+ readonly type: "string";
5074
+ };
5075
+ readonly normalUrl: {
5076
+ readonly type: "string";
5077
+ };
5078
+ readonly occlusionUrl: {
5079
+ readonly type: "string";
5080
+ };
5081
+ readonly emissiveUrl: {
5082
+ readonly type: "string";
5083
+ };
5084
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5085
+ 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"];
5086
+ }, {
5087
+ readonly materialByName: {
5088
+ readonly key: "name";
5089
+ readonly unique: true;
5090
+ readonly archetype: "Material";
5091
+ };
5092
+ }, never>) => void;
5093
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5094
+ readonly material: {
5095
+ readonly type: "integer";
5096
+ readonly minimum: -2147483648;
5097
+ readonly maximum: 2147483647;
5098
+ readonly default: number;
5099
+ };
5100
+ readonly name: {
5101
+ readonly type: "string";
5102
+ };
5103
+ readonly density: {
5104
+ readonly type: "number";
5105
+ readonly precision: 1;
5106
+ readonly default: number;
5107
+ };
5108
+ readonly restitution: {
5109
+ readonly type: "number";
5110
+ readonly precision: 1;
5111
+ readonly default: number;
5112
+ };
5113
+ readonly friction: {
5114
+ readonly type: "number";
5115
+ readonly precision: 1;
5116
+ readonly default: number;
5117
+ };
5118
+ readonly compliance: {
5119
+ readonly type: "number";
5120
+ readonly precision: 1;
5121
+ readonly default: number;
5122
+ };
5123
+ readonly heatCapacity: {
5124
+ readonly type: "number";
5125
+ readonly precision: 1;
5126
+ readonly default: number;
5127
+ };
5128
+ readonly viscosity: {
5129
+ readonly type: "number";
5130
+ readonly precision: 1;
5131
+ readonly default: number;
5132
+ };
5133
+ readonly thermalConductivity: {
5134
+ readonly type: "number";
5135
+ readonly precision: 1;
5136
+ readonly default: number;
5137
+ };
5138
+ readonly stressStrainCurve: {
5139
+ readonly type: "object";
5140
+ readonly layout: "packed";
5141
+ readonly properties: {
5142
+ readonly tensileYieldStrainStress: {
5143
+ readonly type: "array";
5144
+ readonly items: {
5145
+ readonly type: "number";
5146
+ readonly precision: 1;
5147
+ readonly default: number;
5148
+ };
5149
+ readonly minItems: 2;
5150
+ readonly maxItems: 2;
5151
+ readonly default: readonly [0, 0];
5152
+ };
5153
+ readonly tensileFractureStrainStress: {
5154
+ readonly type: "array";
5155
+ readonly items: {
5156
+ readonly type: "number";
5157
+ readonly precision: 1;
5158
+ readonly default: number;
5159
+ };
5160
+ readonly minItems: 2;
5161
+ readonly maxItems: 2;
5162
+ readonly default: readonly [0, 0];
5163
+ };
5164
+ readonly compressiveYieldStrainStress: {
5165
+ readonly type: "array";
5166
+ readonly items: {
5167
+ readonly type: "number";
5168
+ readonly precision: 1;
5169
+ readonly default: number;
5170
+ };
5171
+ readonly minItems: 2;
5172
+ readonly maxItems: 2;
5173
+ readonly default: readonly [0, 0];
5174
+ };
5175
+ readonly compressiveFractureStrainStress: {
5176
+ readonly type: "array";
5177
+ readonly items: {
5178
+ readonly type: "number";
5179
+ readonly precision: 1;
5180
+ readonly default: number;
5181
+ };
5182
+ readonly minItems: 2;
5183
+ readonly maxItems: 2;
5184
+ readonly default: readonly [0, 0];
5185
+ };
5186
+ };
5187
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5188
+ };
5189
+ readonly baseColorFactor: {
5190
+ readonly type: "array";
5191
+ readonly items: {
5192
+ readonly type: "number";
5193
+ readonly precision: 1;
5194
+ readonly default: number;
5195
+ };
5196
+ readonly minItems: 4;
5197
+ readonly maxItems: 4;
5198
+ readonly default: readonly [0, 0, 0, 0];
5199
+ };
5200
+ readonly emissiveFactor: {
5201
+ readonly type: "array";
5202
+ readonly items: {
5203
+ readonly type: "number";
5204
+ readonly precision: 1;
5205
+ readonly default: number;
5206
+ };
5207
+ readonly minItems: 3;
5208
+ readonly maxItems: 3;
5209
+ readonly default: readonly [0, 0, 0];
5210
+ };
5211
+ readonly metallicFactor: {
5212
+ readonly type: "number";
5213
+ readonly precision: 1;
5214
+ readonly default: number;
5215
+ };
5216
+ readonly roughnessFactor: {
5217
+ readonly type: "number";
5218
+ readonly precision: 1;
5219
+ readonly default: number;
5220
+ };
5221
+ readonly normalScale: {
5222
+ readonly type: "number";
5223
+ readonly precision: 1;
5224
+ readonly default: number;
5225
+ };
5226
+ readonly occlusionStrength: {
5227
+ readonly type: "number";
5228
+ readonly precision: 1;
5229
+ readonly default: number;
5230
+ };
5231
+ readonly irReflectance: {
5232
+ readonly type: "number";
5233
+ readonly precision: 1;
5234
+ readonly default: number;
5235
+ };
5236
+ readonly irEmission: {
5237
+ readonly type: "number";
5238
+ readonly precision: 1;
5239
+ readonly default: number;
5240
+ };
5241
+ readonly emissionMode: {
5242
+ readonly type: "integer";
5243
+ readonly minimum: 0;
5244
+ readonly maximum: 4294967295;
5245
+ readonly default: number;
5246
+ };
5247
+ readonly baseColorUrl: {
5248
+ readonly type: "string";
5249
+ };
5250
+ readonly metallicRoughnessUrl: {
5251
+ readonly type: "string";
5252
+ };
5253
+ readonly normalUrl: {
5254
+ readonly type: "string";
5255
+ };
5256
+ readonly occlusionUrl: {
5257
+ readonly type: "string";
5258
+ };
5259
+ readonly emissiveUrl: {
5260
+ readonly type: "string";
5261
+ };
5262
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5263
+ 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"];
5264
+ }, {
5265
+ readonly materialByName: {
5266
+ readonly key: "name";
5267
+ readonly unique: true;
5268
+ readonly archetype: "Material";
5269
+ };
5270
+ }, never>) => void;
5271
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
5272
+ readonly materialByName: {
5273
+ readonly key: "name";
5274
+ readonly unique: true;
5275
+ readonly archetype: "Material";
5276
+ };
5277
+ }, never>, args: {
5278
+ ray: {
5279
+ readonly a: readonly [number, number, number];
5280
+ readonly b: readonly [number, number, number];
5281
+ };
5282
+ radius?: number;
5283
+ }) => import("../../physics/physics-hit.js").PhysicsHit | null;
5284
+ readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
5285
+ readonly bodyType: {
5286
+ readonly type: "string";
5287
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
5288
+ };
5289
+ readonly colliderShape: {
5290
+ readonly type: "string";
5291
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
5292
+ };
5293
+ readonly halfExtents: {
5294
+ readonly type: "array";
5295
+ readonly items: {
5296
+ readonly type: "number";
5297
+ readonly precision: 1;
5298
+ readonly default: number;
5299
+ };
5300
+ readonly minItems: 3;
5301
+ readonly maxItems: 3;
5302
+ readonly default: readonly [0, 0, 0];
5303
+ };
5304
+ readonly position: {
5305
+ readonly type: "array";
5306
+ readonly items: {
5307
+ readonly type: "number";
5308
+ readonly precision: 1;
5309
+ readonly default: number;
5310
+ };
5311
+ readonly minItems: 3;
5312
+ readonly maxItems: 3;
5313
+ readonly default: readonly [0, 0, 0];
5314
+ };
5315
+ readonly rotation: {
5316
+ readonly type: "array";
5317
+ readonly items: {
5318
+ readonly type: "number";
5319
+ readonly precision: 1;
5320
+ readonly default: number;
5321
+ };
5322
+ readonly minItems: 4;
5323
+ readonly maxItems: 4;
5324
+ readonly default: readonly [0, 0, 0, 1];
5325
+ readonly interpolators: {
5326
+ readonly linear: (q1: any, q2: any, t: number) => any;
5327
+ };
5328
+ };
5329
+ readonly linearVelocity: {
5330
+ readonly type: "array";
5331
+ readonly items: {
5332
+ readonly type: "number";
5333
+ readonly precision: 1;
5334
+ readonly default: number;
5335
+ };
5336
+ readonly minItems: 3;
5337
+ readonly maxItems: 3;
5338
+ readonly default: readonly [0, 0, 0];
5339
+ };
5340
+ readonly angularVelocity: {
5341
+ readonly type: "array";
5342
+ readonly items: {
5343
+ readonly type: "number";
5344
+ readonly precision: 1;
5345
+ readonly default: number;
5346
+ };
5347
+ readonly minItems: 3;
5348
+ readonly maxItems: 3;
5349
+ readonly default: readonly [0, 0, 0];
5350
+ };
5351
+ readonly _prevPosition: {
5352
+ readonly nonPersistent: true;
5353
+ readonly type: "array";
5354
+ readonly items: {
5355
+ readonly type: "number";
5356
+ readonly precision: 1;
5357
+ readonly default: number;
5358
+ };
5359
+ readonly minItems: 3;
5360
+ readonly maxItems: 3;
5361
+ readonly default: readonly [0, 0, 0];
5362
+ };
5363
+ readonly _prevRotation: {
5364
+ readonly nonPersistent: true;
5365
+ readonly type: "array";
5366
+ readonly items: {
5367
+ readonly type: "number";
5368
+ readonly precision: 1;
5369
+ readonly default: number;
5370
+ };
5371
+ readonly minItems: 4;
5372
+ readonly maxItems: 4;
5373
+ readonly default: readonly [0, 0, 0, 1];
5374
+ readonly interpolators: {
5375
+ readonly linear: (q1: any, q2: any, t: number) => any;
5376
+ };
5377
+ };
5378
+ readonly collisionGroup: {
5379
+ readonly type: "number";
5380
+ readonly precision: 1;
5381
+ readonly default: number;
5382
+ };
5383
+ readonly convexPoints: {
5384
+ readonly default: Float32Array | null;
5385
+ };
5386
+ readonly colliderMesh: {
5387
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
5388
+ };
5389
+ } & {
5390
+ readonly material: {
5391
+ readonly type: "integer";
5392
+ readonly minimum: -2147483648;
5393
+ readonly maximum: 2147483647;
5394
+ readonly default: number;
5395
+ };
5396
+ readonly name: {
5397
+ readonly type: "string";
5398
+ };
5399
+ readonly density: {
5400
+ readonly type: "number";
5401
+ readonly precision: 1;
5402
+ readonly default: number;
5403
+ };
5404
+ readonly restitution: {
5405
+ readonly type: "number";
5406
+ readonly precision: 1;
5407
+ readonly default: number;
5408
+ };
5409
+ readonly friction: {
5410
+ readonly type: "number";
5411
+ readonly precision: 1;
5412
+ readonly default: number;
5413
+ };
5414
+ readonly compliance: {
5415
+ readonly type: "number";
5416
+ readonly precision: 1;
5417
+ readonly default: number;
5418
+ };
5419
+ readonly heatCapacity: {
5420
+ readonly type: "number";
5421
+ readonly precision: 1;
5422
+ readonly default: number;
5423
+ };
5424
+ readonly viscosity: {
5425
+ readonly type: "number";
5426
+ readonly precision: 1;
5427
+ readonly default: number;
5428
+ };
5429
+ readonly thermalConductivity: {
5430
+ readonly type: "number";
5431
+ readonly precision: 1;
5432
+ readonly default: number;
5433
+ };
5434
+ readonly stressStrainCurve: {
5435
+ readonly type: "object";
5436
+ readonly layout: "packed";
5437
+ readonly properties: {
5438
+ readonly tensileYieldStrainStress: {
5439
+ readonly type: "array";
5440
+ readonly items: {
5441
+ readonly type: "number";
5442
+ readonly precision: 1;
5443
+ readonly default: number;
5444
+ };
5445
+ readonly minItems: 2;
5446
+ readonly maxItems: 2;
5447
+ readonly default: readonly [0, 0];
5448
+ };
5449
+ readonly tensileFractureStrainStress: {
5450
+ readonly type: "array";
5451
+ readonly items: {
5452
+ readonly type: "number";
5453
+ readonly precision: 1;
5454
+ readonly default: number;
5455
+ };
5456
+ readonly minItems: 2;
5457
+ readonly maxItems: 2;
5458
+ readonly default: readonly [0, 0];
5459
+ };
5460
+ readonly compressiveYieldStrainStress: {
5461
+ readonly type: "array";
5462
+ readonly items: {
5463
+ readonly type: "number";
5464
+ readonly precision: 1;
5465
+ readonly default: number;
5466
+ };
5467
+ readonly minItems: 2;
5468
+ readonly maxItems: 2;
5469
+ readonly default: readonly [0, 0];
5470
+ };
5471
+ readonly compressiveFractureStrainStress: {
5472
+ readonly type: "array";
5473
+ readonly items: {
5474
+ readonly type: "number";
5475
+ readonly precision: 1;
5476
+ readonly default: number;
5477
+ };
5478
+ readonly minItems: 2;
5479
+ readonly maxItems: 2;
5480
+ readonly default: readonly [0, 0];
5481
+ };
5482
+ };
5483
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5484
+ };
5485
+ readonly baseColorFactor: {
5486
+ readonly type: "array";
5487
+ readonly items: {
5488
+ readonly type: "number";
5489
+ readonly precision: 1;
5490
+ readonly default: number;
5491
+ };
5492
+ readonly minItems: 4;
5493
+ readonly maxItems: 4;
5494
+ readonly default: readonly [0, 0, 0, 0];
5495
+ };
5496
+ readonly emissiveFactor: {
5497
+ readonly type: "array";
5498
+ readonly items: {
5499
+ readonly type: "number";
5500
+ readonly precision: 1;
5501
+ readonly default: number;
5502
+ };
5503
+ readonly minItems: 3;
5504
+ readonly maxItems: 3;
5505
+ readonly default: readonly [0, 0, 0];
5506
+ };
5507
+ readonly metallicFactor: {
5508
+ readonly type: "number";
5509
+ readonly precision: 1;
5510
+ readonly default: number;
5511
+ };
5512
+ readonly roughnessFactor: {
5513
+ readonly type: "number";
5514
+ readonly precision: 1;
5515
+ readonly default: number;
5516
+ };
5517
+ readonly normalScale: {
5518
+ readonly type: "number";
5519
+ readonly precision: 1;
5520
+ readonly default: number;
5521
+ };
5522
+ readonly occlusionStrength: {
5523
+ readonly type: "number";
5524
+ readonly precision: 1;
5525
+ readonly default: number;
5526
+ };
5527
+ readonly irReflectance: {
5528
+ readonly type: "number";
5529
+ readonly precision: 1;
5530
+ readonly default: number;
5531
+ };
5532
+ readonly irEmission: {
5533
+ readonly type: "number";
5534
+ readonly precision: 1;
5535
+ readonly default: number;
5536
+ };
5537
+ readonly emissionMode: {
5538
+ readonly type: "integer";
5539
+ readonly minimum: 0;
5540
+ readonly maximum: 4294967295;
5541
+ readonly default: number;
5542
+ };
5543
+ readonly baseColorUrl: {
5544
+ readonly type: "string";
5545
+ };
5546
+ readonly metallicRoughnessUrl: {
5547
+ readonly type: "string";
5548
+ };
5549
+ readonly normalUrl: {
5550
+ readonly type: "string";
5551
+ };
5552
+ readonly occlusionUrl: {
5553
+ readonly type: "string";
5554
+ };
5555
+ readonly emissiveUrl: {
5556
+ readonly type: "string";
5557
+ };
5558
+ }>, import("@adobe/data/schema").FromSchemas<{
5559
+ readonly physicsQuery: {
5560
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
5561
+ readonly nonPersistent: true;
5562
+ };
5563
+ } & {}>, {
5564
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
5565
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
5566
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
5567
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
5568
+ } & {
5569
+ 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"];
5570
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
5571
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5572
+ readonly material: {
5573
+ readonly type: "integer";
5574
+ readonly minimum: -2147483648;
5575
+ readonly maximum: 2147483647;
5576
+ readonly default: number;
5577
+ };
5578
+ readonly name: {
5579
+ readonly type: "string";
5580
+ };
5581
+ readonly density: {
5582
+ readonly type: "number";
5583
+ readonly precision: 1;
5584
+ readonly default: number;
5585
+ };
5586
+ readonly restitution: {
5587
+ readonly type: "number";
5588
+ readonly precision: 1;
5589
+ readonly default: number;
5590
+ };
5591
+ readonly friction: {
5592
+ readonly type: "number";
5593
+ readonly precision: 1;
5594
+ readonly default: number;
5595
+ };
5596
+ readonly compliance: {
5597
+ readonly type: "number";
5598
+ readonly precision: 1;
5599
+ readonly default: number;
5600
+ };
5601
+ readonly heatCapacity: {
5602
+ readonly type: "number";
5603
+ readonly precision: 1;
5604
+ readonly default: number;
5605
+ };
5606
+ readonly viscosity: {
5607
+ readonly type: "number";
5608
+ readonly precision: 1;
5609
+ readonly default: number;
5610
+ };
5611
+ readonly thermalConductivity: {
5612
+ readonly type: "number";
5613
+ readonly precision: 1;
5614
+ readonly default: number;
5615
+ };
5616
+ readonly stressStrainCurve: {
5617
+ readonly type: "object";
5618
+ readonly layout: "packed";
5619
+ readonly properties: {
5620
+ readonly tensileYieldStrainStress: {
5621
+ readonly type: "array";
5622
+ readonly items: {
5623
+ readonly type: "number";
5624
+ readonly precision: 1;
5625
+ readonly default: number;
5626
+ };
5627
+ readonly minItems: 2;
5628
+ readonly maxItems: 2;
5629
+ readonly default: readonly [0, 0];
5630
+ };
5631
+ readonly tensileFractureStrainStress: {
5632
+ readonly type: "array";
5633
+ readonly items: {
5634
+ readonly type: "number";
5635
+ readonly precision: 1;
5636
+ readonly default: number;
5637
+ };
5638
+ readonly minItems: 2;
5639
+ readonly maxItems: 2;
5640
+ readonly default: readonly [0, 0];
5641
+ };
5642
+ readonly compressiveYieldStrainStress: {
5643
+ readonly type: "array";
5644
+ readonly items: {
5645
+ readonly type: "number";
5646
+ readonly precision: 1;
5647
+ readonly default: number;
5648
+ };
5649
+ readonly minItems: 2;
5650
+ readonly maxItems: 2;
5651
+ readonly default: readonly [0, 0];
5652
+ };
5653
+ readonly compressiveFractureStrainStress: {
5654
+ readonly type: "array";
5655
+ readonly items: {
5656
+ readonly type: "number";
5657
+ readonly precision: 1;
5658
+ readonly default: number;
5659
+ };
5660
+ readonly minItems: 2;
5661
+ readonly maxItems: 2;
5662
+ readonly default: readonly [0, 0];
5663
+ };
5664
+ };
5665
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5666
+ };
5667
+ readonly baseColorFactor: {
5668
+ readonly type: "array";
5669
+ readonly items: {
5670
+ readonly type: "number";
5671
+ readonly precision: 1;
5672
+ readonly default: number;
5673
+ };
5674
+ readonly minItems: 4;
5675
+ readonly maxItems: 4;
5676
+ readonly default: readonly [0, 0, 0, 0];
5677
+ };
5678
+ readonly emissiveFactor: {
5679
+ readonly type: "array";
5680
+ readonly items: {
5681
+ readonly type: "number";
5682
+ readonly precision: 1;
5683
+ readonly default: number;
5684
+ };
5685
+ readonly minItems: 3;
5686
+ readonly maxItems: 3;
5687
+ readonly default: readonly [0, 0, 0];
5688
+ };
5689
+ readonly metallicFactor: {
5690
+ readonly type: "number";
5691
+ readonly precision: 1;
5692
+ readonly default: number;
5693
+ };
5694
+ readonly roughnessFactor: {
5695
+ readonly type: "number";
5696
+ readonly precision: 1;
5697
+ readonly default: number;
5698
+ };
5699
+ readonly normalScale: {
5700
+ readonly type: "number";
5701
+ readonly precision: 1;
5702
+ readonly default: number;
5703
+ };
5704
+ readonly occlusionStrength: {
5705
+ readonly type: "number";
5706
+ readonly precision: 1;
5707
+ readonly default: number;
5708
+ };
5709
+ readonly irReflectance: {
5710
+ readonly type: "number";
5711
+ readonly precision: 1;
5712
+ readonly default: number;
5713
+ };
5714
+ readonly irEmission: {
5715
+ readonly type: "number";
5716
+ readonly precision: 1;
5717
+ readonly default: number;
5718
+ };
5719
+ readonly emissionMode: {
5720
+ readonly type: "integer";
5721
+ readonly minimum: 0;
5722
+ readonly maximum: 4294967295;
5723
+ readonly default: number;
5724
+ };
5725
+ readonly baseColorUrl: {
5726
+ readonly type: "string";
5727
+ };
5728
+ readonly metallicRoughnessUrl: {
5729
+ readonly type: "string";
5730
+ };
5731
+ readonly normalUrl: {
5732
+ readonly type: "string";
5733
+ };
5734
+ readonly occlusionUrl: {
5735
+ readonly type: "string";
5736
+ };
5737
+ readonly emissiveUrl: {
5738
+ readonly type: "string";
5739
+ };
5740
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5741
+ 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"];
5742
+ }, {
5743
+ readonly materialByName: {
5744
+ readonly key: "name";
5745
+ readonly unique: true;
5746
+ readonly archetype: "Material";
5747
+ };
5748
+ }, never>, row: import("../../material/public.js")) => Entity;
5749
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5750
+ readonly material: {
5751
+ readonly type: "integer";
5752
+ readonly minimum: -2147483648;
5753
+ readonly maximum: 2147483647;
5754
+ readonly default: number;
5755
+ };
5756
+ readonly name: {
5757
+ readonly type: "string";
5758
+ };
5759
+ readonly density: {
5760
+ readonly type: "number";
5761
+ readonly precision: 1;
5762
+ readonly default: number;
5763
+ };
5764
+ readonly restitution: {
5765
+ readonly type: "number";
5766
+ readonly precision: 1;
5767
+ readonly default: number;
5768
+ };
5769
+ readonly friction: {
5770
+ readonly type: "number";
5771
+ readonly precision: 1;
5772
+ readonly default: number;
5773
+ };
5774
+ readonly compliance: {
5775
+ readonly type: "number";
5776
+ readonly precision: 1;
5777
+ readonly default: number;
5778
+ };
5779
+ readonly heatCapacity: {
5780
+ readonly type: "number";
5781
+ readonly precision: 1;
5782
+ readonly default: number;
5783
+ };
5784
+ readonly viscosity: {
5785
+ readonly type: "number";
5786
+ readonly precision: 1;
5787
+ readonly default: number;
5788
+ };
5789
+ readonly thermalConductivity: {
5790
+ readonly type: "number";
5791
+ readonly precision: 1;
5792
+ readonly default: number;
5793
+ };
5794
+ readonly stressStrainCurve: {
5795
+ readonly type: "object";
5796
+ readonly layout: "packed";
5797
+ readonly properties: {
5798
+ readonly tensileYieldStrainStress: {
5799
+ readonly type: "array";
5800
+ readonly items: {
5801
+ readonly type: "number";
5802
+ readonly precision: 1;
5803
+ readonly default: number;
5804
+ };
5805
+ readonly minItems: 2;
5806
+ readonly maxItems: 2;
5807
+ readonly default: readonly [0, 0];
5808
+ };
5809
+ readonly tensileFractureStrainStress: {
5810
+ readonly type: "array";
5811
+ readonly items: {
5812
+ readonly type: "number";
5813
+ readonly precision: 1;
5814
+ readonly default: number;
5815
+ };
5816
+ readonly minItems: 2;
5817
+ readonly maxItems: 2;
5818
+ readonly default: readonly [0, 0];
5819
+ };
5820
+ readonly compressiveYieldStrainStress: {
5821
+ readonly type: "array";
5822
+ readonly items: {
5823
+ readonly type: "number";
5824
+ readonly precision: 1;
5825
+ readonly default: number;
5826
+ };
5827
+ readonly minItems: 2;
5828
+ readonly maxItems: 2;
5829
+ readonly default: readonly [0, 0];
5830
+ };
5831
+ readonly compressiveFractureStrainStress: {
5832
+ readonly type: "array";
5833
+ readonly items: {
5834
+ readonly type: "number";
5835
+ readonly precision: 1;
5836
+ readonly default: number;
5837
+ };
5838
+ readonly minItems: 2;
5839
+ readonly maxItems: 2;
5840
+ readonly default: readonly [0, 0];
5841
+ };
5842
+ };
5843
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5844
+ };
5845
+ readonly baseColorFactor: {
5846
+ readonly type: "array";
5847
+ readonly items: {
5848
+ readonly type: "number";
5849
+ readonly precision: 1;
5850
+ readonly default: number;
5851
+ };
5852
+ readonly minItems: 4;
5853
+ readonly maxItems: 4;
5854
+ readonly default: readonly [0, 0, 0, 0];
5855
+ };
5856
+ readonly emissiveFactor: {
5857
+ readonly type: "array";
5858
+ readonly items: {
5859
+ readonly type: "number";
5860
+ readonly precision: 1;
5861
+ readonly default: number;
5862
+ };
5863
+ readonly minItems: 3;
5864
+ readonly maxItems: 3;
5865
+ readonly default: readonly [0, 0, 0];
5866
+ };
5867
+ readonly metallicFactor: {
5868
+ readonly type: "number";
5869
+ readonly precision: 1;
5870
+ readonly default: number;
5871
+ };
5872
+ readonly roughnessFactor: {
5873
+ readonly type: "number";
5874
+ readonly precision: 1;
5875
+ readonly default: number;
5876
+ };
5877
+ readonly normalScale: {
5878
+ readonly type: "number";
5879
+ readonly precision: 1;
5880
+ readonly default: number;
5881
+ };
5882
+ readonly occlusionStrength: {
5883
+ readonly type: "number";
5884
+ readonly precision: 1;
5885
+ readonly default: number;
5886
+ };
5887
+ readonly irReflectance: {
5888
+ readonly type: "number";
5889
+ readonly precision: 1;
5890
+ readonly default: number;
5891
+ };
5892
+ readonly irEmission: {
5893
+ readonly type: "number";
5894
+ readonly precision: 1;
5895
+ readonly default: number;
5896
+ };
5897
+ readonly emissionMode: {
5898
+ readonly type: "integer";
5899
+ readonly minimum: 0;
5900
+ readonly maximum: 4294967295;
5901
+ readonly default: number;
5902
+ };
5903
+ readonly baseColorUrl: {
5904
+ readonly type: "string";
5905
+ };
5906
+ readonly metallicRoughnessUrl: {
5907
+ readonly type: "string";
5908
+ };
5909
+ readonly normalUrl: {
5910
+ readonly type: "string";
5911
+ };
5912
+ readonly occlusionUrl: {
5913
+ readonly type: "string";
5914
+ };
5915
+ readonly emissiveUrl: {
5916
+ readonly type: "string";
5917
+ };
5918
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5919
+ 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"];
5920
+ }, {
5921
+ readonly materialByName: {
5922
+ readonly key: "name";
5923
+ readonly unique: true;
5924
+ readonly archetype: "Material";
5925
+ };
5926
+ }, never>, args: {
5927
+ name: string;
5928
+ definition: import("../../material/material-definition.js").MaterialDefinition;
5929
+ }) => Entity;
5930
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5931
+ readonly material: {
5932
+ readonly type: "integer";
5933
+ readonly minimum: -2147483648;
5934
+ readonly maximum: 2147483647;
5935
+ readonly default: number;
5936
+ };
5937
+ readonly name: {
5938
+ readonly type: "string";
5939
+ };
5940
+ readonly density: {
5941
+ readonly type: "number";
5942
+ readonly precision: 1;
5943
+ readonly default: number;
5944
+ };
5945
+ readonly restitution: {
5946
+ readonly type: "number";
5947
+ readonly precision: 1;
5948
+ readonly default: number;
5949
+ };
5950
+ readonly friction: {
5951
+ readonly type: "number";
5952
+ readonly precision: 1;
5953
+ readonly default: number;
5954
+ };
5955
+ readonly compliance: {
5956
+ readonly type: "number";
5957
+ readonly precision: 1;
5958
+ readonly default: number;
5959
+ };
5960
+ readonly heatCapacity: {
5961
+ readonly type: "number";
5962
+ readonly precision: 1;
5963
+ readonly default: number;
5964
+ };
5965
+ readonly viscosity: {
5966
+ readonly type: "number";
5967
+ readonly precision: 1;
5968
+ readonly default: number;
5969
+ };
5970
+ readonly thermalConductivity: {
5971
+ readonly type: "number";
5972
+ readonly precision: 1;
5973
+ readonly default: number;
5974
+ };
5975
+ readonly stressStrainCurve: {
5976
+ readonly type: "object";
5977
+ readonly layout: "packed";
5978
+ readonly properties: {
5979
+ readonly tensileYieldStrainStress: {
5980
+ readonly type: "array";
5981
+ readonly items: {
5982
+ readonly type: "number";
5983
+ readonly precision: 1;
5984
+ readonly default: number;
5985
+ };
5986
+ readonly minItems: 2;
5987
+ readonly maxItems: 2;
5988
+ readonly default: readonly [0, 0];
5989
+ };
5990
+ readonly tensileFractureStrainStress: {
5991
+ readonly type: "array";
5992
+ readonly items: {
5993
+ readonly type: "number";
5994
+ readonly precision: 1;
5995
+ readonly default: number;
5996
+ };
5997
+ readonly minItems: 2;
5998
+ readonly maxItems: 2;
5999
+ readonly default: readonly [0, 0];
6000
+ };
6001
+ readonly compressiveYieldStrainStress: {
6002
+ readonly type: "array";
6003
+ readonly items: {
6004
+ readonly type: "number";
6005
+ readonly precision: 1;
6006
+ readonly default: number;
6007
+ };
6008
+ readonly minItems: 2;
6009
+ readonly maxItems: 2;
6010
+ readonly default: readonly [0, 0];
6011
+ };
6012
+ readonly compressiveFractureStrainStress: {
6013
+ readonly type: "array";
6014
+ readonly items: {
6015
+ readonly type: "number";
6016
+ readonly precision: 1;
6017
+ readonly default: number;
6018
+ };
6019
+ readonly minItems: 2;
6020
+ readonly maxItems: 2;
6021
+ readonly default: readonly [0, 0];
6022
+ };
6023
+ };
6024
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6025
+ };
6026
+ readonly baseColorFactor: {
6027
+ readonly type: "array";
6028
+ readonly items: {
6029
+ readonly type: "number";
6030
+ readonly precision: 1;
6031
+ readonly default: number;
6032
+ };
6033
+ readonly minItems: 4;
6034
+ readonly maxItems: 4;
6035
+ readonly default: readonly [0, 0, 0, 0];
6036
+ };
6037
+ readonly emissiveFactor: {
6038
+ readonly type: "array";
6039
+ readonly items: {
6040
+ readonly type: "number";
6041
+ readonly precision: 1;
6042
+ readonly default: number;
6043
+ };
6044
+ readonly minItems: 3;
6045
+ readonly maxItems: 3;
6046
+ readonly default: readonly [0, 0, 0];
6047
+ };
6048
+ readonly metallicFactor: {
6049
+ readonly type: "number";
6050
+ readonly precision: 1;
6051
+ readonly default: number;
6052
+ };
6053
+ readonly roughnessFactor: {
6054
+ readonly type: "number";
6055
+ readonly precision: 1;
6056
+ readonly default: number;
6057
+ };
6058
+ readonly normalScale: {
6059
+ readonly type: "number";
6060
+ readonly precision: 1;
6061
+ readonly default: number;
6062
+ };
6063
+ readonly occlusionStrength: {
6064
+ readonly type: "number";
6065
+ readonly precision: 1;
6066
+ readonly default: number;
6067
+ };
6068
+ readonly irReflectance: {
6069
+ readonly type: "number";
6070
+ readonly precision: 1;
6071
+ readonly default: number;
6072
+ };
6073
+ readonly irEmission: {
6074
+ readonly type: "number";
6075
+ readonly precision: 1;
6076
+ readonly default: number;
6077
+ };
6078
+ readonly emissionMode: {
6079
+ readonly type: "integer";
6080
+ readonly minimum: 0;
6081
+ readonly maximum: 4294967295;
6082
+ readonly default: number;
6083
+ };
6084
+ readonly baseColorUrl: {
6085
+ readonly type: "string";
6086
+ };
6087
+ readonly metallicRoughnessUrl: {
6088
+ readonly type: "string";
6089
+ };
6090
+ readonly normalUrl: {
6091
+ readonly type: "string";
6092
+ };
6093
+ readonly occlusionUrl: {
6094
+ readonly type: "string";
6095
+ };
6096
+ readonly emissiveUrl: {
6097
+ readonly type: "string";
6098
+ };
6099
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6100
+ 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"];
6101
+ }, {
6102
+ readonly materialByName: {
6103
+ readonly key: "name";
6104
+ readonly unique: true;
6105
+ readonly archetype: "Material";
6106
+ };
6107
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
6108
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
6109
+ readonly material: {
6110
+ readonly type: "integer";
6111
+ readonly minimum: -2147483648;
6112
+ readonly maximum: 2147483647;
6113
+ readonly default: number;
6114
+ };
6115
+ readonly name: {
6116
+ readonly type: "string";
6117
+ };
6118
+ readonly density: {
6119
+ readonly type: "number";
6120
+ readonly precision: 1;
6121
+ readonly default: number;
6122
+ };
6123
+ readonly restitution: {
6124
+ readonly type: "number";
6125
+ readonly precision: 1;
6126
+ readonly default: number;
6127
+ };
6128
+ readonly friction: {
6129
+ readonly type: "number";
6130
+ readonly precision: 1;
6131
+ readonly default: number;
6132
+ };
6133
+ readonly compliance: {
6134
+ readonly type: "number";
6135
+ readonly precision: 1;
6136
+ readonly default: number;
6137
+ };
6138
+ readonly heatCapacity: {
6139
+ readonly type: "number";
6140
+ readonly precision: 1;
6141
+ readonly default: number;
6142
+ };
6143
+ readonly viscosity: {
6144
+ readonly type: "number";
6145
+ readonly precision: 1;
6146
+ readonly default: number;
6147
+ };
6148
+ readonly thermalConductivity: {
6149
+ readonly type: "number";
6150
+ readonly precision: 1;
6151
+ readonly default: number;
6152
+ };
6153
+ readonly stressStrainCurve: {
6154
+ readonly type: "object";
6155
+ readonly layout: "packed";
6156
+ readonly properties: {
6157
+ readonly tensileYieldStrainStress: {
6158
+ readonly type: "array";
6159
+ readonly items: {
6160
+ readonly type: "number";
6161
+ readonly precision: 1;
6162
+ readonly default: number;
6163
+ };
6164
+ readonly minItems: 2;
6165
+ readonly maxItems: 2;
6166
+ readonly default: readonly [0, 0];
6167
+ };
6168
+ readonly tensileFractureStrainStress: {
6169
+ readonly type: "array";
6170
+ readonly items: {
6171
+ readonly type: "number";
6172
+ readonly precision: 1;
6173
+ readonly default: number;
6174
+ };
6175
+ readonly minItems: 2;
6176
+ readonly maxItems: 2;
6177
+ readonly default: readonly [0, 0];
6178
+ };
6179
+ readonly compressiveYieldStrainStress: {
6180
+ readonly type: "array";
6181
+ readonly items: {
6182
+ readonly type: "number";
6183
+ readonly precision: 1;
6184
+ readonly default: number;
6185
+ };
6186
+ readonly minItems: 2;
6187
+ readonly maxItems: 2;
6188
+ readonly default: readonly [0, 0];
6189
+ };
6190
+ readonly compressiveFractureStrainStress: {
6191
+ readonly type: "array";
6192
+ readonly items: {
6193
+ readonly type: "number";
6194
+ readonly precision: 1;
6195
+ readonly default: number;
6196
+ };
6197
+ readonly minItems: 2;
6198
+ readonly maxItems: 2;
6199
+ readonly default: readonly [0, 0];
6200
+ };
6201
+ };
6202
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6203
+ };
6204
+ readonly baseColorFactor: {
6205
+ readonly type: "array";
6206
+ readonly items: {
6207
+ readonly type: "number";
6208
+ readonly precision: 1;
6209
+ readonly default: number;
6210
+ };
6211
+ readonly minItems: 4;
6212
+ readonly maxItems: 4;
6213
+ readonly default: readonly [0, 0, 0, 0];
6214
+ };
6215
+ readonly emissiveFactor: {
6216
+ readonly type: "array";
6217
+ readonly items: {
6218
+ readonly type: "number";
6219
+ readonly precision: 1;
6220
+ readonly default: number;
6221
+ };
6222
+ readonly minItems: 3;
6223
+ readonly maxItems: 3;
6224
+ readonly default: readonly [0, 0, 0];
6225
+ };
6226
+ readonly metallicFactor: {
6227
+ readonly type: "number";
6228
+ readonly precision: 1;
6229
+ readonly default: number;
6230
+ };
6231
+ readonly roughnessFactor: {
6232
+ readonly type: "number";
6233
+ readonly precision: 1;
6234
+ readonly default: number;
6235
+ };
6236
+ readonly normalScale: {
6237
+ readonly type: "number";
6238
+ readonly precision: 1;
6239
+ readonly default: number;
6240
+ };
6241
+ readonly occlusionStrength: {
6242
+ readonly type: "number";
6243
+ readonly precision: 1;
6244
+ readonly default: number;
6245
+ };
6246
+ readonly irReflectance: {
6247
+ readonly type: "number";
6248
+ readonly precision: 1;
6249
+ readonly default: number;
6250
+ };
6251
+ readonly irEmission: {
6252
+ readonly type: "number";
6253
+ readonly precision: 1;
6254
+ readonly default: number;
6255
+ };
6256
+ readonly emissionMode: {
6257
+ readonly type: "integer";
6258
+ readonly minimum: 0;
6259
+ readonly maximum: 4294967295;
6260
+ readonly default: number;
6261
+ };
6262
+ readonly baseColorUrl: {
6263
+ readonly type: "string";
6264
+ };
6265
+ readonly metallicRoughnessUrl: {
6266
+ readonly type: "string";
6267
+ };
6268
+ readonly normalUrl: {
6269
+ readonly type: "string";
6270
+ };
6271
+ readonly occlusionUrl: {
6272
+ readonly type: "string";
6273
+ };
6274
+ readonly emissiveUrl: {
6275
+ readonly type: "string";
6276
+ };
6277
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6278
+ 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"];
6279
+ }, {
6280
+ readonly materialByName: {
6281
+ readonly key: "name";
6282
+ readonly unique: true;
6283
+ readonly archetype: "Material";
6284
+ };
6285
+ }, never>) => void;
6286
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
6287
+ readonly material: {
6288
+ readonly type: "integer";
6289
+ readonly minimum: -2147483648;
6290
+ readonly maximum: 2147483647;
6291
+ readonly default: number;
6292
+ };
6293
+ readonly name: {
6294
+ readonly type: "string";
6295
+ };
6296
+ readonly density: {
6297
+ readonly type: "number";
6298
+ readonly precision: 1;
6299
+ readonly default: number;
6300
+ };
6301
+ readonly restitution: {
6302
+ readonly type: "number";
6303
+ readonly precision: 1;
6304
+ readonly default: number;
6305
+ };
6306
+ readonly friction: {
6307
+ readonly type: "number";
6308
+ readonly precision: 1;
6309
+ readonly default: number;
6310
+ };
6311
+ readonly compliance: {
6312
+ readonly type: "number";
6313
+ readonly precision: 1;
6314
+ readonly default: number;
6315
+ };
6316
+ readonly heatCapacity: {
6317
+ readonly type: "number";
6318
+ readonly precision: 1;
6319
+ readonly default: number;
6320
+ };
6321
+ readonly viscosity: {
6322
+ readonly type: "number";
6323
+ readonly precision: 1;
6324
+ readonly default: number;
6325
+ };
6326
+ readonly thermalConductivity: {
6327
+ readonly type: "number";
6328
+ readonly precision: 1;
6329
+ readonly default: number;
6330
+ };
6331
+ readonly stressStrainCurve: {
6332
+ readonly type: "object";
6333
+ readonly layout: "packed";
6334
+ readonly properties: {
6335
+ readonly tensileYieldStrainStress: {
6336
+ readonly type: "array";
6337
+ readonly items: {
6338
+ readonly type: "number";
6339
+ readonly precision: 1;
6340
+ readonly default: number;
6341
+ };
6342
+ readonly minItems: 2;
6343
+ readonly maxItems: 2;
6344
+ readonly default: readonly [0, 0];
6345
+ };
6346
+ readonly tensileFractureStrainStress: {
6347
+ readonly type: "array";
6348
+ readonly items: {
6349
+ readonly type: "number";
6350
+ readonly precision: 1;
6351
+ readonly default: number;
6352
+ };
6353
+ readonly minItems: 2;
6354
+ readonly maxItems: 2;
6355
+ readonly default: readonly [0, 0];
6356
+ };
6357
+ readonly compressiveYieldStrainStress: {
6358
+ readonly type: "array";
6359
+ readonly items: {
6360
+ readonly type: "number";
6361
+ readonly precision: 1;
6362
+ readonly default: number;
6363
+ };
6364
+ readonly minItems: 2;
6365
+ readonly maxItems: 2;
6366
+ readonly default: readonly [0, 0];
6367
+ };
6368
+ readonly compressiveFractureStrainStress: {
6369
+ readonly type: "array";
6370
+ readonly items: {
6371
+ readonly type: "number";
6372
+ readonly precision: 1;
6373
+ readonly default: number;
6374
+ };
6375
+ readonly minItems: 2;
6376
+ readonly maxItems: 2;
6377
+ readonly default: readonly [0, 0];
6378
+ };
6379
+ };
6380
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6381
+ };
6382
+ readonly baseColorFactor: {
6383
+ readonly type: "array";
6384
+ readonly items: {
6385
+ readonly type: "number";
6386
+ readonly precision: 1;
6387
+ readonly default: number;
6388
+ };
6389
+ readonly minItems: 4;
6390
+ readonly maxItems: 4;
6391
+ readonly default: readonly [0, 0, 0, 0];
6392
+ };
6393
+ readonly emissiveFactor: {
6394
+ readonly type: "array";
6395
+ readonly items: {
6396
+ readonly type: "number";
6397
+ readonly precision: 1;
6398
+ readonly default: number;
6399
+ };
6400
+ readonly minItems: 3;
6401
+ readonly maxItems: 3;
6402
+ readonly default: readonly [0, 0, 0];
6403
+ };
6404
+ readonly metallicFactor: {
6405
+ readonly type: "number";
6406
+ readonly precision: 1;
6407
+ readonly default: number;
6408
+ };
6409
+ readonly roughnessFactor: {
6410
+ readonly type: "number";
6411
+ readonly precision: 1;
6412
+ readonly default: number;
6413
+ };
6414
+ readonly normalScale: {
6415
+ readonly type: "number";
6416
+ readonly precision: 1;
6417
+ readonly default: number;
6418
+ };
6419
+ readonly occlusionStrength: {
6420
+ readonly type: "number";
6421
+ readonly precision: 1;
6422
+ readonly default: number;
6423
+ };
6424
+ readonly irReflectance: {
6425
+ readonly type: "number";
6426
+ readonly precision: 1;
6427
+ readonly default: number;
6428
+ };
6429
+ readonly irEmission: {
6430
+ readonly type: "number";
6431
+ readonly precision: 1;
6432
+ readonly default: number;
6433
+ };
6434
+ readonly emissionMode: {
6435
+ readonly type: "integer";
6436
+ readonly minimum: 0;
6437
+ readonly maximum: 4294967295;
6438
+ readonly default: number;
6439
+ };
6440
+ readonly baseColorUrl: {
6441
+ readonly type: "string";
6442
+ };
6443
+ readonly metallicRoughnessUrl: {
6444
+ readonly type: "string";
6445
+ };
6446
+ readonly normalUrl: {
6447
+ readonly type: "string";
6448
+ };
6449
+ readonly occlusionUrl: {
6450
+ readonly type: "string";
6451
+ };
6452
+ readonly emissiveUrl: {
6453
+ readonly type: "string";
6454
+ };
6455
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6456
+ 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"];
6457
+ }, {
6458
+ readonly materialByName: {
6459
+ readonly key: "name";
6460
+ readonly unique: true;
6461
+ readonly archetype: "Material";
6462
+ };
6463
+ }, never>) => void;
6464
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
6465
+ readonly materialByName: {
6466
+ readonly key: "name";
6467
+ readonly unique: true;
6468
+ readonly archetype: "Material";
6469
+ };
6470
+ }, never>, args: {
6471
+ ray: {
6472
+ readonly a: readonly [number, number, number];
6473
+ readonly b: readonly [number, number, number];
6474
+ };
6475
+ visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
6476
+ radius?: number;
6477
+ }) => void;
6478
+ };
6479
+ readonly services: {};
6480
+ readonly computed: {};
6481
+ readonly indexes: {} & {
6482
+ readonly materialByName: {
6483
+ readonly key: "name";
6484
+ readonly unique: true;
6485
+ readonly archetype: "Material";
6486
+ };
6487
+ } & {} & {} & {
6488
+ readonly nodeChildrenOf: {
6489
+ readonly key: "parent";
6490
+ readonly archetype: "Node";
4098
6491
  };
4099
- } & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
6492
+ } & {} & {} & {} & {} & {} & {} & {} & {} & {};
4100
6493
  };