@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
|
@@ -20,7 +20,7 @@ import { Vec3 } from "@adobe/data/math";
|
|
|
20
20
|
* `_PbrPrimitive` archetype.
|
|
21
21
|
*/
|
|
22
22
|
export declare const pbrIblRender: {
|
|
23
|
-
readonly components: {
|
|
23
|
+
readonly components: {
|
|
24
24
|
readonly visible: {
|
|
25
25
|
readonly type: "boolean";
|
|
26
26
|
readonly const: true;
|
|
@@ -69,6 +69,7 @@ export declare const pbrIblRender: {
|
|
|
69
69
|
readonly default: number;
|
|
70
70
|
};
|
|
71
71
|
readonly _worldMatrix: {
|
|
72
|
+
readonly default: undefined;
|
|
72
73
|
readonly nonPersistent: true;
|
|
73
74
|
readonly type: "array";
|
|
74
75
|
readonly items: {
|
|
@@ -78,9 +79,9 @@ export declare const pbrIblRender: {
|
|
|
78
79
|
};
|
|
79
80
|
readonly minItems: 16;
|
|
80
81
|
readonly maxItems: 16;
|
|
81
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
82
82
|
};
|
|
83
83
|
readonly _worldBounds: {
|
|
84
|
+
readonly default: undefined;
|
|
84
85
|
readonly nonPersistent: true;
|
|
85
86
|
readonly type: "object";
|
|
86
87
|
readonly properties: {
|
|
@@ -109,12 +110,8 @@ export declare const pbrIblRender: {
|
|
|
109
110
|
};
|
|
110
111
|
readonly required: readonly ["min", "max"];
|
|
111
112
|
readonly additionalProperties: false;
|
|
112
|
-
readonly default: {
|
|
113
|
-
readonly min: readonly [0, 0, 0];
|
|
114
|
-
readonly max: readonly [0, 0, 0];
|
|
115
|
-
};
|
|
116
113
|
};
|
|
117
|
-
} & {
|
|
114
|
+
} & {} & {
|
|
118
115
|
readonly _vertexBuffer: {
|
|
119
116
|
readonly default: GPUBuffer | null;
|
|
120
117
|
readonly nonPersistent: true;
|
|
@@ -128,11 +125,11 @@ export declare const pbrIblRender: {
|
|
|
128
125
|
readonly nonPersistent: true;
|
|
129
126
|
};
|
|
130
127
|
readonly _indexCount: {
|
|
128
|
+
readonly default: undefined;
|
|
131
129
|
readonly nonPersistent: true;
|
|
132
130
|
readonly type: "integer";
|
|
133
131
|
readonly minimum: 0;
|
|
134
132
|
readonly maximum: 4294967295;
|
|
135
|
-
readonly default: number;
|
|
136
133
|
};
|
|
137
134
|
readonly _indexFormat: {
|
|
138
135
|
readonly default: GPUIndexFormat;
|
|
@@ -143,20 +140,21 @@ export declare const pbrIblRender: {
|
|
|
143
140
|
readonly nonPersistent: true;
|
|
144
141
|
};
|
|
145
142
|
readonly _mesh: {
|
|
143
|
+
readonly default: undefined;
|
|
146
144
|
readonly nonPersistent: true;
|
|
147
145
|
readonly type: "integer";
|
|
148
146
|
readonly minimum: -2147483648;
|
|
149
147
|
readonly maximum: 2147483647;
|
|
150
|
-
readonly default: number;
|
|
151
148
|
};
|
|
152
149
|
readonly _material: {
|
|
150
|
+
readonly default: undefined;
|
|
153
151
|
readonly nonPersistent: true;
|
|
154
152
|
readonly type: "integer";
|
|
155
153
|
readonly minimum: -2147483648;
|
|
156
154
|
readonly maximum: 2147483647;
|
|
157
|
-
readonly default: number;
|
|
158
155
|
};
|
|
159
156
|
readonly _nodeLocalMatrix: {
|
|
157
|
+
readonly default: undefined;
|
|
160
158
|
readonly nonPersistent: true;
|
|
161
159
|
readonly type: "array";
|
|
162
160
|
readonly items: {
|
|
@@ -166,14 +164,13 @@ export declare const pbrIblRender: {
|
|
|
166
164
|
};
|
|
167
165
|
readonly minItems: 16;
|
|
168
166
|
readonly maxItems: 16;
|
|
169
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
170
167
|
};
|
|
171
168
|
readonly _skeletonModelRef: {
|
|
169
|
+
readonly default: undefined;
|
|
172
170
|
readonly nonPersistent: true;
|
|
173
171
|
readonly type: "integer";
|
|
174
172
|
readonly minimum: -2147483648;
|
|
175
173
|
readonly maximum: 2147483647;
|
|
176
|
-
readonly default: number;
|
|
177
174
|
};
|
|
178
175
|
readonly _skeletonJointMatrixBindGroup: {
|
|
179
176
|
readonly default: GPUBindGroup | null;
|
|
@@ -435,8 +432,9 @@ export declare const pbrIblRender: {
|
|
|
435
432
|
};
|
|
436
433
|
};
|
|
437
434
|
readonly resources: {} & {
|
|
438
|
-
readonly
|
|
439
|
-
readonly default:
|
|
435
|
+
readonly _gltfMeshByUrl: {
|
|
436
|
+
readonly default: Map<string, number> | null;
|
|
437
|
+
readonly nonPersistent: true;
|
|
440
438
|
};
|
|
441
439
|
} & {
|
|
442
440
|
readonly frameTime: {
|
|
@@ -456,6 +454,10 @@ export declare const pbrIblRender: {
|
|
|
456
454
|
readonly default: GPUCommandEncoder | null;
|
|
457
455
|
readonly nonPersistent: true;
|
|
458
456
|
};
|
|
457
|
+
} & {
|
|
458
|
+
readonly light: {
|
|
459
|
+
readonly default: import("../../scene/light/public.js");
|
|
460
|
+
};
|
|
459
461
|
} & {
|
|
460
462
|
readonly renderPassEncoder: {
|
|
461
463
|
readonly default: GPURenderPassEncoder | null;
|
|
@@ -494,11 +496,6 @@ export declare const pbrIblRender: {
|
|
|
494
496
|
readonly default: GPUBuffer | null;
|
|
495
497
|
readonly nonPersistent: true;
|
|
496
498
|
};
|
|
497
|
-
} & {
|
|
498
|
-
readonly _gltfMeshByUrl: {
|
|
499
|
-
readonly default: Map<string, number> | null;
|
|
500
|
-
readonly nonPersistent: true;
|
|
501
|
-
};
|
|
502
499
|
} & {
|
|
503
500
|
readonly _iblEnvironment: {
|
|
504
501
|
readonly default: GPUTexture | null;
|
|
@@ -517,9 +514,9 @@ export declare const pbrIblRender: {
|
|
|
517
514
|
readonly nonPersistent: true;
|
|
518
515
|
};
|
|
519
516
|
};
|
|
520
|
-
readonly archetypes: {
|
|
517
|
+
readonly archetypes: {
|
|
521
518
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
522
|
-
} & {} & {
|
|
519
|
+
} & {} & {} & {
|
|
523
520
|
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
524
521
|
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
525
522
|
} & {
|
|
@@ -536,62 +533,7 @@ export declare const pbrIblRender: {
|
|
|
536
533
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
537
534
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
538
535
|
} & {} & {} & {};
|
|
539
|
-
readonly transactions: {} & {} & {
|
|
540
|
-
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
541
|
-
readonly light: {
|
|
542
|
-
readonly default: import("../../scene/light/public.js");
|
|
543
|
-
};
|
|
544
|
-
}>, {}, {}, never>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
545
|
-
} & {} & {} & {
|
|
546
|
-
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
547
|
-
readonly renderPassEncoder: {
|
|
548
|
-
readonly default: GPURenderPassEncoder | null;
|
|
549
|
-
readonly nonPersistent: true;
|
|
550
|
-
};
|
|
551
|
-
readonly depthTexture: {
|
|
552
|
-
readonly default: GPUTexture | null;
|
|
553
|
-
readonly nonPersistent: true;
|
|
554
|
-
};
|
|
555
|
-
readonly clearColor: {
|
|
556
|
-
readonly default: import("@adobe/data/math").Vec4;
|
|
557
|
-
readonly nonPersistent: true;
|
|
558
|
-
};
|
|
559
|
-
readonly canvas: {
|
|
560
|
-
readonly default: HTMLCanvasElement | null;
|
|
561
|
-
readonly nonPersistent: true;
|
|
562
|
-
};
|
|
563
|
-
readonly canvasContext: {
|
|
564
|
-
readonly default: GPUCanvasContext | null;
|
|
565
|
-
readonly nonPersistent: true;
|
|
566
|
-
};
|
|
567
|
-
readonly canvasFormat: {
|
|
568
|
-
readonly default: GPUTextureFormat;
|
|
569
|
-
readonly nonPersistent: true;
|
|
570
|
-
};
|
|
571
|
-
readonly depthFormat: {
|
|
572
|
-
readonly default: GPUTextureFormat;
|
|
573
|
-
readonly nonPersistent: true;
|
|
574
|
-
};
|
|
575
|
-
} & {
|
|
576
|
-
readonly frameTime: {
|
|
577
|
-
readonly default: import("../../../core/frame-time/public.js");
|
|
578
|
-
readonly nonPersistent: true;
|
|
579
|
-
};
|
|
580
|
-
} & {
|
|
581
|
-
readonly schedulerState: {
|
|
582
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
583
|
-
};
|
|
584
|
-
} & {
|
|
585
|
-
readonly device: {
|
|
586
|
-
readonly default: GPUDevice | null;
|
|
587
|
-
readonly nonPersistent: true;
|
|
588
|
-
};
|
|
589
|
-
readonly commandEncoder: {
|
|
590
|
-
readonly default: GPUCommandEncoder | null;
|
|
591
|
-
readonly nonPersistent: true;
|
|
592
|
-
};
|
|
593
|
-
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
594
|
-
} & {} & {} & {} & {
|
|
536
|
+
readonly transactions: {} & {} & {} & {
|
|
595
537
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
596
538
|
readonly material: {
|
|
597
539
|
readonly type: "integer";
|
|
@@ -1579,6 +1521,7 @@ export declare const pbrIblRender: {
|
|
|
1579
1521
|
readonly default: number;
|
|
1580
1522
|
};
|
|
1581
1523
|
readonly _worldMatrix: {
|
|
1524
|
+
readonly default: undefined;
|
|
1582
1525
|
readonly nonPersistent: true;
|
|
1583
1526
|
readonly type: "array";
|
|
1584
1527
|
readonly items: {
|
|
@@ -1588,9 +1531,9 @@ export declare const pbrIblRender: {
|
|
|
1588
1531
|
};
|
|
1589
1532
|
readonly minItems: 16;
|
|
1590
1533
|
readonly maxItems: 16;
|
|
1591
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1592
1534
|
};
|
|
1593
1535
|
readonly _worldBounds: {
|
|
1536
|
+
readonly default: undefined;
|
|
1594
1537
|
readonly nonPersistent: true;
|
|
1595
1538
|
readonly type: "object";
|
|
1596
1539
|
readonly properties: {
|
|
@@ -1619,10 +1562,6 @@ export declare const pbrIblRender: {
|
|
|
1619
1562
|
};
|
|
1620
1563
|
readonly required: readonly ["min", "max"];
|
|
1621
1564
|
readonly additionalProperties: false;
|
|
1622
|
-
readonly default: {
|
|
1623
|
-
readonly min: readonly [0, 0, 0];
|
|
1624
|
-
readonly max: readonly [0, 0, 0];
|
|
1625
|
-
};
|
|
1626
1565
|
};
|
|
1627
1566
|
} & {} & {
|
|
1628
1567
|
readonly material: {
|
|
@@ -1916,6 +1855,7 @@ export declare const pbrIblRender: {
|
|
|
1916
1855
|
readonly default: number;
|
|
1917
1856
|
};
|
|
1918
1857
|
readonly _worldMatrix: {
|
|
1858
|
+
readonly default: undefined;
|
|
1919
1859
|
readonly nonPersistent: true;
|
|
1920
1860
|
readonly type: "array";
|
|
1921
1861
|
readonly items: {
|
|
@@ -1925,9 +1865,9 @@ export declare const pbrIblRender: {
|
|
|
1925
1865
|
};
|
|
1926
1866
|
readonly minItems: 16;
|
|
1927
1867
|
readonly maxItems: 16;
|
|
1928
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1929
1868
|
};
|
|
1930
1869
|
readonly _worldBounds: {
|
|
1870
|
+
readonly default: undefined;
|
|
1931
1871
|
readonly nonPersistent: true;
|
|
1932
1872
|
readonly type: "object";
|
|
1933
1873
|
readonly properties: {
|
|
@@ -1956,10 +1896,6 @@ export declare const pbrIblRender: {
|
|
|
1956
1896
|
};
|
|
1957
1897
|
readonly required: readonly ["min", "max"];
|
|
1958
1898
|
readonly additionalProperties: false;
|
|
1959
|
-
readonly default: {
|
|
1960
|
-
readonly min: readonly [0, 0, 0];
|
|
1961
|
-
readonly max: readonly [0, 0, 0];
|
|
1962
|
-
};
|
|
1963
1899
|
};
|
|
1964
1900
|
} & {} & {
|
|
1965
1901
|
readonly material: {
|
|
@@ -2253,6 +2189,7 @@ export declare const pbrIblRender: {
|
|
|
2253
2189
|
readonly default: number;
|
|
2254
2190
|
};
|
|
2255
2191
|
readonly _worldMatrix: {
|
|
2192
|
+
readonly default: undefined;
|
|
2256
2193
|
readonly nonPersistent: true;
|
|
2257
2194
|
readonly type: "array";
|
|
2258
2195
|
readonly items: {
|
|
@@ -2262,9 +2199,9 @@ export declare const pbrIblRender: {
|
|
|
2262
2199
|
};
|
|
2263
2200
|
readonly minItems: 16;
|
|
2264
2201
|
readonly maxItems: 16;
|
|
2265
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2266
2202
|
};
|
|
2267
2203
|
readonly _worldBounds: {
|
|
2204
|
+
readonly default: undefined;
|
|
2268
2205
|
readonly nonPersistent: true;
|
|
2269
2206
|
readonly type: "object";
|
|
2270
2207
|
readonly properties: {
|
|
@@ -2293,10 +2230,6 @@ export declare const pbrIblRender: {
|
|
|
2293
2230
|
};
|
|
2294
2231
|
readonly required: readonly ["min", "max"];
|
|
2295
2232
|
readonly additionalProperties: false;
|
|
2296
|
-
readonly default: {
|
|
2297
|
-
readonly min: readonly [0, 0, 0];
|
|
2298
|
-
readonly max: readonly [0, 0, 0];
|
|
2299
|
-
};
|
|
2300
2233
|
};
|
|
2301
2234
|
} & {} & {
|
|
2302
2235
|
readonly material: {
|
|
@@ -2594,6 +2527,7 @@ export declare const pbrIblRender: {
|
|
|
2594
2527
|
readonly default: number;
|
|
2595
2528
|
};
|
|
2596
2529
|
readonly _worldMatrix: {
|
|
2530
|
+
readonly default: undefined;
|
|
2597
2531
|
readonly nonPersistent: true;
|
|
2598
2532
|
readonly type: "array";
|
|
2599
2533
|
readonly items: {
|
|
@@ -2603,9 +2537,9 @@ export declare const pbrIblRender: {
|
|
|
2603
2537
|
};
|
|
2604
2538
|
readonly minItems: 16;
|
|
2605
2539
|
readonly maxItems: 16;
|
|
2606
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2607
2540
|
};
|
|
2608
2541
|
readonly _worldBounds: {
|
|
2542
|
+
readonly default: undefined;
|
|
2609
2543
|
readonly nonPersistent: true;
|
|
2610
2544
|
readonly type: "object";
|
|
2611
2545
|
readonly properties: {
|
|
@@ -2634,10 +2568,6 @@ export declare const pbrIblRender: {
|
|
|
2634
2568
|
};
|
|
2635
2569
|
readonly required: readonly ["min", "max"];
|
|
2636
2570
|
readonly additionalProperties: false;
|
|
2637
|
-
readonly default: {
|
|
2638
|
-
readonly min: readonly [0, 0, 0];
|
|
2639
|
-
readonly max: readonly [0, 0, 0];
|
|
2640
|
-
};
|
|
2641
2571
|
};
|
|
2642
2572
|
} & {} & {
|
|
2643
2573
|
readonly material: {
|
|
@@ -2842,7 +2772,7 @@ export declare const pbrIblRender: {
|
|
|
2842
2772
|
scale?: Vec3;
|
|
2843
2773
|
parent?: number;
|
|
2844
2774
|
}) => number;
|
|
2845
|
-
} & {} & {
|
|
2775
|
+
} & {} & {} & {} & {
|
|
2846
2776
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2847
2777
|
readonly animationClipTracks: {
|
|
2848
2778
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -2997,6 +2927,71 @@ export declare const pbrIblRender: {
|
|
|
2997
2927
|
}) => void;
|
|
2998
2928
|
} & {} & {
|
|
2999
2929
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2930
|
+
readonly _vertexBuffer: {
|
|
2931
|
+
readonly default: GPUBuffer | null;
|
|
2932
|
+
readonly nonPersistent: true;
|
|
2933
|
+
};
|
|
2934
|
+
readonly _skinVertexBuffer: {
|
|
2935
|
+
readonly default: GPUBuffer | null;
|
|
2936
|
+
readonly nonPersistent: true;
|
|
2937
|
+
};
|
|
2938
|
+
readonly _indexBuffer: {
|
|
2939
|
+
readonly default: GPUBuffer | null;
|
|
2940
|
+
readonly nonPersistent: true;
|
|
2941
|
+
};
|
|
2942
|
+
readonly _indexCount: {
|
|
2943
|
+
readonly default: undefined;
|
|
2944
|
+
readonly nonPersistent: true;
|
|
2945
|
+
readonly type: "integer";
|
|
2946
|
+
readonly minimum: 0;
|
|
2947
|
+
readonly maximum: 4294967295;
|
|
2948
|
+
};
|
|
2949
|
+
readonly _indexFormat: {
|
|
2950
|
+
readonly default: GPUIndexFormat;
|
|
2951
|
+
readonly nonPersistent: true;
|
|
2952
|
+
};
|
|
2953
|
+
readonly _materialBindGroup: {
|
|
2954
|
+
readonly default: GPUBindGroup | null;
|
|
2955
|
+
readonly nonPersistent: true;
|
|
2956
|
+
};
|
|
2957
|
+
readonly _mesh: {
|
|
2958
|
+
readonly default: undefined;
|
|
2959
|
+
readonly nonPersistent: true;
|
|
2960
|
+
readonly type: "integer";
|
|
2961
|
+
readonly minimum: -2147483648;
|
|
2962
|
+
readonly maximum: 2147483647;
|
|
2963
|
+
};
|
|
2964
|
+
readonly _material: {
|
|
2965
|
+
readonly default: undefined;
|
|
2966
|
+
readonly nonPersistent: true;
|
|
2967
|
+
readonly type: "integer";
|
|
2968
|
+
readonly minimum: -2147483648;
|
|
2969
|
+
readonly maximum: 2147483647;
|
|
2970
|
+
};
|
|
2971
|
+
readonly _nodeLocalMatrix: {
|
|
2972
|
+
readonly default: undefined;
|
|
2973
|
+
readonly nonPersistent: true;
|
|
2974
|
+
readonly type: "array";
|
|
2975
|
+
readonly items: {
|
|
2976
|
+
readonly type: "number";
|
|
2977
|
+
readonly precision: 1;
|
|
2978
|
+
readonly default: number;
|
|
2979
|
+
};
|
|
2980
|
+
readonly minItems: 16;
|
|
2981
|
+
readonly maxItems: 16;
|
|
2982
|
+
};
|
|
2983
|
+
readonly _skeletonModelRef: {
|
|
2984
|
+
readonly default: undefined;
|
|
2985
|
+
readonly nonPersistent: true;
|
|
2986
|
+
readonly type: "integer";
|
|
2987
|
+
readonly minimum: -2147483648;
|
|
2988
|
+
readonly maximum: 2147483647;
|
|
2989
|
+
};
|
|
2990
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
2991
|
+
readonly default: GPUBindGroup | null;
|
|
2992
|
+
readonly nonPersistent: true;
|
|
2993
|
+
};
|
|
2994
|
+
} & {
|
|
3000
2995
|
readonly visible: {
|
|
3001
2996
|
readonly type: "boolean";
|
|
3002
2997
|
readonly const: true;
|
|
@@ -3045,6 +3040,7 @@ export declare const pbrIblRender: {
|
|
|
3045
3040
|
readonly default: number;
|
|
3046
3041
|
};
|
|
3047
3042
|
readonly _worldMatrix: {
|
|
3043
|
+
readonly default: undefined;
|
|
3048
3044
|
readonly nonPersistent: true;
|
|
3049
3045
|
readonly type: "array";
|
|
3050
3046
|
readonly items: {
|
|
@@ -3054,9 +3050,9 @@ export declare const pbrIblRender: {
|
|
|
3054
3050
|
};
|
|
3055
3051
|
readonly minItems: 16;
|
|
3056
3052
|
readonly maxItems: 16;
|
|
3057
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3058
3053
|
};
|
|
3059
3054
|
readonly _worldBounds: {
|
|
3055
|
+
readonly default: undefined;
|
|
3060
3056
|
readonly nonPersistent: true;
|
|
3061
3057
|
readonly type: "object";
|
|
3062
3058
|
readonly properties: {
|
|
@@ -3085,10 +3081,6 @@ export declare const pbrIblRender: {
|
|
|
3085
3081
|
};
|
|
3086
3082
|
readonly required: readonly ["min", "max"];
|
|
3087
3083
|
readonly additionalProperties: false;
|
|
3088
|
-
readonly default: {
|
|
3089
|
-
readonly min: readonly [0, 0, 0];
|
|
3090
|
-
readonly max: readonly [0, 0, 0];
|
|
3091
|
-
};
|
|
3092
3084
|
};
|
|
3093
3085
|
} & {
|
|
3094
3086
|
readonly material: {
|
|
@@ -3344,71 +3336,6 @@ export declare const pbrIblRender: {
|
|
|
3344
3336
|
readonly const: true;
|
|
3345
3337
|
readonly default: true;
|
|
3346
3338
|
};
|
|
3347
|
-
} & {
|
|
3348
|
-
readonly _vertexBuffer: {
|
|
3349
|
-
readonly default: GPUBuffer | null;
|
|
3350
|
-
readonly nonPersistent: true;
|
|
3351
|
-
};
|
|
3352
|
-
readonly _skinVertexBuffer: {
|
|
3353
|
-
readonly default: GPUBuffer | null;
|
|
3354
|
-
readonly nonPersistent: true;
|
|
3355
|
-
};
|
|
3356
|
-
readonly _indexBuffer: {
|
|
3357
|
-
readonly default: GPUBuffer | null;
|
|
3358
|
-
readonly nonPersistent: true;
|
|
3359
|
-
};
|
|
3360
|
-
readonly _indexCount: {
|
|
3361
|
-
readonly nonPersistent: true;
|
|
3362
|
-
readonly type: "integer";
|
|
3363
|
-
readonly minimum: 0;
|
|
3364
|
-
readonly maximum: 4294967295;
|
|
3365
|
-
readonly default: number;
|
|
3366
|
-
};
|
|
3367
|
-
readonly _indexFormat: {
|
|
3368
|
-
readonly default: GPUIndexFormat;
|
|
3369
|
-
readonly nonPersistent: true;
|
|
3370
|
-
};
|
|
3371
|
-
readonly _materialBindGroup: {
|
|
3372
|
-
readonly default: GPUBindGroup | null;
|
|
3373
|
-
readonly nonPersistent: true;
|
|
3374
|
-
};
|
|
3375
|
-
readonly _mesh: {
|
|
3376
|
-
readonly nonPersistent: true;
|
|
3377
|
-
readonly type: "integer";
|
|
3378
|
-
readonly minimum: -2147483648;
|
|
3379
|
-
readonly maximum: 2147483647;
|
|
3380
|
-
readonly default: number;
|
|
3381
|
-
};
|
|
3382
|
-
readonly _material: {
|
|
3383
|
-
readonly nonPersistent: true;
|
|
3384
|
-
readonly type: "integer";
|
|
3385
|
-
readonly minimum: -2147483648;
|
|
3386
|
-
readonly maximum: 2147483647;
|
|
3387
|
-
readonly default: number;
|
|
3388
|
-
};
|
|
3389
|
-
readonly _nodeLocalMatrix: {
|
|
3390
|
-
readonly nonPersistent: true;
|
|
3391
|
-
readonly type: "array";
|
|
3392
|
-
readonly items: {
|
|
3393
|
-
readonly type: "number";
|
|
3394
|
-
readonly precision: 1;
|
|
3395
|
-
readonly default: number;
|
|
3396
|
-
};
|
|
3397
|
-
readonly minItems: 16;
|
|
3398
|
-
readonly maxItems: 16;
|
|
3399
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3400
|
-
};
|
|
3401
|
-
readonly _skeletonModelRef: {
|
|
3402
|
-
readonly nonPersistent: true;
|
|
3403
|
-
readonly type: "integer";
|
|
3404
|
-
readonly minimum: -2147483648;
|
|
3405
|
-
readonly maximum: 2147483647;
|
|
3406
|
-
readonly default: number;
|
|
3407
|
-
};
|
|
3408
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3409
|
-
readonly default: GPUBindGroup | null;
|
|
3410
|
-
readonly nonPersistent: true;
|
|
3411
|
-
};
|
|
3412
3339
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3413
3340
|
readonly _gltfMeshByUrl: {
|
|
3414
3341
|
readonly default: Map<string, number> | null;
|
|
@@ -3433,6 +3360,9 @@ export declare const pbrIblRender: {
|
|
|
3433
3360
|
readonly nonPersistent: true;
|
|
3434
3361
|
};
|
|
3435
3362
|
}>, {} & {} & {
|
|
3363
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3364
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3365
|
+
} & {
|
|
3436
3366
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3437
3367
|
} & {} & {
|
|
3438
3368
|
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"];
|
|
@@ -3447,10 +3377,7 @@ export declare const pbrIblRender: {
|
|
|
3447
3377
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3448
3378
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3449
3379
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3450
|
-
} & {} & {
|
|
3451
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3452
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3453
|
-
}, {} & {} & {
|
|
3380
|
+
} & {}, {} & {} & {} & {
|
|
3454
3381
|
readonly nodeChildrenOf: {
|
|
3455
3382
|
readonly key: "parent";
|
|
3456
3383
|
readonly archetype: "Node";
|
|
@@ -3461,18 +3388,73 @@ export declare const pbrIblRender: {
|
|
|
3461
3388
|
readonly unique: true;
|
|
3462
3389
|
readonly archetype: "Material";
|
|
3463
3390
|
};
|
|
3464
|
-
} & {} & {} & {} & {}
|
|
3465
|
-
} & {
|
|
3466
|
-
|
|
3391
|
+
} & {} & {} & {} & {}, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3392
|
+
} & {
|
|
3393
|
+
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
3394
|
+
readonly light: {
|
|
3395
|
+
readonly default: import("../../scene/light/public.js");
|
|
3396
|
+
};
|
|
3397
|
+
}>, {}, {}, never>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
3398
|
+
} & {
|
|
3399
|
+
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
3400
|
+
readonly renderPassEncoder: {
|
|
3401
|
+
readonly default: GPURenderPassEncoder | null;
|
|
3402
|
+
readonly nonPersistent: true;
|
|
3403
|
+
};
|
|
3404
|
+
readonly depthTexture: {
|
|
3405
|
+
readonly default: GPUTexture | null;
|
|
3406
|
+
readonly nonPersistent: true;
|
|
3407
|
+
};
|
|
3408
|
+
readonly clearColor: {
|
|
3409
|
+
readonly default: import("@adobe/data/math").Vec4;
|
|
3410
|
+
readonly nonPersistent: true;
|
|
3411
|
+
};
|
|
3412
|
+
readonly canvas: {
|
|
3413
|
+
readonly default: HTMLCanvasElement | null;
|
|
3414
|
+
readonly nonPersistent: true;
|
|
3415
|
+
};
|
|
3416
|
+
readonly canvasContext: {
|
|
3417
|
+
readonly default: GPUCanvasContext | null;
|
|
3418
|
+
readonly nonPersistent: true;
|
|
3419
|
+
};
|
|
3420
|
+
readonly canvasFormat: {
|
|
3421
|
+
readonly default: GPUTextureFormat;
|
|
3422
|
+
readonly nonPersistent: true;
|
|
3423
|
+
};
|
|
3424
|
+
readonly depthFormat: {
|
|
3425
|
+
readonly default: GPUTextureFormat;
|
|
3426
|
+
readonly nonPersistent: true;
|
|
3427
|
+
};
|
|
3428
|
+
} & {
|
|
3429
|
+
readonly frameTime: {
|
|
3430
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
3431
|
+
readonly nonPersistent: true;
|
|
3432
|
+
};
|
|
3433
|
+
} & {
|
|
3434
|
+
readonly schedulerState: {
|
|
3435
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3436
|
+
};
|
|
3437
|
+
} & {
|
|
3438
|
+
readonly device: {
|
|
3439
|
+
readonly default: GPUDevice | null;
|
|
3440
|
+
readonly nonPersistent: true;
|
|
3441
|
+
};
|
|
3442
|
+
readonly commandEncoder: {
|
|
3443
|
+
readonly default: GPUCommandEncoder | null;
|
|
3444
|
+
readonly nonPersistent: true;
|
|
3445
|
+
};
|
|
3446
|
+
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
3447
|
+
} & {} & {} & {};
|
|
3448
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "iblInitSystem" | "pbrIblRenderSystem">;
|
|
3467
3449
|
readonly actions: {};
|
|
3468
3450
|
readonly services: {};
|
|
3469
3451
|
readonly computed: {};
|
|
3470
|
-
readonly indexes: {
|
|
3452
|
+
readonly indexes: {
|
|
3471
3453
|
readonly nodeChildrenOf: {
|
|
3472
3454
|
readonly key: "parent";
|
|
3473
3455
|
readonly archetype: "Node";
|
|
3474
3456
|
};
|
|
3475
|
-
} & {} & {} & {
|
|
3457
|
+
} & {} & {} & {} & {
|
|
3476
3458
|
readonly materialByName: {
|
|
3477
3459
|
readonly key: "name";
|
|
3478
3460
|
readonly unique: true;
|