@adobe/data-gpu 0.9.87 → 0.9.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/core/core-plugin.d.ts +1 -1
  2. package/dist/graphics/animation/animation-plugin.d.ts +2 -2
  3. package/dist/graphics/camera/camera-plugin.d.ts +1 -1
  4. package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +1 -1
  5. package/dist/graphics/camera/orbit/orbit-plugin.d.ts +1 -1
  6. package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +1 -1
  7. package/dist/graphics/graphics-plugin.d.ts +1 -1
  8. package/dist/graphics/picking/picking-plugin.d.ts +798 -861
  9. package/dist/graphics/rendering/bone-collider-plugin.d.ts +2647 -275
  10. package/dist/graphics/rendering/bone-collider-plugin.js +4 -4
  11. package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
  12. package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -2
  13. package/dist/graphics/rendering/display-transform-plugin.js +2 -2
  14. package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
  15. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +159 -177
  16. package/dist/graphics/rendering/interpolation-plugin.d.ts +2447 -56
  17. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2634 -262
  18. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +8 -8
  19. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +1 -1
  20. package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -1
  21. package/dist/graphics/rendering/model-collider-plugin.d.ts +2567 -192
  22. package/dist/graphics/rendering/pbr-core-plugin.d.ts +5 -5
  23. package/dist/graphics/rendering/pbr-core-plugin.js +5 -5
  24. package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
  25. package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +172 -190
  26. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2398 -5
  27. package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +189 -210
  28. package/dist/graphics/rendering/skinning/skinning-plugin.js +1 -1
  29. package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
  30. package/dist/graphics/scene/model/mesh-plugin.d.ts +20 -50
  31. package/dist/graphics/scene/model/model-loader-plugin.d.ts +156 -174
  32. package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +73 -76
  33. package/dist/graphics/scene/model/world-bounds-plugin.d.ts +156 -174
  34. package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -5
  35. package/dist/graphics/scene/node/node-data-plugin.js +2 -2
  36. package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
  37. package/dist/graphics/scene/node/node-plugin.d.ts +2 -5
  38. package/dist/graphics/scene/node/transform-plugin.d.ts +2 -5
  39. package/dist/graphics/scene/scene-plugin.d.ts +16 -31
  40. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
  41. package/dist/physics/physics-clock-plugin.d.ts +1 -1
  42. package/dist/physics/physics-data-plugin.d.ts +2400 -4
  43. package/dist/physics/physics-data-plugin.js +28 -2
  44. package/dist/physics/physics-data-plugin.js.map +1 -1
  45. package/dist/physics/physics-hit.d.ts +18 -0
  46. package/dist/physics/physics-hit.js +3 -0
  47. package/dist/physics/physics-hit.js.map +1 -0
  48. package/dist/physics/physics-query.d.ts +43 -0
  49. package/dist/physics/physics-query.js +3 -0
  50. package/dist/physics/physics-query.js.map +1 -0
  51. package/dist/physics/public.d.ts +2 -0
  52. package/dist/physics/public.js +2 -0
  53. package/dist/physics/public.js.map +1 -1
  54. package/dist/physics/solvers/jolt-solver-plugin.d.ts +2399 -9
  55. package/dist/physics/solvers/jolt-solver-plugin.js +151 -2
  56. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  57. package/dist/physics/solvers/mutable-hit.d.ts +14 -0
  58. package/dist/physics/solvers/mutable-hit.js +3 -0
  59. package/dist/physics/solvers/mutable-hit.js.map +1 -0
  60. package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
  61. package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
  62. package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
  63. package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
  64. package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
  65. package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
  66. package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
  67. package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
  68. package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
  69. package/dist/physics/solvers/rapier-solver-plugin.d.ts +2399 -9
  70. package/dist/physics/solvers/rapier-solver-plugin.js +112 -3
  71. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  72. package/package.json +2 -2
  73. package/src/graphics/rendering/bone-collider-plugin.ts +4 -4
  74. package/src/graphics/rendering/display-transform-plugin.ts +2 -2
  75. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +1 -1
  76. package/src/graphics/rendering/pbr-core-plugin.ts +5 -5
  77. package/src/graphics/rendering/skinning/skinning-plugin.ts +1 -1
  78. package/src/graphics/scene/node/node-data-plugin.ts +2 -2
  79. package/src/physics/README.md +15 -2
  80. package/src/physics/physics-data-plugin.ts +31 -3
  81. package/src/physics/physics-hit.ts +21 -0
  82. package/src/physics/physics-query.ts +42 -0
  83. package/src/physics/public.ts +2 -0
  84. package/src/physics/solvers/jolt-solver-plugin.ts +121 -2
  85. package/src/physics/solvers/mutable-hit.ts +18 -0
  86. package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
  87. package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
  88. package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
  89. package/src/physics/solvers/rapier-solver-plugin.ts +94 -3
  90. package/tsconfig.tsbuildinfo +1 -1
@@ -1,7 +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
- readonly components: {} & {
4
+ readonly components: {
5
5
  readonly visible: {
6
6
  readonly type: "boolean";
7
7
  readonly const: true;
@@ -50,6 +50,7 @@ export declare const boneColliders: {
50
50
  readonly default: number;
51
51
  };
52
52
  readonly _worldMatrix: {
53
+ readonly default: undefined;
53
54
  readonly nonPersistent: true;
54
55
  readonly type: "array";
55
56
  readonly items: {
@@ -59,9 +60,9 @@ export declare const boneColliders: {
59
60
  };
60
61
  readonly minItems: 16;
61
62
  readonly maxItems: 16;
62
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
63
63
  };
64
64
  readonly _worldBounds: {
65
+ readonly default: undefined;
65
66
  readonly nonPersistent: true;
66
67
  readonly type: "object";
67
68
  readonly properties: {
@@ -90,10 +91,71 @@ export declare const boneColliders: {
90
91
  };
91
92
  readonly required: readonly ["min", "max"];
92
93
  readonly additionalProperties: false;
93
- readonly default: {
94
- readonly min: readonly [0, 0, 0];
95
- readonly max: readonly [0, 0, 0];
94
+ };
95
+ } & {} & {
96
+ readonly _vertexBuffer: {
97
+ readonly default: GPUBuffer | null;
98
+ readonly nonPersistent: true;
99
+ };
100
+ readonly _skinVertexBuffer: {
101
+ readonly default: GPUBuffer | null;
102
+ readonly nonPersistent: true;
103
+ };
104
+ readonly _indexBuffer: {
105
+ readonly default: GPUBuffer | null;
106
+ readonly nonPersistent: true;
107
+ };
108
+ readonly _indexCount: {
109
+ readonly default: undefined;
110
+ readonly nonPersistent: true;
111
+ readonly type: "integer";
112
+ readonly minimum: 0;
113
+ readonly maximum: 4294967295;
114
+ };
115
+ readonly _indexFormat: {
116
+ readonly default: GPUIndexFormat;
117
+ readonly nonPersistent: true;
118
+ };
119
+ readonly _materialBindGroup: {
120
+ readonly default: GPUBindGroup | null;
121
+ readonly nonPersistent: true;
122
+ };
123
+ readonly _mesh: {
124
+ readonly default: undefined;
125
+ readonly nonPersistent: true;
126
+ readonly type: "integer";
127
+ readonly minimum: -2147483648;
128
+ readonly maximum: 2147483647;
129
+ };
130
+ readonly _material: {
131
+ readonly default: undefined;
132
+ readonly nonPersistent: true;
133
+ readonly type: "integer";
134
+ readonly minimum: -2147483648;
135
+ readonly maximum: 2147483647;
136
+ };
137
+ readonly _nodeLocalMatrix: {
138
+ readonly default: undefined;
139
+ readonly nonPersistent: true;
140
+ readonly type: "array";
141
+ readonly items: {
142
+ readonly type: "number";
143
+ readonly precision: 1;
144
+ readonly default: number;
96
145
  };
146
+ readonly minItems: 16;
147
+ readonly maxItems: 16;
148
+ };
149
+ readonly _skeletonModelRef: {
150
+ readonly default: undefined;
151
+ readonly nonPersistent: true;
152
+ readonly type: "integer";
153
+ readonly minimum: -2147483648;
154
+ readonly maximum: 2147483647;
155
+ };
156
+ readonly _skeletonJointMatrixBindGroup: {
157
+ readonly default: GPUBindGroup | null;
158
+ readonly nonPersistent: true;
97
159
  };
98
160
  } & {
99
161
  readonly material: {
@@ -350,68 +412,23 @@ export declare const boneColliders: {
350
412
  readonly default: true;
351
413
  };
352
414
  } & {
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: {
415
+ readonly _skeletonJoints: {
416
+ readonly default: number[];
381
417
  readonly nonPersistent: true;
382
- readonly type: "integer";
383
- readonly minimum: -2147483648;
384
- readonly maximum: 2147483647;
385
- readonly default: number;
386
418
  };
387
- readonly _material: {
419
+ readonly _skeletonMesh: {
420
+ readonly default: undefined;
388
421
  readonly nonPersistent: true;
389
422
  readonly type: "integer";
390
423
  readonly minimum: -2147483648;
391
424
  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
425
  };
406
- readonly _skeletonModelRef: {
426
+ readonly _skeletonInstanceBuffer: {
427
+ readonly default: GPUBuffer | null;
407
428
  readonly nonPersistent: true;
408
- readonly type: "integer";
409
- readonly minimum: -2147483648;
410
- readonly maximum: 2147483647;
411
- readonly default: number;
412
429
  };
413
- readonly _skeletonJointMatrixBindGroup: {
414
- readonly default: GPUBindGroup | null;
430
+ readonly _skeletonJointMatrixBuffer: {
431
+ readonly default: GPUBuffer | null;
415
432
  readonly nonPersistent: true;
416
433
  };
417
434
  } & {
@@ -482,6 +499,7 @@ export declare const boneColliders: {
482
499
  readonly default: readonly [0, 0, 0];
483
500
  };
484
501
  readonly _prevPosition: {
502
+ readonly default: undefined;
485
503
  readonly nonPersistent: true;
486
504
  readonly type: "array";
487
505
  readonly items: {
@@ -491,9 +509,9 @@ export declare const boneColliders: {
491
509
  };
492
510
  readonly minItems: 3;
493
511
  readonly maxItems: 3;
494
- readonly default: readonly [0, 0, 0];
495
512
  };
496
513
  readonly _prevRotation: {
514
+ readonly default: undefined;
497
515
  readonly nonPersistent: true;
498
516
  readonly type: "array";
499
517
  readonly items: {
@@ -503,7 +521,6 @@ export declare const boneColliders: {
503
521
  };
504
522
  readonly minItems: 4;
505
523
  readonly maxItems: 4;
506
- readonly default: readonly [0, 0, 0, 1];
507
524
  readonly interpolators: {
508
525
  readonly linear: (q1: any, q2: any, t: number) => any;
509
526
  };
@@ -519,26 +536,6 @@ export declare const boneColliders: {
519
536
  readonly colliderMesh: {
520
537
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
521
538
  };
522
- } & {
523
- readonly _skeletonJoints: {
524
- readonly default: number[];
525
- readonly nonPersistent: true;
526
- };
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
539
  } & {
543
540
  readonly jointType: {
544
541
  readonly type: "string";
@@ -606,13 +603,14 @@ export declare const boneColliders: {
606
603
  };
607
604
  } & {
608
605
  readonly _boneJoint: {
606
+ readonly default: undefined;
609
607
  readonly nonPersistent: true;
610
608
  readonly type: "integer";
611
609
  readonly minimum: -2147483648;
612
610
  readonly maximum: 2147483647;
613
- readonly default: number;
614
611
  };
615
612
  readonly _boneOffsetPos: {
613
+ readonly default: undefined;
616
614
  readonly nonPersistent: true;
617
615
  readonly type: "array";
618
616
  readonly items: {
@@ -622,9 +620,9 @@ export declare const boneColliders: {
622
620
  };
623
621
  readonly minItems: 3;
624
622
  readonly maxItems: 3;
625
- readonly default: readonly [0, 0, 0];
626
623
  };
627
624
  readonly _boneOffsetRot: {
625
+ readonly default: undefined;
628
626
  readonly nonPersistent: true;
629
627
  readonly type: "array";
630
628
  readonly items: {
@@ -634,16 +632,15 @@ export declare const boneColliders: {
634
632
  };
635
633
  readonly minItems: 4;
636
634
  readonly maxItems: 4;
637
- readonly default: readonly [0, 0, 0, 1];
638
635
  readonly interpolators: {
639
636
  readonly linear: (q1: any, q2: any, t: number) => any;
640
637
  };
641
638
  };
642
639
  readonly _ragdollBuilt: {
640
+ readonly default: undefined;
643
641
  readonly nonPersistent: true;
644
642
  readonly type: "boolean";
645
643
  readonly const: true;
646
- readonly default: true;
647
644
  };
648
645
  };
649
646
  readonly resources: {} & {
@@ -669,15 +666,23 @@ export declare const boneColliders: {
669
666
  readonly default: GPUCommandEncoder | null;
670
667
  readonly nonPersistent: true;
671
668
  };
669
+ } & {
670
+ readonly physicsQuery: {
671
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
672
+ readonly nonPersistent: true;
673
+ };
672
674
  } & {
673
675
  readonly _ragdollTrigger: {
674
676
  readonly default: boolean;
675
677
  readonly nonPersistent: true;
676
678
  };
677
679
  };
678
- readonly archetypes: {} & {
680
+ readonly archetypes: {
679
681
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
680
- } & {} & {
682
+ } & {} & {} & {
683
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
684
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
685
+ } & {
681
686
  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
687
  } & {
683
688
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -690,22 +695,19 @@ export declare const boneColliders: {
690
695
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
691
696
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
692
697
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
693
- } & {} & {
694
- readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
695
- readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
696
- } & {} & {
698
+ } & {} & {} & {
699
+ readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
700
+ } & {
697
701
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
698
702
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
699
703
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
700
704
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
701
- } & {
702
- readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
703
705
  } & {
704
706
  readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
705
707
  } & {
706
708
  readonly BoneCapsule: readonly ["bodyType", "colliderShape", "halfExtents", "material", "collisionGroup", "position", "rotation", "linearVelocity", "angularVelocity", "_boneJoint", "_boneOffsetPos", "_boneOffsetRot"];
707
709
  };
708
- readonly transactions: {} & {} & {
710
+ readonly transactions: {} & {} & {} & {
709
711
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
710
712
  readonly material: {
711
713
  readonly type: "integer";
@@ -1693,6 +1695,7 @@ export declare const boneColliders: {
1693
1695
  readonly default: number;
1694
1696
  };
1695
1697
  readonly _worldMatrix: {
1698
+ readonly default: undefined;
1696
1699
  readonly nonPersistent: true;
1697
1700
  readonly type: "array";
1698
1701
  readonly items: {
@@ -1702,9 +1705,9 @@ export declare const boneColliders: {
1702
1705
  };
1703
1706
  readonly minItems: 16;
1704
1707
  readonly maxItems: 16;
1705
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1706
1708
  };
1707
1709
  readonly _worldBounds: {
1710
+ readonly default: undefined;
1708
1711
  readonly nonPersistent: true;
1709
1712
  readonly type: "object";
1710
1713
  readonly properties: {
@@ -1733,10 +1736,6 @@ export declare const boneColliders: {
1733
1736
  };
1734
1737
  readonly required: readonly ["min", "max"];
1735
1738
  readonly additionalProperties: false;
1736
- readonly default: {
1737
- readonly min: readonly [0, 0, 0];
1738
- readonly max: readonly [0, 0, 0];
1739
- };
1740
1739
  };
1741
1740
  } & {} & {
1742
1741
  readonly material: {
@@ -2030,6 +2029,7 @@ export declare const boneColliders: {
2030
2029
  readonly default: number;
2031
2030
  };
2032
2031
  readonly _worldMatrix: {
2032
+ readonly default: undefined;
2033
2033
  readonly nonPersistent: true;
2034
2034
  readonly type: "array";
2035
2035
  readonly items: {
@@ -2039,9 +2039,9 @@ export declare const boneColliders: {
2039
2039
  };
2040
2040
  readonly minItems: 16;
2041
2041
  readonly maxItems: 16;
2042
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2043
2042
  };
2044
2043
  readonly _worldBounds: {
2044
+ readonly default: undefined;
2045
2045
  readonly nonPersistent: true;
2046
2046
  readonly type: "object";
2047
2047
  readonly properties: {
@@ -2070,10 +2070,6 @@ export declare const boneColliders: {
2070
2070
  };
2071
2071
  readonly required: readonly ["min", "max"];
2072
2072
  readonly additionalProperties: false;
2073
- readonly default: {
2074
- readonly min: readonly [0, 0, 0];
2075
- readonly max: readonly [0, 0, 0];
2076
- };
2077
2073
  };
2078
2074
  } & {} & {
2079
2075
  readonly material: {
@@ -2367,6 +2363,7 @@ export declare const boneColliders: {
2367
2363
  readonly default: number;
2368
2364
  };
2369
2365
  readonly _worldMatrix: {
2366
+ readonly default: undefined;
2370
2367
  readonly nonPersistent: true;
2371
2368
  readonly type: "array";
2372
2369
  readonly items: {
@@ -2376,9 +2373,9 @@ export declare const boneColliders: {
2376
2373
  };
2377
2374
  readonly minItems: 16;
2378
2375
  readonly maxItems: 16;
2379
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2380
2376
  };
2381
2377
  readonly _worldBounds: {
2378
+ readonly default: undefined;
2382
2379
  readonly nonPersistent: true;
2383
2380
  readonly type: "object";
2384
2381
  readonly properties: {
@@ -2407,10 +2404,6 @@ export declare const boneColliders: {
2407
2404
  };
2408
2405
  readonly required: readonly ["min", "max"];
2409
2406
  readonly additionalProperties: false;
2410
- readonly default: {
2411
- readonly min: readonly [0, 0, 0];
2412
- readonly max: readonly [0, 0, 0];
2413
- };
2414
2407
  };
2415
2408
  } & {} & {
2416
2409
  readonly material: {
@@ -2708,6 +2701,7 @@ export declare const boneColliders: {
2708
2701
  readonly default: number;
2709
2702
  };
2710
2703
  readonly _worldMatrix: {
2704
+ readonly default: undefined;
2711
2705
  readonly nonPersistent: true;
2712
2706
  readonly type: "array";
2713
2707
  readonly items: {
@@ -2717,9 +2711,9 @@ export declare const boneColliders: {
2717
2711
  };
2718
2712
  readonly minItems: 16;
2719
2713
  readonly maxItems: 16;
2720
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
2721
2714
  };
2722
2715
  readonly _worldBounds: {
2716
+ readonly default: undefined;
2723
2717
  readonly nonPersistent: true;
2724
2718
  readonly type: "object";
2725
2719
  readonly properties: {
@@ -2748,10 +2742,6 @@ export declare const boneColliders: {
2748
2742
  };
2749
2743
  readonly required: readonly ["min", "max"];
2750
2744
  readonly additionalProperties: false;
2751
- readonly default: {
2752
- readonly min: readonly [0, 0, 0];
2753
- readonly max: readonly [0, 0, 0];
2754
- };
2755
2745
  };
2756
2746
  } & {} & {
2757
2747
  readonly material: {
@@ -3109,8 +3099,73 @@ export declare const boneColliders: {
3109
3099
  dt: number;
3110
3100
  observable: boolean;
3111
3101
  }) => void;
3112
- } & {} & {} & {
3102
+ } & {} & {
3113
3103
  readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
3104
+ readonly _vertexBuffer: {
3105
+ readonly default: GPUBuffer | null;
3106
+ readonly nonPersistent: true;
3107
+ };
3108
+ readonly _skinVertexBuffer: {
3109
+ readonly default: GPUBuffer | null;
3110
+ readonly nonPersistent: true;
3111
+ };
3112
+ readonly _indexBuffer: {
3113
+ readonly default: GPUBuffer | null;
3114
+ readonly nonPersistent: true;
3115
+ };
3116
+ readonly _indexCount: {
3117
+ readonly default: undefined;
3118
+ readonly nonPersistent: true;
3119
+ readonly type: "integer";
3120
+ readonly minimum: 0;
3121
+ readonly maximum: 4294967295;
3122
+ };
3123
+ readonly _indexFormat: {
3124
+ readonly default: GPUIndexFormat;
3125
+ readonly nonPersistent: true;
3126
+ };
3127
+ readonly _materialBindGroup: {
3128
+ readonly default: GPUBindGroup | null;
3129
+ readonly nonPersistent: true;
3130
+ };
3131
+ readonly _mesh: {
3132
+ readonly default: undefined;
3133
+ readonly nonPersistent: true;
3134
+ readonly type: "integer";
3135
+ readonly minimum: -2147483648;
3136
+ readonly maximum: 2147483647;
3137
+ };
3138
+ readonly _material: {
3139
+ readonly default: undefined;
3140
+ readonly nonPersistent: true;
3141
+ readonly type: "integer";
3142
+ readonly minimum: -2147483648;
3143
+ readonly maximum: 2147483647;
3144
+ };
3145
+ readonly _nodeLocalMatrix: {
3146
+ readonly default: undefined;
3147
+ readonly nonPersistent: true;
3148
+ readonly type: "array";
3149
+ readonly items: {
3150
+ readonly type: "number";
3151
+ readonly precision: 1;
3152
+ readonly default: number;
3153
+ };
3154
+ readonly minItems: 16;
3155
+ readonly maxItems: 16;
3156
+ };
3157
+ readonly _skeletonModelRef: {
3158
+ readonly default: undefined;
3159
+ readonly nonPersistent: true;
3160
+ readonly type: "integer";
3161
+ readonly minimum: -2147483648;
3162
+ readonly maximum: 2147483647;
3163
+ };
3164
+ readonly _skeletonJointMatrixBindGroup: {
3165
+ readonly default: GPUBindGroup | null;
3166
+ readonly nonPersistent: true;
3167
+ };
3168
+ } & {
3114
3169
  readonly visible: {
3115
3170
  readonly type: "boolean";
3116
3171
  readonly const: true;
@@ -3159,6 +3214,7 @@ export declare const boneColliders: {
3159
3214
  readonly default: number;
3160
3215
  };
3161
3216
  readonly _worldMatrix: {
3217
+ readonly default: undefined;
3162
3218
  readonly nonPersistent: true;
3163
3219
  readonly type: "array";
3164
3220
  readonly items: {
@@ -3168,9 +3224,9 @@ export declare const boneColliders: {
3168
3224
  };
3169
3225
  readonly minItems: 16;
3170
3226
  readonly maxItems: 16;
3171
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3172
3227
  };
3173
3228
  readonly _worldBounds: {
3229
+ readonly default: undefined;
3174
3230
  readonly nonPersistent: true;
3175
3231
  readonly type: "object";
3176
3232
  readonly properties: {
@@ -3199,10 +3255,6 @@ export declare const boneColliders: {
3199
3255
  };
3200
3256
  readonly required: readonly ["min", "max"];
3201
3257
  readonly additionalProperties: false;
3202
- readonly default: {
3203
- readonly min: readonly [0, 0, 0];
3204
- readonly max: readonly [0, 0, 0];
3205
- };
3206
3258
  };
3207
3259
  } & {
3208
3260
  readonly material: {
@@ -3458,95 +3510,33 @@ export declare const boneColliders: {
3458
3510
  readonly const: true;
3459
3511
  readonly default: true;
3460
3512
  };
3513
+ }>, import("@adobe/data/schema").FromSchemas<{} & {
3514
+ readonly _gltfMeshByUrl: {
3515
+ readonly default: Map<string, Entity> | null;
3516
+ readonly nonPersistent: true;
3517
+ };
3461
3518
  } & {
3462
- readonly _vertexBuffer: {
3463
- readonly default: GPUBuffer | null;
3519
+ readonly frameTime: {
3520
+ readonly default: import("../../core/frame-time/public.js");
3464
3521
  readonly nonPersistent: true;
3465
3522
  };
3466
- readonly _skinVertexBuffer: {
3467
- readonly default: GPUBuffer | null;
3523
+ } & {
3524
+ readonly schedulerState: {
3525
+ readonly default: import("@adobe/data/ecs").SchedulerState;
3526
+ };
3527
+ } & {
3528
+ readonly device: {
3529
+ readonly default: GPUDevice | null;
3468
3530
  readonly nonPersistent: true;
3469
3531
  };
3470
- readonly _indexBuffer: {
3471
- readonly default: GPUBuffer | null;
3472
- readonly nonPersistent: true;
3473
- };
3474
- readonly _indexCount: {
3475
- readonly nonPersistent: true;
3476
- readonly type: "integer";
3477
- readonly minimum: 0;
3478
- readonly maximum: 4294967295;
3479
- readonly default: number;
3480
- };
3481
- readonly _indexFormat: {
3482
- readonly default: GPUIndexFormat;
3483
- readonly nonPersistent: true;
3484
- };
3485
- readonly _materialBindGroup: {
3486
- readonly default: GPUBindGroup | null;
3487
- readonly nonPersistent: true;
3488
- };
3489
- readonly _mesh: {
3490
- readonly nonPersistent: true;
3491
- readonly type: "integer";
3492
- readonly minimum: -2147483648;
3493
- readonly maximum: 2147483647;
3494
- readonly default: number;
3495
- };
3496
- readonly _material: {
3497
- readonly nonPersistent: true;
3498
- readonly type: "integer";
3499
- readonly minimum: -2147483648;
3500
- readonly maximum: 2147483647;
3501
- readonly default: number;
3502
- };
3503
- readonly _nodeLocalMatrix: {
3504
- readonly nonPersistent: true;
3505
- readonly type: "array";
3506
- readonly items: {
3507
- readonly type: "number";
3508
- readonly precision: 1;
3509
- readonly default: number;
3510
- };
3511
- readonly minItems: 16;
3512
- readonly maxItems: 16;
3513
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3514
- };
3515
- readonly _skeletonModelRef: {
3516
- readonly nonPersistent: true;
3517
- readonly type: "integer";
3518
- readonly minimum: -2147483648;
3519
- readonly maximum: 2147483647;
3520
- readonly default: number;
3521
- };
3522
- readonly _skeletonJointMatrixBindGroup: {
3523
- readonly default: GPUBindGroup | null;
3524
- readonly nonPersistent: true;
3525
- };
3526
- }>, import("@adobe/data/schema").FromSchemas<{} & {
3527
- readonly _gltfMeshByUrl: {
3528
- readonly default: Map<string, Entity> | null;
3529
- readonly nonPersistent: true;
3530
- };
3531
- } & {
3532
- readonly frameTime: {
3533
- readonly default: import("../../core/frame-time/public.js");
3534
- readonly nonPersistent: true;
3535
- };
3536
- } & {
3537
- readonly schedulerState: {
3538
- readonly default: import("@adobe/data/ecs").SchedulerState;
3539
- };
3540
- } & {
3541
- readonly device: {
3542
- readonly default: GPUDevice | null;
3543
- readonly nonPersistent: true;
3544
- };
3545
- readonly commandEncoder: {
3546
- readonly default: GPUCommandEncoder | null;
3532
+ readonly commandEncoder: {
3533
+ readonly default: GPUCommandEncoder | null;
3547
3534
  readonly nonPersistent: true;
3548
3535
  };
3549
3536
  }>, {} & {} & {
3537
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3538
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
3539
+ } & {
3550
3540
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
3551
3541
  } & {} & {
3552
3542
  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"];
@@ -3561,10 +3551,7 @@ export declare const boneColliders: {
3561
3551
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
3562
3552
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
3563
3553
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
3564
- } & {} & {
3565
- readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3566
- readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
3567
- }, {} & {} & {
3554
+ } & {}, {} & {} & {} & {
3568
3555
  readonly nodeChildrenOf: {
3569
3556
  readonly key: "parent";
3570
3557
  readonly archetype: "Node";
@@ -3575,19 +3562,19 @@ export declare const boneColliders: {
3575
3562
  readonly unique: true;
3576
3563
  readonly archetype: "Material";
3577
3564
  };
3578
- } & {} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3579
- } & {} & {
3565
+ } & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3566
+ } & {
3580
3567
  readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
3581
3568
  readonly _skeletonJoints: {
3582
3569
  readonly default: number[];
3583
3570
  readonly nonPersistent: true;
3584
3571
  };
3585
3572
  readonly _skeletonMesh: {
3573
+ readonly default: undefined;
3586
3574
  readonly nonPersistent: true;
3587
3575
  readonly type: "integer";
3588
3576
  readonly minimum: -2147483648;
3589
3577
  readonly maximum: 2147483647;
3590
- readonly default: number;
3591
3578
  };
3592
3579
  readonly _skeletonInstanceBuffer: {
3593
3580
  readonly default: GPUBuffer | null;
@@ -3646,6 +3633,7 @@ export declare const boneColliders: {
3646
3633
  readonly default: number;
3647
3634
  };
3648
3635
  readonly _worldMatrix: {
3636
+ readonly default: undefined;
3649
3637
  readonly nonPersistent: true;
3650
3638
  readonly type: "array";
3651
3639
  readonly items: {
@@ -3655,9 +3643,9 @@ export declare const boneColliders: {
3655
3643
  };
3656
3644
  readonly minItems: 16;
3657
3645
  readonly maxItems: 16;
3658
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3659
3646
  };
3660
3647
  readonly _worldBounds: {
3648
+ readonly default: undefined;
3661
3649
  readonly nonPersistent: true;
3662
3650
  readonly type: "object";
3663
3651
  readonly properties: {
@@ -3686,53 +3674,8 @@ export declare const boneColliders: {
3686
3674
  };
3687
3675
  readonly required: readonly ["min", "max"];
3688
3676
  readonly additionalProperties: false;
3689
- readonly default: {
3690
- readonly min: readonly [0, 0, 0];
3691
- readonly max: readonly [0, 0, 0];
3692
- };
3693
3677
  };
3694
3678
  } & {} & {
3695
- readonly animationClipTracks: {
3696
- readonly default: import("../animation/animation-track/public.js")[];
3697
- };
3698
- readonly animationClipDuration: {
3699
- readonly type: "number";
3700
- readonly precision: 2;
3701
- readonly default: number;
3702
- };
3703
- readonly animationClipRef: {
3704
- readonly type: "integer";
3705
- readonly minimum: -2147483648;
3706
- readonly maximum: 2147483647;
3707
- readonly default: number;
3708
- };
3709
- readonly animationTargets: {
3710
- readonly default: Entity[];
3711
- };
3712
- readonly animationTime: {
3713
- readonly type: "number";
3714
- readonly precision: 2;
3715
- readonly default: number;
3716
- };
3717
- readonly animationSpeed: {
3718
- readonly default: 1;
3719
- readonly type: "number";
3720
- readonly precision: 1;
3721
- };
3722
- readonly animationLoop: {
3723
- readonly type: "boolean";
3724
- readonly default: boolean;
3725
- };
3726
- readonly animationPlaying: {
3727
- readonly type: "boolean";
3728
- readonly default: boolean;
3729
- };
3730
- readonly animationObservable: {
3731
- readonly type: "boolean";
3732
- readonly const: true;
3733
- readonly default: true;
3734
- };
3735
- } & {
3736
3679
  readonly _vertexBuffer: {
3737
3680
  readonly default: GPUBuffer | null;
3738
3681
  readonly nonPersistent: true;
@@ -3746,11 +3689,11 @@ export declare const boneColliders: {
3746
3689
  readonly nonPersistent: true;
3747
3690
  };
3748
3691
  readonly _indexCount: {
3692
+ readonly default: undefined;
3749
3693
  readonly nonPersistent: true;
3750
3694
  readonly type: "integer";
3751
3695
  readonly minimum: 0;
3752
3696
  readonly maximum: 4294967295;
3753
- readonly default: number;
3754
3697
  };
3755
3698
  readonly _indexFormat: {
3756
3699
  readonly default: GPUIndexFormat;
@@ -3761,20 +3704,21 @@ export declare const boneColliders: {
3761
3704
  readonly nonPersistent: true;
3762
3705
  };
3763
3706
  readonly _mesh: {
3707
+ readonly default: undefined;
3764
3708
  readonly nonPersistent: true;
3765
3709
  readonly type: "integer";
3766
3710
  readonly minimum: -2147483648;
3767
3711
  readonly maximum: 2147483647;
3768
- readonly default: number;
3769
3712
  };
3770
3713
  readonly _material: {
3714
+ readonly default: undefined;
3771
3715
  readonly nonPersistent: true;
3772
3716
  readonly type: "integer";
3773
3717
  readonly minimum: -2147483648;
3774
3718
  readonly maximum: 2147483647;
3775
- readonly default: number;
3776
3719
  };
3777
3720
  readonly _nodeLocalMatrix: {
3721
+ readonly default: undefined;
3778
3722
  readonly nonPersistent: true;
3779
3723
  readonly type: "array";
3780
3724
  readonly items: {
@@ -3784,19 +3728,59 @@ export declare const boneColliders: {
3784
3728
  };
3785
3729
  readonly minItems: 16;
3786
3730
  readonly maxItems: 16;
3787
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
3788
3731
  };
3789
3732
  readonly _skeletonModelRef: {
3733
+ readonly default: undefined;
3790
3734
  readonly nonPersistent: true;
3791
3735
  readonly type: "integer";
3792
3736
  readonly minimum: -2147483648;
3793
3737
  readonly maximum: 2147483647;
3794
- readonly default: number;
3795
3738
  };
3796
3739
  readonly _skeletonJointMatrixBindGroup: {
3797
3740
  readonly default: GPUBindGroup | null;
3798
3741
  readonly nonPersistent: true;
3799
3742
  };
3743
+ } & {
3744
+ readonly animationClipTracks: {
3745
+ readonly default: import("../animation/animation-track/public.js")[];
3746
+ };
3747
+ readonly animationClipDuration: {
3748
+ readonly type: "number";
3749
+ readonly precision: 2;
3750
+ readonly default: number;
3751
+ };
3752
+ readonly animationClipRef: {
3753
+ readonly type: "integer";
3754
+ readonly minimum: -2147483648;
3755
+ readonly maximum: 2147483647;
3756
+ readonly default: number;
3757
+ };
3758
+ readonly animationTargets: {
3759
+ readonly default: Entity[];
3760
+ };
3761
+ readonly animationTime: {
3762
+ readonly type: "number";
3763
+ readonly precision: 2;
3764
+ readonly default: number;
3765
+ };
3766
+ readonly animationSpeed: {
3767
+ readonly default: 1;
3768
+ readonly type: "number";
3769
+ readonly precision: 1;
3770
+ };
3771
+ readonly animationLoop: {
3772
+ readonly type: "boolean";
3773
+ readonly default: boolean;
3774
+ };
3775
+ readonly animationPlaying: {
3776
+ readonly type: "boolean";
3777
+ readonly default: boolean;
3778
+ };
3779
+ readonly animationObservable: {
3780
+ readonly type: "boolean";
3781
+ readonly const: true;
3782
+ readonly default: true;
3783
+ };
3800
3784
  } & {
3801
3785
  readonly material: {
3802
3786
  readonly type: "integer";
@@ -4037,14 +4021,14 @@ export declare const boneColliders: {
4037
4021
  readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
4038
4022
  } & {
4039
4023
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
4040
- } & {} & {} & {
4024
+ } & {} & {
4025
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
4026
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
4027
+ } & {} & {
4041
4028
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
4042
4029
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
4043
4030
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
4044
4031
  } & {} & {
4045
- readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
4046
- readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
4047
- } & {
4048
4032
  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"];
4049
4033
  } & {
4050
4034
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -4073,7 +4057,7 @@ export declare const boneColliders: {
4073
4057
  jointMatrixBindGroup: GPUBindGroup;
4074
4058
  clipRef: number | null;
4075
4059
  }) => void;
4076
- } & {} & {
4060
+ } & {} & {} & {
4077
4061
  readonly triggerRagdoll: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
4078
4062
  readonly _ragdollTrigger: {
4079
4063
  readonly default: boolean;
@@ -4081,20 +4065,2408 @@ export declare const boneColliders: {
4081
4065
  };
4082
4066
  }>, {}, {}, never>) => void;
4083
4067
  } & {};
4084
- 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
- } & {} & {
4068
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "generateBoneColliders" | "trackBoneColliders" | "ragdollOnTrigger" | "reconcileRagdoll">;
4069
+ readonly actions: {
4070
+ readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
4071
+ readonly bodyType: {
4072
+ readonly type: "string";
4073
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
4074
+ };
4075
+ readonly colliderShape: {
4076
+ readonly type: "string";
4077
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
4078
+ };
4079
+ readonly halfExtents: {
4080
+ readonly type: "array";
4081
+ readonly items: {
4082
+ readonly type: "number";
4083
+ readonly precision: 1;
4084
+ readonly default: number;
4085
+ };
4086
+ readonly minItems: 3;
4087
+ readonly maxItems: 3;
4088
+ readonly default: readonly [0, 0, 0];
4089
+ };
4090
+ readonly position: {
4091
+ readonly type: "array";
4092
+ readonly items: {
4093
+ readonly type: "number";
4094
+ readonly precision: 1;
4095
+ readonly default: number;
4096
+ };
4097
+ readonly minItems: 3;
4098
+ readonly maxItems: 3;
4099
+ readonly default: readonly [0, 0, 0];
4100
+ };
4101
+ readonly rotation: {
4102
+ readonly type: "array";
4103
+ readonly items: {
4104
+ readonly type: "number";
4105
+ readonly precision: 1;
4106
+ readonly default: number;
4107
+ };
4108
+ readonly minItems: 4;
4109
+ readonly maxItems: 4;
4110
+ readonly default: readonly [0, 0, 0, 1];
4111
+ readonly interpolators: {
4112
+ readonly linear: (q1: any, q2: any, t: number) => any;
4113
+ };
4114
+ };
4115
+ readonly linearVelocity: {
4116
+ readonly type: "array";
4117
+ readonly items: {
4118
+ readonly type: "number";
4119
+ readonly precision: 1;
4120
+ readonly default: number;
4121
+ };
4122
+ readonly minItems: 3;
4123
+ readonly maxItems: 3;
4124
+ readonly default: readonly [0, 0, 0];
4125
+ };
4126
+ readonly angularVelocity: {
4127
+ readonly type: "array";
4128
+ readonly items: {
4129
+ readonly type: "number";
4130
+ readonly precision: 1;
4131
+ readonly default: number;
4132
+ };
4133
+ readonly minItems: 3;
4134
+ readonly maxItems: 3;
4135
+ readonly default: readonly [0, 0, 0];
4136
+ };
4137
+ readonly _prevPosition: {
4138
+ readonly default: undefined;
4139
+ readonly nonPersistent: true;
4140
+ readonly type: "array";
4141
+ readonly items: {
4142
+ readonly type: "number";
4143
+ readonly precision: 1;
4144
+ readonly default: number;
4145
+ };
4146
+ readonly minItems: 3;
4147
+ readonly maxItems: 3;
4148
+ };
4149
+ readonly _prevRotation: {
4150
+ readonly default: undefined;
4151
+ readonly nonPersistent: true;
4152
+ readonly type: "array";
4153
+ readonly items: {
4154
+ readonly type: "number";
4155
+ readonly precision: 1;
4156
+ readonly default: number;
4157
+ };
4158
+ readonly minItems: 4;
4159
+ readonly maxItems: 4;
4160
+ readonly interpolators: {
4161
+ readonly linear: (q1: any, q2: any, t: number) => any;
4162
+ };
4163
+ };
4164
+ readonly collisionGroup: {
4165
+ readonly type: "number";
4166
+ readonly precision: 1;
4167
+ readonly default: number;
4168
+ };
4169
+ readonly convexPoints: {
4170
+ readonly default: Float32Array | null;
4171
+ };
4172
+ readonly colliderMesh: {
4173
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
4174
+ };
4175
+ } & {
4176
+ readonly material: {
4177
+ readonly type: "integer";
4178
+ readonly minimum: -2147483648;
4179
+ readonly maximum: 2147483647;
4180
+ readonly default: number;
4181
+ };
4182
+ readonly name: {
4183
+ readonly type: "string";
4184
+ };
4185
+ readonly density: {
4186
+ readonly type: "number";
4187
+ readonly precision: 1;
4188
+ readonly default: number;
4189
+ };
4190
+ readonly restitution: {
4191
+ readonly type: "number";
4192
+ readonly precision: 1;
4193
+ readonly default: number;
4194
+ };
4195
+ readonly friction: {
4196
+ readonly type: "number";
4197
+ readonly precision: 1;
4198
+ readonly default: number;
4199
+ };
4200
+ readonly compliance: {
4201
+ readonly type: "number";
4202
+ readonly precision: 1;
4203
+ readonly default: number;
4204
+ };
4205
+ readonly heatCapacity: {
4206
+ readonly type: "number";
4207
+ readonly precision: 1;
4208
+ readonly default: number;
4209
+ };
4210
+ readonly viscosity: {
4211
+ readonly type: "number";
4212
+ readonly precision: 1;
4213
+ readonly default: number;
4214
+ };
4215
+ readonly thermalConductivity: {
4216
+ readonly type: "number";
4217
+ readonly precision: 1;
4218
+ readonly default: number;
4219
+ };
4220
+ readonly stressStrainCurve: {
4221
+ readonly type: "object";
4222
+ readonly layout: "packed";
4223
+ readonly properties: {
4224
+ readonly tensileYieldStrainStress: {
4225
+ readonly type: "array";
4226
+ readonly items: {
4227
+ readonly type: "number";
4228
+ readonly precision: 1;
4229
+ readonly default: number;
4230
+ };
4231
+ readonly minItems: 2;
4232
+ readonly maxItems: 2;
4233
+ readonly default: readonly [0, 0];
4234
+ };
4235
+ readonly tensileFractureStrainStress: {
4236
+ readonly type: "array";
4237
+ readonly items: {
4238
+ readonly type: "number";
4239
+ readonly precision: 1;
4240
+ readonly default: number;
4241
+ };
4242
+ readonly minItems: 2;
4243
+ readonly maxItems: 2;
4244
+ readonly default: readonly [0, 0];
4245
+ };
4246
+ readonly compressiveYieldStrainStress: {
4247
+ readonly type: "array";
4248
+ readonly items: {
4249
+ readonly type: "number";
4250
+ readonly precision: 1;
4251
+ readonly default: number;
4252
+ };
4253
+ readonly minItems: 2;
4254
+ readonly maxItems: 2;
4255
+ readonly default: readonly [0, 0];
4256
+ };
4257
+ readonly compressiveFractureStrainStress: {
4258
+ readonly type: "array";
4259
+ readonly items: {
4260
+ readonly type: "number";
4261
+ readonly precision: 1;
4262
+ readonly default: number;
4263
+ };
4264
+ readonly minItems: 2;
4265
+ readonly maxItems: 2;
4266
+ readonly default: readonly [0, 0];
4267
+ };
4268
+ };
4269
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4270
+ };
4271
+ readonly baseColorFactor: {
4272
+ readonly type: "array";
4273
+ readonly items: {
4274
+ readonly type: "number";
4275
+ readonly precision: 1;
4276
+ readonly default: number;
4277
+ };
4278
+ readonly minItems: 4;
4279
+ readonly maxItems: 4;
4280
+ readonly default: readonly [0, 0, 0, 0];
4281
+ };
4282
+ readonly emissiveFactor: {
4283
+ readonly type: "array";
4284
+ readonly items: {
4285
+ readonly type: "number";
4286
+ readonly precision: 1;
4287
+ readonly default: number;
4288
+ };
4289
+ readonly minItems: 3;
4290
+ readonly maxItems: 3;
4291
+ readonly default: readonly [0, 0, 0];
4292
+ };
4293
+ readonly metallicFactor: {
4294
+ readonly type: "number";
4295
+ readonly precision: 1;
4296
+ readonly default: number;
4297
+ };
4298
+ readonly roughnessFactor: {
4299
+ readonly type: "number";
4300
+ readonly precision: 1;
4301
+ readonly default: number;
4302
+ };
4303
+ readonly normalScale: {
4304
+ readonly type: "number";
4305
+ readonly precision: 1;
4306
+ readonly default: number;
4307
+ };
4308
+ readonly occlusionStrength: {
4309
+ readonly type: "number";
4310
+ readonly precision: 1;
4311
+ readonly default: number;
4312
+ };
4313
+ readonly irReflectance: {
4314
+ readonly type: "number";
4315
+ readonly precision: 1;
4316
+ readonly default: number;
4317
+ };
4318
+ readonly irEmission: {
4319
+ readonly type: "number";
4320
+ readonly precision: 1;
4321
+ readonly default: number;
4322
+ };
4323
+ readonly emissionMode: {
4324
+ readonly type: "integer";
4325
+ readonly minimum: 0;
4326
+ readonly maximum: 4294967295;
4327
+ readonly default: number;
4328
+ };
4329
+ readonly baseColorUrl: {
4330
+ readonly type: "string";
4331
+ };
4332
+ readonly metallicRoughnessUrl: {
4333
+ readonly type: "string";
4334
+ };
4335
+ readonly normalUrl: {
4336
+ readonly type: "string";
4337
+ };
4338
+ readonly occlusionUrl: {
4339
+ readonly type: "string";
4340
+ };
4341
+ readonly emissiveUrl: {
4342
+ readonly type: "string";
4343
+ };
4344
+ }>, import("@adobe/data/schema").FromSchemas<{
4345
+ readonly physicsQuery: {
4346
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
4347
+ readonly nonPersistent: true;
4348
+ };
4349
+ } & {}>, {
4350
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
4351
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
4352
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
4353
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
4354
+ } & {
4355
+ 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"];
4356
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
4357
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4358
+ readonly material: {
4359
+ readonly type: "integer";
4360
+ readonly minimum: -2147483648;
4361
+ readonly maximum: 2147483647;
4362
+ readonly default: number;
4363
+ };
4364
+ readonly name: {
4365
+ readonly type: "string";
4366
+ };
4367
+ readonly density: {
4368
+ readonly type: "number";
4369
+ readonly precision: 1;
4370
+ readonly default: number;
4371
+ };
4372
+ readonly restitution: {
4373
+ readonly type: "number";
4374
+ readonly precision: 1;
4375
+ readonly default: number;
4376
+ };
4377
+ readonly friction: {
4378
+ readonly type: "number";
4379
+ readonly precision: 1;
4380
+ readonly default: number;
4381
+ };
4382
+ readonly compliance: {
4383
+ readonly type: "number";
4384
+ readonly precision: 1;
4385
+ readonly default: number;
4386
+ };
4387
+ readonly heatCapacity: {
4388
+ readonly type: "number";
4389
+ readonly precision: 1;
4390
+ readonly default: number;
4391
+ };
4392
+ readonly viscosity: {
4393
+ readonly type: "number";
4394
+ readonly precision: 1;
4395
+ readonly default: number;
4396
+ };
4397
+ readonly thermalConductivity: {
4398
+ readonly type: "number";
4399
+ readonly precision: 1;
4400
+ readonly default: number;
4401
+ };
4402
+ readonly stressStrainCurve: {
4403
+ readonly type: "object";
4404
+ readonly layout: "packed";
4405
+ readonly properties: {
4406
+ readonly tensileYieldStrainStress: {
4407
+ readonly type: "array";
4408
+ readonly items: {
4409
+ readonly type: "number";
4410
+ readonly precision: 1;
4411
+ readonly default: number;
4412
+ };
4413
+ readonly minItems: 2;
4414
+ readonly maxItems: 2;
4415
+ readonly default: readonly [0, 0];
4416
+ };
4417
+ readonly tensileFractureStrainStress: {
4418
+ readonly type: "array";
4419
+ readonly items: {
4420
+ readonly type: "number";
4421
+ readonly precision: 1;
4422
+ readonly default: number;
4423
+ };
4424
+ readonly minItems: 2;
4425
+ readonly maxItems: 2;
4426
+ readonly default: readonly [0, 0];
4427
+ };
4428
+ readonly compressiveYieldStrainStress: {
4429
+ readonly type: "array";
4430
+ readonly items: {
4431
+ readonly type: "number";
4432
+ readonly precision: 1;
4433
+ readonly default: number;
4434
+ };
4435
+ readonly minItems: 2;
4436
+ readonly maxItems: 2;
4437
+ readonly default: readonly [0, 0];
4438
+ };
4439
+ readonly compressiveFractureStrainStress: {
4440
+ readonly type: "array";
4441
+ readonly items: {
4442
+ readonly type: "number";
4443
+ readonly precision: 1;
4444
+ readonly default: number;
4445
+ };
4446
+ readonly minItems: 2;
4447
+ readonly maxItems: 2;
4448
+ readonly default: readonly [0, 0];
4449
+ };
4450
+ };
4451
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4452
+ };
4453
+ readonly baseColorFactor: {
4454
+ readonly type: "array";
4455
+ readonly items: {
4456
+ readonly type: "number";
4457
+ readonly precision: 1;
4458
+ readonly default: number;
4459
+ };
4460
+ readonly minItems: 4;
4461
+ readonly maxItems: 4;
4462
+ readonly default: readonly [0, 0, 0, 0];
4463
+ };
4464
+ readonly emissiveFactor: {
4465
+ readonly type: "array";
4466
+ readonly items: {
4467
+ readonly type: "number";
4468
+ readonly precision: 1;
4469
+ readonly default: number;
4470
+ };
4471
+ readonly minItems: 3;
4472
+ readonly maxItems: 3;
4473
+ readonly default: readonly [0, 0, 0];
4474
+ };
4475
+ readonly metallicFactor: {
4476
+ readonly type: "number";
4477
+ readonly precision: 1;
4478
+ readonly default: number;
4479
+ };
4480
+ readonly roughnessFactor: {
4481
+ readonly type: "number";
4482
+ readonly precision: 1;
4483
+ readonly default: number;
4484
+ };
4485
+ readonly normalScale: {
4486
+ readonly type: "number";
4487
+ readonly precision: 1;
4488
+ readonly default: number;
4489
+ };
4490
+ readonly occlusionStrength: {
4491
+ readonly type: "number";
4492
+ readonly precision: 1;
4493
+ readonly default: number;
4494
+ };
4495
+ readonly irReflectance: {
4496
+ readonly type: "number";
4497
+ readonly precision: 1;
4498
+ readonly default: number;
4499
+ };
4500
+ readonly irEmission: {
4501
+ readonly type: "number";
4502
+ readonly precision: 1;
4503
+ readonly default: number;
4504
+ };
4505
+ readonly emissionMode: {
4506
+ readonly type: "integer";
4507
+ readonly minimum: 0;
4508
+ readonly maximum: 4294967295;
4509
+ readonly default: number;
4510
+ };
4511
+ readonly baseColorUrl: {
4512
+ readonly type: "string";
4513
+ };
4514
+ readonly metallicRoughnessUrl: {
4515
+ readonly type: "string";
4516
+ };
4517
+ readonly normalUrl: {
4518
+ readonly type: "string";
4519
+ };
4520
+ readonly occlusionUrl: {
4521
+ readonly type: "string";
4522
+ };
4523
+ readonly emissiveUrl: {
4524
+ readonly type: "string";
4525
+ };
4526
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4527
+ 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"];
4528
+ }, {
4529
+ readonly materialByName: {
4530
+ readonly key: "name";
4531
+ readonly unique: true;
4532
+ readonly archetype: "Material";
4533
+ };
4534
+ }, never>, row: import("../../material/public.js")) => Entity;
4535
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4536
+ readonly material: {
4537
+ readonly type: "integer";
4538
+ readonly minimum: -2147483648;
4539
+ readonly maximum: 2147483647;
4540
+ readonly default: number;
4541
+ };
4542
+ readonly name: {
4543
+ readonly type: "string";
4544
+ };
4545
+ readonly density: {
4546
+ readonly type: "number";
4547
+ readonly precision: 1;
4548
+ readonly default: number;
4549
+ };
4550
+ readonly restitution: {
4551
+ readonly type: "number";
4552
+ readonly precision: 1;
4553
+ readonly default: number;
4554
+ };
4555
+ readonly friction: {
4556
+ readonly type: "number";
4557
+ readonly precision: 1;
4558
+ readonly default: number;
4559
+ };
4560
+ readonly compliance: {
4561
+ readonly type: "number";
4562
+ readonly precision: 1;
4563
+ readonly default: number;
4564
+ };
4565
+ readonly heatCapacity: {
4566
+ readonly type: "number";
4567
+ readonly precision: 1;
4568
+ readonly default: number;
4569
+ };
4570
+ readonly viscosity: {
4571
+ readonly type: "number";
4572
+ readonly precision: 1;
4573
+ readonly default: number;
4574
+ };
4575
+ readonly thermalConductivity: {
4576
+ readonly type: "number";
4577
+ readonly precision: 1;
4578
+ readonly default: number;
4579
+ };
4580
+ readonly stressStrainCurve: {
4581
+ readonly type: "object";
4582
+ readonly layout: "packed";
4583
+ readonly properties: {
4584
+ readonly tensileYieldStrainStress: {
4585
+ readonly type: "array";
4586
+ readonly items: {
4587
+ readonly type: "number";
4588
+ readonly precision: 1;
4589
+ readonly default: number;
4590
+ };
4591
+ readonly minItems: 2;
4592
+ readonly maxItems: 2;
4593
+ readonly default: readonly [0, 0];
4594
+ };
4595
+ readonly tensileFractureStrainStress: {
4596
+ readonly type: "array";
4597
+ readonly items: {
4598
+ readonly type: "number";
4599
+ readonly precision: 1;
4600
+ readonly default: number;
4601
+ };
4602
+ readonly minItems: 2;
4603
+ readonly maxItems: 2;
4604
+ readonly default: readonly [0, 0];
4605
+ };
4606
+ readonly compressiveYieldStrainStress: {
4607
+ readonly type: "array";
4608
+ readonly items: {
4609
+ readonly type: "number";
4610
+ readonly precision: 1;
4611
+ readonly default: number;
4612
+ };
4613
+ readonly minItems: 2;
4614
+ readonly maxItems: 2;
4615
+ readonly default: readonly [0, 0];
4616
+ };
4617
+ readonly compressiveFractureStrainStress: {
4618
+ readonly type: "array";
4619
+ readonly items: {
4620
+ readonly type: "number";
4621
+ readonly precision: 1;
4622
+ readonly default: number;
4623
+ };
4624
+ readonly minItems: 2;
4625
+ readonly maxItems: 2;
4626
+ readonly default: readonly [0, 0];
4627
+ };
4628
+ };
4629
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4630
+ };
4631
+ readonly baseColorFactor: {
4632
+ readonly type: "array";
4633
+ readonly items: {
4634
+ readonly type: "number";
4635
+ readonly precision: 1;
4636
+ readonly default: number;
4637
+ };
4638
+ readonly minItems: 4;
4639
+ readonly maxItems: 4;
4640
+ readonly default: readonly [0, 0, 0, 0];
4641
+ };
4642
+ readonly emissiveFactor: {
4643
+ readonly type: "array";
4644
+ readonly items: {
4645
+ readonly type: "number";
4646
+ readonly precision: 1;
4647
+ readonly default: number;
4648
+ };
4649
+ readonly minItems: 3;
4650
+ readonly maxItems: 3;
4651
+ readonly default: readonly [0, 0, 0];
4652
+ };
4653
+ readonly metallicFactor: {
4654
+ readonly type: "number";
4655
+ readonly precision: 1;
4656
+ readonly default: number;
4657
+ };
4658
+ readonly roughnessFactor: {
4659
+ readonly type: "number";
4660
+ readonly precision: 1;
4661
+ readonly default: number;
4662
+ };
4663
+ readonly normalScale: {
4664
+ readonly type: "number";
4665
+ readonly precision: 1;
4666
+ readonly default: number;
4667
+ };
4668
+ readonly occlusionStrength: {
4669
+ readonly type: "number";
4670
+ readonly precision: 1;
4671
+ readonly default: number;
4672
+ };
4673
+ readonly irReflectance: {
4674
+ readonly type: "number";
4675
+ readonly precision: 1;
4676
+ readonly default: number;
4677
+ };
4678
+ readonly irEmission: {
4679
+ readonly type: "number";
4680
+ readonly precision: 1;
4681
+ readonly default: number;
4682
+ };
4683
+ readonly emissionMode: {
4684
+ readonly type: "integer";
4685
+ readonly minimum: 0;
4686
+ readonly maximum: 4294967295;
4687
+ readonly default: number;
4688
+ };
4689
+ readonly baseColorUrl: {
4690
+ readonly type: "string";
4691
+ };
4692
+ readonly metallicRoughnessUrl: {
4693
+ readonly type: "string";
4694
+ };
4695
+ readonly normalUrl: {
4696
+ readonly type: "string";
4697
+ };
4698
+ readonly occlusionUrl: {
4699
+ readonly type: "string";
4700
+ };
4701
+ readonly emissiveUrl: {
4702
+ readonly type: "string";
4703
+ };
4704
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4705
+ 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"];
4706
+ }, {
4707
+ readonly materialByName: {
4708
+ readonly key: "name";
4709
+ readonly unique: true;
4710
+ readonly archetype: "Material";
4711
+ };
4712
+ }, never>, args: {
4713
+ name: string;
4714
+ definition: import("../../material/material-definition.js").MaterialDefinition;
4715
+ }) => Entity;
4716
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4717
+ readonly material: {
4718
+ readonly type: "integer";
4719
+ readonly minimum: -2147483648;
4720
+ readonly maximum: 2147483647;
4721
+ readonly default: number;
4722
+ };
4723
+ readonly name: {
4724
+ readonly type: "string";
4725
+ };
4726
+ readonly density: {
4727
+ readonly type: "number";
4728
+ readonly precision: 1;
4729
+ readonly default: number;
4730
+ };
4731
+ readonly restitution: {
4732
+ readonly type: "number";
4733
+ readonly precision: 1;
4734
+ readonly default: number;
4735
+ };
4736
+ readonly friction: {
4737
+ readonly type: "number";
4738
+ readonly precision: 1;
4739
+ readonly default: number;
4740
+ };
4741
+ readonly compliance: {
4742
+ readonly type: "number";
4743
+ readonly precision: 1;
4744
+ readonly default: number;
4745
+ };
4746
+ readonly heatCapacity: {
4747
+ readonly type: "number";
4748
+ readonly precision: 1;
4749
+ readonly default: number;
4750
+ };
4751
+ readonly viscosity: {
4752
+ readonly type: "number";
4753
+ readonly precision: 1;
4754
+ readonly default: number;
4755
+ };
4756
+ readonly thermalConductivity: {
4757
+ readonly type: "number";
4758
+ readonly precision: 1;
4759
+ readonly default: number;
4760
+ };
4761
+ readonly stressStrainCurve: {
4762
+ readonly type: "object";
4763
+ readonly layout: "packed";
4764
+ readonly properties: {
4765
+ readonly tensileYieldStrainStress: {
4766
+ readonly type: "array";
4767
+ readonly items: {
4768
+ readonly type: "number";
4769
+ readonly precision: 1;
4770
+ readonly default: number;
4771
+ };
4772
+ readonly minItems: 2;
4773
+ readonly maxItems: 2;
4774
+ readonly default: readonly [0, 0];
4775
+ };
4776
+ readonly tensileFractureStrainStress: {
4777
+ readonly type: "array";
4778
+ readonly items: {
4779
+ readonly type: "number";
4780
+ readonly precision: 1;
4781
+ readonly default: number;
4782
+ };
4783
+ readonly minItems: 2;
4784
+ readonly maxItems: 2;
4785
+ readonly default: readonly [0, 0];
4786
+ };
4787
+ readonly compressiveYieldStrainStress: {
4788
+ readonly type: "array";
4789
+ readonly items: {
4790
+ readonly type: "number";
4791
+ readonly precision: 1;
4792
+ readonly default: number;
4793
+ };
4794
+ readonly minItems: 2;
4795
+ readonly maxItems: 2;
4796
+ readonly default: readonly [0, 0];
4797
+ };
4798
+ readonly compressiveFractureStrainStress: {
4799
+ readonly type: "array";
4800
+ readonly items: {
4801
+ readonly type: "number";
4802
+ readonly precision: 1;
4803
+ readonly default: number;
4804
+ };
4805
+ readonly minItems: 2;
4806
+ readonly maxItems: 2;
4807
+ readonly default: readonly [0, 0];
4808
+ };
4809
+ };
4810
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4811
+ };
4812
+ readonly baseColorFactor: {
4813
+ readonly type: "array";
4814
+ readonly items: {
4815
+ readonly type: "number";
4816
+ readonly precision: 1;
4817
+ readonly default: number;
4818
+ };
4819
+ readonly minItems: 4;
4820
+ readonly maxItems: 4;
4821
+ readonly default: readonly [0, 0, 0, 0];
4822
+ };
4823
+ readonly emissiveFactor: {
4824
+ readonly type: "array";
4825
+ readonly items: {
4826
+ readonly type: "number";
4827
+ readonly precision: 1;
4828
+ readonly default: number;
4829
+ };
4830
+ readonly minItems: 3;
4831
+ readonly maxItems: 3;
4832
+ readonly default: readonly [0, 0, 0];
4833
+ };
4834
+ readonly metallicFactor: {
4835
+ readonly type: "number";
4836
+ readonly precision: 1;
4837
+ readonly default: number;
4838
+ };
4839
+ readonly roughnessFactor: {
4840
+ readonly type: "number";
4841
+ readonly precision: 1;
4842
+ readonly default: number;
4843
+ };
4844
+ readonly normalScale: {
4845
+ readonly type: "number";
4846
+ readonly precision: 1;
4847
+ readonly default: number;
4848
+ };
4849
+ readonly occlusionStrength: {
4850
+ readonly type: "number";
4851
+ readonly precision: 1;
4852
+ readonly default: number;
4853
+ };
4854
+ readonly irReflectance: {
4855
+ readonly type: "number";
4856
+ readonly precision: 1;
4857
+ readonly default: number;
4858
+ };
4859
+ readonly irEmission: {
4860
+ readonly type: "number";
4861
+ readonly precision: 1;
4862
+ readonly default: number;
4863
+ };
4864
+ readonly emissionMode: {
4865
+ readonly type: "integer";
4866
+ readonly minimum: 0;
4867
+ readonly maximum: 4294967295;
4868
+ readonly default: number;
4869
+ };
4870
+ readonly baseColorUrl: {
4871
+ readonly type: "string";
4872
+ };
4873
+ readonly metallicRoughnessUrl: {
4874
+ readonly type: "string";
4875
+ };
4876
+ readonly normalUrl: {
4877
+ readonly type: "string";
4878
+ };
4879
+ readonly occlusionUrl: {
4880
+ readonly type: "string";
4881
+ };
4882
+ readonly emissiveUrl: {
4883
+ readonly type: "string";
4884
+ };
4885
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
4886
+ 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"];
4887
+ }, {
4888
+ readonly materialByName: {
4889
+ readonly key: "name";
4890
+ readonly unique: true;
4891
+ readonly archetype: "Material";
4892
+ };
4893
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
4894
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
4895
+ readonly material: {
4896
+ readonly type: "integer";
4897
+ readonly minimum: -2147483648;
4898
+ readonly maximum: 2147483647;
4899
+ readonly default: number;
4900
+ };
4901
+ readonly name: {
4902
+ readonly type: "string";
4903
+ };
4904
+ readonly density: {
4905
+ readonly type: "number";
4906
+ readonly precision: 1;
4907
+ readonly default: number;
4908
+ };
4909
+ readonly restitution: {
4910
+ readonly type: "number";
4911
+ readonly precision: 1;
4912
+ readonly default: number;
4913
+ };
4914
+ readonly friction: {
4915
+ readonly type: "number";
4916
+ readonly precision: 1;
4917
+ readonly default: number;
4918
+ };
4919
+ readonly compliance: {
4920
+ readonly type: "number";
4921
+ readonly precision: 1;
4922
+ readonly default: number;
4923
+ };
4924
+ readonly heatCapacity: {
4925
+ readonly type: "number";
4926
+ readonly precision: 1;
4927
+ readonly default: number;
4928
+ };
4929
+ readonly viscosity: {
4930
+ readonly type: "number";
4931
+ readonly precision: 1;
4932
+ readonly default: number;
4933
+ };
4934
+ readonly thermalConductivity: {
4935
+ readonly type: "number";
4936
+ readonly precision: 1;
4937
+ readonly default: number;
4938
+ };
4939
+ readonly stressStrainCurve: {
4940
+ readonly type: "object";
4941
+ readonly layout: "packed";
4942
+ readonly properties: {
4943
+ readonly tensileYieldStrainStress: {
4944
+ readonly type: "array";
4945
+ readonly items: {
4946
+ readonly type: "number";
4947
+ readonly precision: 1;
4948
+ readonly default: number;
4949
+ };
4950
+ readonly minItems: 2;
4951
+ readonly maxItems: 2;
4952
+ readonly default: readonly [0, 0];
4953
+ };
4954
+ readonly tensileFractureStrainStress: {
4955
+ readonly type: "array";
4956
+ readonly items: {
4957
+ readonly type: "number";
4958
+ readonly precision: 1;
4959
+ readonly default: number;
4960
+ };
4961
+ readonly minItems: 2;
4962
+ readonly maxItems: 2;
4963
+ readonly default: readonly [0, 0];
4964
+ };
4965
+ readonly compressiveYieldStrainStress: {
4966
+ readonly type: "array";
4967
+ readonly items: {
4968
+ readonly type: "number";
4969
+ readonly precision: 1;
4970
+ readonly default: number;
4971
+ };
4972
+ readonly minItems: 2;
4973
+ readonly maxItems: 2;
4974
+ readonly default: readonly [0, 0];
4975
+ };
4976
+ readonly compressiveFractureStrainStress: {
4977
+ readonly type: "array";
4978
+ readonly items: {
4979
+ readonly type: "number";
4980
+ readonly precision: 1;
4981
+ readonly default: number;
4982
+ };
4983
+ readonly minItems: 2;
4984
+ readonly maxItems: 2;
4985
+ readonly default: readonly [0, 0];
4986
+ };
4987
+ };
4988
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
4989
+ };
4990
+ readonly baseColorFactor: {
4991
+ readonly type: "array";
4992
+ readonly items: {
4993
+ readonly type: "number";
4994
+ readonly precision: 1;
4995
+ readonly default: number;
4996
+ };
4997
+ readonly minItems: 4;
4998
+ readonly maxItems: 4;
4999
+ readonly default: readonly [0, 0, 0, 0];
5000
+ };
5001
+ readonly emissiveFactor: {
5002
+ readonly type: "array";
5003
+ readonly items: {
5004
+ readonly type: "number";
5005
+ readonly precision: 1;
5006
+ readonly default: number;
5007
+ };
5008
+ readonly minItems: 3;
5009
+ readonly maxItems: 3;
5010
+ readonly default: readonly [0, 0, 0];
5011
+ };
5012
+ readonly metallicFactor: {
5013
+ readonly type: "number";
5014
+ readonly precision: 1;
5015
+ readonly default: number;
5016
+ };
5017
+ readonly roughnessFactor: {
5018
+ readonly type: "number";
5019
+ readonly precision: 1;
5020
+ readonly default: number;
5021
+ };
5022
+ readonly normalScale: {
5023
+ readonly type: "number";
5024
+ readonly precision: 1;
5025
+ readonly default: number;
5026
+ };
5027
+ readonly occlusionStrength: {
5028
+ readonly type: "number";
5029
+ readonly precision: 1;
5030
+ readonly default: number;
5031
+ };
5032
+ readonly irReflectance: {
5033
+ readonly type: "number";
5034
+ readonly precision: 1;
5035
+ readonly default: number;
5036
+ };
5037
+ readonly irEmission: {
5038
+ readonly type: "number";
5039
+ readonly precision: 1;
5040
+ readonly default: number;
5041
+ };
5042
+ readonly emissionMode: {
5043
+ readonly type: "integer";
5044
+ readonly minimum: 0;
5045
+ readonly maximum: 4294967295;
5046
+ readonly default: number;
5047
+ };
5048
+ readonly baseColorUrl: {
5049
+ readonly type: "string";
5050
+ };
5051
+ readonly metallicRoughnessUrl: {
5052
+ readonly type: "string";
5053
+ };
5054
+ readonly normalUrl: {
5055
+ readonly type: "string";
5056
+ };
5057
+ readonly occlusionUrl: {
5058
+ readonly type: "string";
5059
+ };
5060
+ readonly emissiveUrl: {
5061
+ readonly type: "string";
5062
+ };
5063
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5064
+ 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"];
5065
+ }, {
5066
+ readonly materialByName: {
5067
+ readonly key: "name";
5068
+ readonly unique: true;
5069
+ readonly archetype: "Material";
5070
+ };
5071
+ }, never>) => void;
5072
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5073
+ readonly material: {
5074
+ readonly type: "integer";
5075
+ readonly minimum: -2147483648;
5076
+ readonly maximum: 2147483647;
5077
+ readonly default: number;
5078
+ };
5079
+ readonly name: {
5080
+ readonly type: "string";
5081
+ };
5082
+ readonly density: {
5083
+ readonly type: "number";
5084
+ readonly precision: 1;
5085
+ readonly default: number;
5086
+ };
5087
+ readonly restitution: {
5088
+ readonly type: "number";
5089
+ readonly precision: 1;
5090
+ readonly default: number;
5091
+ };
5092
+ readonly friction: {
5093
+ readonly type: "number";
5094
+ readonly precision: 1;
5095
+ readonly default: number;
5096
+ };
5097
+ readonly compliance: {
5098
+ readonly type: "number";
5099
+ readonly precision: 1;
5100
+ readonly default: number;
5101
+ };
5102
+ readonly heatCapacity: {
5103
+ readonly type: "number";
5104
+ readonly precision: 1;
5105
+ readonly default: number;
5106
+ };
5107
+ readonly viscosity: {
5108
+ readonly type: "number";
5109
+ readonly precision: 1;
5110
+ readonly default: number;
5111
+ };
5112
+ readonly thermalConductivity: {
5113
+ readonly type: "number";
5114
+ readonly precision: 1;
5115
+ readonly default: number;
5116
+ };
5117
+ readonly stressStrainCurve: {
5118
+ readonly type: "object";
5119
+ readonly layout: "packed";
5120
+ readonly properties: {
5121
+ readonly tensileYieldStrainStress: {
5122
+ readonly type: "array";
5123
+ readonly items: {
5124
+ readonly type: "number";
5125
+ readonly precision: 1;
5126
+ readonly default: number;
5127
+ };
5128
+ readonly minItems: 2;
5129
+ readonly maxItems: 2;
5130
+ readonly default: readonly [0, 0];
5131
+ };
5132
+ readonly tensileFractureStrainStress: {
5133
+ readonly type: "array";
5134
+ readonly items: {
5135
+ readonly type: "number";
5136
+ readonly precision: 1;
5137
+ readonly default: number;
5138
+ };
5139
+ readonly minItems: 2;
5140
+ readonly maxItems: 2;
5141
+ readonly default: readonly [0, 0];
5142
+ };
5143
+ readonly compressiveYieldStrainStress: {
5144
+ readonly type: "array";
5145
+ readonly items: {
5146
+ readonly type: "number";
5147
+ readonly precision: 1;
5148
+ readonly default: number;
5149
+ };
5150
+ readonly minItems: 2;
5151
+ readonly maxItems: 2;
5152
+ readonly default: readonly [0, 0];
5153
+ };
5154
+ readonly compressiveFractureStrainStress: {
5155
+ readonly type: "array";
5156
+ readonly items: {
5157
+ readonly type: "number";
5158
+ readonly precision: 1;
5159
+ readonly default: number;
5160
+ };
5161
+ readonly minItems: 2;
5162
+ readonly maxItems: 2;
5163
+ readonly default: readonly [0, 0];
5164
+ };
5165
+ };
5166
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5167
+ };
5168
+ readonly baseColorFactor: {
5169
+ readonly type: "array";
5170
+ readonly items: {
5171
+ readonly type: "number";
5172
+ readonly precision: 1;
5173
+ readonly default: number;
5174
+ };
5175
+ readonly minItems: 4;
5176
+ readonly maxItems: 4;
5177
+ readonly default: readonly [0, 0, 0, 0];
5178
+ };
5179
+ readonly emissiveFactor: {
5180
+ readonly type: "array";
5181
+ readonly items: {
5182
+ readonly type: "number";
5183
+ readonly precision: 1;
5184
+ readonly default: number;
5185
+ };
5186
+ readonly minItems: 3;
5187
+ readonly maxItems: 3;
5188
+ readonly default: readonly [0, 0, 0];
5189
+ };
5190
+ readonly metallicFactor: {
5191
+ readonly type: "number";
5192
+ readonly precision: 1;
5193
+ readonly default: number;
5194
+ };
5195
+ readonly roughnessFactor: {
5196
+ readonly type: "number";
5197
+ readonly precision: 1;
5198
+ readonly default: number;
5199
+ };
5200
+ readonly normalScale: {
5201
+ readonly type: "number";
5202
+ readonly precision: 1;
5203
+ readonly default: number;
5204
+ };
5205
+ readonly occlusionStrength: {
5206
+ readonly type: "number";
5207
+ readonly precision: 1;
5208
+ readonly default: number;
5209
+ };
5210
+ readonly irReflectance: {
5211
+ readonly type: "number";
5212
+ readonly precision: 1;
5213
+ readonly default: number;
5214
+ };
5215
+ readonly irEmission: {
5216
+ readonly type: "number";
5217
+ readonly precision: 1;
5218
+ readonly default: number;
5219
+ };
5220
+ readonly emissionMode: {
5221
+ readonly type: "integer";
5222
+ readonly minimum: 0;
5223
+ readonly maximum: 4294967295;
5224
+ readonly default: number;
5225
+ };
5226
+ readonly baseColorUrl: {
5227
+ readonly type: "string";
5228
+ };
5229
+ readonly metallicRoughnessUrl: {
5230
+ readonly type: "string";
5231
+ };
5232
+ readonly normalUrl: {
5233
+ readonly type: "string";
5234
+ };
5235
+ readonly occlusionUrl: {
5236
+ readonly type: "string";
5237
+ };
5238
+ readonly emissiveUrl: {
5239
+ readonly type: "string";
5240
+ };
5241
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5242
+ 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"];
5243
+ }, {
5244
+ readonly materialByName: {
5245
+ readonly key: "name";
5246
+ readonly unique: true;
5247
+ readonly archetype: "Material";
5248
+ };
5249
+ }, never>) => void;
5250
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
5251
+ readonly materialByName: {
5252
+ readonly key: "name";
5253
+ readonly unique: true;
5254
+ readonly archetype: "Material";
5255
+ };
5256
+ }, never>, args: {
5257
+ ray: {
5258
+ readonly a: readonly [number, number, number];
5259
+ readonly b: readonly [number, number, number];
5260
+ };
5261
+ radius?: number;
5262
+ }) => import("../../physics/physics-hit.js").PhysicsHit | null;
5263
+ readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
5264
+ readonly bodyType: {
5265
+ readonly type: "string";
5266
+ readonly enum: readonly ["static", "dynamic", "kinematic"];
5267
+ };
5268
+ readonly colliderShape: {
5269
+ readonly type: "string";
5270
+ readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
5271
+ };
5272
+ readonly halfExtents: {
5273
+ readonly type: "array";
5274
+ readonly items: {
5275
+ readonly type: "number";
5276
+ readonly precision: 1;
5277
+ readonly default: number;
5278
+ };
5279
+ readonly minItems: 3;
5280
+ readonly maxItems: 3;
5281
+ readonly default: readonly [0, 0, 0];
5282
+ };
5283
+ readonly position: {
5284
+ readonly type: "array";
5285
+ readonly items: {
5286
+ readonly type: "number";
5287
+ readonly precision: 1;
5288
+ readonly default: number;
5289
+ };
5290
+ readonly minItems: 3;
5291
+ readonly maxItems: 3;
5292
+ readonly default: readonly [0, 0, 0];
5293
+ };
5294
+ readonly rotation: {
5295
+ readonly type: "array";
5296
+ readonly items: {
5297
+ readonly type: "number";
5298
+ readonly precision: 1;
5299
+ readonly default: number;
5300
+ };
5301
+ readonly minItems: 4;
5302
+ readonly maxItems: 4;
5303
+ readonly default: readonly [0, 0, 0, 1];
5304
+ readonly interpolators: {
5305
+ readonly linear: (q1: any, q2: any, t: number) => any;
5306
+ };
5307
+ };
5308
+ readonly linearVelocity: {
5309
+ readonly type: "array";
5310
+ readonly items: {
5311
+ readonly type: "number";
5312
+ readonly precision: 1;
5313
+ readonly default: number;
5314
+ };
5315
+ readonly minItems: 3;
5316
+ readonly maxItems: 3;
5317
+ readonly default: readonly [0, 0, 0];
5318
+ };
5319
+ readonly angularVelocity: {
5320
+ readonly type: "array";
5321
+ readonly items: {
5322
+ readonly type: "number";
5323
+ readonly precision: 1;
5324
+ readonly default: number;
5325
+ };
5326
+ readonly minItems: 3;
5327
+ readonly maxItems: 3;
5328
+ readonly default: readonly [0, 0, 0];
5329
+ };
5330
+ readonly _prevPosition: {
5331
+ readonly default: undefined;
5332
+ readonly nonPersistent: true;
5333
+ readonly type: "array";
5334
+ readonly items: {
5335
+ readonly type: "number";
5336
+ readonly precision: 1;
5337
+ readonly default: number;
5338
+ };
5339
+ readonly minItems: 3;
5340
+ readonly maxItems: 3;
5341
+ };
5342
+ readonly _prevRotation: {
5343
+ readonly default: undefined;
5344
+ readonly nonPersistent: true;
5345
+ readonly type: "array";
5346
+ readonly items: {
5347
+ readonly type: "number";
5348
+ readonly precision: 1;
5349
+ readonly default: number;
5350
+ };
5351
+ readonly minItems: 4;
5352
+ readonly maxItems: 4;
5353
+ readonly interpolators: {
5354
+ readonly linear: (q1: any, q2: any, t: number) => any;
5355
+ };
5356
+ };
5357
+ readonly collisionGroup: {
5358
+ readonly type: "number";
5359
+ readonly precision: 1;
5360
+ readonly default: number;
5361
+ };
5362
+ readonly convexPoints: {
5363
+ readonly default: Float32Array | null;
5364
+ };
5365
+ readonly colliderMesh: {
5366
+ readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
5367
+ };
5368
+ } & {
5369
+ readonly material: {
5370
+ readonly type: "integer";
5371
+ readonly minimum: -2147483648;
5372
+ readonly maximum: 2147483647;
5373
+ readonly default: number;
5374
+ };
5375
+ readonly name: {
5376
+ readonly type: "string";
5377
+ };
5378
+ readonly density: {
5379
+ readonly type: "number";
5380
+ readonly precision: 1;
5381
+ readonly default: number;
5382
+ };
5383
+ readonly restitution: {
5384
+ readonly type: "number";
5385
+ readonly precision: 1;
5386
+ readonly default: number;
5387
+ };
5388
+ readonly friction: {
5389
+ readonly type: "number";
5390
+ readonly precision: 1;
5391
+ readonly default: number;
5392
+ };
5393
+ readonly compliance: {
5394
+ readonly type: "number";
5395
+ readonly precision: 1;
5396
+ readonly default: number;
5397
+ };
5398
+ readonly heatCapacity: {
5399
+ readonly type: "number";
5400
+ readonly precision: 1;
5401
+ readonly default: number;
5402
+ };
5403
+ readonly viscosity: {
5404
+ readonly type: "number";
5405
+ readonly precision: 1;
5406
+ readonly default: number;
5407
+ };
5408
+ readonly thermalConductivity: {
5409
+ readonly type: "number";
5410
+ readonly precision: 1;
5411
+ readonly default: number;
5412
+ };
5413
+ readonly stressStrainCurve: {
5414
+ readonly type: "object";
5415
+ readonly layout: "packed";
5416
+ readonly properties: {
5417
+ readonly tensileYieldStrainStress: {
5418
+ readonly type: "array";
5419
+ readonly items: {
5420
+ readonly type: "number";
5421
+ readonly precision: 1;
5422
+ readonly default: number;
5423
+ };
5424
+ readonly minItems: 2;
5425
+ readonly maxItems: 2;
5426
+ readonly default: readonly [0, 0];
5427
+ };
5428
+ readonly tensileFractureStrainStress: {
5429
+ readonly type: "array";
5430
+ readonly items: {
5431
+ readonly type: "number";
5432
+ readonly precision: 1;
5433
+ readonly default: number;
5434
+ };
5435
+ readonly minItems: 2;
5436
+ readonly maxItems: 2;
5437
+ readonly default: readonly [0, 0];
5438
+ };
5439
+ readonly compressiveYieldStrainStress: {
5440
+ readonly type: "array";
5441
+ readonly items: {
5442
+ readonly type: "number";
5443
+ readonly precision: 1;
5444
+ readonly default: number;
5445
+ };
5446
+ readonly minItems: 2;
5447
+ readonly maxItems: 2;
5448
+ readonly default: readonly [0, 0];
5449
+ };
5450
+ readonly compressiveFractureStrainStress: {
5451
+ readonly type: "array";
5452
+ readonly items: {
5453
+ readonly type: "number";
5454
+ readonly precision: 1;
5455
+ readonly default: number;
5456
+ };
5457
+ readonly minItems: 2;
5458
+ readonly maxItems: 2;
5459
+ readonly default: readonly [0, 0];
5460
+ };
5461
+ };
5462
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5463
+ };
5464
+ readonly baseColorFactor: {
5465
+ readonly type: "array";
5466
+ readonly items: {
5467
+ readonly type: "number";
5468
+ readonly precision: 1;
5469
+ readonly default: number;
5470
+ };
5471
+ readonly minItems: 4;
5472
+ readonly maxItems: 4;
5473
+ readonly default: readonly [0, 0, 0, 0];
5474
+ };
5475
+ readonly emissiveFactor: {
5476
+ readonly type: "array";
5477
+ readonly items: {
5478
+ readonly type: "number";
5479
+ readonly precision: 1;
5480
+ readonly default: number;
5481
+ };
5482
+ readonly minItems: 3;
5483
+ readonly maxItems: 3;
5484
+ readonly default: readonly [0, 0, 0];
5485
+ };
5486
+ readonly metallicFactor: {
5487
+ readonly type: "number";
5488
+ readonly precision: 1;
5489
+ readonly default: number;
5490
+ };
5491
+ readonly roughnessFactor: {
5492
+ readonly type: "number";
5493
+ readonly precision: 1;
5494
+ readonly default: number;
5495
+ };
5496
+ readonly normalScale: {
5497
+ readonly type: "number";
5498
+ readonly precision: 1;
5499
+ readonly default: number;
5500
+ };
5501
+ readonly occlusionStrength: {
5502
+ readonly type: "number";
5503
+ readonly precision: 1;
5504
+ readonly default: number;
5505
+ };
5506
+ readonly irReflectance: {
5507
+ readonly type: "number";
5508
+ readonly precision: 1;
5509
+ readonly default: number;
5510
+ };
5511
+ readonly irEmission: {
5512
+ readonly type: "number";
5513
+ readonly precision: 1;
5514
+ readonly default: number;
5515
+ };
5516
+ readonly emissionMode: {
5517
+ readonly type: "integer";
5518
+ readonly minimum: 0;
5519
+ readonly maximum: 4294967295;
5520
+ readonly default: number;
5521
+ };
5522
+ readonly baseColorUrl: {
5523
+ readonly type: "string";
5524
+ };
5525
+ readonly metallicRoughnessUrl: {
5526
+ readonly type: "string";
5527
+ };
5528
+ readonly normalUrl: {
5529
+ readonly type: "string";
5530
+ };
5531
+ readonly occlusionUrl: {
5532
+ readonly type: "string";
5533
+ };
5534
+ readonly emissiveUrl: {
5535
+ readonly type: "string";
5536
+ };
5537
+ }>, import("@adobe/data/schema").FromSchemas<{
5538
+ readonly physicsQuery: {
5539
+ readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
5540
+ readonly nonPersistent: true;
5541
+ };
5542
+ } & {}>, {
5543
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
5544
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
5545
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
5546
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
5547
+ } & {
5548
+ 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"];
5549
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
5550
+ readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5551
+ readonly material: {
5552
+ readonly type: "integer";
5553
+ readonly minimum: -2147483648;
5554
+ readonly maximum: 2147483647;
5555
+ readonly default: number;
5556
+ };
5557
+ readonly name: {
5558
+ readonly type: "string";
5559
+ };
5560
+ readonly density: {
5561
+ readonly type: "number";
5562
+ readonly precision: 1;
5563
+ readonly default: number;
5564
+ };
5565
+ readonly restitution: {
5566
+ readonly type: "number";
5567
+ readonly precision: 1;
5568
+ readonly default: number;
5569
+ };
5570
+ readonly friction: {
5571
+ readonly type: "number";
5572
+ readonly precision: 1;
5573
+ readonly default: number;
5574
+ };
5575
+ readonly compliance: {
5576
+ readonly type: "number";
5577
+ readonly precision: 1;
5578
+ readonly default: number;
5579
+ };
5580
+ readonly heatCapacity: {
5581
+ readonly type: "number";
5582
+ readonly precision: 1;
5583
+ readonly default: number;
5584
+ };
5585
+ readonly viscosity: {
5586
+ readonly type: "number";
5587
+ readonly precision: 1;
5588
+ readonly default: number;
5589
+ };
5590
+ readonly thermalConductivity: {
5591
+ readonly type: "number";
5592
+ readonly precision: 1;
5593
+ readonly default: number;
5594
+ };
5595
+ readonly stressStrainCurve: {
5596
+ readonly type: "object";
5597
+ readonly layout: "packed";
5598
+ readonly properties: {
5599
+ readonly tensileYieldStrainStress: {
5600
+ readonly type: "array";
5601
+ readonly items: {
5602
+ readonly type: "number";
5603
+ readonly precision: 1;
5604
+ readonly default: number;
5605
+ };
5606
+ readonly minItems: 2;
5607
+ readonly maxItems: 2;
5608
+ readonly default: readonly [0, 0];
5609
+ };
5610
+ readonly tensileFractureStrainStress: {
5611
+ readonly type: "array";
5612
+ readonly items: {
5613
+ readonly type: "number";
5614
+ readonly precision: 1;
5615
+ readonly default: number;
5616
+ };
5617
+ readonly minItems: 2;
5618
+ readonly maxItems: 2;
5619
+ readonly default: readonly [0, 0];
5620
+ };
5621
+ readonly compressiveYieldStrainStress: {
5622
+ readonly type: "array";
5623
+ readonly items: {
5624
+ readonly type: "number";
5625
+ readonly precision: 1;
5626
+ readonly default: number;
5627
+ };
5628
+ readonly minItems: 2;
5629
+ readonly maxItems: 2;
5630
+ readonly default: readonly [0, 0];
5631
+ };
5632
+ readonly compressiveFractureStrainStress: {
5633
+ readonly type: "array";
5634
+ readonly items: {
5635
+ readonly type: "number";
5636
+ readonly precision: 1;
5637
+ readonly default: number;
5638
+ };
5639
+ readonly minItems: 2;
5640
+ readonly maxItems: 2;
5641
+ readonly default: readonly [0, 0];
5642
+ };
5643
+ };
5644
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5645
+ };
5646
+ readonly baseColorFactor: {
5647
+ readonly type: "array";
5648
+ readonly items: {
5649
+ readonly type: "number";
5650
+ readonly precision: 1;
5651
+ readonly default: number;
5652
+ };
5653
+ readonly minItems: 4;
5654
+ readonly maxItems: 4;
5655
+ readonly default: readonly [0, 0, 0, 0];
5656
+ };
5657
+ readonly emissiveFactor: {
5658
+ readonly type: "array";
5659
+ readonly items: {
5660
+ readonly type: "number";
5661
+ readonly precision: 1;
5662
+ readonly default: number;
5663
+ };
5664
+ readonly minItems: 3;
5665
+ readonly maxItems: 3;
5666
+ readonly default: readonly [0, 0, 0];
5667
+ };
5668
+ readonly metallicFactor: {
5669
+ readonly type: "number";
5670
+ readonly precision: 1;
5671
+ readonly default: number;
5672
+ };
5673
+ readonly roughnessFactor: {
5674
+ readonly type: "number";
5675
+ readonly precision: 1;
5676
+ readonly default: number;
5677
+ };
5678
+ readonly normalScale: {
5679
+ readonly type: "number";
5680
+ readonly precision: 1;
5681
+ readonly default: number;
5682
+ };
5683
+ readonly occlusionStrength: {
5684
+ readonly type: "number";
5685
+ readonly precision: 1;
5686
+ readonly default: number;
5687
+ };
5688
+ readonly irReflectance: {
5689
+ readonly type: "number";
5690
+ readonly precision: 1;
5691
+ readonly default: number;
5692
+ };
5693
+ readonly irEmission: {
5694
+ readonly type: "number";
5695
+ readonly precision: 1;
5696
+ readonly default: number;
5697
+ };
5698
+ readonly emissionMode: {
5699
+ readonly type: "integer";
5700
+ readonly minimum: 0;
5701
+ readonly maximum: 4294967295;
5702
+ readonly default: number;
5703
+ };
5704
+ readonly baseColorUrl: {
5705
+ readonly type: "string";
5706
+ };
5707
+ readonly metallicRoughnessUrl: {
5708
+ readonly type: "string";
5709
+ };
5710
+ readonly normalUrl: {
5711
+ readonly type: "string";
5712
+ };
5713
+ readonly occlusionUrl: {
5714
+ readonly type: "string";
5715
+ };
5716
+ readonly emissiveUrl: {
5717
+ readonly type: "string";
5718
+ };
5719
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5720
+ 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"];
5721
+ }, {
5722
+ readonly materialByName: {
5723
+ readonly key: "name";
5724
+ readonly unique: true;
5725
+ readonly archetype: "Material";
5726
+ };
5727
+ }, never>, row: import("../../material/public.js")) => Entity;
5728
+ readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5729
+ readonly material: {
5730
+ readonly type: "integer";
5731
+ readonly minimum: -2147483648;
5732
+ readonly maximum: 2147483647;
5733
+ readonly default: number;
5734
+ };
5735
+ readonly name: {
5736
+ readonly type: "string";
5737
+ };
5738
+ readonly density: {
5739
+ readonly type: "number";
5740
+ readonly precision: 1;
5741
+ readonly default: number;
5742
+ };
5743
+ readonly restitution: {
5744
+ readonly type: "number";
5745
+ readonly precision: 1;
5746
+ readonly default: number;
5747
+ };
5748
+ readonly friction: {
5749
+ readonly type: "number";
5750
+ readonly precision: 1;
5751
+ readonly default: number;
5752
+ };
5753
+ readonly compliance: {
5754
+ readonly type: "number";
5755
+ readonly precision: 1;
5756
+ readonly default: number;
5757
+ };
5758
+ readonly heatCapacity: {
5759
+ readonly type: "number";
5760
+ readonly precision: 1;
5761
+ readonly default: number;
5762
+ };
5763
+ readonly viscosity: {
5764
+ readonly type: "number";
5765
+ readonly precision: 1;
5766
+ readonly default: number;
5767
+ };
5768
+ readonly thermalConductivity: {
5769
+ readonly type: "number";
5770
+ readonly precision: 1;
5771
+ readonly default: number;
5772
+ };
5773
+ readonly stressStrainCurve: {
5774
+ readonly type: "object";
5775
+ readonly layout: "packed";
5776
+ readonly properties: {
5777
+ readonly tensileYieldStrainStress: {
5778
+ readonly type: "array";
5779
+ readonly items: {
5780
+ readonly type: "number";
5781
+ readonly precision: 1;
5782
+ readonly default: number;
5783
+ };
5784
+ readonly minItems: 2;
5785
+ readonly maxItems: 2;
5786
+ readonly default: readonly [0, 0];
5787
+ };
5788
+ readonly tensileFractureStrainStress: {
5789
+ readonly type: "array";
5790
+ readonly items: {
5791
+ readonly type: "number";
5792
+ readonly precision: 1;
5793
+ readonly default: number;
5794
+ };
5795
+ readonly minItems: 2;
5796
+ readonly maxItems: 2;
5797
+ readonly default: readonly [0, 0];
5798
+ };
5799
+ readonly compressiveYieldStrainStress: {
5800
+ readonly type: "array";
5801
+ readonly items: {
5802
+ readonly type: "number";
5803
+ readonly precision: 1;
5804
+ readonly default: number;
5805
+ };
5806
+ readonly minItems: 2;
5807
+ readonly maxItems: 2;
5808
+ readonly default: readonly [0, 0];
5809
+ };
5810
+ readonly compressiveFractureStrainStress: {
5811
+ readonly type: "array";
5812
+ readonly items: {
5813
+ readonly type: "number";
5814
+ readonly precision: 1;
5815
+ readonly default: number;
5816
+ };
5817
+ readonly minItems: 2;
5818
+ readonly maxItems: 2;
5819
+ readonly default: readonly [0, 0];
5820
+ };
5821
+ };
5822
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
5823
+ };
5824
+ readonly baseColorFactor: {
5825
+ readonly type: "array";
5826
+ readonly items: {
5827
+ readonly type: "number";
5828
+ readonly precision: 1;
5829
+ readonly default: number;
5830
+ };
5831
+ readonly minItems: 4;
5832
+ readonly maxItems: 4;
5833
+ readonly default: readonly [0, 0, 0, 0];
5834
+ };
5835
+ readonly emissiveFactor: {
5836
+ readonly type: "array";
5837
+ readonly items: {
5838
+ readonly type: "number";
5839
+ readonly precision: 1;
5840
+ readonly default: number;
5841
+ };
5842
+ readonly minItems: 3;
5843
+ readonly maxItems: 3;
5844
+ readonly default: readonly [0, 0, 0];
5845
+ };
5846
+ readonly metallicFactor: {
5847
+ readonly type: "number";
5848
+ readonly precision: 1;
5849
+ readonly default: number;
5850
+ };
5851
+ readonly roughnessFactor: {
5852
+ readonly type: "number";
5853
+ readonly precision: 1;
5854
+ readonly default: number;
5855
+ };
5856
+ readonly normalScale: {
5857
+ readonly type: "number";
5858
+ readonly precision: 1;
5859
+ readonly default: number;
5860
+ };
5861
+ readonly occlusionStrength: {
5862
+ readonly type: "number";
5863
+ readonly precision: 1;
5864
+ readonly default: number;
5865
+ };
5866
+ readonly irReflectance: {
5867
+ readonly type: "number";
5868
+ readonly precision: 1;
5869
+ readonly default: number;
5870
+ };
5871
+ readonly irEmission: {
5872
+ readonly type: "number";
5873
+ readonly precision: 1;
5874
+ readonly default: number;
5875
+ };
5876
+ readonly emissionMode: {
5877
+ readonly type: "integer";
5878
+ readonly minimum: 0;
5879
+ readonly maximum: 4294967295;
5880
+ readonly default: number;
5881
+ };
5882
+ readonly baseColorUrl: {
5883
+ readonly type: "string";
5884
+ };
5885
+ readonly metallicRoughnessUrl: {
5886
+ readonly type: "string";
5887
+ };
5888
+ readonly normalUrl: {
5889
+ readonly type: "string";
5890
+ };
5891
+ readonly occlusionUrl: {
5892
+ readonly type: "string";
5893
+ };
5894
+ readonly emissiveUrl: {
5895
+ readonly type: "string";
5896
+ };
5897
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
5898
+ 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"];
5899
+ }, {
5900
+ readonly materialByName: {
5901
+ readonly key: "name";
5902
+ readonly unique: true;
5903
+ readonly archetype: "Material";
5904
+ };
5905
+ }, never>, args: {
5906
+ name: string;
5907
+ definition: import("../../material/material-definition.js").MaterialDefinition;
5908
+ }) => Entity;
5909
+ readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
5910
+ readonly material: {
5911
+ readonly type: "integer";
5912
+ readonly minimum: -2147483648;
5913
+ readonly maximum: 2147483647;
5914
+ readonly default: number;
5915
+ };
5916
+ readonly name: {
5917
+ readonly type: "string";
5918
+ };
5919
+ readonly density: {
5920
+ readonly type: "number";
5921
+ readonly precision: 1;
5922
+ readonly default: number;
5923
+ };
5924
+ readonly restitution: {
5925
+ readonly type: "number";
5926
+ readonly precision: 1;
5927
+ readonly default: number;
5928
+ };
5929
+ readonly friction: {
5930
+ readonly type: "number";
5931
+ readonly precision: 1;
5932
+ readonly default: number;
5933
+ };
5934
+ readonly compliance: {
5935
+ readonly type: "number";
5936
+ readonly precision: 1;
5937
+ readonly default: number;
5938
+ };
5939
+ readonly heatCapacity: {
5940
+ readonly type: "number";
5941
+ readonly precision: 1;
5942
+ readonly default: number;
5943
+ };
5944
+ readonly viscosity: {
5945
+ readonly type: "number";
5946
+ readonly precision: 1;
5947
+ readonly default: number;
5948
+ };
5949
+ readonly thermalConductivity: {
5950
+ readonly type: "number";
5951
+ readonly precision: 1;
5952
+ readonly default: number;
5953
+ };
5954
+ readonly stressStrainCurve: {
5955
+ readonly type: "object";
5956
+ readonly layout: "packed";
5957
+ readonly properties: {
5958
+ readonly tensileYieldStrainStress: {
5959
+ readonly type: "array";
5960
+ readonly items: {
5961
+ readonly type: "number";
5962
+ readonly precision: 1;
5963
+ readonly default: number;
5964
+ };
5965
+ readonly minItems: 2;
5966
+ readonly maxItems: 2;
5967
+ readonly default: readonly [0, 0];
5968
+ };
5969
+ readonly tensileFractureStrainStress: {
5970
+ readonly type: "array";
5971
+ readonly items: {
5972
+ readonly type: "number";
5973
+ readonly precision: 1;
5974
+ readonly default: number;
5975
+ };
5976
+ readonly minItems: 2;
5977
+ readonly maxItems: 2;
5978
+ readonly default: readonly [0, 0];
5979
+ };
5980
+ readonly compressiveYieldStrainStress: {
5981
+ readonly type: "array";
5982
+ readonly items: {
5983
+ readonly type: "number";
5984
+ readonly precision: 1;
5985
+ readonly default: number;
5986
+ };
5987
+ readonly minItems: 2;
5988
+ readonly maxItems: 2;
5989
+ readonly default: readonly [0, 0];
5990
+ };
5991
+ readonly compressiveFractureStrainStress: {
5992
+ readonly type: "array";
5993
+ readonly items: {
5994
+ readonly type: "number";
5995
+ readonly precision: 1;
5996
+ readonly default: number;
5997
+ };
5998
+ readonly minItems: 2;
5999
+ readonly maxItems: 2;
6000
+ readonly default: readonly [0, 0];
6001
+ };
6002
+ };
6003
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6004
+ };
6005
+ readonly baseColorFactor: {
6006
+ readonly type: "array";
6007
+ readonly items: {
6008
+ readonly type: "number";
6009
+ readonly precision: 1;
6010
+ readonly default: number;
6011
+ };
6012
+ readonly minItems: 4;
6013
+ readonly maxItems: 4;
6014
+ readonly default: readonly [0, 0, 0, 0];
6015
+ };
6016
+ readonly emissiveFactor: {
6017
+ readonly type: "array";
6018
+ readonly items: {
6019
+ readonly type: "number";
6020
+ readonly precision: 1;
6021
+ readonly default: number;
6022
+ };
6023
+ readonly minItems: 3;
6024
+ readonly maxItems: 3;
6025
+ readonly default: readonly [0, 0, 0];
6026
+ };
6027
+ readonly metallicFactor: {
6028
+ readonly type: "number";
6029
+ readonly precision: 1;
6030
+ readonly default: number;
6031
+ };
6032
+ readonly roughnessFactor: {
6033
+ readonly type: "number";
6034
+ readonly precision: 1;
6035
+ readonly default: number;
6036
+ };
6037
+ readonly normalScale: {
6038
+ readonly type: "number";
6039
+ readonly precision: 1;
6040
+ readonly default: number;
6041
+ };
6042
+ readonly occlusionStrength: {
6043
+ readonly type: "number";
6044
+ readonly precision: 1;
6045
+ readonly default: number;
6046
+ };
6047
+ readonly irReflectance: {
6048
+ readonly type: "number";
6049
+ readonly precision: 1;
6050
+ readonly default: number;
6051
+ };
6052
+ readonly irEmission: {
6053
+ readonly type: "number";
6054
+ readonly precision: 1;
6055
+ readonly default: number;
6056
+ };
6057
+ readonly emissionMode: {
6058
+ readonly type: "integer";
6059
+ readonly minimum: 0;
6060
+ readonly maximum: 4294967295;
6061
+ readonly default: number;
6062
+ };
6063
+ readonly baseColorUrl: {
6064
+ readonly type: "string";
6065
+ };
6066
+ readonly metallicRoughnessUrl: {
6067
+ readonly type: "string";
6068
+ };
6069
+ readonly normalUrl: {
6070
+ readonly type: "string";
6071
+ };
6072
+ readonly occlusionUrl: {
6073
+ readonly type: "string";
6074
+ };
6075
+ readonly emissiveUrl: {
6076
+ readonly type: "string";
6077
+ };
6078
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6079
+ 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"];
6080
+ }, {
6081
+ readonly materialByName: {
6082
+ readonly key: "name";
6083
+ readonly unique: true;
6084
+ readonly archetype: "Material";
6085
+ };
6086
+ }, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
6087
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
6088
+ readonly material: {
6089
+ readonly type: "integer";
6090
+ readonly minimum: -2147483648;
6091
+ readonly maximum: 2147483647;
6092
+ readonly default: number;
6093
+ };
6094
+ readonly name: {
6095
+ readonly type: "string";
6096
+ };
6097
+ readonly density: {
6098
+ readonly type: "number";
6099
+ readonly precision: 1;
6100
+ readonly default: number;
6101
+ };
6102
+ readonly restitution: {
6103
+ readonly type: "number";
6104
+ readonly precision: 1;
6105
+ readonly default: number;
6106
+ };
6107
+ readonly friction: {
6108
+ readonly type: "number";
6109
+ readonly precision: 1;
6110
+ readonly default: number;
6111
+ };
6112
+ readonly compliance: {
6113
+ readonly type: "number";
6114
+ readonly precision: 1;
6115
+ readonly default: number;
6116
+ };
6117
+ readonly heatCapacity: {
6118
+ readonly type: "number";
6119
+ readonly precision: 1;
6120
+ readonly default: number;
6121
+ };
6122
+ readonly viscosity: {
6123
+ readonly type: "number";
6124
+ readonly precision: 1;
6125
+ readonly default: number;
6126
+ };
6127
+ readonly thermalConductivity: {
6128
+ readonly type: "number";
6129
+ readonly precision: 1;
6130
+ readonly default: number;
6131
+ };
6132
+ readonly stressStrainCurve: {
6133
+ readonly type: "object";
6134
+ readonly layout: "packed";
6135
+ readonly properties: {
6136
+ readonly tensileYieldStrainStress: {
6137
+ readonly type: "array";
6138
+ readonly items: {
6139
+ readonly type: "number";
6140
+ readonly precision: 1;
6141
+ readonly default: number;
6142
+ };
6143
+ readonly minItems: 2;
6144
+ readonly maxItems: 2;
6145
+ readonly default: readonly [0, 0];
6146
+ };
6147
+ readonly tensileFractureStrainStress: {
6148
+ readonly type: "array";
6149
+ readonly items: {
6150
+ readonly type: "number";
6151
+ readonly precision: 1;
6152
+ readonly default: number;
6153
+ };
6154
+ readonly minItems: 2;
6155
+ readonly maxItems: 2;
6156
+ readonly default: readonly [0, 0];
6157
+ };
6158
+ readonly compressiveYieldStrainStress: {
6159
+ readonly type: "array";
6160
+ readonly items: {
6161
+ readonly type: "number";
6162
+ readonly precision: 1;
6163
+ readonly default: number;
6164
+ };
6165
+ readonly minItems: 2;
6166
+ readonly maxItems: 2;
6167
+ readonly default: readonly [0, 0];
6168
+ };
6169
+ readonly compressiveFractureStrainStress: {
6170
+ readonly type: "array";
6171
+ readonly items: {
6172
+ readonly type: "number";
6173
+ readonly precision: 1;
6174
+ readonly default: number;
6175
+ };
6176
+ readonly minItems: 2;
6177
+ readonly maxItems: 2;
6178
+ readonly default: readonly [0, 0];
6179
+ };
6180
+ };
6181
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6182
+ };
6183
+ readonly baseColorFactor: {
6184
+ readonly type: "array";
6185
+ readonly items: {
6186
+ readonly type: "number";
6187
+ readonly precision: 1;
6188
+ readonly default: number;
6189
+ };
6190
+ readonly minItems: 4;
6191
+ readonly maxItems: 4;
6192
+ readonly default: readonly [0, 0, 0, 0];
6193
+ };
6194
+ readonly emissiveFactor: {
6195
+ readonly type: "array";
6196
+ readonly items: {
6197
+ readonly type: "number";
6198
+ readonly precision: 1;
6199
+ readonly default: number;
6200
+ };
6201
+ readonly minItems: 3;
6202
+ readonly maxItems: 3;
6203
+ readonly default: readonly [0, 0, 0];
6204
+ };
6205
+ readonly metallicFactor: {
6206
+ readonly type: "number";
6207
+ readonly precision: 1;
6208
+ readonly default: number;
6209
+ };
6210
+ readonly roughnessFactor: {
6211
+ readonly type: "number";
6212
+ readonly precision: 1;
6213
+ readonly default: number;
6214
+ };
6215
+ readonly normalScale: {
6216
+ readonly type: "number";
6217
+ readonly precision: 1;
6218
+ readonly default: number;
6219
+ };
6220
+ readonly occlusionStrength: {
6221
+ readonly type: "number";
6222
+ readonly precision: 1;
6223
+ readonly default: number;
6224
+ };
6225
+ readonly irReflectance: {
6226
+ readonly type: "number";
6227
+ readonly precision: 1;
6228
+ readonly default: number;
6229
+ };
6230
+ readonly irEmission: {
6231
+ readonly type: "number";
6232
+ readonly precision: 1;
6233
+ readonly default: number;
6234
+ };
6235
+ readonly emissionMode: {
6236
+ readonly type: "integer";
6237
+ readonly minimum: 0;
6238
+ readonly maximum: 4294967295;
6239
+ readonly default: number;
6240
+ };
6241
+ readonly baseColorUrl: {
6242
+ readonly type: "string";
6243
+ };
6244
+ readonly metallicRoughnessUrl: {
6245
+ readonly type: "string";
6246
+ };
6247
+ readonly normalUrl: {
6248
+ readonly type: "string";
6249
+ };
6250
+ readonly occlusionUrl: {
6251
+ readonly type: "string";
6252
+ };
6253
+ readonly emissiveUrl: {
6254
+ readonly type: "string";
6255
+ };
6256
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6257
+ 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"];
6258
+ }, {
6259
+ readonly materialByName: {
6260
+ readonly key: "name";
6261
+ readonly unique: true;
6262
+ readonly archetype: "Material";
6263
+ };
6264
+ }, never>) => void;
6265
+ readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
6266
+ readonly material: {
6267
+ readonly type: "integer";
6268
+ readonly minimum: -2147483648;
6269
+ readonly maximum: 2147483647;
6270
+ readonly default: number;
6271
+ };
6272
+ readonly name: {
6273
+ readonly type: "string";
6274
+ };
6275
+ readonly density: {
6276
+ readonly type: "number";
6277
+ readonly precision: 1;
6278
+ readonly default: number;
6279
+ };
6280
+ readonly restitution: {
6281
+ readonly type: "number";
6282
+ readonly precision: 1;
6283
+ readonly default: number;
6284
+ };
6285
+ readonly friction: {
6286
+ readonly type: "number";
6287
+ readonly precision: 1;
6288
+ readonly default: number;
6289
+ };
6290
+ readonly compliance: {
6291
+ readonly type: "number";
6292
+ readonly precision: 1;
6293
+ readonly default: number;
6294
+ };
6295
+ readonly heatCapacity: {
6296
+ readonly type: "number";
6297
+ readonly precision: 1;
6298
+ readonly default: number;
6299
+ };
6300
+ readonly viscosity: {
6301
+ readonly type: "number";
6302
+ readonly precision: 1;
6303
+ readonly default: number;
6304
+ };
6305
+ readonly thermalConductivity: {
6306
+ readonly type: "number";
6307
+ readonly precision: 1;
6308
+ readonly default: number;
6309
+ };
6310
+ readonly stressStrainCurve: {
6311
+ readonly type: "object";
6312
+ readonly layout: "packed";
6313
+ readonly properties: {
6314
+ readonly tensileYieldStrainStress: {
6315
+ readonly type: "array";
6316
+ readonly items: {
6317
+ readonly type: "number";
6318
+ readonly precision: 1;
6319
+ readonly default: number;
6320
+ };
6321
+ readonly minItems: 2;
6322
+ readonly maxItems: 2;
6323
+ readonly default: readonly [0, 0];
6324
+ };
6325
+ readonly tensileFractureStrainStress: {
6326
+ readonly type: "array";
6327
+ readonly items: {
6328
+ readonly type: "number";
6329
+ readonly precision: 1;
6330
+ readonly default: number;
6331
+ };
6332
+ readonly minItems: 2;
6333
+ readonly maxItems: 2;
6334
+ readonly default: readonly [0, 0];
6335
+ };
6336
+ readonly compressiveYieldStrainStress: {
6337
+ readonly type: "array";
6338
+ readonly items: {
6339
+ readonly type: "number";
6340
+ readonly precision: 1;
6341
+ readonly default: number;
6342
+ };
6343
+ readonly minItems: 2;
6344
+ readonly maxItems: 2;
6345
+ readonly default: readonly [0, 0];
6346
+ };
6347
+ readonly compressiveFractureStrainStress: {
6348
+ readonly type: "array";
6349
+ readonly items: {
6350
+ readonly type: "number";
6351
+ readonly precision: 1;
6352
+ readonly default: number;
6353
+ };
6354
+ readonly minItems: 2;
6355
+ readonly maxItems: 2;
6356
+ readonly default: readonly [0, 0];
6357
+ };
6358
+ };
6359
+ readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
6360
+ };
6361
+ readonly baseColorFactor: {
6362
+ readonly type: "array";
6363
+ readonly items: {
6364
+ readonly type: "number";
6365
+ readonly precision: 1;
6366
+ readonly default: number;
6367
+ };
6368
+ readonly minItems: 4;
6369
+ readonly maxItems: 4;
6370
+ readonly default: readonly [0, 0, 0, 0];
6371
+ };
6372
+ readonly emissiveFactor: {
6373
+ readonly type: "array";
6374
+ readonly items: {
6375
+ readonly type: "number";
6376
+ readonly precision: 1;
6377
+ readonly default: number;
6378
+ };
6379
+ readonly minItems: 3;
6380
+ readonly maxItems: 3;
6381
+ readonly default: readonly [0, 0, 0];
6382
+ };
6383
+ readonly metallicFactor: {
6384
+ readonly type: "number";
6385
+ readonly precision: 1;
6386
+ readonly default: number;
6387
+ };
6388
+ readonly roughnessFactor: {
6389
+ readonly type: "number";
6390
+ readonly precision: 1;
6391
+ readonly default: number;
6392
+ };
6393
+ readonly normalScale: {
6394
+ readonly type: "number";
6395
+ readonly precision: 1;
6396
+ readonly default: number;
6397
+ };
6398
+ readonly occlusionStrength: {
6399
+ readonly type: "number";
6400
+ readonly precision: 1;
6401
+ readonly default: number;
6402
+ };
6403
+ readonly irReflectance: {
6404
+ readonly type: "number";
6405
+ readonly precision: 1;
6406
+ readonly default: number;
6407
+ };
6408
+ readonly irEmission: {
6409
+ readonly type: "number";
6410
+ readonly precision: 1;
6411
+ readonly default: number;
6412
+ };
6413
+ readonly emissionMode: {
6414
+ readonly type: "integer";
6415
+ readonly minimum: 0;
6416
+ readonly maximum: 4294967295;
6417
+ readonly default: number;
6418
+ };
6419
+ readonly baseColorUrl: {
6420
+ readonly type: "string";
6421
+ };
6422
+ readonly metallicRoughnessUrl: {
6423
+ readonly type: "string";
6424
+ };
6425
+ readonly normalUrl: {
6426
+ readonly type: "string";
6427
+ };
6428
+ readonly occlusionUrl: {
6429
+ readonly type: "string";
6430
+ };
6431
+ readonly emissiveUrl: {
6432
+ readonly type: "string";
6433
+ };
6434
+ }>, import("@adobe/data/schema").FromSchemas<{}>, {
6435
+ 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"];
6436
+ }, {
6437
+ readonly materialByName: {
6438
+ readonly key: "name";
6439
+ readonly unique: true;
6440
+ readonly archetype: "Material";
6441
+ };
6442
+ }, never>) => void;
6443
+ }>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
6444
+ readonly materialByName: {
6445
+ readonly key: "name";
6446
+ readonly unique: true;
6447
+ readonly archetype: "Material";
6448
+ };
6449
+ }, never>, args: {
6450
+ ray: {
6451
+ readonly a: readonly [number, number, number];
6452
+ readonly b: readonly [number, number, number];
6453
+ };
6454
+ visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
6455
+ radius?: number;
6456
+ }) => void;
6457
+ };
6458
+ readonly services: {};
6459
+ readonly computed: {};
6460
+ readonly indexes: {
6461
+ readonly nodeChildrenOf: {
6462
+ readonly key: "parent";
6463
+ readonly archetype: "Node";
6464
+ };
6465
+ } & {} & {} & {} & {
4094
6466
  readonly materialByName: {
4095
6467
  readonly key: "name";
4096
6468
  readonly unique: true;
4097
6469
  readonly archetype: "Material";
4098
6470
  };
4099
- } & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
6471
+ } & {} & {} & {} & {} & {} & {} & {} & {} & {};
4100
6472
  };