@adobe/data-gpu 0.9.88 → 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 (61) 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 +435 -456
  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 +113 -116
  17. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +221 -242
  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 +353 -371
  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 +6 -6
  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 +6 -6
  43. package/dist/physics/physics-data-plugin.js +2 -2
  44. package/dist/physics/physics-data-plugin.js.map +1 -1
  45. package/dist/physics/solvers/jolt-solver-plugin.d.ts +9 -9
  46. package/dist/physics/solvers/jolt-solver-plugin.js +2 -2
  47. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  48. package/dist/physics/solvers/rapier-solver-plugin.d.ts +9 -9
  49. package/dist/physics/solvers/rapier-solver-plugin.js +2 -2
  50. package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
  51. package/package.json +2 -2
  52. package/src/graphics/rendering/bone-collider-plugin.ts +4 -4
  53. package/src/graphics/rendering/display-transform-plugin.ts +2 -2
  54. package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +1 -1
  55. package/src/graphics/rendering/pbr-core-plugin.ts +5 -5
  56. package/src/graphics/rendering/skinning/skinning-plugin.ts +1 -1
  57. package/src/graphics/scene/node/node-data-plugin.ts +2 -2
  58. package/src/physics/physics-data-plugin.ts +2 -2
  59. package/src/physics/solvers/jolt-solver-plugin.ts +2 -2
  60. package/src/physics/solvers/rapier-solver-plugin.ts +2 -2
  61. package/tsconfig.tsbuildinfo +1 -1
@@ -1,6 +1,97 @@
1
1
  import { Database } from "@adobe/data/ecs";
2
2
  export declare const interpolation: {
3
- readonly components: {} & {
3
+ readonly components: {
4
+ readonly visible: {
5
+ readonly type: "boolean";
6
+ readonly const: true;
7
+ readonly default: true;
8
+ };
9
+ readonly position: {
10
+ readonly type: "array";
11
+ readonly items: {
12
+ readonly type: "number";
13
+ readonly precision: 1;
14
+ readonly default: number;
15
+ };
16
+ readonly minItems: 3;
17
+ readonly maxItems: 3;
18
+ readonly default: readonly [0, 0, 0];
19
+ };
20
+ readonly rotation: {
21
+ readonly type: "array";
22
+ readonly items: {
23
+ readonly type: "number";
24
+ readonly precision: 1;
25
+ readonly default: number;
26
+ };
27
+ readonly minItems: 4;
28
+ readonly maxItems: 4;
29
+ readonly default: readonly [0, 0, 0, 1];
30
+ readonly interpolators: {
31
+ readonly linear: (q1: any, q2: any, t: number) => any;
32
+ };
33
+ };
34
+ readonly scale: {
35
+ readonly type: "array";
36
+ readonly items: {
37
+ readonly type: "number";
38
+ readonly precision: 1;
39
+ readonly default: number;
40
+ };
41
+ readonly minItems: 3;
42
+ readonly maxItems: 3;
43
+ readonly default: readonly [0, 0, 0];
44
+ };
45
+ readonly parent: {
46
+ readonly type: "integer";
47
+ readonly minimum: -2147483648;
48
+ readonly maximum: 2147483647;
49
+ readonly default: number;
50
+ };
51
+ readonly _worldMatrix: {
52
+ readonly default: undefined;
53
+ readonly nonPersistent: true;
54
+ readonly type: "array";
55
+ readonly items: {
56
+ readonly type: "number";
57
+ readonly precision: 1;
58
+ readonly default: number;
59
+ };
60
+ readonly minItems: 16;
61
+ readonly maxItems: 16;
62
+ };
63
+ readonly _worldBounds: {
64
+ readonly default: undefined;
65
+ readonly nonPersistent: true;
66
+ readonly type: "object";
67
+ readonly properties: {
68
+ readonly min: {
69
+ readonly type: "array";
70
+ readonly items: {
71
+ readonly type: "number";
72
+ readonly precision: 1;
73
+ readonly default: number;
74
+ };
75
+ readonly minItems: 3;
76
+ readonly maxItems: 3;
77
+ readonly default: readonly [0, 0, 0];
78
+ };
79
+ readonly max: {
80
+ readonly type: "array";
81
+ readonly items: {
82
+ readonly type: "number";
83
+ readonly precision: 1;
84
+ readonly default: number;
85
+ };
86
+ readonly minItems: 3;
87
+ readonly maxItems: 3;
88
+ readonly default: readonly [0, 0, 0];
89
+ };
90
+ };
91
+ readonly required: readonly ["min", "max"];
92
+ readonly additionalProperties: false;
93
+ };
94
+ } & {} & {
4
95
  readonly material: {
5
96
  readonly type: "integer";
6
97
  readonly minimum: -2147483648;
@@ -237,6 +328,7 @@ export declare const interpolation: {
237
328
  readonly default: readonly [0, 0, 0];
238
329
  };
239
330
  readonly _prevPosition: {
331
+ readonly default: undefined;
240
332
  readonly nonPersistent: true;
241
333
  readonly type: "array";
242
334
  readonly items: {
@@ -246,9 +338,9 @@ export declare const interpolation: {
246
338
  };
247
339
  readonly minItems: 3;
248
340
  readonly maxItems: 3;
249
- readonly default: readonly [0, 0, 0];
250
341
  };
251
342
  readonly _prevRotation: {
343
+ readonly default: undefined;
252
344
  readonly nonPersistent: true;
253
345
  readonly type: "array";
254
346
  readonly items: {
@@ -258,7 +350,6 @@ export declare const interpolation: {
258
350
  };
259
351
  readonly minItems: 4;
260
352
  readonly maxItems: 4;
261
- readonly default: readonly [0, 0, 0, 1];
262
353
  readonly interpolators: {
263
354
  readonly linear: (q1: any, q2: any, t: number) => any;
264
355
  };
@@ -274,102 +365,9 @@ export declare const interpolation: {
274
365
  readonly colliderMesh: {
275
366
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
276
367
  };
277
- } & {
278
- readonly visible: {
279
- readonly type: "boolean";
280
- readonly const: true;
281
- readonly default: true;
282
- };
283
- readonly position: {
284
- readonly type: "array";
285
- readonly items: {
286
- readonly type: "number";
287
- readonly precision: 1;
288
- readonly default: number;
289
- };
290
- readonly minItems: 3;
291
- readonly maxItems: 3;
292
- readonly default: readonly [0, 0, 0];
293
- };
294
- readonly rotation: {
295
- readonly type: "array";
296
- readonly items: {
297
- readonly type: "number";
298
- readonly precision: 1;
299
- readonly default: number;
300
- };
301
- readonly minItems: 4;
302
- readonly maxItems: 4;
303
- readonly default: readonly [0, 0, 0, 1];
304
- readonly interpolators: {
305
- readonly linear: (q1: any, q2: any, t: number) => any;
306
- };
307
- };
308
- readonly scale: {
309
- readonly type: "array";
310
- readonly items: {
311
- readonly type: "number";
312
- readonly precision: 1;
313
- readonly default: number;
314
- };
315
- readonly minItems: 3;
316
- readonly maxItems: 3;
317
- readonly default: readonly [0, 0, 0];
318
- };
319
- readonly parent: {
320
- readonly type: "integer";
321
- readonly minimum: -2147483648;
322
- readonly maximum: 2147483647;
323
- readonly default: number;
324
- };
325
- readonly _worldMatrix: {
326
- readonly nonPersistent: true;
327
- readonly type: "array";
328
- readonly items: {
329
- readonly type: "number";
330
- readonly precision: 1;
331
- readonly default: number;
332
- };
333
- readonly minItems: 16;
334
- readonly maxItems: 16;
335
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
336
- };
337
- readonly _worldBounds: {
338
- readonly nonPersistent: true;
339
- readonly type: "object";
340
- readonly properties: {
341
- readonly min: {
342
- readonly type: "array";
343
- readonly items: {
344
- readonly type: "number";
345
- readonly precision: 1;
346
- readonly default: number;
347
- };
348
- readonly minItems: 3;
349
- readonly maxItems: 3;
350
- readonly default: readonly [0, 0, 0];
351
- };
352
- readonly max: {
353
- readonly type: "array";
354
- readonly items: {
355
- readonly type: "number";
356
- readonly precision: 1;
357
- readonly default: number;
358
- };
359
- readonly minItems: 3;
360
- readonly maxItems: 3;
361
- readonly default: readonly [0, 0, 0];
362
- };
363
- };
364
- readonly required: readonly ["min", "max"];
365
- readonly additionalProperties: false;
366
- readonly default: {
367
- readonly min: readonly [0, 0, 0];
368
- readonly max: readonly [0, 0, 0];
369
- };
370
- };
371
368
  } & {
372
369
  readonly _renderPosition: {
370
+ readonly default: undefined;
373
371
  readonly nonPersistent: true;
374
372
  readonly type: "array";
375
373
  readonly items: {
@@ -379,9 +377,9 @@ export declare const interpolation: {
379
377
  };
380
378
  readonly minItems: 3;
381
379
  readonly maxItems: 3;
382
- readonly default: readonly [0, 0, 0];
383
380
  };
384
381
  readonly _renderRotation: {
382
+ readonly default: undefined;
385
383
  readonly nonPersistent: true;
386
384
  readonly type: "array";
387
385
  readonly items: {
@@ -391,7 +389,6 @@ export declare const interpolation: {
391
389
  };
392
390
  readonly minItems: 4;
393
391
  readonly maxItems: 4;
394
- readonly default: readonly [0, 0, 0, 1];
395
392
  readonly interpolators: {
396
393
  readonly linear: (q1: any, q2: any, t: number) => any;
397
394
  };
@@ -426,17 +423,17 @@ export declare const interpolation: {
426
423
  readonly nonPersistent: true;
427
424
  };
428
425
  };
429
- readonly archetypes: {} & {
426
+ readonly archetypes: {
427
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
428
+ } & {} & {} & {
430
429
  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"];
431
430
  } & {
432
431
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
433
432
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
434
433
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
435
434
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
436
- } & {
437
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
438
- } & {} & {} & {};
439
- readonly transactions: {
435
+ } & {} & {};
436
+ readonly transactions: {} & {} & {
440
437
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
441
438
  readonly material: {
442
439
  readonly type: "integer";
@@ -1355,8 +1352,8 @@ export declare const interpolation: {
1355
1352
  readonly nonPersistent: true;
1356
1353
  };
1357
1354
  }>, {}, {}, never>, hz: number) => void;
1358
- } & {} & {} & {} & {};
1359
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "transformCreateWorldMatrix" | "transformSystem" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
1355
+ } & {} & {};
1356
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
1360
1357
  readonly actions: {
1361
1358
  readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
1362
1359
  readonly bodyType: {
@@ -1426,6 +1423,7 @@ export declare const interpolation: {
1426
1423
  readonly default: readonly [0, 0, 0];
1427
1424
  };
1428
1425
  readonly _prevPosition: {
1426
+ readonly default: undefined;
1429
1427
  readonly nonPersistent: true;
1430
1428
  readonly type: "array";
1431
1429
  readonly items: {
@@ -1435,9 +1433,9 @@ export declare const interpolation: {
1435
1433
  };
1436
1434
  readonly minItems: 3;
1437
1435
  readonly maxItems: 3;
1438
- readonly default: readonly [0, 0, 0];
1439
1436
  };
1440
1437
  readonly _prevRotation: {
1438
+ readonly default: undefined;
1441
1439
  readonly nonPersistent: true;
1442
1440
  readonly type: "array";
1443
1441
  readonly items: {
@@ -1447,7 +1445,6 @@ export declare const interpolation: {
1447
1445
  };
1448
1446
  readonly minItems: 4;
1449
1447
  readonly maxItems: 4;
1450
- readonly default: readonly [0, 0, 0, 1];
1451
1448
  readonly interpolators: {
1452
1449
  readonly linear: (q1: any, q2: any, t: number) => any;
1453
1450
  };
@@ -2619,6 +2616,7 @@ export declare const interpolation: {
2619
2616
  readonly default: readonly [0, 0, 0];
2620
2617
  };
2621
2618
  readonly _prevPosition: {
2619
+ readonly default: undefined;
2622
2620
  readonly nonPersistent: true;
2623
2621
  readonly type: "array";
2624
2622
  readonly items: {
@@ -2628,9 +2626,9 @@ export declare const interpolation: {
2628
2626
  };
2629
2627
  readonly minItems: 3;
2630
2628
  readonly maxItems: 3;
2631
- readonly default: readonly [0, 0, 0];
2632
2629
  };
2633
2630
  readonly _prevRotation: {
2631
+ readonly default: undefined;
2634
2632
  readonly nonPersistent: true;
2635
2633
  readonly type: "array";
2636
2634
  readonly items: {
@@ -2640,7 +2638,6 @@ export declare const interpolation: {
2640
2638
  };
2641
2639
  readonly minItems: 4;
2642
2640
  readonly maxItems: 4;
2643
- readonly default: readonly [0, 0, 0, 1];
2644
2641
  readonly interpolators: {
2645
2642
  readonly linear: (q1: any, q2: any, t: number) => any;
2646
2643
  };
@@ -3748,16 +3745,16 @@ export declare const interpolation: {
3748
3745
  };
3749
3746
  readonly services: {};
3750
3747
  readonly computed: {};
3751
- readonly indexes: {} & {
3748
+ readonly indexes: {
3749
+ readonly nodeChildrenOf: {
3750
+ readonly key: "parent";
3751
+ readonly archetype: "Node";
3752
+ };
3753
+ } & {} & {} & {
3752
3754
  readonly materialByName: {
3753
3755
  readonly key: "name";
3754
3756
  readonly unique: true;
3755
3757
  readonly archetype: "Material";
3756
3758
  };
3757
- } & {} & {
3758
- readonly nodeChildrenOf: {
3759
- readonly key: "parent";
3760
- readonly archetype: "Node";
3761
- };
3762
3759
  } & {} & {} & {};
3763
3760
  };