@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.
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/graphics/animation/animation-plugin.d.ts +2 -2
- 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 +798 -861
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +2647 -275
- package/dist/graphics/rendering/bone-collider-plugin.js +4 -4
- package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
- package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +159 -177
- package/dist/graphics/rendering/interpolation-plugin.d.ts +2447 -56
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2634 -262
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +8 -8
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +1 -1
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +2567 -192
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +172 -190
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2398 -5
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +189 -210
- package/dist/graphics/rendering/skinning/skinning-plugin.js +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
- package/dist/graphics/scene/model/mesh-plugin.d.ts +20 -50
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +156 -174
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +73 -76
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +156 -174
- package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/node-data-plugin.js +2 -2
- package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
- package/dist/graphics/scene/node/node-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/transform-plugin.d.ts +2 -5
- package/dist/graphics/scene/scene-plugin.d.ts +16 -31
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/physics-data-plugin.d.ts +2400 -4
- package/dist/physics/physics-data-plugin.js +28 -2
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/physics-hit.d.ts +18 -0
- package/dist/physics/physics-hit.js +3 -0
- package/dist/physics/physics-hit.js.map +1 -0
- package/dist/physics/physics-query.d.ts +43 -0
- package/dist/physics/physics-query.js +3 -0
- package/dist/physics/physics-query.js.map +1 -0
- package/dist/physics/public.d.ts +2 -0
- package/dist/physics/public.js +2 -0
- package/dist/physics/public.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +2399 -9
- package/dist/physics/solvers/jolt-solver-plugin.js +151 -2
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/mutable-hit.d.ts +14 -0
- package/dist/physics/solvers/mutable-hit.js +3 -0
- package/dist/physics/solvers/mutable-hit.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
- package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
- package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +2399 -9
- package/dist/physics/solvers/rapier-solver-plugin.js +112 -3
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
- package/package.json +2 -2
- package/src/graphics/rendering/bone-collider-plugin.ts +4 -4
- package/src/graphics/rendering/display-transform-plugin.ts +2 -2
- package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +1 -1
- package/src/graphics/rendering/pbr-core-plugin.ts +5 -5
- package/src/graphics/rendering/skinning/skinning-plugin.ts +1 -1
- package/src/graphics/scene/node/node-data-plugin.ts +2 -2
- package/src/physics/README.md +15 -2
- package/src/physics/physics-data-plugin.ts +31 -3
- package/src/physics/physics-hit.ts +21 -0
- package/src/physics/physics-query.ts +42 -0
- package/src/physics/public.ts +2 -0
- package/src/physics/solvers/jolt-solver-plugin.ts +121 -2
- package/src/physics/solvers/mutable-hit.ts +18 -0
- package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
- package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
- package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
- package/src/physics/solvers/rapier-solver-plugin.ts +94 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -26,6 +26,71 @@ export interface LoadedArgs {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const modelLoader: {
|
|
28
28
|
readonly components: {} & {
|
|
29
|
+
readonly _vertexBuffer: {
|
|
30
|
+
readonly default: GPUBuffer | null;
|
|
31
|
+
readonly nonPersistent: true;
|
|
32
|
+
};
|
|
33
|
+
readonly _skinVertexBuffer: {
|
|
34
|
+
readonly default: GPUBuffer | null;
|
|
35
|
+
readonly nonPersistent: true;
|
|
36
|
+
};
|
|
37
|
+
readonly _indexBuffer: {
|
|
38
|
+
readonly default: GPUBuffer | null;
|
|
39
|
+
readonly nonPersistent: true;
|
|
40
|
+
};
|
|
41
|
+
readonly _indexCount: {
|
|
42
|
+
readonly default: undefined;
|
|
43
|
+
readonly nonPersistent: true;
|
|
44
|
+
readonly type: "integer";
|
|
45
|
+
readonly minimum: 0;
|
|
46
|
+
readonly maximum: 4294967295;
|
|
47
|
+
};
|
|
48
|
+
readonly _indexFormat: {
|
|
49
|
+
readonly default: GPUIndexFormat;
|
|
50
|
+
readonly nonPersistent: true;
|
|
51
|
+
};
|
|
52
|
+
readonly _materialBindGroup: {
|
|
53
|
+
readonly default: GPUBindGroup | null;
|
|
54
|
+
readonly nonPersistent: true;
|
|
55
|
+
};
|
|
56
|
+
readonly _mesh: {
|
|
57
|
+
readonly default: undefined;
|
|
58
|
+
readonly nonPersistent: true;
|
|
59
|
+
readonly type: "integer";
|
|
60
|
+
readonly minimum: -2147483648;
|
|
61
|
+
readonly maximum: 2147483647;
|
|
62
|
+
};
|
|
63
|
+
readonly _material: {
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
readonly nonPersistent: true;
|
|
66
|
+
readonly type: "integer";
|
|
67
|
+
readonly minimum: -2147483648;
|
|
68
|
+
readonly maximum: 2147483647;
|
|
69
|
+
};
|
|
70
|
+
readonly _nodeLocalMatrix: {
|
|
71
|
+
readonly default: undefined;
|
|
72
|
+
readonly nonPersistent: true;
|
|
73
|
+
readonly type: "array";
|
|
74
|
+
readonly items: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly precision: 1;
|
|
77
|
+
readonly default: number;
|
|
78
|
+
};
|
|
79
|
+
readonly minItems: 16;
|
|
80
|
+
readonly maxItems: 16;
|
|
81
|
+
};
|
|
82
|
+
readonly _skeletonModelRef: {
|
|
83
|
+
readonly default: undefined;
|
|
84
|
+
readonly nonPersistent: true;
|
|
85
|
+
readonly type: "integer";
|
|
86
|
+
readonly minimum: -2147483648;
|
|
87
|
+
readonly maximum: 2147483647;
|
|
88
|
+
};
|
|
89
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
90
|
+
readonly default: GPUBindGroup | null;
|
|
91
|
+
readonly nonPersistent: true;
|
|
92
|
+
};
|
|
93
|
+
} & {
|
|
29
94
|
readonly visible: {
|
|
30
95
|
readonly type: "boolean";
|
|
31
96
|
readonly const: true;
|
|
@@ -74,6 +139,7 @@ export declare const modelLoader: {
|
|
|
74
139
|
readonly default: number;
|
|
75
140
|
};
|
|
76
141
|
readonly _worldMatrix: {
|
|
142
|
+
readonly default: undefined;
|
|
77
143
|
readonly nonPersistent: true;
|
|
78
144
|
readonly type: "array";
|
|
79
145
|
readonly items: {
|
|
@@ -83,9 +149,9 @@ export declare const modelLoader: {
|
|
|
83
149
|
};
|
|
84
150
|
readonly minItems: 16;
|
|
85
151
|
readonly maxItems: 16;
|
|
86
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
87
152
|
};
|
|
88
153
|
readonly _worldBounds: {
|
|
154
|
+
readonly default: undefined;
|
|
89
155
|
readonly nonPersistent: true;
|
|
90
156
|
readonly type: "object";
|
|
91
157
|
readonly properties: {
|
|
@@ -114,10 +180,6 @@ export declare const modelLoader: {
|
|
|
114
180
|
};
|
|
115
181
|
readonly required: readonly ["min", "max"];
|
|
116
182
|
readonly additionalProperties: false;
|
|
117
|
-
readonly default: {
|
|
118
|
-
readonly min: readonly [0, 0, 0];
|
|
119
|
-
readonly max: readonly [0, 0, 0];
|
|
120
|
-
};
|
|
121
183
|
};
|
|
122
184
|
} & {
|
|
123
185
|
readonly material: {
|
|
@@ -370,71 +432,6 @@ export declare const modelLoader: {
|
|
|
370
432
|
readonly const: true;
|
|
371
433
|
readonly default: true;
|
|
372
434
|
};
|
|
373
|
-
} & {
|
|
374
|
-
readonly _vertexBuffer: {
|
|
375
|
-
readonly default: GPUBuffer | null;
|
|
376
|
-
readonly nonPersistent: true;
|
|
377
|
-
};
|
|
378
|
-
readonly _skinVertexBuffer: {
|
|
379
|
-
readonly default: GPUBuffer | null;
|
|
380
|
-
readonly nonPersistent: true;
|
|
381
|
-
};
|
|
382
|
-
readonly _indexBuffer: {
|
|
383
|
-
readonly default: GPUBuffer | null;
|
|
384
|
-
readonly nonPersistent: true;
|
|
385
|
-
};
|
|
386
|
-
readonly _indexCount: {
|
|
387
|
-
readonly nonPersistent: true;
|
|
388
|
-
readonly type: "integer";
|
|
389
|
-
readonly minimum: 0;
|
|
390
|
-
readonly maximum: 4294967295;
|
|
391
|
-
readonly default: number;
|
|
392
|
-
};
|
|
393
|
-
readonly _indexFormat: {
|
|
394
|
-
readonly default: GPUIndexFormat;
|
|
395
|
-
readonly nonPersistent: true;
|
|
396
|
-
};
|
|
397
|
-
readonly _materialBindGroup: {
|
|
398
|
-
readonly default: GPUBindGroup | null;
|
|
399
|
-
readonly nonPersistent: true;
|
|
400
|
-
};
|
|
401
|
-
readonly _mesh: {
|
|
402
|
-
readonly nonPersistent: true;
|
|
403
|
-
readonly type: "integer";
|
|
404
|
-
readonly minimum: -2147483648;
|
|
405
|
-
readonly maximum: 2147483647;
|
|
406
|
-
readonly default: number;
|
|
407
|
-
};
|
|
408
|
-
readonly _material: {
|
|
409
|
-
readonly nonPersistent: true;
|
|
410
|
-
readonly type: "integer";
|
|
411
|
-
readonly minimum: -2147483648;
|
|
412
|
-
readonly maximum: 2147483647;
|
|
413
|
-
readonly default: number;
|
|
414
|
-
};
|
|
415
|
-
readonly _nodeLocalMatrix: {
|
|
416
|
-
readonly nonPersistent: true;
|
|
417
|
-
readonly type: "array";
|
|
418
|
-
readonly items: {
|
|
419
|
-
readonly type: "number";
|
|
420
|
-
readonly precision: 1;
|
|
421
|
-
readonly default: number;
|
|
422
|
-
};
|
|
423
|
-
readonly minItems: 16;
|
|
424
|
-
readonly maxItems: 16;
|
|
425
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
426
|
-
};
|
|
427
|
-
readonly _skeletonModelRef: {
|
|
428
|
-
readonly nonPersistent: true;
|
|
429
|
-
readonly type: "integer";
|
|
430
|
-
readonly minimum: -2147483648;
|
|
431
|
-
readonly maximum: 2147483647;
|
|
432
|
-
readonly default: number;
|
|
433
|
-
};
|
|
434
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
435
|
-
readonly default: GPUBindGroup | null;
|
|
436
|
-
readonly nonPersistent: true;
|
|
437
|
-
};
|
|
438
435
|
};
|
|
439
436
|
readonly resources: {} & {
|
|
440
437
|
readonly _gltfMeshByUrl: {
|
|
@@ -461,6 +458,9 @@ export declare const modelLoader: {
|
|
|
461
458
|
};
|
|
462
459
|
};
|
|
463
460
|
readonly archetypes: {} & {
|
|
461
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
462
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
463
|
+
} & {
|
|
464
464
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
465
465
|
} & {} & {
|
|
466
466
|
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"];
|
|
@@ -475,11 +475,8 @@ export declare const modelLoader: {
|
|
|
475
475
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
476
476
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
477
477
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
478
|
-
} & {} & {
|
|
479
|
-
|
|
480
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
481
|
-
} & {};
|
|
482
|
-
readonly transactions: {} & {} & {
|
|
478
|
+
} & {} & {};
|
|
479
|
+
readonly transactions: {} & {} & {} & {
|
|
483
480
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
484
481
|
readonly material: {
|
|
485
482
|
readonly type: "integer";
|
|
@@ -1464,6 +1461,7 @@ export declare const modelLoader: {
|
|
|
1464
1461
|
readonly default: number;
|
|
1465
1462
|
};
|
|
1466
1463
|
readonly _worldMatrix: {
|
|
1464
|
+
readonly default: undefined;
|
|
1467
1465
|
readonly nonPersistent: true;
|
|
1468
1466
|
readonly type: "array";
|
|
1469
1467
|
readonly items: {
|
|
@@ -1473,9 +1471,9 @@ export declare const modelLoader: {
|
|
|
1473
1471
|
};
|
|
1474
1472
|
readonly minItems: 16;
|
|
1475
1473
|
readonly maxItems: 16;
|
|
1476
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1477
1474
|
};
|
|
1478
1475
|
readonly _worldBounds: {
|
|
1476
|
+
readonly default: undefined;
|
|
1479
1477
|
readonly nonPersistent: true;
|
|
1480
1478
|
readonly type: "object";
|
|
1481
1479
|
readonly properties: {
|
|
@@ -1504,10 +1502,6 @@ export declare const modelLoader: {
|
|
|
1504
1502
|
};
|
|
1505
1503
|
readonly required: readonly ["min", "max"];
|
|
1506
1504
|
readonly additionalProperties: false;
|
|
1507
|
-
readonly default: {
|
|
1508
|
-
readonly min: readonly [0, 0, 0];
|
|
1509
|
-
readonly max: readonly [0, 0, 0];
|
|
1510
|
-
};
|
|
1511
1505
|
};
|
|
1512
1506
|
} & {} & {
|
|
1513
1507
|
readonly material: {
|
|
@@ -1798,6 +1792,7 @@ export declare const modelLoader: {
|
|
|
1798
1792
|
readonly default: number;
|
|
1799
1793
|
};
|
|
1800
1794
|
readonly _worldMatrix: {
|
|
1795
|
+
readonly default: undefined;
|
|
1801
1796
|
readonly nonPersistent: true;
|
|
1802
1797
|
readonly type: "array";
|
|
1803
1798
|
readonly items: {
|
|
@@ -1807,9 +1802,9 @@ export declare const modelLoader: {
|
|
|
1807
1802
|
};
|
|
1808
1803
|
readonly minItems: 16;
|
|
1809
1804
|
readonly maxItems: 16;
|
|
1810
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1811
1805
|
};
|
|
1812
1806
|
readonly _worldBounds: {
|
|
1807
|
+
readonly default: undefined;
|
|
1813
1808
|
readonly nonPersistent: true;
|
|
1814
1809
|
readonly type: "object";
|
|
1815
1810
|
readonly properties: {
|
|
@@ -1838,10 +1833,6 @@ export declare const modelLoader: {
|
|
|
1838
1833
|
};
|
|
1839
1834
|
readonly required: readonly ["min", "max"];
|
|
1840
1835
|
readonly additionalProperties: false;
|
|
1841
|
-
readonly default: {
|
|
1842
|
-
readonly min: readonly [0, 0, 0];
|
|
1843
|
-
readonly max: readonly [0, 0, 0];
|
|
1844
|
-
};
|
|
1845
1836
|
};
|
|
1846
1837
|
} & {} & {
|
|
1847
1838
|
readonly material: {
|
|
@@ -2132,6 +2123,7 @@ export declare const modelLoader: {
|
|
|
2132
2123
|
readonly default: number;
|
|
2133
2124
|
};
|
|
2134
2125
|
readonly _worldMatrix: {
|
|
2126
|
+
readonly default: undefined;
|
|
2135
2127
|
readonly nonPersistent: true;
|
|
2136
2128
|
readonly type: "array";
|
|
2137
2129
|
readonly items: {
|
|
@@ -2141,9 +2133,9 @@ export declare const modelLoader: {
|
|
|
2141
2133
|
};
|
|
2142
2134
|
readonly minItems: 16;
|
|
2143
2135
|
readonly maxItems: 16;
|
|
2144
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2145
2136
|
};
|
|
2146
2137
|
readonly _worldBounds: {
|
|
2138
|
+
readonly default: undefined;
|
|
2147
2139
|
readonly nonPersistent: true;
|
|
2148
2140
|
readonly type: "object";
|
|
2149
2141
|
readonly properties: {
|
|
@@ -2172,10 +2164,6 @@ export declare const modelLoader: {
|
|
|
2172
2164
|
};
|
|
2173
2165
|
readonly required: readonly ["min", "max"];
|
|
2174
2166
|
readonly additionalProperties: false;
|
|
2175
|
-
readonly default: {
|
|
2176
|
-
readonly min: readonly [0, 0, 0];
|
|
2177
|
-
readonly max: readonly [0, 0, 0];
|
|
2178
|
-
};
|
|
2179
2167
|
};
|
|
2180
2168
|
} & {} & {
|
|
2181
2169
|
readonly material: {
|
|
@@ -2470,6 +2458,7 @@ export declare const modelLoader: {
|
|
|
2470
2458
|
readonly default: number;
|
|
2471
2459
|
};
|
|
2472
2460
|
readonly _worldMatrix: {
|
|
2461
|
+
readonly default: undefined;
|
|
2473
2462
|
readonly nonPersistent: true;
|
|
2474
2463
|
readonly type: "array";
|
|
2475
2464
|
readonly items: {
|
|
@@ -2479,9 +2468,9 @@ export declare const modelLoader: {
|
|
|
2479
2468
|
};
|
|
2480
2469
|
readonly minItems: 16;
|
|
2481
2470
|
readonly maxItems: 16;
|
|
2482
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2483
2471
|
};
|
|
2484
2472
|
readonly _worldBounds: {
|
|
2473
|
+
readonly default: undefined;
|
|
2485
2474
|
readonly nonPersistent: true;
|
|
2486
2475
|
readonly type: "object";
|
|
2487
2476
|
readonly properties: {
|
|
@@ -2510,10 +2499,6 @@ export declare const modelLoader: {
|
|
|
2510
2499
|
};
|
|
2511
2500
|
readonly required: readonly ["min", "max"];
|
|
2512
2501
|
readonly additionalProperties: false;
|
|
2513
|
-
readonly default: {
|
|
2514
|
-
readonly min: readonly [0, 0, 0];
|
|
2515
|
-
readonly max: readonly [0, 0, 0];
|
|
2516
|
-
};
|
|
2517
2502
|
};
|
|
2518
2503
|
} & {} & {
|
|
2519
2504
|
readonly material: {
|
|
@@ -2871,8 +2856,73 @@ export declare const modelLoader: {
|
|
|
2871
2856
|
dt: number;
|
|
2872
2857
|
observable: boolean;
|
|
2873
2858
|
}) => void;
|
|
2874
|
-
} & {} & {
|
|
2859
|
+
} & {} & {
|
|
2875
2860
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2861
|
+
readonly _vertexBuffer: {
|
|
2862
|
+
readonly default: GPUBuffer | null;
|
|
2863
|
+
readonly nonPersistent: true;
|
|
2864
|
+
};
|
|
2865
|
+
readonly _skinVertexBuffer: {
|
|
2866
|
+
readonly default: GPUBuffer | null;
|
|
2867
|
+
readonly nonPersistent: true;
|
|
2868
|
+
};
|
|
2869
|
+
readonly _indexBuffer: {
|
|
2870
|
+
readonly default: GPUBuffer | null;
|
|
2871
|
+
readonly nonPersistent: true;
|
|
2872
|
+
};
|
|
2873
|
+
readonly _indexCount: {
|
|
2874
|
+
readonly default: undefined;
|
|
2875
|
+
readonly nonPersistent: true;
|
|
2876
|
+
readonly type: "integer";
|
|
2877
|
+
readonly minimum: 0;
|
|
2878
|
+
readonly maximum: 4294967295;
|
|
2879
|
+
};
|
|
2880
|
+
readonly _indexFormat: {
|
|
2881
|
+
readonly default: GPUIndexFormat;
|
|
2882
|
+
readonly nonPersistent: true;
|
|
2883
|
+
};
|
|
2884
|
+
readonly _materialBindGroup: {
|
|
2885
|
+
readonly default: GPUBindGroup | null;
|
|
2886
|
+
readonly nonPersistent: true;
|
|
2887
|
+
};
|
|
2888
|
+
readonly _mesh: {
|
|
2889
|
+
readonly default: undefined;
|
|
2890
|
+
readonly nonPersistent: true;
|
|
2891
|
+
readonly type: "integer";
|
|
2892
|
+
readonly minimum: -2147483648;
|
|
2893
|
+
readonly maximum: 2147483647;
|
|
2894
|
+
};
|
|
2895
|
+
readonly _material: {
|
|
2896
|
+
readonly default: undefined;
|
|
2897
|
+
readonly nonPersistent: true;
|
|
2898
|
+
readonly type: "integer";
|
|
2899
|
+
readonly minimum: -2147483648;
|
|
2900
|
+
readonly maximum: 2147483647;
|
|
2901
|
+
};
|
|
2902
|
+
readonly _nodeLocalMatrix: {
|
|
2903
|
+
readonly default: undefined;
|
|
2904
|
+
readonly nonPersistent: true;
|
|
2905
|
+
readonly type: "array";
|
|
2906
|
+
readonly items: {
|
|
2907
|
+
readonly type: "number";
|
|
2908
|
+
readonly precision: 1;
|
|
2909
|
+
readonly default: number;
|
|
2910
|
+
};
|
|
2911
|
+
readonly minItems: 16;
|
|
2912
|
+
readonly maxItems: 16;
|
|
2913
|
+
};
|
|
2914
|
+
readonly _skeletonModelRef: {
|
|
2915
|
+
readonly default: undefined;
|
|
2916
|
+
readonly nonPersistent: true;
|
|
2917
|
+
readonly type: "integer";
|
|
2918
|
+
readonly minimum: -2147483648;
|
|
2919
|
+
readonly maximum: 2147483647;
|
|
2920
|
+
};
|
|
2921
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
2922
|
+
readonly default: GPUBindGroup | null;
|
|
2923
|
+
readonly nonPersistent: true;
|
|
2924
|
+
};
|
|
2925
|
+
} & {
|
|
2876
2926
|
readonly visible: {
|
|
2877
2927
|
readonly type: "boolean";
|
|
2878
2928
|
readonly const: true;
|
|
@@ -2921,6 +2971,7 @@ export declare const modelLoader: {
|
|
|
2921
2971
|
readonly default: number;
|
|
2922
2972
|
};
|
|
2923
2973
|
readonly _worldMatrix: {
|
|
2974
|
+
readonly default: undefined;
|
|
2924
2975
|
readonly nonPersistent: true;
|
|
2925
2976
|
readonly type: "array";
|
|
2926
2977
|
readonly items: {
|
|
@@ -2930,9 +2981,9 @@ export declare const modelLoader: {
|
|
|
2930
2981
|
};
|
|
2931
2982
|
readonly minItems: 16;
|
|
2932
2983
|
readonly maxItems: 16;
|
|
2933
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2934
2984
|
};
|
|
2935
2985
|
readonly _worldBounds: {
|
|
2986
|
+
readonly default: undefined;
|
|
2936
2987
|
readonly nonPersistent: true;
|
|
2937
2988
|
readonly type: "object";
|
|
2938
2989
|
readonly properties: {
|
|
@@ -2961,10 +3012,6 @@ export declare const modelLoader: {
|
|
|
2961
3012
|
};
|
|
2962
3013
|
readonly required: readonly ["min", "max"];
|
|
2963
3014
|
readonly additionalProperties: false;
|
|
2964
|
-
readonly default: {
|
|
2965
|
-
readonly min: readonly [0, 0, 0];
|
|
2966
|
-
readonly max: readonly [0, 0, 0];
|
|
2967
|
-
};
|
|
2968
3015
|
};
|
|
2969
3016
|
} & {
|
|
2970
3017
|
readonly material: {
|
|
@@ -3217,71 +3264,6 @@ export declare const modelLoader: {
|
|
|
3217
3264
|
readonly const: true;
|
|
3218
3265
|
readonly default: true;
|
|
3219
3266
|
};
|
|
3220
|
-
} & {
|
|
3221
|
-
readonly _vertexBuffer: {
|
|
3222
|
-
readonly default: GPUBuffer | null;
|
|
3223
|
-
readonly nonPersistent: true;
|
|
3224
|
-
};
|
|
3225
|
-
readonly _skinVertexBuffer: {
|
|
3226
|
-
readonly default: GPUBuffer | null;
|
|
3227
|
-
readonly nonPersistent: true;
|
|
3228
|
-
};
|
|
3229
|
-
readonly _indexBuffer: {
|
|
3230
|
-
readonly default: GPUBuffer | null;
|
|
3231
|
-
readonly nonPersistent: true;
|
|
3232
|
-
};
|
|
3233
|
-
readonly _indexCount: {
|
|
3234
|
-
readonly nonPersistent: true;
|
|
3235
|
-
readonly type: "integer";
|
|
3236
|
-
readonly minimum: 0;
|
|
3237
|
-
readonly maximum: 4294967295;
|
|
3238
|
-
readonly default: number;
|
|
3239
|
-
};
|
|
3240
|
-
readonly _indexFormat: {
|
|
3241
|
-
readonly default: GPUIndexFormat;
|
|
3242
|
-
readonly nonPersistent: true;
|
|
3243
|
-
};
|
|
3244
|
-
readonly _materialBindGroup: {
|
|
3245
|
-
readonly default: GPUBindGroup | null;
|
|
3246
|
-
readonly nonPersistent: true;
|
|
3247
|
-
};
|
|
3248
|
-
readonly _mesh: {
|
|
3249
|
-
readonly nonPersistent: true;
|
|
3250
|
-
readonly type: "integer";
|
|
3251
|
-
readonly minimum: -2147483648;
|
|
3252
|
-
readonly maximum: 2147483647;
|
|
3253
|
-
readonly default: number;
|
|
3254
|
-
};
|
|
3255
|
-
readonly _material: {
|
|
3256
|
-
readonly nonPersistent: true;
|
|
3257
|
-
readonly type: "integer";
|
|
3258
|
-
readonly minimum: -2147483648;
|
|
3259
|
-
readonly maximum: 2147483647;
|
|
3260
|
-
readonly default: number;
|
|
3261
|
-
};
|
|
3262
|
-
readonly _nodeLocalMatrix: {
|
|
3263
|
-
readonly nonPersistent: true;
|
|
3264
|
-
readonly type: "array";
|
|
3265
|
-
readonly items: {
|
|
3266
|
-
readonly type: "number";
|
|
3267
|
-
readonly precision: 1;
|
|
3268
|
-
readonly default: number;
|
|
3269
|
-
};
|
|
3270
|
-
readonly minItems: 16;
|
|
3271
|
-
readonly maxItems: 16;
|
|
3272
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3273
|
-
};
|
|
3274
|
-
readonly _skeletonModelRef: {
|
|
3275
|
-
readonly nonPersistent: true;
|
|
3276
|
-
readonly type: "integer";
|
|
3277
|
-
readonly minimum: -2147483648;
|
|
3278
|
-
readonly maximum: 2147483647;
|
|
3279
|
-
readonly default: number;
|
|
3280
|
-
};
|
|
3281
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3282
|
-
readonly default: GPUBindGroup | null;
|
|
3283
|
-
readonly nonPersistent: true;
|
|
3284
|
-
};
|
|
3285
3267
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3286
3268
|
readonly _gltfMeshByUrl: {
|
|
3287
3269
|
readonly default: Map<string, number> | null;
|
|
@@ -3306,6 +3288,9 @@ export declare const modelLoader: {
|
|
|
3306
3288
|
readonly nonPersistent: true;
|
|
3307
3289
|
};
|
|
3308
3290
|
}>, {} & {} & {
|
|
3291
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3292
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3293
|
+
} & {
|
|
3309
3294
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3310
3295
|
} & {} & {
|
|
3311
3296
|
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"];
|
|
@@ -3320,10 +3305,7 @@ export declare const modelLoader: {
|
|
|
3320
3305
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3321
3306
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3322
3307
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3323
|
-
} & {} & {
|
|
3324
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3325
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3326
|
-
}, {} & {} & {
|
|
3308
|
+
} & {}, {} & {} & {} & {
|
|
3327
3309
|
readonly nodeChildrenOf: {
|
|
3328
3310
|
readonly key: "parent";
|
|
3329
3311
|
readonly archetype: "Node";
|
|
@@ -3334,13 +3316,13 @@ export declare const modelLoader: {
|
|
|
3334
3316
|
readonly unique: true;
|
|
3335
3317
|
readonly archetype: "Material";
|
|
3336
3318
|
};
|
|
3337
|
-
} & {} & {} & {} & {}
|
|
3319
|
+
} & {} & {} & {} & {}, never>, args: LoadedArgs) => void;
|
|
3338
3320
|
};
|
|
3339
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3321
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem">;
|
|
3340
3322
|
readonly actions: {};
|
|
3341
3323
|
readonly services: {};
|
|
3342
3324
|
readonly computed: {};
|
|
3343
|
-
readonly indexes: {} & {
|
|
3325
|
+
readonly indexes: {} & {} & {
|
|
3344
3326
|
readonly nodeChildrenOf: {
|
|
3345
3327
|
readonly key: "parent";
|
|
3346
3328
|
readonly archetype: "Node";
|
|
@@ -3351,5 +3333,5 @@ export declare const modelLoader: {
|
|
|
3351
3333
|
readonly unique: true;
|
|
3352
3334
|
readonly archetype: "Material";
|
|
3353
3335
|
};
|
|
3354
|
-
} & {} & {} & {} & {} & {}
|
|
3336
|
+
} & {} & {} & {} & {} & {};
|
|
3355
3337
|
};
|