@adobe/data-gpu 0.9.73 → 0.9.75

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.
@@ -1,7 +1,231 @@
1
1
  import { 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
+ readonly visible: {
6
+ readonly type: "boolean";
7
+ readonly const: true;
8
+ readonly default: true;
9
+ };
10
+ readonly position: {
11
+ readonly type: "array";
12
+ readonly items: {
13
+ readonly type: "number";
14
+ readonly precision: 1;
15
+ readonly default: number;
16
+ };
17
+ readonly minItems: 3;
18
+ readonly maxItems: 3;
19
+ readonly default: readonly [0, 0, 0];
20
+ };
21
+ readonly rotation: {
22
+ readonly type: "array";
23
+ readonly items: {
24
+ readonly type: "number";
25
+ readonly precision: 1;
26
+ readonly default: number;
27
+ };
28
+ readonly minItems: 4;
29
+ readonly maxItems: 4;
30
+ readonly default: readonly [0, 0, 0, 1];
31
+ readonly interpolators: {
32
+ readonly linear: (q1: any, q2: any, t: number) => any;
33
+ };
34
+ };
35
+ readonly scale: {
36
+ readonly type: "array";
37
+ readonly items: {
38
+ readonly type: "number";
39
+ readonly precision: 1;
40
+ readonly default: number;
41
+ };
42
+ readonly minItems: 3;
43
+ readonly maxItems: 3;
44
+ readonly default: readonly [0, 0, 0];
45
+ };
46
+ readonly parent: {
47
+ readonly type: "integer";
48
+ readonly minimum: -2147483648;
49
+ readonly maximum: 2147483647;
50
+ readonly default: number;
51
+ };
52
+ readonly _worldMatrix: {
53
+ readonly type: "array";
54
+ readonly items: {
55
+ readonly type: "number";
56
+ readonly precision: 1;
57
+ readonly default: number;
58
+ };
59
+ readonly minItems: 16;
60
+ readonly maxItems: 16;
61
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
62
+ };
63
+ readonly _worldBounds: {
64
+ readonly type: "object";
65
+ readonly properties: {
66
+ readonly min: {
67
+ readonly type: "array";
68
+ readonly items: {
69
+ readonly type: "number";
70
+ readonly precision: 1;
71
+ readonly default: number;
72
+ };
73
+ readonly minItems: 3;
74
+ readonly maxItems: 3;
75
+ readonly default: readonly [0, 0, 0];
76
+ };
77
+ readonly max: {
78
+ readonly type: "array";
79
+ readonly items: {
80
+ readonly type: "number";
81
+ readonly precision: 1;
82
+ readonly default: number;
83
+ };
84
+ readonly minItems: 3;
85
+ readonly maxItems: 3;
86
+ readonly default: readonly [0, 0, 0];
87
+ };
88
+ };
89
+ readonly required: readonly ["min", "max"];
90
+ readonly additionalProperties: false;
91
+ readonly default: {
92
+ readonly min: readonly [0, 0, 0];
93
+ readonly max: readonly [0, 0, 0];
94
+ };
95
+ };
96
+ } & {} & {
97
+ readonly _vertexBuffer: {
98
+ readonly default: GPUBuffer | null;
99
+ };
100
+ readonly _skinVertexBuffer: {
101
+ readonly default: GPUBuffer | null;
102
+ };
103
+ readonly _indexBuffer: {
104
+ readonly default: GPUBuffer | null;
105
+ };
106
+ readonly _indexCount: {
107
+ readonly type: "integer";
108
+ readonly minimum: 0;
109
+ readonly maximum: 4294967295;
110
+ readonly default: number;
111
+ };
112
+ readonly _indexFormat: {
113
+ readonly default: GPUIndexFormat;
114
+ };
115
+ readonly _materialBindGroup: {
116
+ readonly default: GPUBindGroup | null;
117
+ };
118
+ readonly _geometry: {
119
+ readonly type: "integer";
120
+ readonly minimum: -2147483648;
121
+ readonly maximum: 2147483647;
122
+ readonly default: number;
123
+ };
124
+ readonly _material: {
125
+ readonly type: "integer";
126
+ readonly minimum: -2147483648;
127
+ readonly maximum: 2147483647;
128
+ readonly default: number;
129
+ };
130
+ readonly _nodeLocalMatrix: {
131
+ readonly type: "array";
132
+ readonly items: {
133
+ readonly type: "number";
134
+ readonly precision: 1;
135
+ readonly default: number;
136
+ };
137
+ readonly minItems: 16;
138
+ readonly maxItems: 16;
139
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
140
+ };
141
+ readonly _skeletonModelRef: {
142
+ readonly type: "integer";
143
+ readonly minimum: -2147483648;
144
+ readonly maximum: 2147483647;
145
+ readonly default: number;
146
+ };
147
+ readonly _skeletonJointMatrixBindGroup: {
148
+ readonly default: GPUBindGroup | null;
149
+ };
150
+ } & {
151
+ readonly modelUrl: {
152
+ readonly type: "string";
153
+ };
154
+ readonly geometry: {
155
+ readonly type: "integer";
156
+ readonly minimum: -2147483648;
157
+ readonly maximum: 2147483647;
158
+ readonly default: number;
159
+ };
160
+ } & {
161
+ readonly animationClipTracks: {
162
+ readonly default: import("../animation/animation-track/public.js")[];
163
+ };
164
+ readonly animationClipDuration: {
165
+ readonly type: "number";
166
+ readonly precision: 2;
167
+ readonly default: number;
168
+ };
169
+ readonly animationClipRef: {
170
+ readonly type: "integer";
171
+ readonly minimum: -2147483648;
172
+ readonly maximum: 2147483647;
173
+ readonly default: number;
174
+ };
175
+ readonly animationTargets: {
176
+ readonly default: Entity[];
177
+ };
178
+ readonly animationTime: {
179
+ readonly type: "number";
180
+ readonly precision: 2;
181
+ readonly default: number;
182
+ };
183
+ readonly animationSpeed: {
184
+ readonly default: 1;
185
+ readonly type: "number";
186
+ readonly precision: 1;
187
+ };
188
+ readonly animationLoop: {
189
+ readonly type: "boolean";
190
+ };
191
+ readonly animationPlaying: {
192
+ readonly type: "boolean";
193
+ };
194
+ readonly animationObservable: {
195
+ readonly type: "boolean";
196
+ readonly const: true;
197
+ readonly default: true;
198
+ };
199
+ } & {
200
+ readonly _bounds: {
201
+ readonly default: {
202
+ readonly min: readonly [number, number, number];
203
+ readonly max: readonly [number, number, number];
204
+ } | null;
205
+ };
206
+ readonly _skinJointTemplate: {
207
+ readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
208
+ };
209
+ readonly _skinInverseBindMatrices: {
210
+ readonly default: Float32Array | null;
211
+ };
212
+ readonly _animationClipRefs: {
213
+ readonly default: number[];
214
+ };
215
+ readonly _cpuPositions: {
216
+ readonly default: Float32Array | null;
217
+ };
218
+ readonly _cpuIndices: {
219
+ readonly default: Uint32Array | null;
220
+ };
221
+ readonly _cpuSkin: {
222
+ readonly default: {
223
+ positions: Float32Array;
224
+ joints: Uint32Array;
225
+ weights: Float32Array;
226
+ } | null;
227
+ };
228
+ } & {
5
229
  readonly material: {
6
230
  readonly type: "integer";
7
231
  readonly minimum: -2147483648;
@@ -196,6 +420,22 @@ export declare const boneColliders: {
196
420
  readonly colliderMesh: {
197
421
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
198
422
  };
423
+ } & {
424
+ readonly _skeletonJoints: {
425
+ readonly default: number[];
426
+ };
427
+ readonly _skeletonGeometry: {
428
+ readonly type: "integer";
429
+ readonly minimum: -2147483648;
430
+ readonly maximum: 2147483647;
431
+ readonly default: number;
432
+ };
433
+ readonly _skeletonInstanceBuffer: {
434
+ readonly default: GPUBuffer | null;
435
+ };
436
+ readonly _skeletonJointMatrixBuffer: {
437
+ readonly default: GPUBuffer | null;
438
+ };
199
439
  } & {
200
440
  readonly jointType: {
201
441
  readonly type: "string";
@@ -245,261 +485,21 @@ export declare const boneColliders: {
245
485
  readonly minItems: 3;
246
486
  readonly maxItems: 3;
247
487
  readonly default: readonly [0, 0, 0];
248
- };
249
- readonly jointMinLimit: {
250
- readonly type: "number";
251
- readonly precision: 1;
252
- readonly default: number;
253
- };
254
- readonly jointMaxLimit: {
255
- readonly type: "number";
256
- readonly precision: 1;
257
- readonly default: number;
258
- };
259
- readonly jointSwingLimit: {
260
- readonly type: "number";
261
- readonly precision: 1;
262
- readonly default: number;
263
- };
264
- } & {
265
- readonly visible: {
266
- readonly type: "boolean";
267
- readonly const: true;
268
- readonly default: true;
269
- };
270
- readonly position: {
271
- readonly type: "array";
272
- readonly items: {
273
- readonly type: "number";
274
- readonly precision: 1;
275
- readonly default: number;
276
- };
277
- readonly minItems: 3;
278
- readonly maxItems: 3;
279
- readonly default: readonly [0, 0, 0];
280
- };
281
- readonly rotation: {
282
- readonly type: "array";
283
- readonly items: {
284
- readonly type: "number";
285
- readonly precision: 1;
286
- readonly default: number;
287
- };
288
- readonly minItems: 4;
289
- readonly maxItems: 4;
290
- readonly default: readonly [0, 0, 0, 1];
291
- readonly interpolators: {
292
- readonly linear: (q1: any, q2: any, t: number) => any;
293
- };
294
- };
295
- readonly scale: {
296
- readonly type: "array";
297
- readonly items: {
298
- readonly type: "number";
299
- readonly precision: 1;
300
- readonly default: number;
301
- };
302
- readonly minItems: 3;
303
- readonly maxItems: 3;
304
- readonly default: readonly [0, 0, 0];
305
- };
306
- readonly parent: {
307
- readonly type: "integer";
308
- readonly minimum: -2147483648;
309
- readonly maximum: 2147483647;
310
- readonly default: number;
311
- };
312
- readonly _worldMatrix: {
313
- readonly type: "array";
314
- readonly items: {
315
- readonly type: "number";
316
- readonly precision: 1;
317
- readonly default: number;
318
- };
319
- readonly minItems: 16;
320
- readonly maxItems: 16;
321
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
322
- };
323
- readonly _worldBounds: {
324
- readonly type: "object";
325
- readonly properties: {
326
- readonly min: {
327
- readonly type: "array";
328
- readonly items: {
329
- readonly type: "number";
330
- readonly precision: 1;
331
- readonly default: number;
332
- };
333
- readonly minItems: 3;
334
- readonly maxItems: 3;
335
- readonly default: readonly [0, 0, 0];
336
- };
337
- readonly max: {
338
- readonly type: "array";
339
- readonly items: {
340
- readonly type: "number";
341
- readonly precision: 1;
342
- readonly default: number;
343
- };
344
- readonly minItems: 3;
345
- readonly maxItems: 3;
346
- readonly default: readonly [0, 0, 0];
347
- };
348
- };
349
- readonly required: readonly ["min", "max"];
350
- readonly additionalProperties: false;
351
- readonly default: {
352
- readonly min: readonly [0, 0, 0];
353
- readonly max: readonly [0, 0, 0];
354
- };
355
- };
356
- } & {
357
- readonly _vertexBuffer: {
358
- readonly default: GPUBuffer | null;
359
- };
360
- readonly _skinVertexBuffer: {
361
- readonly default: GPUBuffer | null;
362
- };
363
- readonly _indexBuffer: {
364
- readonly default: GPUBuffer | null;
365
- };
366
- readonly _indexCount: {
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
- };
375
- readonly _materialBindGroup: {
376
- readonly default: GPUBindGroup | null;
377
- };
378
- readonly _geometry: {
379
- readonly type: "integer";
380
- readonly minimum: -2147483648;
381
- readonly maximum: 2147483647;
382
- readonly default: number;
383
- };
384
- readonly _material: {
385
- readonly type: "integer";
386
- readonly minimum: -2147483648;
387
- readonly maximum: 2147483647;
388
- readonly default: number;
389
- };
390
- readonly _nodeLocalMatrix: {
391
- readonly type: "array";
392
- readonly items: {
393
- readonly type: "number";
394
- readonly precision: 1;
395
- readonly default: number;
396
- };
397
- readonly minItems: 16;
398
- readonly maxItems: 16;
399
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
400
- };
401
- readonly _skeletonModelRef: {
402
- readonly type: "integer";
403
- readonly minimum: -2147483648;
404
- readonly maximum: 2147483647;
405
- readonly default: number;
406
- };
407
- readonly _skeletonJointMatrixBindGroup: {
408
- readonly default: GPUBindGroup | null;
409
- };
410
- } & {
411
- readonly modelUrl: {
412
- readonly type: "string";
413
- };
414
- readonly geometry: {
415
- readonly type: "integer";
416
- readonly minimum: -2147483648;
417
- readonly maximum: 2147483647;
418
- readonly default: number;
419
- };
420
- } & {
421
- readonly animationClipTracks: {
422
- readonly default: import("../animation/animation-track/public.js")[];
423
- };
424
- readonly animationClipDuration: {
425
- readonly type: "number";
426
- readonly precision: 2;
427
- readonly default: number;
428
- };
429
- readonly animationClipRef: {
430
- readonly type: "integer";
431
- readonly minimum: -2147483648;
432
- readonly maximum: 2147483647;
433
- readonly default: number;
434
- };
435
- readonly animationTargets: {
436
- readonly default: Entity[];
437
- };
438
- readonly animationTime: {
439
- readonly type: "number";
440
- readonly precision: 2;
441
- readonly default: number;
442
- };
443
- readonly animationSpeed: {
444
- readonly default: 1;
445
- readonly type: "number";
446
- readonly precision: 1;
447
- };
448
- readonly animationLoop: {
449
- readonly type: "boolean";
450
- };
451
- readonly animationPlaying: {
452
- readonly type: "boolean";
453
- };
454
- readonly animationObservable: {
455
- readonly type: "boolean";
456
- readonly const: true;
457
- readonly default: true;
458
- };
459
- } & {
460
- readonly _bounds: {
461
- readonly default: {
462
- readonly min: readonly [number, number, number];
463
- readonly max: readonly [number, number, number];
464
- } | null;
465
- };
466
- readonly _skinJointTemplate: {
467
- readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
468
- };
469
- readonly _skinInverseBindMatrices: {
470
- readonly default: Float32Array | null;
471
- };
472
- readonly _animationClipRefs: {
473
- readonly default: number[];
474
- };
475
- readonly _cpuPositions: {
476
- readonly default: Float32Array | null;
477
- };
478
- readonly _cpuIndices: {
479
- readonly default: Uint32Array | null;
480
- };
481
- readonly _cpuSkin: {
482
- readonly default: {
483
- positions: Float32Array;
484
- joints: Uint32Array;
485
- weights: Float32Array;
486
- } | null;
487
- };
488
- } & {
489
- readonly _skeletonJoints: {
490
- readonly default: number[];
491
- };
492
- readonly _skeletonGeometry: {
493
- readonly type: "integer";
494
- readonly minimum: -2147483648;
495
- readonly maximum: 2147483647;
488
+ };
489
+ readonly jointMinLimit: {
490
+ readonly type: "number";
491
+ readonly precision: 1;
496
492
  readonly default: number;
497
493
  };
498
- readonly _skeletonInstanceBuffer: {
499
- readonly default: GPUBuffer | null;
494
+ readonly jointMaxLimit: {
495
+ readonly type: "number";
496
+ readonly precision: 1;
497
+ readonly default: number;
500
498
  };
501
- readonly _skeletonJointMatrixBuffer: {
502
- readonly default: GPUBuffer | null;
499
+ readonly jointSwingLimit: {
500
+ readonly type: "number";
501
+ readonly precision: 1;
502
+ readonly default: number;
503
503
  };
504
504
  } & {
505
505
  readonly _boneJoint: {
@@ -540,10 +540,6 @@ export declare const boneColliders: {
540
540
  };
541
541
  };
542
542
  readonly resources: {} & {
543
- readonly materials: {
544
- readonly default: Record<string, Entity>;
545
- };
546
- } & {
547
543
  readonly frameTime: {
548
544
  readonly default: import("../../core/frame-time/public.js");
549
545
  readonly nonPersistent: true;
@@ -561,24 +557,19 @@ export declare const boneColliders: {
561
557
  readonly default: GPUCommandEncoder | null;
562
558
  readonly nonPersistent: true;
563
559
  };
560
+ } & {
561
+ readonly materials: {
562
+ readonly default: Record<string, Entity>;
563
+ };
564
564
  } & {
565
565
  readonly _ragdollTrigger: {
566
566
  readonly default: boolean;
567
567
  readonly nonPersistent: true;
568
568
  };
569
569
  };
570
- readonly archetypes: {} & {
571
- readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
572
- } & {
573
- readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
574
- readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
575
- readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
576
- readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
577
- } & {
578
- readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
579
- } & {
570
+ readonly archetypes: {
580
571
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
581
- } & {} & {
572
+ } & {} & {} & {
582
573
  readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
583
574
  readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
584
575
  } & {
@@ -589,111 +580,20 @@ export declare const boneColliders: {
589
580
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
590
581
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
591
582
  } & {} & {} & {
583
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
584
+ } & {
585
+ readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
586
+ readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
587
+ readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
588
+ readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
589
+ } & {
592
590
  readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonGeometry", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
591
+ } & {
592
+ readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
593
593
  } & {
594
594
  readonly BoneCapsule: readonly ["bodyType", "colliderShape", "halfExtents", "material", "collisionGroup", "position", "rotation", "linearVelocity", "angularVelocity", "_boneJoint", "_boneOffsetPos", "_boneOffsetRot"];
595
595
  };
596
- readonly transactions: {
597
- readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
598
- readonly material: {
599
- readonly type: "integer";
600
- readonly minimum: -2147483648;
601
- readonly maximum: 2147483647;
602
- readonly default: number;
603
- };
604
- readonly name: {
605
- readonly type: "string";
606
- };
607
- readonly density: {
608
- readonly type: "number";
609
- readonly precision: 1;
610
- readonly default: number;
611
- };
612
- readonly restitution: {
613
- readonly type: "number";
614
- readonly precision: 1;
615
- readonly default: number;
616
- };
617
- readonly friction: {
618
- readonly type: "number";
619
- readonly precision: 1;
620
- readonly default: number;
621
- };
622
- readonly compliance: {
623
- readonly type: "number";
624
- readonly precision: 1;
625
- readonly default: number;
626
- };
627
- readonly heatCapacity: {
628
- readonly type: "number";
629
- readonly precision: 1;
630
- readonly default: number;
631
- };
632
- readonly baseColorFactor: {
633
- readonly type: "array";
634
- readonly items: {
635
- readonly type: "number";
636
- readonly precision: 1;
637
- readonly default: number;
638
- };
639
- readonly minItems: 4;
640
- readonly maxItems: 4;
641
- readonly default: readonly [0, 0, 0, 0];
642
- };
643
- readonly emissiveFactor: {
644
- readonly type: "array";
645
- readonly items: {
646
- readonly type: "number";
647
- readonly precision: 1;
648
- readonly default: number;
649
- };
650
- readonly minItems: 3;
651
- readonly maxItems: 3;
652
- readonly default: readonly [0, 0, 0];
653
- };
654
- readonly metallicFactor: {
655
- readonly type: "number";
656
- readonly precision: 1;
657
- readonly default: number;
658
- };
659
- readonly roughnessFactor: {
660
- readonly type: "number";
661
- readonly precision: 1;
662
- readonly default: number;
663
- };
664
- readonly normalScale: {
665
- readonly type: "number";
666
- readonly precision: 1;
667
- readonly default: number;
668
- };
669
- readonly occlusionStrength: {
670
- readonly type: "number";
671
- readonly precision: 1;
672
- readonly default: number;
673
- };
674
- readonly baseColorUrl: {
675
- readonly type: "string";
676
- };
677
- readonly metallicRoughnessUrl: {
678
- readonly type: "string";
679
- };
680
- readonly normalUrl: {
681
- readonly type: "string";
682
- };
683
- readonly occlusionUrl: {
684
- readonly type: "string";
685
- };
686
- readonly emissiveUrl: {
687
- readonly type: "string";
688
- };
689
- }>, import("@adobe/data/schema").FromSchemas<{
690
- readonly materials: {
691
- readonly default: Record<string, Entity>;
692
- };
693
- }>, {
694
- readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
695
- }, {}>) => void;
696
- } & {} & {} & {} & {} & {} & {} & {} & {
596
+ readonly transactions: {} & {} & {} & {
697
597
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
698
598
  readonly modelUrl: {
699
599
  readonly type: "string";
@@ -918,7 +818,7 @@ export declare const boneColliders: {
918
818
  scale?: Vec3;
919
819
  parent?: number;
920
820
  }) => number;
921
- } & {} & {
821
+ } & {} & {} & {} & {
922
822
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
923
823
  readonly animationClipTracks: {
924
824
  readonly default: import("../animation/animation-track/public.js")[];
@@ -1322,13 +1222,106 @@ export declare const boneColliders: {
1322
1222
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1323
1223
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1324
1224
  } & {
1325
- readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1326
- readonly _ragdollTrigger: {
1327
- readonly default: boolean;
1328
- readonly nonPersistent: true;
1225
+ readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1226
+ readonly material: {
1227
+ readonly type: "integer";
1228
+ readonly minimum: -2147483648;
1229
+ readonly maximum: 2147483647;
1230
+ readonly default: number;
1329
1231
  };
1330
- }>, {}, {}>) => void;
1331
- } & {
1232
+ readonly name: {
1233
+ readonly type: "string";
1234
+ };
1235
+ readonly density: {
1236
+ readonly type: "number";
1237
+ readonly precision: 1;
1238
+ readonly default: number;
1239
+ };
1240
+ readonly restitution: {
1241
+ readonly type: "number";
1242
+ readonly precision: 1;
1243
+ readonly default: number;
1244
+ };
1245
+ readonly friction: {
1246
+ readonly type: "number";
1247
+ readonly precision: 1;
1248
+ readonly default: number;
1249
+ };
1250
+ readonly compliance: {
1251
+ readonly type: "number";
1252
+ readonly precision: 1;
1253
+ readonly default: number;
1254
+ };
1255
+ readonly heatCapacity: {
1256
+ readonly type: "number";
1257
+ readonly precision: 1;
1258
+ readonly default: number;
1259
+ };
1260
+ readonly baseColorFactor: {
1261
+ readonly type: "array";
1262
+ readonly items: {
1263
+ readonly type: "number";
1264
+ readonly precision: 1;
1265
+ readonly default: number;
1266
+ };
1267
+ readonly minItems: 4;
1268
+ readonly maxItems: 4;
1269
+ readonly default: readonly [0, 0, 0, 0];
1270
+ };
1271
+ readonly emissiveFactor: {
1272
+ readonly type: "array";
1273
+ readonly items: {
1274
+ readonly type: "number";
1275
+ readonly precision: 1;
1276
+ readonly default: number;
1277
+ };
1278
+ readonly minItems: 3;
1279
+ readonly maxItems: 3;
1280
+ readonly default: readonly [0, 0, 0];
1281
+ };
1282
+ readonly metallicFactor: {
1283
+ readonly type: "number";
1284
+ readonly precision: 1;
1285
+ readonly default: number;
1286
+ };
1287
+ readonly roughnessFactor: {
1288
+ readonly type: "number";
1289
+ readonly precision: 1;
1290
+ readonly default: number;
1291
+ };
1292
+ readonly normalScale: {
1293
+ readonly type: "number";
1294
+ readonly precision: 1;
1295
+ readonly default: number;
1296
+ };
1297
+ readonly occlusionStrength: {
1298
+ readonly type: "number";
1299
+ readonly precision: 1;
1300
+ readonly default: number;
1301
+ };
1302
+ readonly baseColorUrl: {
1303
+ readonly type: "string";
1304
+ };
1305
+ readonly metallicRoughnessUrl: {
1306
+ readonly type: "string";
1307
+ };
1308
+ readonly normalUrl: {
1309
+ readonly type: "string";
1310
+ };
1311
+ readonly occlusionUrl: {
1312
+ readonly type: "string";
1313
+ };
1314
+ readonly emissiveUrl: {
1315
+ readonly type: "string";
1316
+ };
1317
+ }>, import("@adobe/data/schema").FromSchemas<{
1318
+ readonly materials: {
1319
+ readonly default: Record<string, Entity>;
1320
+ };
1321
+ }>, {
1322
+ readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1323
+ }, {}>) => void;
1324
+ } & {} & {
1332
1325
  readonly initSkeleton: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1333
1326
  readonly _skeletonJoints: {
1334
1327
  readonly default: number[];
@@ -1610,8 +1603,15 @@ export declare const boneColliders: {
1610
1603
  jointMatrixBindGroup: GPUBindGroup;
1611
1604
  clipRef: number | null;
1612
1605
  }) => void;
1606
+ } & {} & {
1607
+ readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1608
+ readonly _ragdollTrigger: {
1609
+ readonly default: boolean;
1610
+ readonly nonPersistent: true;
1611
+ };
1612
+ }>, {}, {}>) => void;
1613
1613
  } & {};
1614
- 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">;
1614
+ 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">;
1615
1615
  readonly actions: {};
1616
1616
  readonly services: {};
1617
1617
  readonly computed: {};