@adobe/data-gpu 0.10.7 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/graphics/animation/animation-data-plugin.d.ts +4 -0
- package/dist/graphics/animation/animation-plugin.d.ts +6 -2
- package/dist/graphics/animation/animation-track/interpolate.d.ts +2 -1
- package/dist/graphics/animation/animation-track/interpolate.js +9 -3
- package/dist/graphics/animation/animation-track/interpolate.js.map +1 -1
- package/dist/graphics/animation/animation-track/interpolate.test.d.ts +1 -0
- package/dist/graphics/animation/animation-track/interpolate.test.js +23 -0
- package/dist/graphics/animation/animation-track/interpolate.test.js.map +1 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.d.ts +8 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.js +11 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.js.map +1 -0
- package/dist/graphics/camera/camera-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +1 -1
- package/dist/graphics/graphics-plugin.d.ts +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +147 -24
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +79 -21
- package/dist/graphics/rendering/display-transform-plugin.d.ts +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +47 -13
- package/dist/graphics/rendering/interpolation-plugin.d.ts +34 -15
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +77 -20
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +13 -7
- package/dist/graphics/rendering/model-collider-plugin.d.ts +60 -13
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +3 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +48 -14
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +24 -6
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +51 -8
- package/dist/graphics/scene/model/mesh-plugin.d.ts +50 -10
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +41 -7
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +8 -2
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +41 -7
- package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -1
- package/dist/graphics/scene/node/node-plugin.d.ts +2 -1
- package/dist/graphics/scene/node/transform-plugin.d.ts +2 -1
- package/dist/graphics/scene/scene-plugin.d.ts +31 -11
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
- package/dist/material/material-plugin.d.ts +6 -0
- package/dist/physics/joint/joint-plugin.d.ts +2 -0
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/physics-data-plugin.d.ts +24 -6
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +27 -7
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +27 -7
- package/package.json +2 -2
- package/src/graphics/animation/animation-track/interpolate.test.ts +27 -0
- package/src/graphics/animation/animation-track/interpolate.ts +9 -3
- package/src/graphics/animation/animation-track/interpolator-registry.ts +14 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -32,7 +32,7 @@ export declare const worldBounds: {
|
|
|
32
32
|
readonly maxItems: 4;
|
|
33
33
|
readonly default: readonly [0, 0, 0, 1];
|
|
34
34
|
readonly interpolators: {
|
|
35
|
-
readonly linear:
|
|
35
|
+
readonly linear: "slerp";
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
readonly scale: {
|
|
@@ -47,6 +47,7 @@ export declare const worldBounds: {
|
|
|
47
47
|
readonly default: readonly [0, 0, 0];
|
|
48
48
|
};
|
|
49
49
|
readonly parent: {
|
|
50
|
+
readonly entity: true;
|
|
50
51
|
readonly type: "integer";
|
|
51
52
|
readonly minimum: -2147483648;
|
|
52
53
|
readonly maximum: 2147483647;
|
|
@@ -97,6 +98,7 @@ export declare const worldBounds: {
|
|
|
97
98
|
};
|
|
98
99
|
} & {} & {
|
|
99
100
|
readonly material: {
|
|
101
|
+
readonly entity: true;
|
|
100
102
|
readonly type: "integer";
|
|
101
103
|
readonly minimum: -2147483648;
|
|
102
104
|
readonly maximum: 2147483647;
|
|
@@ -266,6 +268,7 @@ export declare const worldBounds: {
|
|
|
266
268
|
};
|
|
267
269
|
} & {
|
|
268
270
|
readonly mesh: {
|
|
271
|
+
readonly entity: true;
|
|
269
272
|
readonly type: "integer";
|
|
270
273
|
readonly minimum: -2147483648;
|
|
271
274
|
readonly maximum: 2147483647;
|
|
@@ -315,6 +318,7 @@ export declare const worldBounds: {
|
|
|
315
318
|
readonly default: number;
|
|
316
319
|
};
|
|
317
320
|
readonly animationClipRef: {
|
|
321
|
+
readonly entity: true;
|
|
318
322
|
readonly type: "integer";
|
|
319
323
|
readonly minimum: -2147483648;
|
|
320
324
|
readonly maximum: 2147483647;
|
|
@@ -377,6 +381,7 @@ export declare const worldBounds: {
|
|
|
377
381
|
readonly _mesh: {
|
|
378
382
|
readonly default: undefined;
|
|
379
383
|
readonly nonPersistent: true;
|
|
384
|
+
readonly entity: true;
|
|
380
385
|
readonly type: "integer";
|
|
381
386
|
readonly minimum: -2147483648;
|
|
382
387
|
readonly maximum: 2147483647;
|
|
@@ -384,6 +389,7 @@ export declare const worldBounds: {
|
|
|
384
389
|
readonly _material: {
|
|
385
390
|
readonly default: undefined;
|
|
386
391
|
readonly nonPersistent: true;
|
|
392
|
+
readonly entity: true;
|
|
387
393
|
readonly type: "integer";
|
|
388
394
|
readonly minimum: -2147483648;
|
|
389
395
|
readonly maximum: 2147483647;
|
|
@@ -403,6 +409,7 @@ export declare const worldBounds: {
|
|
|
403
409
|
readonly _skeletonModelRef: {
|
|
404
410
|
readonly default: undefined;
|
|
405
411
|
readonly nonPersistent: true;
|
|
412
|
+
readonly entity: true;
|
|
406
413
|
readonly type: "integer";
|
|
407
414
|
readonly minimum: -2147483648;
|
|
408
415
|
readonly maximum: 2147483647;
|
|
@@ -459,6 +466,7 @@ export declare const worldBounds: {
|
|
|
459
466
|
readonly transactions: {} & {} & {
|
|
460
467
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
461
468
|
readonly material: {
|
|
469
|
+
readonly entity: true;
|
|
462
470
|
readonly type: "integer";
|
|
463
471
|
readonly minimum: -2147483648;
|
|
464
472
|
readonly maximum: 2147483647;
|
|
@@ -637,6 +645,7 @@ export declare const worldBounds: {
|
|
|
637
645
|
}, never>, row: import("../../../material/public.js")) => number;
|
|
638
646
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
639
647
|
readonly material: {
|
|
648
|
+
readonly entity: true;
|
|
640
649
|
readonly type: "integer";
|
|
641
650
|
readonly minimum: -2147483648;
|
|
642
651
|
readonly maximum: 2147483647;
|
|
@@ -818,6 +827,7 @@ export declare const worldBounds: {
|
|
|
818
827
|
}) => number;
|
|
819
828
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
820
829
|
readonly material: {
|
|
830
|
+
readonly entity: true;
|
|
821
831
|
readonly type: "integer";
|
|
822
832
|
readonly minimum: -2147483648;
|
|
823
833
|
readonly maximum: 2147483647;
|
|
@@ -996,6 +1006,7 @@ export declare const worldBounds: {
|
|
|
996
1006
|
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
997
1007
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
998
1008
|
readonly material: {
|
|
1009
|
+
readonly entity: true;
|
|
999
1010
|
readonly type: "integer";
|
|
1000
1011
|
readonly minimum: -2147483648;
|
|
1001
1012
|
readonly maximum: 2147483647;
|
|
@@ -1174,6 +1185,7 @@ export declare const worldBounds: {
|
|
|
1174
1185
|
}, never>) => void;
|
|
1175
1186
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1176
1187
|
readonly material: {
|
|
1188
|
+
readonly entity: true;
|
|
1177
1189
|
readonly type: "integer";
|
|
1178
1190
|
readonly minimum: -2147483648;
|
|
1179
1191
|
readonly maximum: 2147483647;
|
|
@@ -1353,6 +1365,7 @@ export declare const worldBounds: {
|
|
|
1353
1365
|
} & {
|
|
1354
1366
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1355
1367
|
readonly mesh: {
|
|
1368
|
+
readonly entity: true;
|
|
1356
1369
|
readonly type: "integer";
|
|
1357
1370
|
readonly minimum: -2147483648;
|
|
1358
1371
|
readonly maximum: 2147483647;
|
|
@@ -1420,7 +1433,7 @@ export declare const worldBounds: {
|
|
|
1420
1433
|
readonly maxItems: 4;
|
|
1421
1434
|
readonly default: readonly [0, 0, 0, 1];
|
|
1422
1435
|
readonly interpolators: {
|
|
1423
|
-
readonly linear:
|
|
1436
|
+
readonly linear: "slerp";
|
|
1424
1437
|
};
|
|
1425
1438
|
};
|
|
1426
1439
|
readonly scale: {
|
|
@@ -1435,6 +1448,7 @@ export declare const worldBounds: {
|
|
|
1435
1448
|
readonly default: readonly [0, 0, 0];
|
|
1436
1449
|
};
|
|
1437
1450
|
readonly parent: {
|
|
1451
|
+
readonly entity: true;
|
|
1438
1452
|
readonly type: "integer";
|
|
1439
1453
|
readonly minimum: -2147483648;
|
|
1440
1454
|
readonly maximum: 2147483647;
|
|
@@ -1485,6 +1499,7 @@ export declare const worldBounds: {
|
|
|
1485
1499
|
};
|
|
1486
1500
|
} & {} & {
|
|
1487
1501
|
readonly material: {
|
|
1502
|
+
readonly entity: true;
|
|
1488
1503
|
readonly type: "integer";
|
|
1489
1504
|
readonly minimum: -2147483648;
|
|
1490
1505
|
readonly maximum: 2147483647;
|
|
@@ -1685,6 +1700,7 @@ export declare const worldBounds: {
|
|
|
1685
1700
|
}) => number;
|
|
1686
1701
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1687
1702
|
readonly mesh: {
|
|
1703
|
+
readonly entity: true;
|
|
1688
1704
|
readonly type: "integer";
|
|
1689
1705
|
readonly minimum: -2147483648;
|
|
1690
1706
|
readonly maximum: 2147483647;
|
|
@@ -1752,7 +1768,7 @@ export declare const worldBounds: {
|
|
|
1752
1768
|
readonly maxItems: 4;
|
|
1753
1769
|
readonly default: readonly [0, 0, 0, 1];
|
|
1754
1770
|
readonly interpolators: {
|
|
1755
|
-
readonly linear:
|
|
1771
|
+
readonly linear: "slerp";
|
|
1756
1772
|
};
|
|
1757
1773
|
};
|
|
1758
1774
|
readonly scale: {
|
|
@@ -1767,6 +1783,7 @@ export declare const worldBounds: {
|
|
|
1767
1783
|
readonly default: readonly [0, 0, 0];
|
|
1768
1784
|
};
|
|
1769
1785
|
readonly parent: {
|
|
1786
|
+
readonly entity: true;
|
|
1770
1787
|
readonly type: "integer";
|
|
1771
1788
|
readonly minimum: -2147483648;
|
|
1772
1789
|
readonly maximum: 2147483647;
|
|
@@ -1817,6 +1834,7 @@ export declare const worldBounds: {
|
|
|
1817
1834
|
};
|
|
1818
1835
|
} & {} & {
|
|
1819
1836
|
readonly material: {
|
|
1837
|
+
readonly entity: true;
|
|
1820
1838
|
readonly type: "integer";
|
|
1821
1839
|
readonly minimum: -2147483648;
|
|
1822
1840
|
readonly maximum: 2147483647;
|
|
@@ -2017,6 +2035,7 @@ export declare const worldBounds: {
|
|
|
2017
2035
|
}) => number;
|
|
2018
2036
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2019
2037
|
readonly mesh: {
|
|
2038
|
+
readonly entity: true;
|
|
2020
2039
|
readonly type: "integer";
|
|
2021
2040
|
readonly minimum: -2147483648;
|
|
2022
2041
|
readonly maximum: 2147483647;
|
|
@@ -2084,7 +2103,7 @@ export declare const worldBounds: {
|
|
|
2084
2103
|
readonly maxItems: 4;
|
|
2085
2104
|
readonly default: readonly [0, 0, 0, 1];
|
|
2086
2105
|
readonly interpolators: {
|
|
2087
|
-
readonly linear:
|
|
2106
|
+
readonly linear: "slerp";
|
|
2088
2107
|
};
|
|
2089
2108
|
};
|
|
2090
2109
|
readonly scale: {
|
|
@@ -2099,6 +2118,7 @@ export declare const worldBounds: {
|
|
|
2099
2118
|
readonly default: readonly [0, 0, 0];
|
|
2100
2119
|
};
|
|
2101
2120
|
readonly parent: {
|
|
2121
|
+
readonly entity: true;
|
|
2102
2122
|
readonly type: "integer";
|
|
2103
2123
|
readonly minimum: -2147483648;
|
|
2104
2124
|
readonly maximum: 2147483647;
|
|
@@ -2149,6 +2169,7 @@ export declare const worldBounds: {
|
|
|
2149
2169
|
};
|
|
2150
2170
|
} & {} & {
|
|
2151
2171
|
readonly material: {
|
|
2172
|
+
readonly entity: true;
|
|
2152
2173
|
readonly type: "integer";
|
|
2153
2174
|
readonly minimum: -2147483648;
|
|
2154
2175
|
readonly maximum: 2147483647;
|
|
@@ -2353,6 +2374,7 @@ export declare const worldBounds: {
|
|
|
2353
2374
|
}) => number;
|
|
2354
2375
|
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2355
2376
|
readonly mesh: {
|
|
2377
|
+
readonly entity: true;
|
|
2356
2378
|
readonly type: "integer";
|
|
2357
2379
|
readonly minimum: -2147483648;
|
|
2358
2380
|
readonly maximum: 2147483647;
|
|
@@ -2420,7 +2442,7 @@ export declare const worldBounds: {
|
|
|
2420
2442
|
readonly maxItems: 4;
|
|
2421
2443
|
readonly default: readonly [0, 0, 0, 1];
|
|
2422
2444
|
readonly interpolators: {
|
|
2423
|
-
readonly linear:
|
|
2445
|
+
readonly linear: "slerp";
|
|
2424
2446
|
};
|
|
2425
2447
|
};
|
|
2426
2448
|
readonly scale: {
|
|
@@ -2435,6 +2457,7 @@ export declare const worldBounds: {
|
|
|
2435
2457
|
readonly default: readonly [0, 0, 0];
|
|
2436
2458
|
};
|
|
2437
2459
|
readonly parent: {
|
|
2460
|
+
readonly entity: true;
|
|
2438
2461
|
readonly type: "integer";
|
|
2439
2462
|
readonly minimum: -2147483648;
|
|
2440
2463
|
readonly maximum: 2147483647;
|
|
@@ -2485,6 +2508,7 @@ export declare const worldBounds: {
|
|
|
2485
2508
|
};
|
|
2486
2509
|
} & {} & {
|
|
2487
2510
|
readonly material: {
|
|
2511
|
+
readonly entity: true;
|
|
2488
2512
|
readonly type: "integer";
|
|
2489
2513
|
readonly minimum: -2147483648;
|
|
2490
2514
|
readonly maximum: 2147483647;
|
|
@@ -2698,6 +2722,7 @@ export declare const worldBounds: {
|
|
|
2698
2722
|
readonly default: number;
|
|
2699
2723
|
};
|
|
2700
2724
|
readonly animationClipRef: {
|
|
2725
|
+
readonly entity: true;
|
|
2701
2726
|
readonly type: "integer";
|
|
2702
2727
|
readonly minimum: -2147483648;
|
|
2703
2728
|
readonly maximum: 2147483647;
|
|
@@ -2747,6 +2772,7 @@ export declare const worldBounds: {
|
|
|
2747
2772
|
readonly default: number;
|
|
2748
2773
|
};
|
|
2749
2774
|
readonly animationClipRef: {
|
|
2775
|
+
readonly entity: true;
|
|
2750
2776
|
readonly type: "integer";
|
|
2751
2777
|
readonly minimum: -2147483648;
|
|
2752
2778
|
readonly maximum: 2147483647;
|
|
@@ -2801,6 +2827,7 @@ export declare const worldBounds: {
|
|
|
2801
2827
|
readonly default: number;
|
|
2802
2828
|
};
|
|
2803
2829
|
readonly animationClipRef: {
|
|
2830
|
+
readonly entity: true;
|
|
2804
2831
|
readonly type: "integer";
|
|
2805
2832
|
readonly minimum: -2147483648;
|
|
2806
2833
|
readonly maximum: 2147483647;
|
|
@@ -2869,7 +2896,7 @@ export declare const worldBounds: {
|
|
|
2869
2896
|
readonly maxItems: 4;
|
|
2870
2897
|
readonly default: readonly [0, 0, 0, 1];
|
|
2871
2898
|
readonly interpolators: {
|
|
2872
|
-
readonly linear:
|
|
2899
|
+
readonly linear: "slerp";
|
|
2873
2900
|
};
|
|
2874
2901
|
};
|
|
2875
2902
|
readonly scale: {
|
|
@@ -2884,6 +2911,7 @@ export declare const worldBounds: {
|
|
|
2884
2911
|
readonly default: readonly [0, 0, 0];
|
|
2885
2912
|
};
|
|
2886
2913
|
readonly parent: {
|
|
2914
|
+
readonly entity: true;
|
|
2887
2915
|
readonly type: "integer";
|
|
2888
2916
|
readonly minimum: -2147483648;
|
|
2889
2917
|
readonly maximum: 2147483647;
|
|
@@ -2934,6 +2962,7 @@ export declare const worldBounds: {
|
|
|
2934
2962
|
};
|
|
2935
2963
|
} & {
|
|
2936
2964
|
readonly material: {
|
|
2965
|
+
readonly entity: true;
|
|
2937
2966
|
readonly type: "integer";
|
|
2938
2967
|
readonly minimum: -2147483648;
|
|
2939
2968
|
readonly maximum: 2147483647;
|
|
@@ -3103,6 +3132,7 @@ export declare const worldBounds: {
|
|
|
3103
3132
|
};
|
|
3104
3133
|
} & {
|
|
3105
3134
|
readonly mesh: {
|
|
3135
|
+
readonly entity: true;
|
|
3106
3136
|
readonly type: "integer";
|
|
3107
3137
|
readonly minimum: -2147483648;
|
|
3108
3138
|
readonly maximum: 2147483647;
|
|
@@ -3152,6 +3182,7 @@ export declare const worldBounds: {
|
|
|
3152
3182
|
readonly default: number;
|
|
3153
3183
|
};
|
|
3154
3184
|
readonly animationClipRef: {
|
|
3185
|
+
readonly entity: true;
|
|
3155
3186
|
readonly type: "integer";
|
|
3156
3187
|
readonly minimum: -2147483648;
|
|
3157
3188
|
readonly maximum: 2147483647;
|
|
@@ -3214,6 +3245,7 @@ export declare const worldBounds: {
|
|
|
3214
3245
|
readonly _mesh: {
|
|
3215
3246
|
readonly default: undefined;
|
|
3216
3247
|
readonly nonPersistent: true;
|
|
3248
|
+
readonly entity: true;
|
|
3217
3249
|
readonly type: "integer";
|
|
3218
3250
|
readonly minimum: -2147483648;
|
|
3219
3251
|
readonly maximum: 2147483647;
|
|
@@ -3221,6 +3253,7 @@ export declare const worldBounds: {
|
|
|
3221
3253
|
readonly _material: {
|
|
3222
3254
|
readonly default: undefined;
|
|
3223
3255
|
readonly nonPersistent: true;
|
|
3256
|
+
readonly entity: true;
|
|
3224
3257
|
readonly type: "integer";
|
|
3225
3258
|
readonly minimum: -2147483648;
|
|
3226
3259
|
readonly maximum: 2147483647;
|
|
@@ -3240,6 +3273,7 @@ export declare const worldBounds: {
|
|
|
3240
3273
|
readonly _skeletonModelRef: {
|
|
3241
3274
|
readonly default: undefined;
|
|
3242
3275
|
readonly nonPersistent: true;
|
|
3276
|
+
readonly entity: true;
|
|
3243
3277
|
readonly type: "integer";
|
|
3244
3278
|
readonly minimum: -2147483648;
|
|
3245
3279
|
readonly maximum: 2147483647;
|
|
@@ -3303,7 +3337,7 @@ export declare const worldBounds: {
|
|
|
3303
3337
|
};
|
|
3304
3338
|
} & {} & {} & {} & {} & {}, never>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3305
3339
|
} & {};
|
|
3306
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3340
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
|
|
3307
3341
|
readonly actions: {};
|
|
3308
3342
|
readonly services: {};
|
|
3309
3343
|
readonly computed: {};
|
|
@@ -39,7 +39,7 @@ export declare const nodeData: {
|
|
|
39
39
|
readonly maxItems: 4;
|
|
40
40
|
readonly default: readonly [0, 0, 0, 1];
|
|
41
41
|
readonly interpolators: {
|
|
42
|
-
readonly linear:
|
|
42
|
+
readonly linear: "slerp";
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
readonly scale: {
|
|
@@ -54,6 +54,7 @@ export declare const nodeData: {
|
|
|
54
54
|
readonly default: readonly [0, 0, 0];
|
|
55
55
|
};
|
|
56
56
|
readonly parent: {
|
|
57
|
+
readonly entity: true;
|
|
57
58
|
readonly type: "integer";
|
|
58
59
|
readonly minimum: -2147483648;
|
|
59
60
|
readonly maximum: 2147483647;
|
|
@@ -33,7 +33,7 @@ export declare const plugin: Database.Plugin<{
|
|
|
33
33
|
readonly maxItems: 4;
|
|
34
34
|
readonly default: readonly [0, 0, 0, 1];
|
|
35
35
|
readonly interpolators: {
|
|
36
|
-
readonly linear:
|
|
36
|
+
readonly linear: "slerp";
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
readonly scale: {
|
|
@@ -48,6 +48,7 @@ export declare const plugin: Database.Plugin<{
|
|
|
48
48
|
readonly default: readonly [0, 0, 0];
|
|
49
49
|
};
|
|
50
50
|
readonly parent: {
|
|
51
|
+
readonly entity: true;
|
|
51
52
|
readonly type: "integer";
|
|
52
53
|
readonly minimum: -2147483648;
|
|
53
54
|
readonly maximum: 2147483647;
|
|
@@ -45,7 +45,7 @@ export declare const transform: {
|
|
|
45
45
|
readonly maxItems: 4;
|
|
46
46
|
readonly default: readonly [0, 0, 0, 1];
|
|
47
47
|
readonly interpolators: {
|
|
48
|
-
readonly linear:
|
|
48
|
+
readonly linear: "slerp";
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
readonly scale: {
|
|
@@ -60,6 +60,7 @@ export declare const transform: {
|
|
|
60
60
|
readonly default: readonly [0, 0, 0];
|
|
61
61
|
};
|
|
62
62
|
readonly parent: {
|
|
63
|
+
readonly entity: true;
|
|
63
64
|
readonly type: "integer";
|
|
64
65
|
readonly minimum: -2147483648;
|
|
65
66
|
readonly maximum: 2147483647;
|
|
@@ -11,7 +11,7 @@ import { Database } from "@adobe/data/ecs";
|
|
|
11
11
|
* Add a camera controller (e.g. `Orbit.plugin`), animation, and a renderer
|
|
12
12
|
* (`pbrIblRender`) to get a working interactive scene.
|
|
13
13
|
*/
|
|
14
|
-
export declare const scene: Database.Plugin<{
|
|
14
|
+
export declare const scene: Database.Plugin<{} & {
|
|
15
15
|
readonly visible: {
|
|
16
16
|
readonly type: "boolean";
|
|
17
17
|
readonly const: true;
|
|
@@ -39,7 +39,7 @@ export declare const scene: Database.Plugin<{
|
|
|
39
39
|
readonly maxItems: 4;
|
|
40
40
|
readonly default: readonly [0, 0, 0, 1];
|
|
41
41
|
readonly interpolators: {
|
|
42
|
-
readonly linear:
|
|
42
|
+
readonly linear: "slerp";
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
readonly scale: {
|
|
@@ -54,6 +54,7 @@ export declare const scene: Database.Plugin<{
|
|
|
54
54
|
readonly default: readonly [0, 0, 0];
|
|
55
55
|
};
|
|
56
56
|
readonly parent: {
|
|
57
|
+
readonly entity: true;
|
|
57
58
|
readonly type: "integer";
|
|
58
59
|
readonly minimum: -2147483648;
|
|
59
60
|
readonly maximum: 2147483647;
|
|
@@ -102,8 +103,9 @@ export declare const scene: Database.Plugin<{
|
|
|
102
103
|
readonly required: readonly ["min", "max"];
|
|
103
104
|
readonly additionalProperties: false;
|
|
104
105
|
};
|
|
105
|
-
} & {
|
|
106
|
+
} & {
|
|
106
107
|
readonly material: {
|
|
108
|
+
readonly entity: true;
|
|
107
109
|
readonly type: "integer";
|
|
108
110
|
readonly minimum: -2147483648;
|
|
109
111
|
readonly maximum: 2147483647;
|
|
@@ -273,6 +275,7 @@ export declare const scene: Database.Plugin<{
|
|
|
273
275
|
};
|
|
274
276
|
} & {
|
|
275
277
|
readonly mesh: {
|
|
278
|
+
readonly entity: true;
|
|
276
279
|
readonly type: "integer";
|
|
277
280
|
readonly minimum: -2147483648;
|
|
278
281
|
readonly maximum: 2147483647;
|
|
@@ -381,9 +384,9 @@ export declare const scene: Database.Plugin<{
|
|
|
381
384
|
readonly default: GPUBuffer | null;
|
|
382
385
|
readonly nonPersistent: true;
|
|
383
386
|
};
|
|
384
|
-
}, {
|
|
387
|
+
}, {} & {
|
|
385
388
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
386
|
-
} & {} & {
|
|
389
|
+
} & {} & {
|
|
387
390
|
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"];
|
|
388
391
|
} & {
|
|
389
392
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -395,6 +398,7 @@ export declare const scene: Database.Plugin<{
|
|
|
395
398
|
}, {} & {} & {
|
|
396
399
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
397
400
|
readonly material: {
|
|
401
|
+
readonly entity: true;
|
|
398
402
|
readonly type: "integer";
|
|
399
403
|
readonly minimum: -2147483648;
|
|
400
404
|
readonly maximum: 2147483647;
|
|
@@ -573,6 +577,7 @@ export declare const scene: Database.Plugin<{
|
|
|
573
577
|
}, never>, row: import("../../material/public.js")) => number;
|
|
574
578
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
575
579
|
readonly material: {
|
|
580
|
+
readonly entity: true;
|
|
576
581
|
readonly type: "integer";
|
|
577
582
|
readonly minimum: -2147483648;
|
|
578
583
|
readonly maximum: 2147483647;
|
|
@@ -754,6 +759,7 @@ export declare const scene: Database.Plugin<{
|
|
|
754
759
|
}) => number;
|
|
755
760
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
756
761
|
readonly material: {
|
|
762
|
+
readonly entity: true;
|
|
757
763
|
readonly type: "integer";
|
|
758
764
|
readonly minimum: -2147483648;
|
|
759
765
|
readonly maximum: 2147483647;
|
|
@@ -932,6 +938,7 @@ export declare const scene: Database.Plugin<{
|
|
|
932
938
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
933
939
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
934
940
|
readonly material: {
|
|
941
|
+
readonly entity: true;
|
|
935
942
|
readonly type: "integer";
|
|
936
943
|
readonly minimum: -2147483648;
|
|
937
944
|
readonly maximum: 2147483647;
|
|
@@ -1110,6 +1117,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1110
1117
|
}, never>) => void;
|
|
1111
1118
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1112
1119
|
readonly material: {
|
|
1120
|
+
readonly entity: true;
|
|
1113
1121
|
readonly type: "integer";
|
|
1114
1122
|
readonly minimum: -2147483648;
|
|
1115
1123
|
readonly maximum: 2147483647;
|
|
@@ -1289,6 +1297,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1289
1297
|
} & {
|
|
1290
1298
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1291
1299
|
readonly mesh: {
|
|
1300
|
+
readonly entity: true;
|
|
1292
1301
|
readonly type: "integer";
|
|
1293
1302
|
readonly minimum: -2147483648;
|
|
1294
1303
|
readonly maximum: 2147483647;
|
|
@@ -1359,7 +1368,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1359
1368
|
readonly maxItems: 4;
|
|
1360
1369
|
readonly default: readonly [0, 0, 0, 1];
|
|
1361
1370
|
readonly interpolators: {
|
|
1362
|
-
readonly linear:
|
|
1371
|
+
readonly linear: "slerp";
|
|
1363
1372
|
};
|
|
1364
1373
|
};
|
|
1365
1374
|
readonly scale: {
|
|
@@ -1374,6 +1383,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1374
1383
|
readonly default: readonly [0, 0, 0];
|
|
1375
1384
|
};
|
|
1376
1385
|
readonly parent: {
|
|
1386
|
+
readonly entity: true;
|
|
1377
1387
|
readonly type: "integer";
|
|
1378
1388
|
readonly minimum: -2147483648;
|
|
1379
1389
|
readonly maximum: 2147483647;
|
|
@@ -1424,6 +1434,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1424
1434
|
};
|
|
1425
1435
|
} & {} & {
|
|
1426
1436
|
readonly material: {
|
|
1437
|
+
readonly entity: true;
|
|
1427
1438
|
readonly type: "integer";
|
|
1428
1439
|
readonly minimum: -2147483648;
|
|
1429
1440
|
readonly maximum: 2147483647;
|
|
@@ -1624,6 +1635,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1624
1635
|
}) => number;
|
|
1625
1636
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1626
1637
|
readonly mesh: {
|
|
1638
|
+
readonly entity: true;
|
|
1627
1639
|
readonly type: "integer";
|
|
1628
1640
|
readonly minimum: -2147483648;
|
|
1629
1641
|
readonly maximum: 2147483647;
|
|
@@ -1694,7 +1706,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1694
1706
|
readonly maxItems: 4;
|
|
1695
1707
|
readonly default: readonly [0, 0, 0, 1];
|
|
1696
1708
|
readonly interpolators: {
|
|
1697
|
-
readonly linear:
|
|
1709
|
+
readonly linear: "slerp";
|
|
1698
1710
|
};
|
|
1699
1711
|
};
|
|
1700
1712
|
readonly scale: {
|
|
@@ -1709,6 +1721,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1709
1721
|
readonly default: readonly [0, 0, 0];
|
|
1710
1722
|
};
|
|
1711
1723
|
readonly parent: {
|
|
1724
|
+
readonly entity: true;
|
|
1712
1725
|
readonly type: "integer";
|
|
1713
1726
|
readonly minimum: -2147483648;
|
|
1714
1727
|
readonly maximum: 2147483647;
|
|
@@ -1759,6 +1772,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1759
1772
|
};
|
|
1760
1773
|
} & {} & {
|
|
1761
1774
|
readonly material: {
|
|
1775
|
+
readonly entity: true;
|
|
1762
1776
|
readonly type: "integer";
|
|
1763
1777
|
readonly minimum: -2147483648;
|
|
1764
1778
|
readonly maximum: 2147483647;
|
|
@@ -1959,6 +1973,7 @@ export declare const scene: Database.Plugin<{
|
|
|
1959
1973
|
}) => number;
|
|
1960
1974
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1961
1975
|
readonly mesh: {
|
|
1976
|
+
readonly entity: true;
|
|
1962
1977
|
readonly type: "integer";
|
|
1963
1978
|
readonly minimum: -2147483648;
|
|
1964
1979
|
readonly maximum: 2147483647;
|
|
@@ -2029,7 +2044,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2029
2044
|
readonly maxItems: 4;
|
|
2030
2045
|
readonly default: readonly [0, 0, 0, 1];
|
|
2031
2046
|
readonly interpolators: {
|
|
2032
|
-
readonly linear:
|
|
2047
|
+
readonly linear: "slerp";
|
|
2033
2048
|
};
|
|
2034
2049
|
};
|
|
2035
2050
|
readonly scale: {
|
|
@@ -2044,6 +2059,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2044
2059
|
readonly default: readonly [0, 0, 0];
|
|
2045
2060
|
};
|
|
2046
2061
|
readonly parent: {
|
|
2062
|
+
readonly entity: true;
|
|
2047
2063
|
readonly type: "integer";
|
|
2048
2064
|
readonly minimum: -2147483648;
|
|
2049
2065
|
readonly maximum: 2147483647;
|
|
@@ -2094,6 +2110,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2094
2110
|
};
|
|
2095
2111
|
} & {} & {
|
|
2096
2112
|
readonly material: {
|
|
2113
|
+
readonly entity: true;
|
|
2097
2114
|
readonly type: "integer";
|
|
2098
2115
|
readonly minimum: -2147483648;
|
|
2099
2116
|
readonly maximum: 2147483647;
|
|
@@ -2298,6 +2315,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2298
2315
|
}) => number;
|
|
2299
2316
|
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2300
2317
|
readonly mesh: {
|
|
2318
|
+
readonly entity: true;
|
|
2301
2319
|
readonly type: "integer";
|
|
2302
2320
|
readonly minimum: -2147483648;
|
|
2303
2321
|
readonly maximum: 2147483647;
|
|
@@ -2368,7 +2386,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2368
2386
|
readonly maxItems: 4;
|
|
2369
2387
|
readonly default: readonly [0, 0, 0, 1];
|
|
2370
2388
|
readonly interpolators: {
|
|
2371
|
-
readonly linear:
|
|
2389
|
+
readonly linear: "slerp";
|
|
2372
2390
|
};
|
|
2373
2391
|
};
|
|
2374
2392
|
readonly scale: {
|
|
@@ -2383,6 +2401,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2383
2401
|
readonly default: readonly [0, 0, 0];
|
|
2384
2402
|
};
|
|
2385
2403
|
readonly parent: {
|
|
2404
|
+
readonly entity: true;
|
|
2386
2405
|
readonly type: "integer";
|
|
2387
2406
|
readonly minimum: -2147483648;
|
|
2388
2407
|
readonly maximum: 2147483647;
|
|
@@ -2433,6 +2452,7 @@ export declare const scene: Database.Plugin<{
|
|
|
2433
2452
|
};
|
|
2434
2453
|
} & {} & {
|
|
2435
2454
|
readonly material: {
|
|
2455
|
+
readonly entity: true;
|
|
2436
2456
|
readonly type: "integer";
|
|
2437
2457
|
readonly minimum: -2147483648;
|
|
2438
2458
|
readonly maximum: 2147483647;
|
|
@@ -2690,12 +2710,12 @@ export declare const scene: Database.Plugin<{
|
|
|
2690
2710
|
readonly nonPersistent: true;
|
|
2691
2711
|
};
|
|
2692
2712
|
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
2693
|
-
} & {} & {}, "
|
|
2713
|
+
} & {} & {}, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "transformCreateWorldMatrix" | "transformSystem" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {} & {
|
|
2694
2714
|
readonly nodeChildrenOf: {
|
|
2695
2715
|
readonly key: "parent";
|
|
2696
2716
|
readonly archetype: "Node";
|
|
2697
2717
|
};
|
|
2698
|
-
} & {} & {
|
|
2718
|
+
} & {} & {
|
|
2699
2719
|
readonly materialByName: {
|
|
2700
2720
|
readonly key: "name";
|
|
2701
2721
|
readonly unique: true;
|
|
@@ -129,7 +129,7 @@ export declare const plugin: {
|
|
|
129
129
|
};
|
|
130
130
|
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
131
131
|
} & {} & {};
|
|
132
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
132
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem">;
|
|
133
133
|
readonly actions: {};
|
|
134
134
|
readonly services: {};
|
|
135
135
|
readonly computed: {};
|
|
@@ -9,6 +9,7 @@ import type { MaterialDefinition } from "./material-definition.js";
|
|
|
9
9
|
export declare const plugin: {
|
|
10
10
|
readonly components: {
|
|
11
11
|
readonly material: {
|
|
12
|
+
readonly entity: true;
|
|
12
13
|
readonly type: "integer";
|
|
13
14
|
readonly minimum: -2147483648;
|
|
14
15
|
readonly maximum: 2147483647;
|
|
@@ -184,6 +185,7 @@ export declare const plugin: {
|
|
|
184
185
|
readonly transactions: {
|
|
185
186
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
186
187
|
readonly material: {
|
|
188
|
+
readonly entity: true;
|
|
187
189
|
readonly type: "integer";
|
|
188
190
|
readonly minimum: -2147483648;
|
|
189
191
|
readonly maximum: 2147483647;
|
|
@@ -362,6 +364,7 @@ export declare const plugin: {
|
|
|
362
364
|
}, never>, row: Material) => Entity;
|
|
363
365
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
364
366
|
readonly material: {
|
|
367
|
+
readonly entity: true;
|
|
365
368
|
readonly type: "integer";
|
|
366
369
|
readonly minimum: -2147483648;
|
|
367
370
|
readonly maximum: 2147483647;
|
|
@@ -543,6 +546,7 @@ export declare const plugin: {
|
|
|
543
546
|
}) => Entity;
|
|
544
547
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
545
548
|
readonly material: {
|
|
549
|
+
readonly entity: true;
|
|
546
550
|
readonly type: "integer";
|
|
547
551
|
readonly minimum: -2147483648;
|
|
548
552
|
readonly maximum: 2147483647;
|
|
@@ -721,6 +725,7 @@ export declare const plugin: {
|
|
|
721
725
|
}, never>, defs: Readonly<Record<string, MaterialDefinition>>) => void;
|
|
722
726
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
723
727
|
readonly material: {
|
|
728
|
+
readonly entity: true;
|
|
724
729
|
readonly type: "integer";
|
|
725
730
|
readonly minimum: -2147483648;
|
|
726
731
|
readonly maximum: 2147483647;
|
|
@@ -899,6 +904,7 @@ export declare const plugin: {
|
|
|
899
904
|
}, never>) => void;
|
|
900
905
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
901
906
|
readonly material: {
|
|
907
|
+
readonly entity: true;
|
|
902
908
|
readonly type: "integer";
|
|
903
909
|
readonly minimum: -2147483648;
|
|
904
910
|
readonly maximum: 2147483647;
|