@adobe/data-gpu 0.9.96 → 0.9.97
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/graphics/picking/picking-plugin.d.ts +774 -753
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +206 -199
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +142 -136
- package/dist/graphics/rendering/interpolation-plugin.d.ts +34 -34
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +197 -190
- package/dist/graphics/rendering/model-collider-plugin.d.ts +149 -143
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +152 -146
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +169 -162
- package/dist/graphics/scene/model/mesh-plugin.d.ts +10 -0
- package/dist/graphics/scene/model/mesh-plugin.js +1 -1
- package/dist/graphics/scene/model/mesh-plugin.js.map +1 -1
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +149 -143
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +71 -70
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +149 -143
- package/dist/graphics/scene/scene-plugin.d.ts +5 -0
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +2 -2
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +2 -2
- package/package.json +2 -2
- package/src/graphics/scene/model/mesh-plugin.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -26,71 +26,6 @@ export interface LoadedArgs {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const modelLoader: {
|
|
28
28
|
readonly components: {} & {
|
|
29
|
-
readonly _vertexBuffer: {
|
|
30
|
-
readonly default: GPUBuffer | null;
|
|
31
|
-
readonly nonPersistent: true;
|
|
32
|
-
};
|
|
33
|
-
readonly _skinVertexBuffer: {
|
|
34
|
-
readonly default: GPUBuffer | null;
|
|
35
|
-
readonly nonPersistent: true;
|
|
36
|
-
};
|
|
37
|
-
readonly _indexBuffer: {
|
|
38
|
-
readonly default: GPUBuffer | null;
|
|
39
|
-
readonly nonPersistent: true;
|
|
40
|
-
};
|
|
41
|
-
readonly _indexCount: {
|
|
42
|
-
readonly default: undefined;
|
|
43
|
-
readonly nonPersistent: true;
|
|
44
|
-
readonly type: "integer";
|
|
45
|
-
readonly minimum: 0;
|
|
46
|
-
readonly maximum: 4294967295;
|
|
47
|
-
};
|
|
48
|
-
readonly _indexFormat: {
|
|
49
|
-
readonly default: GPUIndexFormat;
|
|
50
|
-
readonly nonPersistent: true;
|
|
51
|
-
};
|
|
52
|
-
readonly _materialBindGroup: {
|
|
53
|
-
readonly default: GPUBindGroup | null;
|
|
54
|
-
readonly nonPersistent: true;
|
|
55
|
-
};
|
|
56
|
-
readonly _mesh: {
|
|
57
|
-
readonly default: undefined;
|
|
58
|
-
readonly nonPersistent: true;
|
|
59
|
-
readonly type: "integer";
|
|
60
|
-
readonly minimum: -2147483648;
|
|
61
|
-
readonly maximum: 2147483647;
|
|
62
|
-
};
|
|
63
|
-
readonly _material: {
|
|
64
|
-
readonly default: undefined;
|
|
65
|
-
readonly nonPersistent: true;
|
|
66
|
-
readonly type: "integer";
|
|
67
|
-
readonly minimum: -2147483648;
|
|
68
|
-
readonly maximum: 2147483647;
|
|
69
|
-
};
|
|
70
|
-
readonly _nodeLocalMatrix: {
|
|
71
|
-
readonly default: undefined;
|
|
72
|
-
readonly nonPersistent: true;
|
|
73
|
-
readonly type: "array";
|
|
74
|
-
readonly items: {
|
|
75
|
-
readonly type: "number";
|
|
76
|
-
readonly precision: 1;
|
|
77
|
-
readonly default: number;
|
|
78
|
-
};
|
|
79
|
-
readonly minItems: 16;
|
|
80
|
-
readonly maxItems: 16;
|
|
81
|
-
};
|
|
82
|
-
readonly _skeletonModelRef: {
|
|
83
|
-
readonly default: undefined;
|
|
84
|
-
readonly nonPersistent: true;
|
|
85
|
-
readonly type: "integer";
|
|
86
|
-
readonly minimum: -2147483648;
|
|
87
|
-
readonly maximum: 2147483647;
|
|
88
|
-
};
|
|
89
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
90
|
-
readonly default: GPUBindGroup | null;
|
|
91
|
-
readonly nonPersistent: true;
|
|
92
|
-
};
|
|
93
|
-
} & {
|
|
94
29
|
readonly visible: {
|
|
95
30
|
readonly type: "boolean";
|
|
96
31
|
readonly const: true;
|
|
@@ -432,11 +367,77 @@ export declare const modelLoader: {
|
|
|
432
367
|
readonly const: true;
|
|
433
368
|
readonly default: true;
|
|
434
369
|
};
|
|
370
|
+
} & {
|
|
371
|
+
readonly _vertexBuffer: {
|
|
372
|
+
readonly default: GPUBuffer | null;
|
|
373
|
+
readonly nonPersistent: true;
|
|
374
|
+
};
|
|
375
|
+
readonly _skinVertexBuffer: {
|
|
376
|
+
readonly default: GPUBuffer | null;
|
|
377
|
+
readonly nonPersistent: true;
|
|
378
|
+
};
|
|
379
|
+
readonly _indexBuffer: {
|
|
380
|
+
readonly default: GPUBuffer | null;
|
|
381
|
+
readonly nonPersistent: true;
|
|
382
|
+
};
|
|
383
|
+
readonly _indexCount: {
|
|
384
|
+
readonly default: undefined;
|
|
385
|
+
readonly nonPersistent: true;
|
|
386
|
+
readonly type: "integer";
|
|
387
|
+
readonly minimum: 0;
|
|
388
|
+
readonly maximum: 4294967295;
|
|
389
|
+
};
|
|
390
|
+
readonly _indexFormat: {
|
|
391
|
+
readonly default: GPUIndexFormat;
|
|
392
|
+
readonly nonPersistent: true;
|
|
393
|
+
};
|
|
394
|
+
readonly _materialBindGroup: {
|
|
395
|
+
readonly default: GPUBindGroup | null;
|
|
396
|
+
readonly nonPersistent: true;
|
|
397
|
+
};
|
|
398
|
+
readonly _mesh: {
|
|
399
|
+
readonly default: undefined;
|
|
400
|
+
readonly nonPersistent: true;
|
|
401
|
+
readonly type: "integer";
|
|
402
|
+
readonly minimum: -2147483648;
|
|
403
|
+
readonly maximum: 2147483647;
|
|
404
|
+
};
|
|
405
|
+
readonly _material: {
|
|
406
|
+
readonly default: undefined;
|
|
407
|
+
readonly nonPersistent: true;
|
|
408
|
+
readonly type: "integer";
|
|
409
|
+
readonly minimum: -2147483648;
|
|
410
|
+
readonly maximum: 2147483647;
|
|
411
|
+
};
|
|
412
|
+
readonly _nodeLocalMatrix: {
|
|
413
|
+
readonly default: undefined;
|
|
414
|
+
readonly nonPersistent: true;
|
|
415
|
+
readonly type: "array";
|
|
416
|
+
readonly items: {
|
|
417
|
+
readonly type: "number";
|
|
418
|
+
readonly precision: 1;
|
|
419
|
+
readonly default: number;
|
|
420
|
+
};
|
|
421
|
+
readonly minItems: 16;
|
|
422
|
+
readonly maxItems: 16;
|
|
423
|
+
};
|
|
424
|
+
readonly _skeletonModelRef: {
|
|
425
|
+
readonly default: undefined;
|
|
426
|
+
readonly nonPersistent: true;
|
|
427
|
+
readonly type: "integer";
|
|
428
|
+
readonly minimum: -2147483648;
|
|
429
|
+
readonly maximum: 2147483647;
|
|
430
|
+
};
|
|
431
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
432
|
+
readonly default: GPUBindGroup | null;
|
|
433
|
+
readonly nonPersistent: true;
|
|
434
|
+
};
|
|
435
435
|
};
|
|
436
436
|
readonly resources: {} & {
|
|
437
437
|
readonly _gltfMeshByUrl: {
|
|
438
438
|
readonly default: Map<string, number> | null;
|
|
439
439
|
readonly nonPersistent: true;
|
|
440
|
+
readonly mutable: true;
|
|
440
441
|
};
|
|
441
442
|
} & {
|
|
442
443
|
readonly frameTime: {
|
|
@@ -458,9 +459,6 @@ export declare const modelLoader: {
|
|
|
458
459
|
};
|
|
459
460
|
};
|
|
460
461
|
readonly archetypes: {} & {
|
|
461
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
462
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
463
|
-
} & {
|
|
464
462
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
465
463
|
} & {} & {
|
|
466
464
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
@@ -475,8 +473,11 @@ export declare const modelLoader: {
|
|
|
475
473
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
476
474
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
477
475
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
478
|
-
} & {} & {
|
|
479
|
-
|
|
476
|
+
} & {} & {
|
|
477
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
478
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
479
|
+
} & {};
|
|
480
|
+
readonly transactions: {} & {} & {
|
|
480
481
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
481
482
|
readonly material: {
|
|
482
483
|
readonly type: "integer";
|
|
@@ -1676,6 +1677,7 @@ export declare const modelLoader: {
|
|
|
1676
1677
|
readonly _gltfMeshByUrl: {
|
|
1677
1678
|
readonly default: Map<string, number> | null;
|
|
1678
1679
|
readonly nonPersistent: true;
|
|
1680
|
+
readonly mutable: true;
|
|
1679
1681
|
};
|
|
1680
1682
|
} & {}>, {
|
|
1681
1683
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2007,6 +2009,7 @@ export declare const modelLoader: {
|
|
|
2007
2009
|
readonly _gltfMeshByUrl: {
|
|
2008
2010
|
readonly default: Map<string, number> | null;
|
|
2009
2011
|
readonly nonPersistent: true;
|
|
2012
|
+
readonly mutable: true;
|
|
2010
2013
|
};
|
|
2011
2014
|
} & {}>, {
|
|
2012
2015
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2338,6 +2341,7 @@ export declare const modelLoader: {
|
|
|
2338
2341
|
readonly _gltfMeshByUrl: {
|
|
2339
2342
|
readonly default: Map<string, number> | null;
|
|
2340
2343
|
readonly nonPersistent: true;
|
|
2344
|
+
readonly mutable: true;
|
|
2341
2345
|
};
|
|
2342
2346
|
} & {}>, {
|
|
2343
2347
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2673,6 +2677,7 @@ export declare const modelLoader: {
|
|
|
2673
2677
|
readonly _gltfMeshByUrl: {
|
|
2674
2678
|
readonly default: Map<string, number> | null;
|
|
2675
2679
|
readonly nonPersistent: true;
|
|
2680
|
+
readonly mutable: true;
|
|
2676
2681
|
};
|
|
2677
2682
|
} & {}>, {
|
|
2678
2683
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2856,73 +2861,8 @@ export declare const modelLoader: {
|
|
|
2856
2861
|
dt: number;
|
|
2857
2862
|
observable: boolean;
|
|
2858
2863
|
}) => void;
|
|
2859
|
-
} & {} & {
|
|
2864
|
+
} & {} & {} & {
|
|
2860
2865
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2861
|
-
readonly _vertexBuffer: {
|
|
2862
|
-
readonly default: GPUBuffer | null;
|
|
2863
|
-
readonly nonPersistent: true;
|
|
2864
|
-
};
|
|
2865
|
-
readonly _skinVertexBuffer: {
|
|
2866
|
-
readonly default: GPUBuffer | null;
|
|
2867
|
-
readonly nonPersistent: true;
|
|
2868
|
-
};
|
|
2869
|
-
readonly _indexBuffer: {
|
|
2870
|
-
readonly default: GPUBuffer | null;
|
|
2871
|
-
readonly nonPersistent: true;
|
|
2872
|
-
};
|
|
2873
|
-
readonly _indexCount: {
|
|
2874
|
-
readonly default: undefined;
|
|
2875
|
-
readonly nonPersistent: true;
|
|
2876
|
-
readonly type: "integer";
|
|
2877
|
-
readonly minimum: 0;
|
|
2878
|
-
readonly maximum: 4294967295;
|
|
2879
|
-
};
|
|
2880
|
-
readonly _indexFormat: {
|
|
2881
|
-
readonly default: GPUIndexFormat;
|
|
2882
|
-
readonly nonPersistent: true;
|
|
2883
|
-
};
|
|
2884
|
-
readonly _materialBindGroup: {
|
|
2885
|
-
readonly default: GPUBindGroup | null;
|
|
2886
|
-
readonly nonPersistent: true;
|
|
2887
|
-
};
|
|
2888
|
-
readonly _mesh: {
|
|
2889
|
-
readonly default: undefined;
|
|
2890
|
-
readonly nonPersistent: true;
|
|
2891
|
-
readonly type: "integer";
|
|
2892
|
-
readonly minimum: -2147483648;
|
|
2893
|
-
readonly maximum: 2147483647;
|
|
2894
|
-
};
|
|
2895
|
-
readonly _material: {
|
|
2896
|
-
readonly default: undefined;
|
|
2897
|
-
readonly nonPersistent: true;
|
|
2898
|
-
readonly type: "integer";
|
|
2899
|
-
readonly minimum: -2147483648;
|
|
2900
|
-
readonly maximum: 2147483647;
|
|
2901
|
-
};
|
|
2902
|
-
readonly _nodeLocalMatrix: {
|
|
2903
|
-
readonly default: undefined;
|
|
2904
|
-
readonly nonPersistent: true;
|
|
2905
|
-
readonly type: "array";
|
|
2906
|
-
readonly items: {
|
|
2907
|
-
readonly type: "number";
|
|
2908
|
-
readonly precision: 1;
|
|
2909
|
-
readonly default: number;
|
|
2910
|
-
};
|
|
2911
|
-
readonly minItems: 16;
|
|
2912
|
-
readonly maxItems: 16;
|
|
2913
|
-
};
|
|
2914
|
-
readonly _skeletonModelRef: {
|
|
2915
|
-
readonly default: undefined;
|
|
2916
|
-
readonly nonPersistent: true;
|
|
2917
|
-
readonly type: "integer";
|
|
2918
|
-
readonly minimum: -2147483648;
|
|
2919
|
-
readonly maximum: 2147483647;
|
|
2920
|
-
};
|
|
2921
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
2922
|
-
readonly default: GPUBindGroup | null;
|
|
2923
|
-
readonly nonPersistent: true;
|
|
2924
|
-
};
|
|
2925
|
-
} & {
|
|
2926
2866
|
readonly visible: {
|
|
2927
2867
|
readonly type: "boolean";
|
|
2928
2868
|
readonly const: true;
|
|
@@ -3264,10 +3204,76 @@ export declare const modelLoader: {
|
|
|
3264
3204
|
readonly const: true;
|
|
3265
3205
|
readonly default: true;
|
|
3266
3206
|
};
|
|
3207
|
+
} & {
|
|
3208
|
+
readonly _vertexBuffer: {
|
|
3209
|
+
readonly default: GPUBuffer | null;
|
|
3210
|
+
readonly nonPersistent: true;
|
|
3211
|
+
};
|
|
3212
|
+
readonly _skinVertexBuffer: {
|
|
3213
|
+
readonly default: GPUBuffer | null;
|
|
3214
|
+
readonly nonPersistent: true;
|
|
3215
|
+
};
|
|
3216
|
+
readonly _indexBuffer: {
|
|
3217
|
+
readonly default: GPUBuffer | null;
|
|
3218
|
+
readonly nonPersistent: true;
|
|
3219
|
+
};
|
|
3220
|
+
readonly _indexCount: {
|
|
3221
|
+
readonly default: undefined;
|
|
3222
|
+
readonly nonPersistent: true;
|
|
3223
|
+
readonly type: "integer";
|
|
3224
|
+
readonly minimum: 0;
|
|
3225
|
+
readonly maximum: 4294967295;
|
|
3226
|
+
};
|
|
3227
|
+
readonly _indexFormat: {
|
|
3228
|
+
readonly default: GPUIndexFormat;
|
|
3229
|
+
readonly nonPersistent: true;
|
|
3230
|
+
};
|
|
3231
|
+
readonly _materialBindGroup: {
|
|
3232
|
+
readonly default: GPUBindGroup | null;
|
|
3233
|
+
readonly nonPersistent: true;
|
|
3234
|
+
};
|
|
3235
|
+
readonly _mesh: {
|
|
3236
|
+
readonly default: undefined;
|
|
3237
|
+
readonly nonPersistent: true;
|
|
3238
|
+
readonly type: "integer";
|
|
3239
|
+
readonly minimum: -2147483648;
|
|
3240
|
+
readonly maximum: 2147483647;
|
|
3241
|
+
};
|
|
3242
|
+
readonly _material: {
|
|
3243
|
+
readonly default: undefined;
|
|
3244
|
+
readonly nonPersistent: true;
|
|
3245
|
+
readonly type: "integer";
|
|
3246
|
+
readonly minimum: -2147483648;
|
|
3247
|
+
readonly maximum: 2147483647;
|
|
3248
|
+
};
|
|
3249
|
+
readonly _nodeLocalMatrix: {
|
|
3250
|
+
readonly default: undefined;
|
|
3251
|
+
readonly nonPersistent: true;
|
|
3252
|
+
readonly type: "array";
|
|
3253
|
+
readonly items: {
|
|
3254
|
+
readonly type: "number";
|
|
3255
|
+
readonly precision: 1;
|
|
3256
|
+
readonly default: number;
|
|
3257
|
+
};
|
|
3258
|
+
readonly minItems: 16;
|
|
3259
|
+
readonly maxItems: 16;
|
|
3260
|
+
};
|
|
3261
|
+
readonly _skeletonModelRef: {
|
|
3262
|
+
readonly default: undefined;
|
|
3263
|
+
readonly nonPersistent: true;
|
|
3264
|
+
readonly type: "integer";
|
|
3265
|
+
readonly minimum: -2147483648;
|
|
3266
|
+
readonly maximum: 2147483647;
|
|
3267
|
+
};
|
|
3268
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3269
|
+
readonly default: GPUBindGroup | null;
|
|
3270
|
+
readonly nonPersistent: true;
|
|
3271
|
+
};
|
|
3267
3272
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3268
3273
|
readonly _gltfMeshByUrl: {
|
|
3269
3274
|
readonly default: Map<string, number> | null;
|
|
3270
3275
|
readonly nonPersistent: true;
|
|
3276
|
+
readonly mutable: true;
|
|
3271
3277
|
};
|
|
3272
3278
|
} & {
|
|
3273
3279
|
readonly frameTime: {
|
|
@@ -3288,9 +3294,6 @@ export declare const modelLoader: {
|
|
|
3288
3294
|
readonly nonPersistent: true;
|
|
3289
3295
|
};
|
|
3290
3296
|
}>, {} & {} & {
|
|
3291
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3292
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3293
|
-
} & {
|
|
3294
3297
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3295
3298
|
} & {} & {
|
|
3296
3299
|
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"];
|
|
@@ -3305,7 +3308,10 @@ export declare const modelLoader: {
|
|
|
3305
3308
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3306
3309
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3307
3310
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3308
|
-
} & {}
|
|
3311
|
+
} & {} & {
|
|
3312
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3313
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3314
|
+
}, {} & {} & {
|
|
3309
3315
|
readonly nodeChildrenOf: {
|
|
3310
3316
|
readonly key: "parent";
|
|
3311
3317
|
readonly archetype: "Node";
|
|
@@ -3316,13 +3322,13 @@ export declare const modelLoader: {
|
|
|
3316
3322
|
readonly unique: true;
|
|
3317
3323
|
readonly archetype: "Material";
|
|
3318
3324
|
};
|
|
3319
|
-
} & {} & {} & {} & {}, never>, args: LoadedArgs) => void;
|
|
3325
|
+
} & {} & {} & {} & {} & {}, never>, args: LoadedArgs) => void;
|
|
3320
3326
|
};
|
|
3321
3327
|
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem">;
|
|
3322
3328
|
readonly actions: {};
|
|
3323
3329
|
readonly services: {};
|
|
3324
3330
|
readonly computed: {};
|
|
3325
|
-
readonly indexes: {} & {
|
|
3331
|
+
readonly indexes: {} & {
|
|
3326
3332
|
readonly nodeChildrenOf: {
|
|
3327
3333
|
readonly key: "parent";
|
|
3328
3334
|
readonly archetype: "Node";
|
|
@@ -3333,5 +3339,5 @@ export declare const modelLoader: {
|
|
|
3333
3339
|
readonly unique: true;
|
|
3334
3340
|
readonly archetype: "Material";
|
|
3335
3341
|
};
|
|
3336
|
-
} & {} & {} & {} & {} & {};
|
|
3342
|
+
} & {} & {} & {} & {} & {} & {};
|
|
3337
3343
|
};
|
|
@@ -38,71 +38,6 @@ export declare const shapeGeometry: {
|
|
|
38
38
|
readonly archetypes: {} & {};
|
|
39
39
|
readonly transactions: {} & {} & {
|
|
40
40
|
readonly insertStaticMeshPrimitive: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
41
|
-
readonly _vertexBuffer: {
|
|
42
|
-
readonly default: GPUBuffer | null;
|
|
43
|
-
readonly nonPersistent: true;
|
|
44
|
-
};
|
|
45
|
-
readonly _skinVertexBuffer: {
|
|
46
|
-
readonly default: GPUBuffer | null;
|
|
47
|
-
readonly nonPersistent: true;
|
|
48
|
-
};
|
|
49
|
-
readonly _indexBuffer: {
|
|
50
|
-
readonly default: GPUBuffer | null;
|
|
51
|
-
readonly nonPersistent: true;
|
|
52
|
-
};
|
|
53
|
-
readonly _indexCount: {
|
|
54
|
-
readonly default: undefined;
|
|
55
|
-
readonly nonPersistent: true;
|
|
56
|
-
readonly type: "integer";
|
|
57
|
-
readonly minimum: 0;
|
|
58
|
-
readonly maximum: 4294967295;
|
|
59
|
-
};
|
|
60
|
-
readonly _indexFormat: {
|
|
61
|
-
readonly default: GPUIndexFormat;
|
|
62
|
-
readonly nonPersistent: true;
|
|
63
|
-
};
|
|
64
|
-
readonly _materialBindGroup: {
|
|
65
|
-
readonly default: GPUBindGroup | null;
|
|
66
|
-
readonly nonPersistent: true;
|
|
67
|
-
};
|
|
68
|
-
readonly _mesh: {
|
|
69
|
-
readonly default: undefined;
|
|
70
|
-
readonly nonPersistent: true;
|
|
71
|
-
readonly type: "integer";
|
|
72
|
-
readonly minimum: -2147483648;
|
|
73
|
-
readonly maximum: 2147483647;
|
|
74
|
-
};
|
|
75
|
-
readonly _material: {
|
|
76
|
-
readonly default: undefined;
|
|
77
|
-
readonly nonPersistent: true;
|
|
78
|
-
readonly type: "integer";
|
|
79
|
-
readonly minimum: -2147483648;
|
|
80
|
-
readonly maximum: 2147483647;
|
|
81
|
-
};
|
|
82
|
-
readonly _nodeLocalMatrix: {
|
|
83
|
-
readonly default: undefined;
|
|
84
|
-
readonly nonPersistent: true;
|
|
85
|
-
readonly type: "array";
|
|
86
|
-
readonly items: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly precision: 1;
|
|
89
|
-
readonly default: number;
|
|
90
|
-
};
|
|
91
|
-
readonly minItems: 16;
|
|
92
|
-
readonly maxItems: 16;
|
|
93
|
-
};
|
|
94
|
-
readonly _skeletonModelRef: {
|
|
95
|
-
readonly default: undefined;
|
|
96
|
-
readonly nonPersistent: true;
|
|
97
|
-
readonly type: "integer";
|
|
98
|
-
readonly minimum: -2147483648;
|
|
99
|
-
readonly maximum: 2147483647;
|
|
100
|
-
};
|
|
101
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
102
|
-
readonly default: GPUBindGroup | null;
|
|
103
|
-
readonly nonPersistent: true;
|
|
104
|
-
};
|
|
105
|
-
} & {
|
|
106
41
|
readonly visible: {
|
|
107
42
|
readonly type: "boolean";
|
|
108
43
|
readonly const: true;
|
|
@@ -403,6 +338,71 @@ export declare const shapeGeometry: {
|
|
|
403
338
|
weights: Float32Array;
|
|
404
339
|
} | null;
|
|
405
340
|
};
|
|
341
|
+
} & {
|
|
342
|
+
readonly _vertexBuffer: {
|
|
343
|
+
readonly default: GPUBuffer | null;
|
|
344
|
+
readonly nonPersistent: true;
|
|
345
|
+
};
|
|
346
|
+
readonly _skinVertexBuffer: {
|
|
347
|
+
readonly default: GPUBuffer | null;
|
|
348
|
+
readonly nonPersistent: true;
|
|
349
|
+
};
|
|
350
|
+
readonly _indexBuffer: {
|
|
351
|
+
readonly default: GPUBuffer | null;
|
|
352
|
+
readonly nonPersistent: true;
|
|
353
|
+
};
|
|
354
|
+
readonly _indexCount: {
|
|
355
|
+
readonly default: undefined;
|
|
356
|
+
readonly nonPersistent: true;
|
|
357
|
+
readonly type: "integer";
|
|
358
|
+
readonly minimum: 0;
|
|
359
|
+
readonly maximum: 4294967295;
|
|
360
|
+
};
|
|
361
|
+
readonly _indexFormat: {
|
|
362
|
+
readonly default: GPUIndexFormat;
|
|
363
|
+
readonly nonPersistent: true;
|
|
364
|
+
};
|
|
365
|
+
readonly _materialBindGroup: {
|
|
366
|
+
readonly default: GPUBindGroup | null;
|
|
367
|
+
readonly nonPersistent: true;
|
|
368
|
+
};
|
|
369
|
+
readonly _mesh: {
|
|
370
|
+
readonly default: undefined;
|
|
371
|
+
readonly nonPersistent: true;
|
|
372
|
+
readonly type: "integer";
|
|
373
|
+
readonly minimum: -2147483648;
|
|
374
|
+
readonly maximum: 2147483647;
|
|
375
|
+
};
|
|
376
|
+
readonly _material: {
|
|
377
|
+
readonly default: undefined;
|
|
378
|
+
readonly nonPersistent: true;
|
|
379
|
+
readonly type: "integer";
|
|
380
|
+
readonly minimum: -2147483648;
|
|
381
|
+
readonly maximum: 2147483647;
|
|
382
|
+
};
|
|
383
|
+
readonly _nodeLocalMatrix: {
|
|
384
|
+
readonly default: undefined;
|
|
385
|
+
readonly nonPersistent: true;
|
|
386
|
+
readonly type: "array";
|
|
387
|
+
readonly items: {
|
|
388
|
+
readonly type: "number";
|
|
389
|
+
readonly precision: 1;
|
|
390
|
+
readonly default: number;
|
|
391
|
+
};
|
|
392
|
+
readonly minItems: 16;
|
|
393
|
+
readonly maxItems: 16;
|
|
394
|
+
};
|
|
395
|
+
readonly _skeletonModelRef: {
|
|
396
|
+
readonly default: undefined;
|
|
397
|
+
readonly nonPersistent: true;
|
|
398
|
+
readonly type: "integer";
|
|
399
|
+
readonly minimum: -2147483648;
|
|
400
|
+
readonly maximum: 2147483647;
|
|
401
|
+
};
|
|
402
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
403
|
+
readonly default: GPUBindGroup | null;
|
|
404
|
+
readonly nonPersistent: true;
|
|
405
|
+
};
|
|
406
406
|
}>, import("@adobe/data/schema").FromSchemas<{
|
|
407
407
|
readonly _shapeMeshes: {
|
|
408
408
|
readonly default: {
|
|
@@ -433,11 +433,9 @@ export declare const shapeGeometry: {
|
|
|
433
433
|
readonly _gltfMeshByUrl: {
|
|
434
434
|
readonly default: Map<string, Entity> | null;
|
|
435
435
|
readonly nonPersistent: true;
|
|
436
|
+
readonly mutable: true;
|
|
436
437
|
};
|
|
437
438
|
}>, {} & {} & {
|
|
438
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
439
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
440
|
-
} & {
|
|
441
439
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
442
440
|
} & {} & {
|
|
443
441
|
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"];
|
|
@@ -448,7 +446,10 @@ export declare const shapeGeometry: {
|
|
|
448
446
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
449
447
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
450
448
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
451
|
-
}
|
|
449
|
+
} & {
|
|
450
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
451
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
452
|
+
}, {} & {} & {
|
|
452
453
|
readonly nodeChildrenOf: {
|
|
453
454
|
readonly key: "parent";
|
|
454
455
|
readonly archetype: "Node";
|
|
@@ -459,7 +460,7 @@ export declare const shapeGeometry: {
|
|
|
459
460
|
readonly unique: true;
|
|
460
461
|
readonly archetype: "Material";
|
|
461
462
|
};
|
|
462
|
-
} & {}, never>, args: {
|
|
463
|
+
} & {} & {}, never>, args: {
|
|
463
464
|
mesh?: Entity;
|
|
464
465
|
vertexBuffer: GPUBuffer;
|
|
465
466
|
indexBuffer: GPUBuffer;
|