@adobe/data-gpu 0.9.83 → 0.9.84
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 +4 -4
- package/dist/graphics/animation/animation-plugin.d.ts +7 -7
- package/dist/graphics/camera/camera-plugin.d.ts +3 -3
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +9 -9
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +9 -9
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +9 -9
- package/dist/graphics/graphics-plugin.d.ts +3 -3
- package/dist/graphics/picking/picking-plugin.d.ts +518 -518
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +173 -173
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +91 -91
- package/dist/graphics/rendering/interpolation-plugin.d.ts +19 -19
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +175 -175
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +17 -17
- package/dist/graphics/rendering/model-collider-plugin.d.ts +118 -118
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +91 -91
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +10 -10
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +165 -165
- package/dist/graphics/scene/light/light-plugin.d.ts +2 -2
- package/dist/graphics/scene/model/mesh-plugin.d.ts +36 -36
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +118 -118
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +3 -3
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +118 -118
- package/dist/graphics/scene/scene-plugin.d.ts +36 -36
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +15 -15
- package/dist/material/definitions.d.ts +1 -1
- package/dist/material/definitions.js +1 -1
- package/dist/material/material-plugin.d.ts +10 -10
- package/dist/physics/physics-clock-plugin.d.ts +3 -3
- package/dist/physics/physics-data-plugin.d.ts +10 -10
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +13 -13
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +13 -13
- package/package.json +4 -3
- package/src/material/definitions.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -37,7 +37,7 @@ export declare const shapeGeometry: {
|
|
|
37
37
|
};
|
|
38
38
|
readonly archetypes: {} & {};
|
|
39
39
|
readonly transactions: {} & {} & {
|
|
40
|
-
readonly insertStaticMeshPrimitive: (t: import("@adobe/data/ecs").
|
|
40
|
+
readonly insertStaticMeshPrimitive: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
41
41
|
readonly visible: {
|
|
42
42
|
readonly type: "boolean";
|
|
43
43
|
readonly const: true;
|
|
@@ -462,7 +462,7 @@ export declare const shapeGeometry: {
|
|
|
462
462
|
readonly unique: true;
|
|
463
463
|
readonly archetype: "Material";
|
|
464
464
|
};
|
|
465
|
-
} & {} & {}>, args: {
|
|
465
|
+
} & {} & {}, never>, args: {
|
|
466
466
|
mesh?: Entity;
|
|
467
467
|
vertexBuffer: GPUBuffer;
|
|
468
468
|
indexBuffer: GPUBuffer;
|
|
@@ -470,7 +470,7 @@ export declare const shapeGeometry: {
|
|
|
470
470
|
localBounds: Aabb;
|
|
471
471
|
}) => Entity;
|
|
472
472
|
};
|
|
473
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
473
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "shapeGeometryInit" | "shapeMeshBake">;
|
|
474
474
|
readonly actions: {};
|
|
475
475
|
readonly services: {};
|
|
476
476
|
readonly computed: {};
|
|
@@ -308,6 +308,47 @@ export declare const worldBounds: {
|
|
|
308
308
|
weights: Float32Array;
|
|
309
309
|
} | null;
|
|
310
310
|
};
|
|
311
|
+
} & {
|
|
312
|
+
readonly animationClipTracks: {
|
|
313
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
314
|
+
};
|
|
315
|
+
readonly animationClipDuration: {
|
|
316
|
+
readonly type: "number";
|
|
317
|
+
readonly precision: 2;
|
|
318
|
+
readonly default: number;
|
|
319
|
+
};
|
|
320
|
+
readonly animationClipRef: {
|
|
321
|
+
readonly type: "integer";
|
|
322
|
+
readonly minimum: -2147483648;
|
|
323
|
+
readonly maximum: 2147483647;
|
|
324
|
+
readonly default: number;
|
|
325
|
+
};
|
|
326
|
+
readonly animationTargets: {
|
|
327
|
+
readonly default: number[];
|
|
328
|
+
};
|
|
329
|
+
readonly animationTime: {
|
|
330
|
+
readonly type: "number";
|
|
331
|
+
readonly precision: 2;
|
|
332
|
+
readonly default: number;
|
|
333
|
+
};
|
|
334
|
+
readonly animationSpeed: {
|
|
335
|
+
readonly default: 1;
|
|
336
|
+
readonly type: "number";
|
|
337
|
+
readonly precision: 1;
|
|
338
|
+
};
|
|
339
|
+
readonly animationLoop: {
|
|
340
|
+
readonly type: "boolean";
|
|
341
|
+
readonly default: boolean;
|
|
342
|
+
};
|
|
343
|
+
readonly animationPlaying: {
|
|
344
|
+
readonly type: "boolean";
|
|
345
|
+
readonly default: boolean;
|
|
346
|
+
};
|
|
347
|
+
readonly animationObservable: {
|
|
348
|
+
readonly type: "boolean";
|
|
349
|
+
readonly const: true;
|
|
350
|
+
readonly default: true;
|
|
351
|
+
};
|
|
311
352
|
} & {
|
|
312
353
|
readonly _vertexBuffer: {
|
|
313
354
|
readonly default: GPUBuffer | null;
|
|
@@ -373,47 +414,6 @@ export declare const worldBounds: {
|
|
|
373
414
|
readonly default: GPUBindGroup | null;
|
|
374
415
|
readonly nonPersistent: true;
|
|
375
416
|
};
|
|
376
|
-
} & {
|
|
377
|
-
readonly animationClipTracks: {
|
|
378
|
-
readonly default: import("../../animation/animation-track/public.js")[];
|
|
379
|
-
};
|
|
380
|
-
readonly animationClipDuration: {
|
|
381
|
-
readonly type: "number";
|
|
382
|
-
readonly precision: 2;
|
|
383
|
-
readonly default: number;
|
|
384
|
-
};
|
|
385
|
-
readonly animationClipRef: {
|
|
386
|
-
readonly type: "integer";
|
|
387
|
-
readonly minimum: -2147483648;
|
|
388
|
-
readonly maximum: 2147483647;
|
|
389
|
-
readonly default: number;
|
|
390
|
-
};
|
|
391
|
-
readonly animationTargets: {
|
|
392
|
-
readonly default: number[];
|
|
393
|
-
};
|
|
394
|
-
readonly animationTime: {
|
|
395
|
-
readonly type: "number";
|
|
396
|
-
readonly precision: 2;
|
|
397
|
-
readonly default: number;
|
|
398
|
-
};
|
|
399
|
-
readonly animationSpeed: {
|
|
400
|
-
readonly default: 1;
|
|
401
|
-
readonly type: "number";
|
|
402
|
-
readonly precision: 1;
|
|
403
|
-
};
|
|
404
|
-
readonly animationLoop: {
|
|
405
|
-
readonly type: "boolean";
|
|
406
|
-
readonly default: boolean;
|
|
407
|
-
};
|
|
408
|
-
readonly animationPlaying: {
|
|
409
|
-
readonly type: "boolean";
|
|
410
|
-
readonly default: boolean;
|
|
411
|
-
};
|
|
412
|
-
readonly animationObservable: {
|
|
413
|
-
readonly type: "boolean";
|
|
414
|
-
readonly const: true;
|
|
415
|
-
readonly default: true;
|
|
416
|
-
};
|
|
417
417
|
};
|
|
418
418
|
readonly resources: {} & {
|
|
419
419
|
readonly _gltfMeshByUrl: {
|
|
@@ -450,16 +450,16 @@ export declare const worldBounds: {
|
|
|
450
450
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
451
451
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
452
452
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
453
|
-
} & {
|
|
454
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
455
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
456
453
|
} & {
|
|
457
454
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
458
455
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
459
456
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
460
|
-
} & {} & {
|
|
457
|
+
} & {} & {
|
|
458
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
459
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
460
|
+
} & {};
|
|
461
461
|
readonly transactions: {} & {} & {
|
|
462
|
-
readonly insertMaterial: (t: import("@adobe/data/ecs").
|
|
462
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
463
463
|
readonly material: {
|
|
464
464
|
readonly type: "integer";
|
|
465
465
|
readonly minimum: -2147483648;
|
|
@@ -636,8 +636,8 @@ export declare const worldBounds: {
|
|
|
636
636
|
readonly unique: true;
|
|
637
637
|
readonly archetype: "Material";
|
|
638
638
|
};
|
|
639
|
-
}>, row: import("../../../material/public.js")) => number;
|
|
640
|
-
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").
|
|
639
|
+
}, never>, row: import("../../../material/public.js")) => number;
|
|
640
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
641
641
|
readonly material: {
|
|
642
642
|
readonly type: "integer";
|
|
643
643
|
readonly minimum: -2147483648;
|
|
@@ -814,11 +814,11 @@ export declare const worldBounds: {
|
|
|
814
814
|
readonly unique: true;
|
|
815
815
|
readonly archetype: "Material";
|
|
816
816
|
};
|
|
817
|
-
}>, args: {
|
|
817
|
+
}, never>, args: {
|
|
818
818
|
name: string;
|
|
819
819
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
820
820
|
}) => number;
|
|
821
|
-
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").
|
|
821
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
822
822
|
readonly material: {
|
|
823
823
|
readonly type: "integer";
|
|
824
824
|
readonly minimum: -2147483648;
|
|
@@ -995,8 +995,8 @@ export declare const worldBounds: {
|
|
|
995
995
|
readonly unique: true;
|
|
996
996
|
readonly archetype: "Material";
|
|
997
997
|
};
|
|
998
|
-
}>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
999
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").
|
|
998
|
+
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
999
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1000
1000
|
readonly material: {
|
|
1001
1001
|
readonly type: "integer";
|
|
1002
1002
|
readonly minimum: -2147483648;
|
|
@@ -1173,8 +1173,8 @@ export declare const worldBounds: {
|
|
|
1173
1173
|
readonly unique: true;
|
|
1174
1174
|
readonly archetype: "Material";
|
|
1175
1175
|
};
|
|
1176
|
-
}>) => void;
|
|
1177
|
-
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").
|
|
1176
|
+
}, never>) => void;
|
|
1177
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1178
1178
|
readonly material: {
|
|
1179
1179
|
readonly type: "integer";
|
|
1180
1180
|
readonly minimum: -2147483648;
|
|
@@ -1351,9 +1351,9 @@ export declare const worldBounds: {
|
|
|
1351
1351
|
readonly unique: true;
|
|
1352
1352
|
readonly archetype: "Material";
|
|
1353
1353
|
};
|
|
1354
|
-
}>) => void;
|
|
1354
|
+
}, never>) => void;
|
|
1355
1355
|
} & {
|
|
1356
|
-
readonly insertGltfMesh: (t: import("@adobe/data/ecs").
|
|
1356
|
+
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1357
1357
|
readonly mesh: {
|
|
1358
1358
|
readonly type: "integer";
|
|
1359
1359
|
readonly minimum: -2147483648;
|
|
@@ -1684,10 +1684,10 @@ export declare const worldBounds: {
|
|
|
1684
1684
|
readonly unique: true;
|
|
1685
1685
|
readonly archetype: "Material";
|
|
1686
1686
|
};
|
|
1687
|
-
}>, args: {
|
|
1687
|
+
}, never>, args: {
|
|
1688
1688
|
url: string;
|
|
1689
1689
|
}) => number;
|
|
1690
|
-
readonly insertShapeMesh: (t: import("@adobe/data/ecs").
|
|
1690
|
+
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1691
1691
|
readonly mesh: {
|
|
1692
1692
|
readonly type: "integer";
|
|
1693
1693
|
readonly minimum: -2147483648;
|
|
@@ -2018,10 +2018,10 @@ export declare const worldBounds: {
|
|
|
2018
2018
|
readonly unique: true;
|
|
2019
2019
|
readonly archetype: "Material";
|
|
2020
2020
|
};
|
|
2021
|
-
}>, args: {
|
|
2021
|
+
}, never>, args: {
|
|
2022
2022
|
shapeSpec: import("./shape/shape-spec.js").ShapeSpec;
|
|
2023
2023
|
}) => number;
|
|
2024
|
-
readonly insertMeshInstance: (t: import("@adobe/data/ecs").
|
|
2024
|
+
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2025
2025
|
readonly mesh: {
|
|
2026
2026
|
readonly type: "integer";
|
|
2027
2027
|
readonly minimum: -2147483648;
|
|
@@ -2352,14 +2352,14 @@ export declare const worldBounds: {
|
|
|
2352
2352
|
readonly unique: true;
|
|
2353
2353
|
readonly archetype: "Material";
|
|
2354
2354
|
};
|
|
2355
|
-
}>, args: {
|
|
2355
|
+
}, never>, args: {
|
|
2356
2356
|
mesh: number;
|
|
2357
2357
|
material: number;
|
|
2358
2358
|
position?: Vec3;
|
|
2359
2359
|
rotation?: import("@adobe/data/math").Quat;
|
|
2360
2360
|
scale?: Vec3;
|
|
2361
2361
|
}) => number;
|
|
2362
|
-
readonly insertModel: (t: import("@adobe/data/ecs").
|
|
2362
|
+
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2363
2363
|
readonly mesh: {
|
|
2364
2364
|
readonly type: "integer";
|
|
2365
2365
|
readonly minimum: -2147483648;
|
|
@@ -2690,15 +2690,15 @@ export declare const worldBounds: {
|
|
|
2690
2690
|
readonly unique: true;
|
|
2691
2691
|
readonly archetype: "Material";
|
|
2692
2692
|
};
|
|
2693
|
-
}>, args: {
|
|
2693
|
+
}, never>, args: {
|
|
2694
2694
|
mesh: number;
|
|
2695
2695
|
position?: Vec3;
|
|
2696
2696
|
rotation?: import("@adobe/data/math").Quat;
|
|
2697
2697
|
scale?: Vec3;
|
|
2698
2698
|
parent?: number;
|
|
2699
2699
|
}) => number;
|
|
2700
|
-
} & {} & {} & {} & {
|
|
2701
|
-
readonly insertAnimationClip: (t: import("@adobe/data/ecs").
|
|
2700
|
+
} & {} & {} & {} & {
|
|
2701
|
+
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2702
2702
|
readonly animationClipTracks: {
|
|
2703
2703
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
2704
2704
|
};
|
|
@@ -2743,11 +2743,11 @@ export declare const worldBounds: {
|
|
|
2743
2743
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2744
2744
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2745
2745
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2746
|
-
}, {} & {}>, args: {
|
|
2746
|
+
}, {} & {}, never>, args: {
|
|
2747
2747
|
tracks: import("../../animation/animation-track/public.js")[];
|
|
2748
2748
|
duration: number;
|
|
2749
2749
|
}) => number;
|
|
2750
|
-
readonly insertAnimation: (t: import("@adobe/data/ecs").
|
|
2750
|
+
readonly insertAnimation: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2751
2751
|
readonly animationClipTracks: {
|
|
2752
2752
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
2753
2753
|
};
|
|
@@ -2792,7 +2792,7 @@ export declare const worldBounds: {
|
|
|
2792
2792
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2793
2793
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2794
2794
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2795
|
-
}, {} & {}>, args: {
|
|
2795
|
+
}, {} & {}, never>, args: {
|
|
2796
2796
|
animationClipRef: number;
|
|
2797
2797
|
animationTargets: number[];
|
|
2798
2798
|
animationTime?: number;
|
|
@@ -2846,12 +2846,12 @@ export declare const worldBounds: {
|
|
|
2846
2846
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2847
2847
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2848
2848
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2849
|
-
}, {}>, args: {
|
|
2849
|
+
}, {}, never>, args: {
|
|
2850
2850
|
dt: number;
|
|
2851
2851
|
observable: boolean;
|
|
2852
2852
|
}) => void;
|
|
2853
|
-
} & {} & {
|
|
2854
|
-
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").
|
|
2853
|
+
} & {} & {} & {
|
|
2854
|
+
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2855
2855
|
readonly visible: {
|
|
2856
2856
|
readonly type: "boolean";
|
|
2857
2857
|
readonly const: true;
|
|
@@ -3155,6 +3155,47 @@ export declare const worldBounds: {
|
|
|
3155
3155
|
weights: Float32Array;
|
|
3156
3156
|
} | null;
|
|
3157
3157
|
};
|
|
3158
|
+
} & {
|
|
3159
|
+
readonly animationClipTracks: {
|
|
3160
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
3161
|
+
};
|
|
3162
|
+
readonly animationClipDuration: {
|
|
3163
|
+
readonly type: "number";
|
|
3164
|
+
readonly precision: 2;
|
|
3165
|
+
readonly default: number;
|
|
3166
|
+
};
|
|
3167
|
+
readonly animationClipRef: {
|
|
3168
|
+
readonly type: "integer";
|
|
3169
|
+
readonly minimum: -2147483648;
|
|
3170
|
+
readonly maximum: 2147483647;
|
|
3171
|
+
readonly default: number;
|
|
3172
|
+
};
|
|
3173
|
+
readonly animationTargets: {
|
|
3174
|
+
readonly default: number[];
|
|
3175
|
+
};
|
|
3176
|
+
readonly animationTime: {
|
|
3177
|
+
readonly type: "number";
|
|
3178
|
+
readonly precision: 2;
|
|
3179
|
+
readonly default: number;
|
|
3180
|
+
};
|
|
3181
|
+
readonly animationSpeed: {
|
|
3182
|
+
readonly default: 1;
|
|
3183
|
+
readonly type: "number";
|
|
3184
|
+
readonly precision: 1;
|
|
3185
|
+
};
|
|
3186
|
+
readonly animationLoop: {
|
|
3187
|
+
readonly type: "boolean";
|
|
3188
|
+
readonly default: boolean;
|
|
3189
|
+
};
|
|
3190
|
+
readonly animationPlaying: {
|
|
3191
|
+
readonly type: "boolean";
|
|
3192
|
+
readonly default: boolean;
|
|
3193
|
+
};
|
|
3194
|
+
readonly animationObservable: {
|
|
3195
|
+
readonly type: "boolean";
|
|
3196
|
+
readonly const: true;
|
|
3197
|
+
readonly default: true;
|
|
3198
|
+
};
|
|
3158
3199
|
} & {
|
|
3159
3200
|
readonly _vertexBuffer: {
|
|
3160
3201
|
readonly default: GPUBuffer | null;
|
|
@@ -3220,47 +3261,6 @@ export declare const worldBounds: {
|
|
|
3220
3261
|
readonly default: GPUBindGroup | null;
|
|
3221
3262
|
readonly nonPersistent: true;
|
|
3222
3263
|
};
|
|
3223
|
-
} & {
|
|
3224
|
-
readonly animationClipTracks: {
|
|
3225
|
-
readonly default: import("../../animation/animation-track/public.js")[];
|
|
3226
|
-
};
|
|
3227
|
-
readonly animationClipDuration: {
|
|
3228
|
-
readonly type: "number";
|
|
3229
|
-
readonly precision: 2;
|
|
3230
|
-
readonly default: number;
|
|
3231
|
-
};
|
|
3232
|
-
readonly animationClipRef: {
|
|
3233
|
-
readonly type: "integer";
|
|
3234
|
-
readonly minimum: -2147483648;
|
|
3235
|
-
readonly maximum: 2147483647;
|
|
3236
|
-
readonly default: number;
|
|
3237
|
-
};
|
|
3238
|
-
readonly animationTargets: {
|
|
3239
|
-
readonly default: number[];
|
|
3240
|
-
};
|
|
3241
|
-
readonly animationTime: {
|
|
3242
|
-
readonly type: "number";
|
|
3243
|
-
readonly precision: 2;
|
|
3244
|
-
readonly default: number;
|
|
3245
|
-
};
|
|
3246
|
-
readonly animationSpeed: {
|
|
3247
|
-
readonly default: 1;
|
|
3248
|
-
readonly type: "number";
|
|
3249
|
-
readonly precision: 1;
|
|
3250
|
-
};
|
|
3251
|
-
readonly animationLoop: {
|
|
3252
|
-
readonly type: "boolean";
|
|
3253
|
-
readonly default: boolean;
|
|
3254
|
-
};
|
|
3255
|
-
readonly animationPlaying: {
|
|
3256
|
-
readonly type: "boolean";
|
|
3257
|
-
readonly default: boolean;
|
|
3258
|
-
};
|
|
3259
|
-
readonly animationObservable: {
|
|
3260
|
-
readonly type: "boolean";
|
|
3261
|
-
readonly const: true;
|
|
3262
|
-
readonly default: true;
|
|
3263
|
-
};
|
|
3264
3264
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3265
3265
|
readonly _gltfMeshByUrl: {
|
|
3266
3266
|
readonly default: Map<string, number> | null;
|
|
@@ -3295,14 +3295,14 @@ export declare const worldBounds: {
|
|
|
3295
3295
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
3296
3296
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
3297
3297
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
3298
|
-
} & {
|
|
3299
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3300
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3301
3298
|
} & {
|
|
3302
3299
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3303
3300
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3304
3301
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3305
|
-
} & {}
|
|
3302
|
+
} & {} & {
|
|
3303
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3304
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3305
|
+
}, {} & {} & {
|
|
3306
3306
|
readonly nodeChildrenOf: {
|
|
3307
3307
|
readonly key: "parent";
|
|
3308
3308
|
readonly archetype: "Node";
|
|
@@ -3313,9 +3313,9 @@ export declare const worldBounds: {
|
|
|
3313
3313
|
readonly unique: true;
|
|
3314
3314
|
readonly archetype: "Material";
|
|
3315
3315
|
};
|
|
3316
|
-
} & {} & {} & {} & {} & {}>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3316
|
+
} & {} & {} & {} & {} & {}, never>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3317
3317
|
} & {};
|
|
3318
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3318
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
|
|
3319
3319
|
readonly actions: {};
|
|
3320
3320
|
readonly services: {};
|
|
3321
3321
|
readonly computed: {};
|
|
@@ -11,7 +11,7 @@ import { Database } from "@adobe/data/ecs";
|
|
|
11
11
|
* Add a camera controller (e.g. `Orbit.plugin`), animation, and a renderer
|
|
12
12
|
* (`pbrIblRender`) to get a working interactive scene.
|
|
13
13
|
*/
|
|
14
|
-
export declare const scene: Database.Plugin<{
|
|
14
|
+
export declare const scene: Database.Plugin<{} & {
|
|
15
15
|
readonly visible: {
|
|
16
16
|
readonly type: "boolean";
|
|
17
17
|
readonly const: true;
|
|
@@ -105,7 +105,7 @@ export declare const scene: Database.Plugin<{
|
|
|
105
105
|
readonly max: readonly [0, 0, 0];
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
} & {
|
|
108
|
+
} & {
|
|
109
109
|
readonly material: {
|
|
110
110
|
readonly type: "integer";
|
|
111
111
|
readonly minimum: -2147483648;
|
|
@@ -323,6 +323,10 @@ export declare const scene: Database.Plugin<{
|
|
|
323
323
|
readonly default: Map<string, number> | null;
|
|
324
324
|
readonly nonPersistent: true;
|
|
325
325
|
};
|
|
326
|
+
} & {
|
|
327
|
+
readonly light: {
|
|
328
|
+
readonly default: import("./light/public.js");
|
|
329
|
+
};
|
|
326
330
|
} & {
|
|
327
331
|
readonly frameTime: {
|
|
328
332
|
readonly default: import("../../core/frame-time/public.js");
|
|
@@ -374,18 +378,14 @@ export declare const scene: Database.Plugin<{
|
|
|
374
378
|
readonly camera: {
|
|
375
379
|
readonly default: import("../camera/public.js");
|
|
376
380
|
};
|
|
377
|
-
} & {
|
|
378
|
-
readonly light: {
|
|
379
|
-
readonly default: import("./light/public.js");
|
|
380
|
-
};
|
|
381
381
|
} & {
|
|
382
382
|
readonly _sceneUniformsBuffer: {
|
|
383
383
|
readonly default: GPUBuffer | null;
|
|
384
384
|
readonly nonPersistent: true;
|
|
385
385
|
};
|
|
386
|
-
}, {
|
|
386
|
+
}, {} & {
|
|
387
387
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
388
|
-
} & {} & {
|
|
388
|
+
} & {} & {
|
|
389
389
|
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"];
|
|
390
390
|
} & {
|
|
391
391
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -395,7 +395,7 @@ export declare const scene: Database.Plugin<{
|
|
|
395
395
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
396
396
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
397
397
|
}, {} & {} & {
|
|
398
|
-
readonly insertMaterial: (t: import("@adobe/data/ecs").
|
|
398
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
399
399
|
readonly material: {
|
|
400
400
|
readonly type: "integer";
|
|
401
401
|
readonly minimum: -2147483648;
|
|
@@ -572,8 +572,8 @@ export declare const scene: Database.Plugin<{
|
|
|
572
572
|
readonly unique: true;
|
|
573
573
|
readonly archetype: "Material";
|
|
574
574
|
};
|
|
575
|
-
}>, row: import("../../material/public.js")) => number;
|
|
576
|
-
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").
|
|
575
|
+
}, never>, row: import("../../material/public.js")) => number;
|
|
576
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
577
577
|
readonly material: {
|
|
578
578
|
readonly type: "integer";
|
|
579
579
|
readonly minimum: -2147483648;
|
|
@@ -750,11 +750,11 @@ export declare const scene: Database.Plugin<{
|
|
|
750
750
|
readonly unique: true;
|
|
751
751
|
readonly archetype: "Material";
|
|
752
752
|
};
|
|
753
|
-
}>, args: {
|
|
753
|
+
}, never>, args: {
|
|
754
754
|
name: string;
|
|
755
755
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
756
756
|
}) => number;
|
|
757
|
-
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").
|
|
757
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
758
758
|
readonly material: {
|
|
759
759
|
readonly type: "integer";
|
|
760
760
|
readonly minimum: -2147483648;
|
|
@@ -931,8 +931,8 @@ export declare const scene: Database.Plugin<{
|
|
|
931
931
|
readonly unique: true;
|
|
932
932
|
readonly archetype: "Material";
|
|
933
933
|
};
|
|
934
|
-
}>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
935
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").
|
|
934
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
935
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
936
936
|
readonly material: {
|
|
937
937
|
readonly type: "integer";
|
|
938
938
|
readonly minimum: -2147483648;
|
|
@@ -1109,8 +1109,8 @@ export declare const scene: Database.Plugin<{
|
|
|
1109
1109
|
readonly unique: true;
|
|
1110
1110
|
readonly archetype: "Material";
|
|
1111
1111
|
};
|
|
1112
|
-
}>) => void;
|
|
1113
|
-
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").
|
|
1112
|
+
}, never>) => void;
|
|
1113
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1114
1114
|
readonly material: {
|
|
1115
1115
|
readonly type: "integer";
|
|
1116
1116
|
readonly minimum: -2147483648;
|
|
@@ -1287,9 +1287,9 @@ export declare const scene: Database.Plugin<{
|
|
|
1287
1287
|
readonly unique: true;
|
|
1288
1288
|
readonly archetype: "Material";
|
|
1289
1289
|
};
|
|
1290
|
-
}>) => void;
|
|
1290
|
+
}, never>) => void;
|
|
1291
1291
|
} & {
|
|
1292
|
-
readonly insertGltfMesh: (t: import("@adobe/data/ecs").
|
|
1292
|
+
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1293
1293
|
readonly mesh: {
|
|
1294
1294
|
readonly type: "integer";
|
|
1295
1295
|
readonly minimum: -2147483648;
|
|
@@ -1623,10 +1623,10 @@ export declare const scene: Database.Plugin<{
|
|
|
1623
1623
|
readonly unique: true;
|
|
1624
1624
|
readonly archetype: "Material";
|
|
1625
1625
|
};
|
|
1626
|
-
}>, args: {
|
|
1626
|
+
}, never>, args: {
|
|
1627
1627
|
url: string;
|
|
1628
1628
|
}) => number;
|
|
1629
|
-
readonly insertShapeMesh: (t: import("@adobe/data/ecs").
|
|
1629
|
+
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1630
1630
|
readonly mesh: {
|
|
1631
1631
|
readonly type: "integer";
|
|
1632
1632
|
readonly minimum: -2147483648;
|
|
@@ -1960,10 +1960,10 @@ export declare const scene: Database.Plugin<{
|
|
|
1960
1960
|
readonly unique: true;
|
|
1961
1961
|
readonly archetype: "Material";
|
|
1962
1962
|
};
|
|
1963
|
-
}>, args: {
|
|
1963
|
+
}, never>, args: {
|
|
1964
1964
|
shapeSpec: import("../public.js").ShapeSpec;
|
|
1965
1965
|
}) => number;
|
|
1966
|
-
readonly insertMeshInstance: (t: import("@adobe/data/ecs").
|
|
1966
|
+
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1967
1967
|
readonly mesh: {
|
|
1968
1968
|
readonly type: "integer";
|
|
1969
1969
|
readonly minimum: -2147483648;
|
|
@@ -2297,14 +2297,14 @@ export declare const scene: Database.Plugin<{
|
|
|
2297
2297
|
readonly unique: true;
|
|
2298
2298
|
readonly archetype: "Material";
|
|
2299
2299
|
};
|
|
2300
|
-
}>, args: {
|
|
2300
|
+
}, never>, args: {
|
|
2301
2301
|
mesh: number;
|
|
2302
2302
|
material: number;
|
|
2303
2303
|
position?: import("@adobe/data/math").Vec3;
|
|
2304
2304
|
rotation?: import("@adobe/data/math").Quat;
|
|
2305
2305
|
scale?: import("@adobe/data/math").Vec3;
|
|
2306
2306
|
}) => number;
|
|
2307
|
-
readonly insertModel: (t: import("@adobe/data/ecs").
|
|
2307
|
+
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2308
2308
|
readonly mesh: {
|
|
2309
2309
|
readonly type: "integer";
|
|
2310
2310
|
readonly minimum: -2147483648;
|
|
@@ -2638,15 +2638,21 @@ export declare const scene: Database.Plugin<{
|
|
|
2638
2638
|
readonly unique: true;
|
|
2639
2639
|
readonly archetype: "Material";
|
|
2640
2640
|
};
|
|
2641
|
-
}>, args: {
|
|
2641
|
+
}, never>, args: {
|
|
2642
2642
|
mesh: number;
|
|
2643
2643
|
position?: import("@adobe/data/math").Vec3;
|
|
2644
2644
|
rotation?: import("@adobe/data/math").Quat;
|
|
2645
2645
|
scale?: import("@adobe/data/math").Vec3;
|
|
2646
2646
|
parent?: number;
|
|
2647
2647
|
}) => number;
|
|
2648
|
+
} & {
|
|
2649
|
+
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2650
|
+
readonly light: {
|
|
2651
|
+
readonly default: import("./light/public.js");
|
|
2652
|
+
};
|
|
2653
|
+
}>, {}, {}, never>, args: Partial<import("./light/public.js")>) => void;
|
|
2648
2654
|
} & {} & {} & {
|
|
2649
|
-
readonly setCanvas: (t: import("@adobe/data/ecs").
|
|
2655
|
+
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2650
2656
|
readonly renderPassEncoder: {
|
|
2651
2657
|
readonly default: GPURenderPassEncoder | null;
|
|
2652
2658
|
readonly nonPersistent: true;
|
|
@@ -2693,19 +2699,13 @@ export declare const scene: Database.Plugin<{
|
|
|
2693
2699
|
readonly default: GPUCommandEncoder | null;
|
|
2694
2700
|
readonly nonPersistent: true;
|
|
2695
2701
|
};
|
|
2696
|
-
}>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
|
|
2697
|
-
} & {} & {
|
|
2698
|
-
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2699
|
-
readonly light: {
|
|
2700
|
-
readonly default: import("./light/public.js");
|
|
2701
|
-
};
|
|
2702
|
-
}>, {}, {}>, args: Partial<import("./light/public.js")>) => void;
|
|
2703
|
-
} & {}, "transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {
|
|
2702
|
+
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
2703
|
+
} & {} & {}, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "transformCreateWorldMatrix" | "transformSystem" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {} & {
|
|
2704
2704
|
readonly nodeChildrenOf: {
|
|
2705
2705
|
readonly key: "parent";
|
|
2706
2706
|
readonly archetype: "Node";
|
|
2707
2707
|
};
|
|
2708
|
-
} & {} & {
|
|
2708
|
+
} & {} & {
|
|
2709
2709
|
readonly materialByName: {
|
|
2710
2710
|
readonly key: "name";
|
|
2711
2711
|
readonly unique: true;
|