@adobe/data-gpu 0.9.88 → 0.9.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +435 -456
- 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 +113 -116
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +221 -242
- 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 +353 -371
- 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 +6 -6
- 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 +6 -6
- package/dist/physics/physics-data-plugin.js +2 -2
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/jolt-solver-plugin.js +2 -2
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/rapier-solver-plugin.js +2 -2
- 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/physics-data-plugin.ts +2 -2
- package/src/physics/solvers/jolt-solver-plugin.ts +2 -2
- package/src/physics/solvers/rapier-solver-plugin.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -53,6 +53,7 @@ export declare const worldBounds: {
|
|
|
53
53
|
readonly default: number;
|
|
54
54
|
};
|
|
55
55
|
readonly _worldMatrix: {
|
|
56
|
+
readonly default: undefined;
|
|
56
57
|
readonly nonPersistent: true;
|
|
57
58
|
readonly type: "array";
|
|
58
59
|
readonly items: {
|
|
@@ -62,9 +63,9 @@ export declare const worldBounds: {
|
|
|
62
63
|
};
|
|
63
64
|
readonly minItems: 16;
|
|
64
65
|
readonly maxItems: 16;
|
|
65
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
66
66
|
};
|
|
67
67
|
readonly _worldBounds: {
|
|
68
|
+
readonly default: undefined;
|
|
68
69
|
readonly nonPersistent: true;
|
|
69
70
|
readonly type: "object";
|
|
70
71
|
readonly properties: {
|
|
@@ -93,12 +94,73 @@ export declare const worldBounds: {
|
|
|
93
94
|
};
|
|
94
95
|
readonly required: readonly ["min", "max"];
|
|
95
96
|
readonly additionalProperties: false;
|
|
96
|
-
readonly default: {
|
|
97
|
-
readonly min: readonly [0, 0, 0];
|
|
98
|
-
readonly max: readonly [0, 0, 0];
|
|
99
|
-
};
|
|
100
97
|
};
|
|
101
98
|
} & {} & {
|
|
99
|
+
readonly _vertexBuffer: {
|
|
100
|
+
readonly default: GPUBuffer | null;
|
|
101
|
+
readonly nonPersistent: true;
|
|
102
|
+
};
|
|
103
|
+
readonly _skinVertexBuffer: {
|
|
104
|
+
readonly default: GPUBuffer | null;
|
|
105
|
+
readonly nonPersistent: true;
|
|
106
|
+
};
|
|
107
|
+
readonly _indexBuffer: {
|
|
108
|
+
readonly default: GPUBuffer | null;
|
|
109
|
+
readonly nonPersistent: true;
|
|
110
|
+
};
|
|
111
|
+
readonly _indexCount: {
|
|
112
|
+
readonly default: undefined;
|
|
113
|
+
readonly nonPersistent: true;
|
|
114
|
+
readonly type: "integer";
|
|
115
|
+
readonly minimum: 0;
|
|
116
|
+
readonly maximum: 4294967295;
|
|
117
|
+
};
|
|
118
|
+
readonly _indexFormat: {
|
|
119
|
+
readonly default: GPUIndexFormat;
|
|
120
|
+
readonly nonPersistent: true;
|
|
121
|
+
};
|
|
122
|
+
readonly _materialBindGroup: {
|
|
123
|
+
readonly default: GPUBindGroup | null;
|
|
124
|
+
readonly nonPersistent: true;
|
|
125
|
+
};
|
|
126
|
+
readonly _mesh: {
|
|
127
|
+
readonly default: undefined;
|
|
128
|
+
readonly nonPersistent: true;
|
|
129
|
+
readonly type: "integer";
|
|
130
|
+
readonly minimum: -2147483648;
|
|
131
|
+
readonly maximum: 2147483647;
|
|
132
|
+
};
|
|
133
|
+
readonly _material: {
|
|
134
|
+
readonly default: undefined;
|
|
135
|
+
readonly nonPersistent: true;
|
|
136
|
+
readonly type: "integer";
|
|
137
|
+
readonly minimum: -2147483648;
|
|
138
|
+
readonly maximum: 2147483647;
|
|
139
|
+
};
|
|
140
|
+
readonly _nodeLocalMatrix: {
|
|
141
|
+
readonly default: undefined;
|
|
142
|
+
readonly nonPersistent: true;
|
|
143
|
+
readonly type: "array";
|
|
144
|
+
readonly items: {
|
|
145
|
+
readonly type: "number";
|
|
146
|
+
readonly precision: 1;
|
|
147
|
+
readonly default: number;
|
|
148
|
+
};
|
|
149
|
+
readonly minItems: 16;
|
|
150
|
+
readonly maxItems: 16;
|
|
151
|
+
};
|
|
152
|
+
readonly _skeletonModelRef: {
|
|
153
|
+
readonly default: undefined;
|
|
154
|
+
readonly nonPersistent: true;
|
|
155
|
+
readonly type: "integer";
|
|
156
|
+
readonly minimum: -2147483648;
|
|
157
|
+
readonly maximum: 2147483647;
|
|
158
|
+
};
|
|
159
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
160
|
+
readonly default: GPUBindGroup | null;
|
|
161
|
+
readonly nonPersistent: true;
|
|
162
|
+
};
|
|
163
|
+
} & {
|
|
102
164
|
readonly material: {
|
|
103
165
|
readonly type: "integer";
|
|
104
166
|
readonly minimum: -2147483648;
|
|
@@ -349,71 +411,6 @@ export declare const worldBounds: {
|
|
|
349
411
|
readonly const: true;
|
|
350
412
|
readonly default: true;
|
|
351
413
|
};
|
|
352
|
-
} & {
|
|
353
|
-
readonly _vertexBuffer: {
|
|
354
|
-
readonly default: GPUBuffer | null;
|
|
355
|
-
readonly nonPersistent: true;
|
|
356
|
-
};
|
|
357
|
-
readonly _skinVertexBuffer: {
|
|
358
|
-
readonly default: GPUBuffer | null;
|
|
359
|
-
readonly nonPersistent: true;
|
|
360
|
-
};
|
|
361
|
-
readonly _indexBuffer: {
|
|
362
|
-
readonly default: GPUBuffer | null;
|
|
363
|
-
readonly nonPersistent: true;
|
|
364
|
-
};
|
|
365
|
-
readonly _indexCount: {
|
|
366
|
-
readonly nonPersistent: true;
|
|
367
|
-
readonly type: "integer";
|
|
368
|
-
readonly minimum: 0;
|
|
369
|
-
readonly maximum: 4294967295;
|
|
370
|
-
readonly default: number;
|
|
371
|
-
};
|
|
372
|
-
readonly _indexFormat: {
|
|
373
|
-
readonly default: GPUIndexFormat;
|
|
374
|
-
readonly nonPersistent: true;
|
|
375
|
-
};
|
|
376
|
-
readonly _materialBindGroup: {
|
|
377
|
-
readonly default: GPUBindGroup | null;
|
|
378
|
-
readonly nonPersistent: true;
|
|
379
|
-
};
|
|
380
|
-
readonly _mesh: {
|
|
381
|
-
readonly nonPersistent: true;
|
|
382
|
-
readonly type: "integer";
|
|
383
|
-
readonly minimum: -2147483648;
|
|
384
|
-
readonly maximum: 2147483647;
|
|
385
|
-
readonly default: number;
|
|
386
|
-
};
|
|
387
|
-
readonly _material: {
|
|
388
|
-
readonly nonPersistent: true;
|
|
389
|
-
readonly type: "integer";
|
|
390
|
-
readonly minimum: -2147483648;
|
|
391
|
-
readonly maximum: 2147483647;
|
|
392
|
-
readonly default: number;
|
|
393
|
-
};
|
|
394
|
-
readonly _nodeLocalMatrix: {
|
|
395
|
-
readonly nonPersistent: true;
|
|
396
|
-
readonly type: "array";
|
|
397
|
-
readonly items: {
|
|
398
|
-
readonly type: "number";
|
|
399
|
-
readonly precision: 1;
|
|
400
|
-
readonly default: number;
|
|
401
|
-
};
|
|
402
|
-
readonly minItems: 16;
|
|
403
|
-
readonly maxItems: 16;
|
|
404
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
405
|
-
};
|
|
406
|
-
readonly _skeletonModelRef: {
|
|
407
|
-
readonly nonPersistent: true;
|
|
408
|
-
readonly type: "integer";
|
|
409
|
-
readonly minimum: -2147483648;
|
|
410
|
-
readonly maximum: 2147483647;
|
|
411
|
-
readonly default: number;
|
|
412
|
-
};
|
|
413
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
414
|
-
readonly default: GPUBindGroup | null;
|
|
415
|
-
readonly nonPersistent: true;
|
|
416
|
-
};
|
|
417
414
|
};
|
|
418
415
|
readonly resources: {} & {
|
|
419
416
|
readonly _gltfMeshByUrl: {
|
|
@@ -442,6 +439,9 @@ export declare const worldBounds: {
|
|
|
442
439
|
readonly archetypes: {
|
|
443
440
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
444
441
|
} & {} & {} & {
|
|
442
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
443
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
444
|
+
} & {
|
|
445
445
|
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"];
|
|
446
446
|
} & {
|
|
447
447
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -454,11 +454,8 @@ export declare const worldBounds: {
|
|
|
454
454
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
455
455
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
456
456
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
457
|
-
} & {} & {
|
|
458
|
-
|
|
459
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
460
|
-
} & {};
|
|
461
|
-
readonly transactions: {} & {} & {
|
|
457
|
+
} & {} & {} & {};
|
|
458
|
+
readonly transactions: {} & {} & {} & {
|
|
462
459
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
463
460
|
readonly material: {
|
|
464
461
|
readonly type: "integer";
|
|
@@ -1443,6 +1440,7 @@ export declare const worldBounds: {
|
|
|
1443
1440
|
readonly default: number;
|
|
1444
1441
|
};
|
|
1445
1442
|
readonly _worldMatrix: {
|
|
1443
|
+
readonly default: undefined;
|
|
1446
1444
|
readonly nonPersistent: true;
|
|
1447
1445
|
readonly type: "array";
|
|
1448
1446
|
readonly items: {
|
|
@@ -1452,9 +1450,9 @@ export declare const worldBounds: {
|
|
|
1452
1450
|
};
|
|
1453
1451
|
readonly minItems: 16;
|
|
1454
1452
|
readonly maxItems: 16;
|
|
1455
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1456
1453
|
};
|
|
1457
1454
|
readonly _worldBounds: {
|
|
1455
|
+
readonly default: undefined;
|
|
1458
1456
|
readonly nonPersistent: true;
|
|
1459
1457
|
readonly type: "object";
|
|
1460
1458
|
readonly properties: {
|
|
@@ -1483,10 +1481,6 @@ export declare const worldBounds: {
|
|
|
1483
1481
|
};
|
|
1484
1482
|
readonly required: readonly ["min", "max"];
|
|
1485
1483
|
readonly additionalProperties: false;
|
|
1486
|
-
readonly default: {
|
|
1487
|
-
readonly min: readonly [0, 0, 0];
|
|
1488
|
-
readonly max: readonly [0, 0, 0];
|
|
1489
|
-
};
|
|
1490
1484
|
};
|
|
1491
1485
|
} & {} & {
|
|
1492
1486
|
readonly material: {
|
|
@@ -1777,6 +1771,7 @@ export declare const worldBounds: {
|
|
|
1777
1771
|
readonly default: number;
|
|
1778
1772
|
};
|
|
1779
1773
|
readonly _worldMatrix: {
|
|
1774
|
+
readonly default: undefined;
|
|
1780
1775
|
readonly nonPersistent: true;
|
|
1781
1776
|
readonly type: "array";
|
|
1782
1777
|
readonly items: {
|
|
@@ -1786,9 +1781,9 @@ export declare const worldBounds: {
|
|
|
1786
1781
|
};
|
|
1787
1782
|
readonly minItems: 16;
|
|
1788
1783
|
readonly maxItems: 16;
|
|
1789
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1790
1784
|
};
|
|
1791
1785
|
readonly _worldBounds: {
|
|
1786
|
+
readonly default: undefined;
|
|
1792
1787
|
readonly nonPersistent: true;
|
|
1793
1788
|
readonly type: "object";
|
|
1794
1789
|
readonly properties: {
|
|
@@ -1817,10 +1812,6 @@ export declare const worldBounds: {
|
|
|
1817
1812
|
};
|
|
1818
1813
|
readonly required: readonly ["min", "max"];
|
|
1819
1814
|
readonly additionalProperties: false;
|
|
1820
|
-
readonly default: {
|
|
1821
|
-
readonly min: readonly [0, 0, 0];
|
|
1822
|
-
readonly max: readonly [0, 0, 0];
|
|
1823
|
-
};
|
|
1824
1815
|
};
|
|
1825
1816
|
} & {} & {
|
|
1826
1817
|
readonly material: {
|
|
@@ -2111,6 +2102,7 @@ export declare const worldBounds: {
|
|
|
2111
2102
|
readonly default: number;
|
|
2112
2103
|
};
|
|
2113
2104
|
readonly _worldMatrix: {
|
|
2105
|
+
readonly default: undefined;
|
|
2114
2106
|
readonly nonPersistent: true;
|
|
2115
2107
|
readonly type: "array";
|
|
2116
2108
|
readonly items: {
|
|
@@ -2120,9 +2112,9 @@ export declare const worldBounds: {
|
|
|
2120
2112
|
};
|
|
2121
2113
|
readonly minItems: 16;
|
|
2122
2114
|
readonly maxItems: 16;
|
|
2123
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2124
2115
|
};
|
|
2125
2116
|
readonly _worldBounds: {
|
|
2117
|
+
readonly default: undefined;
|
|
2126
2118
|
readonly nonPersistent: true;
|
|
2127
2119
|
readonly type: "object";
|
|
2128
2120
|
readonly properties: {
|
|
@@ -2151,10 +2143,6 @@ export declare const worldBounds: {
|
|
|
2151
2143
|
};
|
|
2152
2144
|
readonly required: readonly ["min", "max"];
|
|
2153
2145
|
readonly additionalProperties: false;
|
|
2154
|
-
readonly default: {
|
|
2155
|
-
readonly min: readonly [0, 0, 0];
|
|
2156
|
-
readonly max: readonly [0, 0, 0];
|
|
2157
|
-
};
|
|
2158
2146
|
};
|
|
2159
2147
|
} & {} & {
|
|
2160
2148
|
readonly material: {
|
|
@@ -2449,6 +2437,7 @@ export declare const worldBounds: {
|
|
|
2449
2437
|
readonly default: number;
|
|
2450
2438
|
};
|
|
2451
2439
|
readonly _worldMatrix: {
|
|
2440
|
+
readonly default: undefined;
|
|
2452
2441
|
readonly nonPersistent: true;
|
|
2453
2442
|
readonly type: "array";
|
|
2454
2443
|
readonly items: {
|
|
@@ -2458,9 +2447,9 @@ export declare const worldBounds: {
|
|
|
2458
2447
|
};
|
|
2459
2448
|
readonly minItems: 16;
|
|
2460
2449
|
readonly maxItems: 16;
|
|
2461
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2462
2450
|
};
|
|
2463
2451
|
readonly _worldBounds: {
|
|
2452
|
+
readonly default: undefined;
|
|
2464
2453
|
readonly nonPersistent: true;
|
|
2465
2454
|
readonly type: "object";
|
|
2466
2455
|
readonly properties: {
|
|
@@ -2489,10 +2478,6 @@ export declare const worldBounds: {
|
|
|
2489
2478
|
};
|
|
2490
2479
|
readonly required: readonly ["min", "max"];
|
|
2491
2480
|
readonly additionalProperties: false;
|
|
2492
|
-
readonly default: {
|
|
2493
|
-
readonly min: readonly [0, 0, 0];
|
|
2494
|
-
readonly max: readonly [0, 0, 0];
|
|
2495
|
-
};
|
|
2496
2481
|
};
|
|
2497
2482
|
} & {} & {
|
|
2498
2483
|
readonly material: {
|
|
@@ -2850,8 +2835,73 @@ export declare const worldBounds: {
|
|
|
2850
2835
|
dt: number;
|
|
2851
2836
|
observable: boolean;
|
|
2852
2837
|
}) => void;
|
|
2853
|
-
} & {} & {
|
|
2838
|
+
} & {} & {
|
|
2854
2839
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2840
|
+
readonly _vertexBuffer: {
|
|
2841
|
+
readonly default: GPUBuffer | null;
|
|
2842
|
+
readonly nonPersistent: true;
|
|
2843
|
+
};
|
|
2844
|
+
readonly _skinVertexBuffer: {
|
|
2845
|
+
readonly default: GPUBuffer | null;
|
|
2846
|
+
readonly nonPersistent: true;
|
|
2847
|
+
};
|
|
2848
|
+
readonly _indexBuffer: {
|
|
2849
|
+
readonly default: GPUBuffer | null;
|
|
2850
|
+
readonly nonPersistent: true;
|
|
2851
|
+
};
|
|
2852
|
+
readonly _indexCount: {
|
|
2853
|
+
readonly default: undefined;
|
|
2854
|
+
readonly nonPersistent: true;
|
|
2855
|
+
readonly type: "integer";
|
|
2856
|
+
readonly minimum: 0;
|
|
2857
|
+
readonly maximum: 4294967295;
|
|
2858
|
+
};
|
|
2859
|
+
readonly _indexFormat: {
|
|
2860
|
+
readonly default: GPUIndexFormat;
|
|
2861
|
+
readonly nonPersistent: true;
|
|
2862
|
+
};
|
|
2863
|
+
readonly _materialBindGroup: {
|
|
2864
|
+
readonly default: GPUBindGroup | null;
|
|
2865
|
+
readonly nonPersistent: true;
|
|
2866
|
+
};
|
|
2867
|
+
readonly _mesh: {
|
|
2868
|
+
readonly default: undefined;
|
|
2869
|
+
readonly nonPersistent: true;
|
|
2870
|
+
readonly type: "integer";
|
|
2871
|
+
readonly minimum: -2147483648;
|
|
2872
|
+
readonly maximum: 2147483647;
|
|
2873
|
+
};
|
|
2874
|
+
readonly _material: {
|
|
2875
|
+
readonly default: undefined;
|
|
2876
|
+
readonly nonPersistent: true;
|
|
2877
|
+
readonly type: "integer";
|
|
2878
|
+
readonly minimum: -2147483648;
|
|
2879
|
+
readonly maximum: 2147483647;
|
|
2880
|
+
};
|
|
2881
|
+
readonly _nodeLocalMatrix: {
|
|
2882
|
+
readonly default: undefined;
|
|
2883
|
+
readonly nonPersistent: true;
|
|
2884
|
+
readonly type: "array";
|
|
2885
|
+
readonly items: {
|
|
2886
|
+
readonly type: "number";
|
|
2887
|
+
readonly precision: 1;
|
|
2888
|
+
readonly default: number;
|
|
2889
|
+
};
|
|
2890
|
+
readonly minItems: 16;
|
|
2891
|
+
readonly maxItems: 16;
|
|
2892
|
+
};
|
|
2893
|
+
readonly _skeletonModelRef: {
|
|
2894
|
+
readonly default: undefined;
|
|
2895
|
+
readonly nonPersistent: true;
|
|
2896
|
+
readonly type: "integer";
|
|
2897
|
+
readonly minimum: -2147483648;
|
|
2898
|
+
readonly maximum: 2147483647;
|
|
2899
|
+
};
|
|
2900
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
2901
|
+
readonly default: GPUBindGroup | null;
|
|
2902
|
+
readonly nonPersistent: true;
|
|
2903
|
+
};
|
|
2904
|
+
} & {
|
|
2855
2905
|
readonly visible: {
|
|
2856
2906
|
readonly type: "boolean";
|
|
2857
2907
|
readonly const: true;
|
|
@@ -2900,6 +2950,7 @@ export declare const worldBounds: {
|
|
|
2900
2950
|
readonly default: number;
|
|
2901
2951
|
};
|
|
2902
2952
|
readonly _worldMatrix: {
|
|
2953
|
+
readonly default: undefined;
|
|
2903
2954
|
readonly nonPersistent: true;
|
|
2904
2955
|
readonly type: "array";
|
|
2905
2956
|
readonly items: {
|
|
@@ -2909,9 +2960,9 @@ export declare const worldBounds: {
|
|
|
2909
2960
|
};
|
|
2910
2961
|
readonly minItems: 16;
|
|
2911
2962
|
readonly maxItems: 16;
|
|
2912
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2913
2963
|
};
|
|
2914
2964
|
readonly _worldBounds: {
|
|
2965
|
+
readonly default: undefined;
|
|
2915
2966
|
readonly nonPersistent: true;
|
|
2916
2967
|
readonly type: "object";
|
|
2917
2968
|
readonly properties: {
|
|
@@ -2940,10 +2991,6 @@ export declare const worldBounds: {
|
|
|
2940
2991
|
};
|
|
2941
2992
|
readonly required: readonly ["min", "max"];
|
|
2942
2993
|
readonly additionalProperties: false;
|
|
2943
|
-
readonly default: {
|
|
2944
|
-
readonly min: readonly [0, 0, 0];
|
|
2945
|
-
readonly max: readonly [0, 0, 0];
|
|
2946
|
-
};
|
|
2947
2994
|
};
|
|
2948
2995
|
} & {
|
|
2949
2996
|
readonly material: {
|
|
@@ -3196,71 +3243,6 @@ export declare const worldBounds: {
|
|
|
3196
3243
|
readonly const: true;
|
|
3197
3244
|
readonly default: true;
|
|
3198
3245
|
};
|
|
3199
|
-
} & {
|
|
3200
|
-
readonly _vertexBuffer: {
|
|
3201
|
-
readonly default: GPUBuffer | null;
|
|
3202
|
-
readonly nonPersistent: true;
|
|
3203
|
-
};
|
|
3204
|
-
readonly _skinVertexBuffer: {
|
|
3205
|
-
readonly default: GPUBuffer | null;
|
|
3206
|
-
readonly nonPersistent: true;
|
|
3207
|
-
};
|
|
3208
|
-
readonly _indexBuffer: {
|
|
3209
|
-
readonly default: GPUBuffer | null;
|
|
3210
|
-
readonly nonPersistent: true;
|
|
3211
|
-
};
|
|
3212
|
-
readonly _indexCount: {
|
|
3213
|
-
readonly nonPersistent: true;
|
|
3214
|
-
readonly type: "integer";
|
|
3215
|
-
readonly minimum: 0;
|
|
3216
|
-
readonly maximum: 4294967295;
|
|
3217
|
-
readonly default: number;
|
|
3218
|
-
};
|
|
3219
|
-
readonly _indexFormat: {
|
|
3220
|
-
readonly default: GPUIndexFormat;
|
|
3221
|
-
readonly nonPersistent: true;
|
|
3222
|
-
};
|
|
3223
|
-
readonly _materialBindGroup: {
|
|
3224
|
-
readonly default: GPUBindGroup | null;
|
|
3225
|
-
readonly nonPersistent: true;
|
|
3226
|
-
};
|
|
3227
|
-
readonly _mesh: {
|
|
3228
|
-
readonly nonPersistent: true;
|
|
3229
|
-
readonly type: "integer";
|
|
3230
|
-
readonly minimum: -2147483648;
|
|
3231
|
-
readonly maximum: 2147483647;
|
|
3232
|
-
readonly default: number;
|
|
3233
|
-
};
|
|
3234
|
-
readonly _material: {
|
|
3235
|
-
readonly nonPersistent: true;
|
|
3236
|
-
readonly type: "integer";
|
|
3237
|
-
readonly minimum: -2147483648;
|
|
3238
|
-
readonly maximum: 2147483647;
|
|
3239
|
-
readonly default: number;
|
|
3240
|
-
};
|
|
3241
|
-
readonly _nodeLocalMatrix: {
|
|
3242
|
-
readonly nonPersistent: true;
|
|
3243
|
-
readonly type: "array";
|
|
3244
|
-
readonly items: {
|
|
3245
|
-
readonly type: "number";
|
|
3246
|
-
readonly precision: 1;
|
|
3247
|
-
readonly default: number;
|
|
3248
|
-
};
|
|
3249
|
-
readonly minItems: 16;
|
|
3250
|
-
readonly maxItems: 16;
|
|
3251
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3252
|
-
};
|
|
3253
|
-
readonly _skeletonModelRef: {
|
|
3254
|
-
readonly nonPersistent: true;
|
|
3255
|
-
readonly type: "integer";
|
|
3256
|
-
readonly minimum: -2147483648;
|
|
3257
|
-
readonly maximum: 2147483647;
|
|
3258
|
-
readonly default: number;
|
|
3259
|
-
};
|
|
3260
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3261
|
-
readonly default: GPUBindGroup | null;
|
|
3262
|
-
readonly nonPersistent: true;
|
|
3263
|
-
};
|
|
3264
3246
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3265
3247
|
readonly _gltfMeshByUrl: {
|
|
3266
3248
|
readonly default: Map<string, number> | null;
|
|
@@ -3285,6 +3267,9 @@ export declare const worldBounds: {
|
|
|
3285
3267
|
readonly nonPersistent: true;
|
|
3286
3268
|
};
|
|
3287
3269
|
}>, {} & {} & {
|
|
3270
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3271
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3272
|
+
} & {
|
|
3288
3273
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3289
3274
|
} & {} & {
|
|
3290
3275
|
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"];
|
|
@@ -3299,10 +3284,7 @@ export declare const worldBounds: {
|
|
|
3299
3284
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3300
3285
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3301
3286
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3302
|
-
} & {} & {
|
|
3303
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3304
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3305
|
-
}, {} & {} & {
|
|
3287
|
+
} & {}, {} & {} & {} & {
|
|
3306
3288
|
readonly nodeChildrenOf: {
|
|
3307
3289
|
readonly key: "parent";
|
|
3308
3290
|
readonly archetype: "Node";
|
|
@@ -3313,9 +3295,9 @@ export declare const worldBounds: {
|
|
|
3313
3295
|
readonly unique: true;
|
|
3314
3296
|
readonly archetype: "Material";
|
|
3315
3297
|
};
|
|
3316
|
-
} & {} & {} & {} & {}
|
|
3298
|
+
} & {} & {} & {} & {}, never>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3317
3299
|
} & {};
|
|
3318
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3300
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
|
|
3319
3301
|
readonly actions: {};
|
|
3320
3302
|
readonly services: {};
|
|
3321
3303
|
readonly computed: {};
|
|
@@ -3324,11 +3306,11 @@ export declare const worldBounds: {
|
|
|
3324
3306
|
readonly key: "parent";
|
|
3325
3307
|
readonly archetype: "Node";
|
|
3326
3308
|
};
|
|
3327
|
-
} & {} & {} & {
|
|
3309
|
+
} & {} & {} & {} & {
|
|
3328
3310
|
readonly materialByName: {
|
|
3329
3311
|
readonly key: "name";
|
|
3330
3312
|
readonly unique: true;
|
|
3331
3313
|
readonly archetype: "Material";
|
|
3332
3314
|
};
|
|
3333
|
-
} & {} & {} & {} & {} & {} & {}
|
|
3315
|
+
} & {} & {} & {} & {} & {} & {};
|
|
3334
3316
|
};
|
|
@@ -60,6 +60,7 @@ export declare const nodeData: {
|
|
|
60
60
|
readonly default: number;
|
|
61
61
|
};
|
|
62
62
|
readonly _worldMatrix: {
|
|
63
|
+
readonly default: undefined;
|
|
63
64
|
readonly nonPersistent: true;
|
|
64
65
|
readonly type: "array";
|
|
65
66
|
readonly items: {
|
|
@@ -69,9 +70,9 @@ export declare const nodeData: {
|
|
|
69
70
|
};
|
|
70
71
|
readonly minItems: 16;
|
|
71
72
|
readonly maxItems: 16;
|
|
72
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
73
73
|
};
|
|
74
74
|
readonly _worldBounds: {
|
|
75
|
+
readonly default: undefined;
|
|
75
76
|
readonly nonPersistent: true;
|
|
76
77
|
readonly type: "object";
|
|
77
78
|
readonly properties: {
|
|
@@ -100,10 +101,6 @@ export declare const nodeData: {
|
|
|
100
101
|
};
|
|
101
102
|
readonly required: readonly ["min", "max"];
|
|
102
103
|
readonly additionalProperties: false;
|
|
103
|
-
readonly default: {
|
|
104
|
-
readonly min: readonly [0, 0, 0];
|
|
105
|
-
readonly max: readonly [0, 0, 0];
|
|
106
|
-
};
|
|
107
104
|
};
|
|
108
105
|
};
|
|
109
106
|
readonly resources: {};
|
|
@@ -21,8 +21,8 @@ export const nodeData = Database.Plugin.create({
|
|
|
21
21
|
rotation: Quat.schema,
|
|
22
22
|
scale: Vec3.schema,
|
|
23
23
|
parent: Entity.schema,
|
|
24
|
-
_worldMatrix: { ...Mat4x4.schema, nonPersistent: true },
|
|
25
|
-
_worldBounds: { ...Aabb.schema, nonPersistent: true },
|
|
24
|
+
_worldMatrix: { ...Mat4x4.schema, default: undefined, nonPersistent: true },
|
|
25
|
+
_worldBounds: { ...Aabb.schema, default: undefined, nonPersistent: true },
|
|
26
26
|
},
|
|
27
27
|
archetypes: {
|
|
28
28
|
Node: ["position", "rotation", "scale", "parent", "visible"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-data-plugin.js","sourceRoot":"","sources":["../../../../src/graphics/scene/node/node-data-plugin.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE;QACR,OAAO,EAAO,IAAI,CAAC,MAAM;QACzB,QAAQ,EAAM,IAAI,CAAC,MAAM;QACzB,QAAQ,EAAM,IAAI,CAAC,MAAM;QACzB,KAAK,EAAS,IAAI,CAAC,MAAM;QACzB,MAAM,EAAQ,MAAM,CAAC,MAAM;QAC3B,YAAY,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"node-data-plugin.js","sourceRoot":"","sources":["../../../../src/graphics/scene/node/node-data-plugin.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE;QACR,OAAO,EAAO,IAAI,CAAC,MAAM;QACzB,QAAQ,EAAM,IAAI,CAAC,MAAM;QACzB,QAAQ,EAAM,IAAI,CAAC,MAAM;QACzB,KAAK,EAAS,IAAI,CAAC,MAAM;QACzB,MAAM,EAAQ,MAAM,CAAC,MAAM;QAC3B,YAAY,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE;QAC3E,YAAY,EAAE,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE;KAC5E;IACD,UAAU,EAAE;QACR,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC;KAC/D;IACD,OAAO,EAAE;QACL,cAAc,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE;KACvD;CACJ,CAAC,CAAC"}
|
|
@@ -54,6 +54,7 @@ export declare const plugin: Database.Plugin<{
|
|
|
54
54
|
readonly default: number;
|
|
55
55
|
};
|
|
56
56
|
readonly _worldMatrix: {
|
|
57
|
+
readonly default: undefined;
|
|
57
58
|
readonly nonPersistent: true;
|
|
58
59
|
readonly type: "array";
|
|
59
60
|
readonly items: {
|
|
@@ -63,9 +64,9 @@ export declare const plugin: Database.Plugin<{
|
|
|
63
64
|
};
|
|
64
65
|
readonly minItems: 16;
|
|
65
66
|
readonly maxItems: 16;
|
|
66
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
67
67
|
};
|
|
68
68
|
readonly _worldBounds: {
|
|
69
|
+
readonly default: undefined;
|
|
69
70
|
readonly nonPersistent: true;
|
|
70
71
|
readonly type: "object";
|
|
71
72
|
readonly properties: {
|
|
@@ -94,10 +95,6 @@ export declare const plugin: Database.Plugin<{
|
|
|
94
95
|
};
|
|
95
96
|
readonly required: readonly ["min", "max"];
|
|
96
97
|
readonly additionalProperties: false;
|
|
97
|
-
readonly default: {
|
|
98
|
-
readonly min: readonly [0, 0, 0];
|
|
99
|
-
readonly max: readonly [0, 0, 0];
|
|
100
|
-
};
|
|
101
98
|
};
|
|
102
99
|
} & {}, {}, {
|
|
103
100
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
@@ -66,6 +66,7 @@ export declare const transform: {
|
|
|
66
66
|
readonly default: number;
|
|
67
67
|
};
|
|
68
68
|
readonly _worldMatrix: {
|
|
69
|
+
readonly default: undefined;
|
|
69
70
|
readonly nonPersistent: true;
|
|
70
71
|
readonly type: "array";
|
|
71
72
|
readonly items: {
|
|
@@ -75,9 +76,9 @@ export declare const transform: {
|
|
|
75
76
|
};
|
|
76
77
|
readonly minItems: 16;
|
|
77
78
|
readonly maxItems: 16;
|
|
78
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
79
79
|
};
|
|
80
80
|
readonly _worldBounds: {
|
|
81
|
+
readonly default: undefined;
|
|
81
82
|
readonly nonPersistent: true;
|
|
82
83
|
readonly type: "object";
|
|
83
84
|
readonly properties: {
|
|
@@ -106,10 +107,6 @@ export declare const transform: {
|
|
|
106
107
|
};
|
|
107
108
|
readonly required: readonly ["min", "max"];
|
|
108
109
|
readonly additionalProperties: false;
|
|
109
|
-
readonly default: {
|
|
110
|
-
readonly min: readonly [0, 0, 0];
|
|
111
|
-
readonly max: readonly [0, 0, 0];
|
|
112
|
-
};
|
|
113
110
|
};
|
|
114
111
|
} & {};
|
|
115
112
|
readonly resources: {};
|