@adobe/data-gpu 0.10.20 → 0.10.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/graphics/animation/animation-data-plugin.d.ts +2 -2
- package/dist/graphics/animation/animation-plugin.d.ts +5 -5
- package/dist/graphics/camera/camera-plugin.d.ts +2 -2
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +5 -5
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +5 -5
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +5 -5
- package/dist/graphics/graphics-plugin.d.ts +2 -2
- package/dist/graphics/picking/picking-plugin.d.ts +783 -783
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +224 -224
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +158 -158
- package/dist/graphics/rendering/interpolation-plugin.d.ts +23 -23
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +225 -225
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +12 -12
- package/dist/graphics/rendering/model-collider-plugin.d.ts +172 -172
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +167 -158
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js +61 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +15 -15
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +11 -14
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -1
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +181 -181
- package/dist/graphics/scene/light/light-plugin.d.ts +1 -1
- package/dist/graphics/scene/model/mesh-plugin.d.ts +18 -18
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +162 -162
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +74 -74
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +162 -162
- package/dist/graphics/scene/scene-plugin.d.ts +26 -26
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +14 -14
- package/dist/material/material-plugin.d.ts +5 -5
- package/dist/physics/physics-clock-plugin.d.ts +2 -2
- package/dist/physics/physics-data-plugin.d.ts +15 -15
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +17 -17
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +17 -17
- package/package.json +2 -2
- package/src/graphics/rendering/pbr-render/pbr-factor-render-plugin.ts +74 -0
- package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +12 -15
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -516,7 +516,7 @@ export declare const mesh: {
|
|
|
516
516
|
readonly unique: true;
|
|
517
517
|
readonly archetype: "Material";
|
|
518
518
|
};
|
|
519
|
-
}, never>, row: import("../../../material/public.js")) => Entity;
|
|
519
|
+
}, never, never>, row: import("../../../material/public.js")) => Entity;
|
|
520
520
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
521
521
|
readonly material: {
|
|
522
522
|
readonly entity: true;
|
|
@@ -695,7 +695,7 @@ export declare const mesh: {
|
|
|
695
695
|
readonly unique: true;
|
|
696
696
|
readonly archetype: "Material";
|
|
697
697
|
};
|
|
698
|
-
}, never>, args: {
|
|
698
|
+
}, never, never>, args: {
|
|
699
699
|
name: string;
|
|
700
700
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
701
701
|
}) => Entity;
|
|
@@ -877,7 +877,7 @@ export declare const mesh: {
|
|
|
877
877
|
readonly unique: true;
|
|
878
878
|
readonly archetype: "Material";
|
|
879
879
|
};
|
|
880
|
-
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
880
|
+
}, never, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
881
881
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
882
882
|
readonly material: {
|
|
883
883
|
readonly entity: true;
|
|
@@ -1056,7 +1056,7 @@ export declare const mesh: {
|
|
|
1056
1056
|
readonly unique: true;
|
|
1057
1057
|
readonly archetype: "Material";
|
|
1058
1058
|
};
|
|
1059
|
-
}, never>) => void;
|
|
1059
|
+
}, never, never>) => void;
|
|
1060
1060
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1061
1061
|
readonly material: {
|
|
1062
1062
|
readonly entity: true;
|
|
@@ -1235,7 +1235,7 @@ export declare const mesh: {
|
|
|
1235
1235
|
readonly unique: true;
|
|
1236
1236
|
readonly archetype: "Material";
|
|
1237
1237
|
};
|
|
1238
|
-
}, never>) => void;
|
|
1238
|
+
}, never, never>) => void;
|
|
1239
1239
|
} & {
|
|
1240
1240
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1241
1241
|
readonly mesh: {
|
|
@@ -1569,7 +1569,7 @@ export declare const mesh: {
|
|
|
1569
1569
|
readonly unique: true;
|
|
1570
1570
|
readonly archetype: "Material";
|
|
1571
1571
|
};
|
|
1572
|
-
}, never>, args: {
|
|
1572
|
+
}, never, never>, args: {
|
|
1573
1573
|
url: string;
|
|
1574
1574
|
}) => Entity;
|
|
1575
1575
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -1904,7 +1904,7 @@ export declare const mesh: {
|
|
|
1904
1904
|
readonly unique: true;
|
|
1905
1905
|
readonly archetype: "Material";
|
|
1906
1906
|
};
|
|
1907
|
-
}, never>, args: {
|
|
1907
|
+
}, never, never>, args: {
|
|
1908
1908
|
shapeSpec: ShapeSpec;
|
|
1909
1909
|
}) => Entity;
|
|
1910
1910
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2239,7 +2239,7 @@ export declare const mesh: {
|
|
|
2239
2239
|
readonly unique: true;
|
|
2240
2240
|
readonly archetype: "Material";
|
|
2241
2241
|
};
|
|
2242
|
-
}, never>, args: {
|
|
2242
|
+
}, never, never>, args: {
|
|
2243
2243
|
mesh: Entity;
|
|
2244
2244
|
material: Entity;
|
|
2245
2245
|
position?: Vec3;
|
|
@@ -2578,7 +2578,7 @@ export declare const mesh: {
|
|
|
2578
2578
|
readonly unique: true;
|
|
2579
2579
|
readonly archetype: "Material";
|
|
2580
2580
|
};
|
|
2581
|
-
}, never>, args: {
|
|
2581
|
+
}, never, never>, args: {
|
|
2582
2582
|
mesh: Entity;
|
|
2583
2583
|
position?: Vec3;
|
|
2584
2584
|
rotation?: Quat;
|
|
@@ -3108,7 +3108,7 @@ export declare const model: {
|
|
|
3108
3108
|
readonly unique: true;
|
|
3109
3109
|
readonly archetype: "Material";
|
|
3110
3110
|
};
|
|
3111
|
-
}, never>, row: import("../../../material/public.js")) => Entity;
|
|
3111
|
+
}, never, never>, row: import("../../../material/public.js")) => Entity;
|
|
3112
3112
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3113
3113
|
readonly material: {
|
|
3114
3114
|
readonly entity: true;
|
|
@@ -3287,7 +3287,7 @@ export declare const model: {
|
|
|
3287
3287
|
readonly unique: true;
|
|
3288
3288
|
readonly archetype: "Material";
|
|
3289
3289
|
};
|
|
3290
|
-
}, never>, args: {
|
|
3290
|
+
}, never, never>, args: {
|
|
3291
3291
|
name: string;
|
|
3292
3292
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
3293
3293
|
}) => Entity;
|
|
@@ -3469,7 +3469,7 @@ export declare const model: {
|
|
|
3469
3469
|
readonly unique: true;
|
|
3470
3470
|
readonly archetype: "Material";
|
|
3471
3471
|
};
|
|
3472
|
-
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
3472
|
+
}, never, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
3473
3473
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3474
3474
|
readonly material: {
|
|
3475
3475
|
readonly entity: true;
|
|
@@ -3648,7 +3648,7 @@ export declare const model: {
|
|
|
3648
3648
|
readonly unique: true;
|
|
3649
3649
|
readonly archetype: "Material";
|
|
3650
3650
|
};
|
|
3651
|
-
}, never>) => void;
|
|
3651
|
+
}, never, never>) => void;
|
|
3652
3652
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3653
3653
|
readonly material: {
|
|
3654
3654
|
readonly entity: true;
|
|
@@ -3827,7 +3827,7 @@ export declare const model: {
|
|
|
3827
3827
|
readonly unique: true;
|
|
3828
3828
|
readonly archetype: "Material";
|
|
3829
3829
|
};
|
|
3830
|
-
}, never>) => void;
|
|
3830
|
+
}, never, never>) => void;
|
|
3831
3831
|
} & {
|
|
3832
3832
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3833
3833
|
readonly mesh: {
|
|
@@ -4161,7 +4161,7 @@ export declare const model: {
|
|
|
4161
4161
|
readonly unique: true;
|
|
4162
4162
|
readonly archetype: "Material";
|
|
4163
4163
|
};
|
|
4164
|
-
}, never>, args: {
|
|
4164
|
+
}, never, never>, args: {
|
|
4165
4165
|
url: string;
|
|
4166
4166
|
}) => Entity;
|
|
4167
4167
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -4496,7 +4496,7 @@ export declare const model: {
|
|
|
4496
4496
|
readonly unique: true;
|
|
4497
4497
|
readonly archetype: "Material";
|
|
4498
4498
|
};
|
|
4499
|
-
}, never>, args: {
|
|
4499
|
+
}, never, never>, args: {
|
|
4500
4500
|
shapeSpec: ShapeSpec;
|
|
4501
4501
|
}) => Entity;
|
|
4502
4502
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -4831,7 +4831,7 @@ export declare const model: {
|
|
|
4831
4831
|
readonly unique: true;
|
|
4832
4832
|
readonly archetype: "Material";
|
|
4833
4833
|
};
|
|
4834
|
-
}, never>, args: {
|
|
4834
|
+
}, never, never>, args: {
|
|
4835
4835
|
mesh: Entity;
|
|
4836
4836
|
material: Entity;
|
|
4837
4837
|
position?: Vec3;
|
|
@@ -5170,7 +5170,7 @@ export declare const model: {
|
|
|
5170
5170
|
readonly unique: true;
|
|
5171
5171
|
readonly archetype: "Material";
|
|
5172
5172
|
};
|
|
5173
|
-
}, never>, args: {
|
|
5173
|
+
}, never, never>, args: {
|
|
5174
5174
|
mesh: Entity;
|
|
5175
5175
|
position?: Vec3;
|
|
5176
5176
|
rotation?: Quat;
|
|
@@ -26,6 +26,74 @@ 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 entity: true;
|
|
60
|
+
readonly type: "integer";
|
|
61
|
+
readonly minimum: -2147483648;
|
|
62
|
+
readonly maximum: 2147483647;
|
|
63
|
+
};
|
|
64
|
+
readonly _material: {
|
|
65
|
+
readonly default: undefined;
|
|
66
|
+
readonly nonPersistent: true;
|
|
67
|
+
readonly entity: true;
|
|
68
|
+
readonly type: "integer";
|
|
69
|
+
readonly minimum: -2147483648;
|
|
70
|
+
readonly maximum: 2147483647;
|
|
71
|
+
};
|
|
72
|
+
readonly _nodeLocalMatrix: {
|
|
73
|
+
readonly default: undefined;
|
|
74
|
+
readonly nonPersistent: true;
|
|
75
|
+
readonly type: "array";
|
|
76
|
+
readonly items: {
|
|
77
|
+
readonly type: "number";
|
|
78
|
+
readonly precision: 1;
|
|
79
|
+
readonly default: number;
|
|
80
|
+
};
|
|
81
|
+
readonly minItems: 16;
|
|
82
|
+
readonly maxItems: 16;
|
|
83
|
+
};
|
|
84
|
+
readonly _skeletonModelRef: {
|
|
85
|
+
readonly default: undefined;
|
|
86
|
+
readonly nonPersistent: true;
|
|
87
|
+
readonly entity: true;
|
|
88
|
+
readonly type: "integer";
|
|
89
|
+
readonly minimum: -2147483648;
|
|
90
|
+
readonly maximum: 2147483647;
|
|
91
|
+
};
|
|
92
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
93
|
+
readonly default: GPUBindGroup | null;
|
|
94
|
+
readonly nonPersistent: true;
|
|
95
|
+
};
|
|
96
|
+
} & {
|
|
29
97
|
readonly visible: {
|
|
30
98
|
readonly type: "boolean";
|
|
31
99
|
readonly const: true;
|
|
@@ -371,74 +439,6 @@ export declare const modelLoader: {
|
|
|
371
439
|
readonly const: true;
|
|
372
440
|
readonly default: true;
|
|
373
441
|
};
|
|
374
|
-
} & {
|
|
375
|
-
readonly _vertexBuffer: {
|
|
376
|
-
readonly default: GPUBuffer | null;
|
|
377
|
-
readonly nonPersistent: true;
|
|
378
|
-
};
|
|
379
|
-
readonly _skinVertexBuffer: {
|
|
380
|
-
readonly default: GPUBuffer | null;
|
|
381
|
-
readonly nonPersistent: true;
|
|
382
|
-
};
|
|
383
|
-
readonly _indexBuffer: {
|
|
384
|
-
readonly default: GPUBuffer | null;
|
|
385
|
-
readonly nonPersistent: true;
|
|
386
|
-
};
|
|
387
|
-
readonly _indexCount: {
|
|
388
|
-
readonly default: undefined;
|
|
389
|
-
readonly nonPersistent: true;
|
|
390
|
-
readonly type: "integer";
|
|
391
|
-
readonly minimum: 0;
|
|
392
|
-
readonly maximum: 4294967295;
|
|
393
|
-
};
|
|
394
|
-
readonly _indexFormat: {
|
|
395
|
-
readonly default: GPUIndexFormat;
|
|
396
|
-
readonly nonPersistent: true;
|
|
397
|
-
};
|
|
398
|
-
readonly _materialBindGroup: {
|
|
399
|
-
readonly default: GPUBindGroup | null;
|
|
400
|
-
readonly nonPersistent: true;
|
|
401
|
-
};
|
|
402
|
-
readonly _mesh: {
|
|
403
|
-
readonly default: undefined;
|
|
404
|
-
readonly nonPersistent: true;
|
|
405
|
-
readonly entity: true;
|
|
406
|
-
readonly type: "integer";
|
|
407
|
-
readonly minimum: -2147483648;
|
|
408
|
-
readonly maximum: 2147483647;
|
|
409
|
-
};
|
|
410
|
-
readonly _material: {
|
|
411
|
-
readonly default: undefined;
|
|
412
|
-
readonly nonPersistent: true;
|
|
413
|
-
readonly entity: true;
|
|
414
|
-
readonly type: "integer";
|
|
415
|
-
readonly minimum: -2147483648;
|
|
416
|
-
readonly maximum: 2147483647;
|
|
417
|
-
};
|
|
418
|
-
readonly _nodeLocalMatrix: {
|
|
419
|
-
readonly default: undefined;
|
|
420
|
-
readonly nonPersistent: true;
|
|
421
|
-
readonly type: "array";
|
|
422
|
-
readonly items: {
|
|
423
|
-
readonly type: "number";
|
|
424
|
-
readonly precision: 1;
|
|
425
|
-
readonly default: number;
|
|
426
|
-
};
|
|
427
|
-
readonly minItems: 16;
|
|
428
|
-
readonly maxItems: 16;
|
|
429
|
-
};
|
|
430
|
-
readonly _skeletonModelRef: {
|
|
431
|
-
readonly default: undefined;
|
|
432
|
-
readonly nonPersistent: true;
|
|
433
|
-
readonly entity: true;
|
|
434
|
-
readonly type: "integer";
|
|
435
|
-
readonly minimum: -2147483648;
|
|
436
|
-
readonly maximum: 2147483647;
|
|
437
|
-
};
|
|
438
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
439
|
-
readonly default: GPUBindGroup | null;
|
|
440
|
-
readonly nonPersistent: true;
|
|
441
|
-
};
|
|
442
442
|
};
|
|
443
443
|
readonly resources: {} & {
|
|
444
444
|
readonly _gltfMeshByUrl: {
|
|
@@ -466,6 +466,9 @@ export declare const modelLoader: {
|
|
|
466
466
|
};
|
|
467
467
|
};
|
|
468
468
|
readonly archetypes: {} & {
|
|
469
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
470
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
471
|
+
} & {
|
|
469
472
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
470
473
|
} & {} & {
|
|
471
474
|
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"];
|
|
@@ -480,11 +483,8 @@ export declare const modelLoader: {
|
|
|
480
483
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
481
484
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
482
485
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
483
|
-
} & {} & {
|
|
484
|
-
|
|
485
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
486
|
-
} & {};
|
|
487
|
-
readonly transactions: {} & {} & {
|
|
486
|
+
} & {} & {};
|
|
487
|
+
readonly transactions: {} & {} & {} & {
|
|
488
488
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
489
489
|
readonly material: {
|
|
490
490
|
readonly entity: true;
|
|
@@ -663,7 +663,7 @@ export declare const modelLoader: {
|
|
|
663
663
|
readonly unique: true;
|
|
664
664
|
readonly archetype: "Material";
|
|
665
665
|
};
|
|
666
|
-
}, never>, row: import("../../../material/public.js")) => number;
|
|
666
|
+
}, never, never>, row: import("../../../material/public.js")) => number;
|
|
667
667
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
668
668
|
readonly material: {
|
|
669
669
|
readonly entity: true;
|
|
@@ -842,7 +842,7 @@ export declare const modelLoader: {
|
|
|
842
842
|
readonly unique: true;
|
|
843
843
|
readonly archetype: "Material";
|
|
844
844
|
};
|
|
845
|
-
}, never>, args: {
|
|
845
|
+
}, never, never>, args: {
|
|
846
846
|
name: string;
|
|
847
847
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
848
848
|
}) => number;
|
|
@@ -1024,7 +1024,7 @@ export declare const modelLoader: {
|
|
|
1024
1024
|
readonly unique: true;
|
|
1025
1025
|
readonly archetype: "Material";
|
|
1026
1026
|
};
|
|
1027
|
-
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1027
|
+
}, never, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1028
1028
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1029
1029
|
readonly material: {
|
|
1030
1030
|
readonly entity: true;
|
|
@@ -1203,7 +1203,7 @@ export declare const modelLoader: {
|
|
|
1203
1203
|
readonly unique: true;
|
|
1204
1204
|
readonly archetype: "Material";
|
|
1205
1205
|
};
|
|
1206
|
-
}, never>) => void;
|
|
1206
|
+
}, never, never>) => void;
|
|
1207
1207
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1208
1208
|
readonly material: {
|
|
1209
1209
|
readonly entity: true;
|
|
@@ -1382,7 +1382,7 @@ export declare const modelLoader: {
|
|
|
1382
1382
|
readonly unique: true;
|
|
1383
1383
|
readonly archetype: "Material";
|
|
1384
1384
|
};
|
|
1385
|
-
}, never>) => void;
|
|
1385
|
+
}, never, never>) => void;
|
|
1386
1386
|
} & {
|
|
1387
1387
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1388
1388
|
readonly mesh: {
|
|
@@ -1716,7 +1716,7 @@ export declare const modelLoader: {
|
|
|
1716
1716
|
readonly unique: true;
|
|
1717
1717
|
readonly archetype: "Material";
|
|
1718
1718
|
};
|
|
1719
|
-
}, never>, args: {
|
|
1719
|
+
}, never, never>, args: {
|
|
1720
1720
|
url: string;
|
|
1721
1721
|
}) => number;
|
|
1722
1722
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2051,7 +2051,7 @@ export declare const modelLoader: {
|
|
|
2051
2051
|
readonly unique: true;
|
|
2052
2052
|
readonly archetype: "Material";
|
|
2053
2053
|
};
|
|
2054
|
-
}, never>, args: {
|
|
2054
|
+
}, never, never>, args: {
|
|
2055
2055
|
shapeSpec: import("./shape/shape-spec.js").ShapeSpec;
|
|
2056
2056
|
}) => number;
|
|
2057
2057
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2386,7 +2386,7 @@ export declare const modelLoader: {
|
|
|
2386
2386
|
readonly unique: true;
|
|
2387
2387
|
readonly archetype: "Material";
|
|
2388
2388
|
};
|
|
2389
|
-
}, never>, args: {
|
|
2389
|
+
}, never, never>, args: {
|
|
2390
2390
|
mesh: number;
|
|
2391
2391
|
material: number;
|
|
2392
2392
|
position?: import("@adobe/data/math").Vec3;
|
|
@@ -2725,7 +2725,7 @@ export declare const modelLoader: {
|
|
|
2725
2725
|
readonly unique: true;
|
|
2726
2726
|
readonly archetype: "Material";
|
|
2727
2727
|
};
|
|
2728
|
-
}, never>, args: {
|
|
2728
|
+
}, never, never>, args: {
|
|
2729
2729
|
mesh: number;
|
|
2730
2730
|
position?: import("@adobe/data/math").Vec3;
|
|
2731
2731
|
rotation?: import("@adobe/data/math").Quat;
|
|
@@ -2779,7 +2779,7 @@ export declare const modelLoader: {
|
|
|
2779
2779
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2780
2780
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2781
2781
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2782
|
-
}, {} & {}, never>, args: {
|
|
2782
|
+
}, {} & {}, never, never>, args: {
|
|
2783
2783
|
tracks: import("../../animation/animation-track/public.js")[];
|
|
2784
2784
|
duration: number;
|
|
2785
2785
|
}) => number;
|
|
@@ -2829,7 +2829,7 @@ export declare const modelLoader: {
|
|
|
2829
2829
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2830
2830
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2831
2831
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2832
|
-
}, {} & {}, never>, args: {
|
|
2832
|
+
}, {} & {}, never, never>, args: {
|
|
2833
2833
|
animationClipRef: number;
|
|
2834
2834
|
animationTargets: number[];
|
|
2835
2835
|
animationTime?: number;
|
|
@@ -2884,12 +2884,80 @@ export declare const modelLoader: {
|
|
|
2884
2884
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2885
2885
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2886
2886
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2887
|
-
}, {}, never>, args: {
|
|
2887
|
+
}, {}, never, never>, args: {
|
|
2888
2888
|
dt: number;
|
|
2889
2889
|
observable: boolean;
|
|
2890
2890
|
}) => void;
|
|
2891
|
-
} & {} & {
|
|
2891
|
+
} & {} & {
|
|
2892
2892
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2893
|
+
readonly _vertexBuffer: {
|
|
2894
|
+
readonly default: GPUBuffer | null;
|
|
2895
|
+
readonly nonPersistent: true;
|
|
2896
|
+
};
|
|
2897
|
+
readonly _skinVertexBuffer: {
|
|
2898
|
+
readonly default: GPUBuffer | null;
|
|
2899
|
+
readonly nonPersistent: true;
|
|
2900
|
+
};
|
|
2901
|
+
readonly _indexBuffer: {
|
|
2902
|
+
readonly default: GPUBuffer | null;
|
|
2903
|
+
readonly nonPersistent: true;
|
|
2904
|
+
};
|
|
2905
|
+
readonly _indexCount: {
|
|
2906
|
+
readonly default: undefined;
|
|
2907
|
+
readonly nonPersistent: true;
|
|
2908
|
+
readonly type: "integer";
|
|
2909
|
+
readonly minimum: 0;
|
|
2910
|
+
readonly maximum: 4294967295;
|
|
2911
|
+
};
|
|
2912
|
+
readonly _indexFormat: {
|
|
2913
|
+
readonly default: GPUIndexFormat;
|
|
2914
|
+
readonly nonPersistent: true;
|
|
2915
|
+
};
|
|
2916
|
+
readonly _materialBindGroup: {
|
|
2917
|
+
readonly default: GPUBindGroup | null;
|
|
2918
|
+
readonly nonPersistent: true;
|
|
2919
|
+
};
|
|
2920
|
+
readonly _mesh: {
|
|
2921
|
+
readonly default: undefined;
|
|
2922
|
+
readonly nonPersistent: true;
|
|
2923
|
+
readonly entity: true;
|
|
2924
|
+
readonly type: "integer";
|
|
2925
|
+
readonly minimum: -2147483648;
|
|
2926
|
+
readonly maximum: 2147483647;
|
|
2927
|
+
};
|
|
2928
|
+
readonly _material: {
|
|
2929
|
+
readonly default: undefined;
|
|
2930
|
+
readonly nonPersistent: true;
|
|
2931
|
+
readonly entity: true;
|
|
2932
|
+
readonly type: "integer";
|
|
2933
|
+
readonly minimum: -2147483648;
|
|
2934
|
+
readonly maximum: 2147483647;
|
|
2935
|
+
};
|
|
2936
|
+
readonly _nodeLocalMatrix: {
|
|
2937
|
+
readonly default: undefined;
|
|
2938
|
+
readonly nonPersistent: true;
|
|
2939
|
+
readonly type: "array";
|
|
2940
|
+
readonly items: {
|
|
2941
|
+
readonly type: "number";
|
|
2942
|
+
readonly precision: 1;
|
|
2943
|
+
readonly default: number;
|
|
2944
|
+
};
|
|
2945
|
+
readonly minItems: 16;
|
|
2946
|
+
readonly maxItems: 16;
|
|
2947
|
+
};
|
|
2948
|
+
readonly _skeletonModelRef: {
|
|
2949
|
+
readonly default: undefined;
|
|
2950
|
+
readonly nonPersistent: true;
|
|
2951
|
+
readonly entity: true;
|
|
2952
|
+
readonly type: "integer";
|
|
2953
|
+
readonly minimum: -2147483648;
|
|
2954
|
+
readonly maximum: 2147483647;
|
|
2955
|
+
};
|
|
2956
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
2957
|
+
readonly default: GPUBindGroup | null;
|
|
2958
|
+
readonly nonPersistent: true;
|
|
2959
|
+
};
|
|
2960
|
+
} & {
|
|
2893
2961
|
readonly visible: {
|
|
2894
2962
|
readonly type: "boolean";
|
|
2895
2963
|
readonly const: true;
|
|
@@ -3235,74 +3303,6 @@ export declare const modelLoader: {
|
|
|
3235
3303
|
readonly const: true;
|
|
3236
3304
|
readonly default: true;
|
|
3237
3305
|
};
|
|
3238
|
-
} & {
|
|
3239
|
-
readonly _vertexBuffer: {
|
|
3240
|
-
readonly default: GPUBuffer | null;
|
|
3241
|
-
readonly nonPersistent: true;
|
|
3242
|
-
};
|
|
3243
|
-
readonly _skinVertexBuffer: {
|
|
3244
|
-
readonly default: GPUBuffer | null;
|
|
3245
|
-
readonly nonPersistent: true;
|
|
3246
|
-
};
|
|
3247
|
-
readonly _indexBuffer: {
|
|
3248
|
-
readonly default: GPUBuffer | null;
|
|
3249
|
-
readonly nonPersistent: true;
|
|
3250
|
-
};
|
|
3251
|
-
readonly _indexCount: {
|
|
3252
|
-
readonly default: undefined;
|
|
3253
|
-
readonly nonPersistent: true;
|
|
3254
|
-
readonly type: "integer";
|
|
3255
|
-
readonly minimum: 0;
|
|
3256
|
-
readonly maximum: 4294967295;
|
|
3257
|
-
};
|
|
3258
|
-
readonly _indexFormat: {
|
|
3259
|
-
readonly default: GPUIndexFormat;
|
|
3260
|
-
readonly nonPersistent: true;
|
|
3261
|
-
};
|
|
3262
|
-
readonly _materialBindGroup: {
|
|
3263
|
-
readonly default: GPUBindGroup | null;
|
|
3264
|
-
readonly nonPersistent: true;
|
|
3265
|
-
};
|
|
3266
|
-
readonly _mesh: {
|
|
3267
|
-
readonly default: undefined;
|
|
3268
|
-
readonly nonPersistent: true;
|
|
3269
|
-
readonly entity: true;
|
|
3270
|
-
readonly type: "integer";
|
|
3271
|
-
readonly minimum: -2147483648;
|
|
3272
|
-
readonly maximum: 2147483647;
|
|
3273
|
-
};
|
|
3274
|
-
readonly _material: {
|
|
3275
|
-
readonly default: undefined;
|
|
3276
|
-
readonly nonPersistent: true;
|
|
3277
|
-
readonly entity: true;
|
|
3278
|
-
readonly type: "integer";
|
|
3279
|
-
readonly minimum: -2147483648;
|
|
3280
|
-
readonly maximum: 2147483647;
|
|
3281
|
-
};
|
|
3282
|
-
readonly _nodeLocalMatrix: {
|
|
3283
|
-
readonly default: undefined;
|
|
3284
|
-
readonly nonPersistent: true;
|
|
3285
|
-
readonly type: "array";
|
|
3286
|
-
readonly items: {
|
|
3287
|
-
readonly type: "number";
|
|
3288
|
-
readonly precision: 1;
|
|
3289
|
-
readonly default: number;
|
|
3290
|
-
};
|
|
3291
|
-
readonly minItems: 16;
|
|
3292
|
-
readonly maxItems: 16;
|
|
3293
|
-
};
|
|
3294
|
-
readonly _skeletonModelRef: {
|
|
3295
|
-
readonly default: undefined;
|
|
3296
|
-
readonly nonPersistent: true;
|
|
3297
|
-
readonly entity: true;
|
|
3298
|
-
readonly type: "integer";
|
|
3299
|
-
readonly minimum: -2147483648;
|
|
3300
|
-
readonly maximum: 2147483647;
|
|
3301
|
-
};
|
|
3302
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3303
|
-
readonly default: GPUBindGroup | null;
|
|
3304
|
-
readonly nonPersistent: true;
|
|
3305
|
-
};
|
|
3306
3306
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3307
3307
|
readonly _gltfMeshByUrl: {
|
|
3308
3308
|
readonly default: Map<string, number> | null;
|
|
@@ -3328,6 +3328,9 @@ export declare const modelLoader: {
|
|
|
3328
3328
|
readonly nonPersistent: true;
|
|
3329
3329
|
};
|
|
3330
3330
|
}>, {} & {} & {
|
|
3331
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3332
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3333
|
+
} & {
|
|
3331
3334
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3332
3335
|
} & {} & {
|
|
3333
3336
|
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"];
|
|
@@ -3342,10 +3345,7 @@ export declare const modelLoader: {
|
|
|
3342
3345
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3343
3346
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3344
3347
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3345
|
-
} & {} & {
|
|
3346
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3347
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3348
|
-
}, {} & {} & {
|
|
3348
|
+
} & {}, {} & {} & {} & {
|
|
3349
3349
|
readonly nodeChildrenOf: {
|
|
3350
3350
|
readonly key: "parent";
|
|
3351
3351
|
readonly archetype: "Node";
|
|
@@ -3356,13 +3356,13 @@ export declare const modelLoader: {
|
|
|
3356
3356
|
readonly unique: true;
|
|
3357
3357
|
readonly archetype: "Material";
|
|
3358
3358
|
};
|
|
3359
|
-
} & {} & {} & {} & {}
|
|
3359
|
+
} & {} & {} & {} & {}, never, never>, args: LoadedArgs) => void;
|
|
3360
3360
|
};
|
|
3361
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3361
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem">;
|
|
3362
3362
|
readonly actions: {};
|
|
3363
3363
|
readonly services: {};
|
|
3364
3364
|
readonly computed: {};
|
|
3365
|
-
readonly indexes: {} & {
|
|
3365
|
+
readonly indexes: {} & {} & {
|
|
3366
3366
|
readonly nodeChildrenOf: {
|
|
3367
3367
|
readonly key: "parent";
|
|
3368
3368
|
readonly archetype: "Node";
|
|
@@ -3373,5 +3373,5 @@ export declare const modelLoader: {
|
|
|
3373
3373
|
readonly unique: true;
|
|
3374
3374
|
readonly archetype: "Material";
|
|
3375
3375
|
};
|
|
3376
|
-
} & {} & {} & {} & {} & {}
|
|
3376
|
+
} & {} & {} & {} & {} & {};
|
|
3377
3377
|
};
|