@adobe/data-gpu 0.10.19 → 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
|
@@ -5,7 +5,7 @@ import { Material } from "../../../material/material.js";
|
|
|
5
5
|
* Each factor material gets `_paletteIndex`; no texture arrays are allocated.
|
|
6
6
|
*/
|
|
7
7
|
export declare const materialPaletteGpu: {
|
|
8
|
-
readonly components: {
|
|
8
|
+
readonly components: {
|
|
9
9
|
readonly material: {
|
|
10
10
|
readonly entity: true;
|
|
11
11
|
readonly type: "integer";
|
|
@@ -175,7 +175,7 @@ export declare const materialPaletteGpu: {
|
|
|
175
175
|
readonly emissiveUrl: {
|
|
176
176
|
readonly type: "string";
|
|
177
177
|
};
|
|
178
|
-
} & {
|
|
178
|
+
} & {} & {
|
|
179
179
|
readonly _paletteIndex: {
|
|
180
180
|
readonly default: undefined;
|
|
181
181
|
readonly nonPersistent: true;
|
|
@@ -212,9 +212,9 @@ export declare const materialPaletteGpu: {
|
|
|
212
212
|
readonly nonPersistent: true;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
-
readonly archetypes: {
|
|
215
|
+
readonly archetypes: {
|
|
216
216
|
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"];
|
|
217
|
-
} & {};
|
|
217
|
+
} & {} & {};
|
|
218
218
|
readonly transactions: {
|
|
219
219
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
220
220
|
readonly material: {
|
|
@@ -394,7 +394,7 @@ export declare const materialPaletteGpu: {
|
|
|
394
394
|
readonly unique: true;
|
|
395
395
|
readonly archetype: "Material";
|
|
396
396
|
};
|
|
397
|
-
}, never>, row: Material) => number;
|
|
397
|
+
}, never, never>, row: Material) => number;
|
|
398
398
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
399
399
|
readonly material: {
|
|
400
400
|
readonly entity: true;
|
|
@@ -573,7 +573,7 @@ export declare const materialPaletteGpu: {
|
|
|
573
573
|
readonly unique: true;
|
|
574
574
|
readonly archetype: "Material";
|
|
575
575
|
};
|
|
576
|
-
}, never>, args: {
|
|
576
|
+
}, never, never>, args: {
|
|
577
577
|
name: string;
|
|
578
578
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
579
579
|
}) => number;
|
|
@@ -755,7 +755,7 @@ export declare const materialPaletteGpu: {
|
|
|
755
755
|
readonly unique: true;
|
|
756
756
|
readonly archetype: "Material";
|
|
757
757
|
};
|
|
758
|
-
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
758
|
+
}, never, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
759
759
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
760
760
|
readonly material: {
|
|
761
761
|
readonly entity: true;
|
|
@@ -934,7 +934,7 @@ export declare const materialPaletteGpu: {
|
|
|
934
934
|
readonly unique: true;
|
|
935
935
|
readonly archetype: "Material";
|
|
936
936
|
};
|
|
937
|
-
}, never>) => void;
|
|
937
|
+
}, never, never>) => void;
|
|
938
938
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
939
939
|
readonly material: {
|
|
940
940
|
readonly entity: true;
|
|
@@ -1113,17 +1113,17 @@ export declare const materialPaletteGpu: {
|
|
|
1113
1113
|
readonly unique: true;
|
|
1114
1114
|
readonly archetype: "Material";
|
|
1115
1115
|
};
|
|
1116
|
-
}, never>) => void;
|
|
1116
|
+
}, never, never>) => void;
|
|
1117
1117
|
} & {} & {} & {};
|
|
1118
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
1118
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "materialPaletteGpuBuilder">;
|
|
1119
1119
|
readonly actions: {};
|
|
1120
1120
|
readonly services: {};
|
|
1121
1121
|
readonly computed: {};
|
|
1122
|
-
readonly indexes: {
|
|
1122
|
+
readonly indexes: {
|
|
1123
1123
|
readonly materialByName: {
|
|
1124
1124
|
readonly key: "name";
|
|
1125
1125
|
readonly unique: true;
|
|
1126
1126
|
readonly archetype: "Material";
|
|
1127
1127
|
};
|
|
1128
|
-
} & {};
|
|
1128
|
+
} & {} & {};
|
|
1129
1129
|
};
|
|
@@ -5,6 +5,74 @@ import type { ColliderMesh } from "../../physics/body/collider-mesh.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const modelCollider: {
|
|
7
7
|
readonly components: {} & {
|
|
8
|
+
readonly _vertexBuffer: {
|
|
9
|
+
readonly default: GPUBuffer | null;
|
|
10
|
+
readonly nonPersistent: true;
|
|
11
|
+
};
|
|
12
|
+
readonly _skinVertexBuffer: {
|
|
13
|
+
readonly default: GPUBuffer | null;
|
|
14
|
+
readonly nonPersistent: true;
|
|
15
|
+
};
|
|
16
|
+
readonly _indexBuffer: {
|
|
17
|
+
readonly default: GPUBuffer | null;
|
|
18
|
+
readonly nonPersistent: true;
|
|
19
|
+
};
|
|
20
|
+
readonly _indexCount: {
|
|
21
|
+
readonly default: undefined;
|
|
22
|
+
readonly nonPersistent: true;
|
|
23
|
+
readonly type: "integer";
|
|
24
|
+
readonly minimum: 0;
|
|
25
|
+
readonly maximum: 4294967295;
|
|
26
|
+
};
|
|
27
|
+
readonly _indexFormat: {
|
|
28
|
+
readonly default: GPUIndexFormat;
|
|
29
|
+
readonly nonPersistent: true;
|
|
30
|
+
};
|
|
31
|
+
readonly _materialBindGroup: {
|
|
32
|
+
readonly default: GPUBindGroup | null;
|
|
33
|
+
readonly nonPersistent: true;
|
|
34
|
+
};
|
|
35
|
+
readonly _mesh: {
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
readonly nonPersistent: true;
|
|
38
|
+
readonly entity: true;
|
|
39
|
+
readonly type: "integer";
|
|
40
|
+
readonly minimum: -2147483648;
|
|
41
|
+
readonly maximum: 2147483647;
|
|
42
|
+
};
|
|
43
|
+
readonly _material: {
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
readonly nonPersistent: true;
|
|
46
|
+
readonly entity: true;
|
|
47
|
+
readonly type: "integer";
|
|
48
|
+
readonly minimum: -2147483648;
|
|
49
|
+
readonly maximum: 2147483647;
|
|
50
|
+
};
|
|
51
|
+
readonly _nodeLocalMatrix: {
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
readonly nonPersistent: true;
|
|
54
|
+
readonly type: "array";
|
|
55
|
+
readonly items: {
|
|
56
|
+
readonly type: "number";
|
|
57
|
+
readonly precision: 1;
|
|
58
|
+
readonly default: number;
|
|
59
|
+
};
|
|
60
|
+
readonly minItems: 16;
|
|
61
|
+
readonly maxItems: 16;
|
|
62
|
+
};
|
|
63
|
+
readonly _skeletonModelRef: {
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
readonly nonPersistent: true;
|
|
66
|
+
readonly entity: true;
|
|
67
|
+
readonly type: "integer";
|
|
68
|
+
readonly minimum: -2147483648;
|
|
69
|
+
readonly maximum: 2147483647;
|
|
70
|
+
};
|
|
71
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
72
|
+
readonly default: GPUBindGroup | null;
|
|
73
|
+
readonly nonPersistent: true;
|
|
74
|
+
};
|
|
75
|
+
} & {
|
|
8
76
|
readonly visible: {
|
|
9
77
|
readonly type: "boolean";
|
|
10
78
|
readonly const: true;
|
|
@@ -353,74 +421,6 @@ export declare const modelCollider: {
|
|
|
353
421
|
readonly const: true;
|
|
354
422
|
readonly default: true;
|
|
355
423
|
};
|
|
356
|
-
} & {
|
|
357
|
-
readonly _vertexBuffer: {
|
|
358
|
-
readonly default: GPUBuffer | null;
|
|
359
|
-
readonly nonPersistent: true;
|
|
360
|
-
};
|
|
361
|
-
readonly _skinVertexBuffer: {
|
|
362
|
-
readonly default: GPUBuffer | null;
|
|
363
|
-
readonly nonPersistent: true;
|
|
364
|
-
};
|
|
365
|
-
readonly _indexBuffer: {
|
|
366
|
-
readonly default: GPUBuffer | null;
|
|
367
|
-
readonly nonPersistent: true;
|
|
368
|
-
};
|
|
369
|
-
readonly _indexCount: {
|
|
370
|
-
readonly default: undefined;
|
|
371
|
-
readonly nonPersistent: true;
|
|
372
|
-
readonly type: "integer";
|
|
373
|
-
readonly minimum: 0;
|
|
374
|
-
readonly maximum: 4294967295;
|
|
375
|
-
};
|
|
376
|
-
readonly _indexFormat: {
|
|
377
|
-
readonly default: GPUIndexFormat;
|
|
378
|
-
readonly nonPersistent: true;
|
|
379
|
-
};
|
|
380
|
-
readonly _materialBindGroup: {
|
|
381
|
-
readonly default: GPUBindGroup | null;
|
|
382
|
-
readonly nonPersistent: true;
|
|
383
|
-
};
|
|
384
|
-
readonly _mesh: {
|
|
385
|
-
readonly default: undefined;
|
|
386
|
-
readonly nonPersistent: true;
|
|
387
|
-
readonly entity: true;
|
|
388
|
-
readonly type: "integer";
|
|
389
|
-
readonly minimum: -2147483648;
|
|
390
|
-
readonly maximum: 2147483647;
|
|
391
|
-
};
|
|
392
|
-
readonly _material: {
|
|
393
|
-
readonly default: undefined;
|
|
394
|
-
readonly nonPersistent: true;
|
|
395
|
-
readonly entity: true;
|
|
396
|
-
readonly type: "integer";
|
|
397
|
-
readonly minimum: -2147483648;
|
|
398
|
-
readonly maximum: 2147483647;
|
|
399
|
-
};
|
|
400
|
-
readonly _nodeLocalMatrix: {
|
|
401
|
-
readonly default: undefined;
|
|
402
|
-
readonly nonPersistent: true;
|
|
403
|
-
readonly type: "array";
|
|
404
|
-
readonly items: {
|
|
405
|
-
readonly type: "number";
|
|
406
|
-
readonly precision: 1;
|
|
407
|
-
readonly default: number;
|
|
408
|
-
};
|
|
409
|
-
readonly minItems: 16;
|
|
410
|
-
readonly maxItems: 16;
|
|
411
|
-
};
|
|
412
|
-
readonly _skeletonModelRef: {
|
|
413
|
-
readonly default: undefined;
|
|
414
|
-
readonly nonPersistent: true;
|
|
415
|
-
readonly entity: true;
|
|
416
|
-
readonly type: "integer";
|
|
417
|
-
readonly minimum: -2147483648;
|
|
418
|
-
readonly maximum: 2147483647;
|
|
419
|
-
};
|
|
420
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
421
|
-
readonly default: GPUBindGroup | null;
|
|
422
|
-
readonly nonPersistent: true;
|
|
423
|
-
};
|
|
424
424
|
} & {
|
|
425
425
|
readonly bodyType: {
|
|
426
426
|
readonly type: "string";
|
|
@@ -566,6 +566,9 @@ export declare const modelCollider: {
|
|
|
566
566
|
};
|
|
567
567
|
};
|
|
568
568
|
readonly archetypes: {} & {
|
|
569
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
570
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
571
|
+
} & {
|
|
569
572
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
570
573
|
} & {} & {
|
|
571
574
|
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"];
|
|
@@ -580,10 +583,7 @@ export declare const modelCollider: {
|
|
|
580
583
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
581
584
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
582
585
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
583
|
-
} & {} & {
|
|
584
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
585
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
586
|
-
} & {} & {
|
|
586
|
+
} & {} & {} & {
|
|
587
587
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
588
588
|
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
589
589
|
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
@@ -592,7 +592,7 @@ export declare const modelCollider: {
|
|
|
592
592
|
readonly ModelBody: readonly ["mesh", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
593
593
|
readonly StaticModelCollider: readonly ["mesh", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
594
594
|
};
|
|
595
|
-
readonly transactions: {} & {} & {
|
|
595
|
+
readonly transactions: {} & {} & {} & {
|
|
596
596
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
597
597
|
readonly material: {
|
|
598
598
|
readonly entity: true;
|
|
@@ -771,7 +771,7 @@ export declare const modelCollider: {
|
|
|
771
771
|
readonly unique: true;
|
|
772
772
|
readonly archetype: "Material";
|
|
773
773
|
};
|
|
774
|
-
}, never>, row: import("../../material/public.js")) => Entity;
|
|
774
|
+
}, never, never>, row: import("../../material/public.js")) => Entity;
|
|
775
775
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
776
776
|
readonly material: {
|
|
777
777
|
readonly entity: true;
|
|
@@ -950,7 +950,7 @@ export declare const modelCollider: {
|
|
|
950
950
|
readonly unique: true;
|
|
951
951
|
readonly archetype: "Material";
|
|
952
952
|
};
|
|
953
|
-
}, never>, args: {
|
|
953
|
+
}, never, never>, args: {
|
|
954
954
|
name: string;
|
|
955
955
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
956
956
|
}) => Entity;
|
|
@@ -1132,7 +1132,7 @@ export declare const modelCollider: {
|
|
|
1132
1132
|
readonly unique: true;
|
|
1133
1133
|
readonly archetype: "Material";
|
|
1134
1134
|
};
|
|
1135
|
-
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1135
|
+
}, never, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1136
1136
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1137
1137
|
readonly material: {
|
|
1138
1138
|
readonly entity: true;
|
|
@@ -1311,7 +1311,7 @@ export declare const modelCollider: {
|
|
|
1311
1311
|
readonly unique: true;
|
|
1312
1312
|
readonly archetype: "Material";
|
|
1313
1313
|
};
|
|
1314
|
-
}, never>) => void;
|
|
1314
|
+
}, never, never>) => void;
|
|
1315
1315
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1316
1316
|
readonly material: {
|
|
1317
1317
|
readonly entity: true;
|
|
@@ -1490,7 +1490,7 @@ export declare const modelCollider: {
|
|
|
1490
1490
|
readonly unique: true;
|
|
1491
1491
|
readonly archetype: "Material";
|
|
1492
1492
|
};
|
|
1493
|
-
}, never>) => void;
|
|
1493
|
+
}, never, never>) => void;
|
|
1494
1494
|
} & {
|
|
1495
1495
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1496
1496
|
readonly mesh: {
|
|
@@ -1827,7 +1827,7 @@ export declare const modelCollider: {
|
|
|
1827
1827
|
readonly unique: true;
|
|
1828
1828
|
readonly archetype: "Material";
|
|
1829
1829
|
};
|
|
1830
|
-
}, never>, args: {
|
|
1830
|
+
}, never, never>, args: {
|
|
1831
1831
|
url: string;
|
|
1832
1832
|
}) => Entity;
|
|
1833
1833
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2165,7 +2165,7 @@ export declare const modelCollider: {
|
|
|
2165
2165
|
readonly unique: true;
|
|
2166
2166
|
readonly archetype: "Material";
|
|
2167
2167
|
};
|
|
2168
|
-
}, never>, args: {
|
|
2168
|
+
}, never, never>, args: {
|
|
2169
2169
|
shapeSpec: import("../public.js").ShapeSpec;
|
|
2170
2170
|
}) => Entity;
|
|
2171
2171
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2503,7 +2503,7 @@ export declare const modelCollider: {
|
|
|
2503
2503
|
readonly unique: true;
|
|
2504
2504
|
readonly archetype: "Material";
|
|
2505
2505
|
};
|
|
2506
|
-
}, never>, args: {
|
|
2506
|
+
}, never, never>, args: {
|
|
2507
2507
|
mesh: Entity;
|
|
2508
2508
|
material: Entity;
|
|
2509
2509
|
position?: import("@adobe/data/math").Vec3;
|
|
@@ -2845,7 +2845,7 @@ export declare const modelCollider: {
|
|
|
2845
2845
|
readonly unique: true;
|
|
2846
2846
|
readonly archetype: "Material";
|
|
2847
2847
|
};
|
|
2848
|
-
}, never>, args: {
|
|
2848
|
+
}, never, never>, args: {
|
|
2849
2849
|
mesh: Entity;
|
|
2850
2850
|
position?: import("@adobe/data/math").Vec3;
|
|
2851
2851
|
rotation?: import("@adobe/data/math").Quat;
|
|
@@ -2899,7 +2899,7 @@ export declare const modelCollider: {
|
|
|
2899
2899
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2900
2900
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2901
2901
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2902
|
-
}, {} & {}, never>, args: {
|
|
2902
|
+
}, {} & {}, never, never>, args: {
|
|
2903
2903
|
tracks: import("../animation/animation-track/public.js")[];
|
|
2904
2904
|
duration: number;
|
|
2905
2905
|
}) => number;
|
|
@@ -2949,7 +2949,7 @@ export declare const modelCollider: {
|
|
|
2949
2949
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2950
2950
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2951
2951
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2952
|
-
}, {} & {}, never>, args: {
|
|
2952
|
+
}, {} & {}, never, never>, args: {
|
|
2953
2953
|
animationClipRef: number;
|
|
2954
2954
|
animationTargets: number[];
|
|
2955
2955
|
animationTime?: number;
|
|
@@ -3004,12 +3004,80 @@ export declare const modelCollider: {
|
|
|
3004
3004
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3005
3005
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3006
3006
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3007
|
-
}, {}, never>, args: {
|
|
3007
|
+
}, {}, never, never>, args: {
|
|
3008
3008
|
dt: number;
|
|
3009
3009
|
observable: boolean;
|
|
3010
3010
|
}) => void;
|
|
3011
|
-
} & {} & {
|
|
3011
|
+
} & {} & {
|
|
3012
3012
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
3013
|
+
readonly _vertexBuffer: {
|
|
3014
|
+
readonly default: GPUBuffer | null;
|
|
3015
|
+
readonly nonPersistent: true;
|
|
3016
|
+
};
|
|
3017
|
+
readonly _skinVertexBuffer: {
|
|
3018
|
+
readonly default: GPUBuffer | null;
|
|
3019
|
+
readonly nonPersistent: true;
|
|
3020
|
+
};
|
|
3021
|
+
readonly _indexBuffer: {
|
|
3022
|
+
readonly default: GPUBuffer | null;
|
|
3023
|
+
readonly nonPersistent: true;
|
|
3024
|
+
};
|
|
3025
|
+
readonly _indexCount: {
|
|
3026
|
+
readonly default: undefined;
|
|
3027
|
+
readonly nonPersistent: true;
|
|
3028
|
+
readonly type: "integer";
|
|
3029
|
+
readonly minimum: 0;
|
|
3030
|
+
readonly maximum: 4294967295;
|
|
3031
|
+
};
|
|
3032
|
+
readonly _indexFormat: {
|
|
3033
|
+
readonly default: GPUIndexFormat;
|
|
3034
|
+
readonly nonPersistent: true;
|
|
3035
|
+
};
|
|
3036
|
+
readonly _materialBindGroup: {
|
|
3037
|
+
readonly default: GPUBindGroup | null;
|
|
3038
|
+
readonly nonPersistent: true;
|
|
3039
|
+
};
|
|
3040
|
+
readonly _mesh: {
|
|
3041
|
+
readonly default: undefined;
|
|
3042
|
+
readonly nonPersistent: true;
|
|
3043
|
+
readonly entity: true;
|
|
3044
|
+
readonly type: "integer";
|
|
3045
|
+
readonly minimum: -2147483648;
|
|
3046
|
+
readonly maximum: 2147483647;
|
|
3047
|
+
};
|
|
3048
|
+
readonly _material: {
|
|
3049
|
+
readonly default: undefined;
|
|
3050
|
+
readonly nonPersistent: true;
|
|
3051
|
+
readonly entity: true;
|
|
3052
|
+
readonly type: "integer";
|
|
3053
|
+
readonly minimum: -2147483648;
|
|
3054
|
+
readonly maximum: 2147483647;
|
|
3055
|
+
};
|
|
3056
|
+
readonly _nodeLocalMatrix: {
|
|
3057
|
+
readonly default: undefined;
|
|
3058
|
+
readonly nonPersistent: true;
|
|
3059
|
+
readonly type: "array";
|
|
3060
|
+
readonly items: {
|
|
3061
|
+
readonly type: "number";
|
|
3062
|
+
readonly precision: 1;
|
|
3063
|
+
readonly default: number;
|
|
3064
|
+
};
|
|
3065
|
+
readonly minItems: 16;
|
|
3066
|
+
readonly maxItems: 16;
|
|
3067
|
+
};
|
|
3068
|
+
readonly _skeletonModelRef: {
|
|
3069
|
+
readonly default: undefined;
|
|
3070
|
+
readonly nonPersistent: true;
|
|
3071
|
+
readonly entity: true;
|
|
3072
|
+
readonly type: "integer";
|
|
3073
|
+
readonly minimum: -2147483648;
|
|
3074
|
+
readonly maximum: 2147483647;
|
|
3075
|
+
};
|
|
3076
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3077
|
+
readonly default: GPUBindGroup | null;
|
|
3078
|
+
readonly nonPersistent: true;
|
|
3079
|
+
};
|
|
3080
|
+
} & {
|
|
3013
3081
|
readonly visible: {
|
|
3014
3082
|
readonly type: "boolean";
|
|
3015
3083
|
readonly const: true;
|
|
@@ -3358,74 +3426,6 @@ export declare const modelCollider: {
|
|
|
3358
3426
|
readonly const: true;
|
|
3359
3427
|
readonly default: true;
|
|
3360
3428
|
};
|
|
3361
|
-
} & {
|
|
3362
|
-
readonly _vertexBuffer: {
|
|
3363
|
-
readonly default: GPUBuffer | null;
|
|
3364
|
-
readonly nonPersistent: true;
|
|
3365
|
-
};
|
|
3366
|
-
readonly _skinVertexBuffer: {
|
|
3367
|
-
readonly default: GPUBuffer | null;
|
|
3368
|
-
readonly nonPersistent: true;
|
|
3369
|
-
};
|
|
3370
|
-
readonly _indexBuffer: {
|
|
3371
|
-
readonly default: GPUBuffer | null;
|
|
3372
|
-
readonly nonPersistent: true;
|
|
3373
|
-
};
|
|
3374
|
-
readonly _indexCount: {
|
|
3375
|
-
readonly default: undefined;
|
|
3376
|
-
readonly nonPersistent: true;
|
|
3377
|
-
readonly type: "integer";
|
|
3378
|
-
readonly minimum: 0;
|
|
3379
|
-
readonly maximum: 4294967295;
|
|
3380
|
-
};
|
|
3381
|
-
readonly _indexFormat: {
|
|
3382
|
-
readonly default: GPUIndexFormat;
|
|
3383
|
-
readonly nonPersistent: true;
|
|
3384
|
-
};
|
|
3385
|
-
readonly _materialBindGroup: {
|
|
3386
|
-
readonly default: GPUBindGroup | null;
|
|
3387
|
-
readonly nonPersistent: true;
|
|
3388
|
-
};
|
|
3389
|
-
readonly _mesh: {
|
|
3390
|
-
readonly default: undefined;
|
|
3391
|
-
readonly nonPersistent: true;
|
|
3392
|
-
readonly entity: true;
|
|
3393
|
-
readonly type: "integer";
|
|
3394
|
-
readonly minimum: -2147483648;
|
|
3395
|
-
readonly maximum: 2147483647;
|
|
3396
|
-
};
|
|
3397
|
-
readonly _material: {
|
|
3398
|
-
readonly default: undefined;
|
|
3399
|
-
readonly nonPersistent: true;
|
|
3400
|
-
readonly entity: true;
|
|
3401
|
-
readonly type: "integer";
|
|
3402
|
-
readonly minimum: -2147483648;
|
|
3403
|
-
readonly maximum: 2147483647;
|
|
3404
|
-
};
|
|
3405
|
-
readonly _nodeLocalMatrix: {
|
|
3406
|
-
readonly default: undefined;
|
|
3407
|
-
readonly nonPersistent: true;
|
|
3408
|
-
readonly type: "array";
|
|
3409
|
-
readonly items: {
|
|
3410
|
-
readonly type: "number";
|
|
3411
|
-
readonly precision: 1;
|
|
3412
|
-
readonly default: number;
|
|
3413
|
-
};
|
|
3414
|
-
readonly minItems: 16;
|
|
3415
|
-
readonly maxItems: 16;
|
|
3416
|
-
};
|
|
3417
|
-
readonly _skeletonModelRef: {
|
|
3418
|
-
readonly default: undefined;
|
|
3419
|
-
readonly nonPersistent: true;
|
|
3420
|
-
readonly entity: true;
|
|
3421
|
-
readonly type: "integer";
|
|
3422
|
-
readonly minimum: -2147483648;
|
|
3423
|
-
readonly maximum: 2147483647;
|
|
3424
|
-
};
|
|
3425
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3426
|
-
readonly default: GPUBindGroup | null;
|
|
3427
|
-
readonly nonPersistent: true;
|
|
3428
|
-
};
|
|
3429
3429
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3430
3430
|
readonly _gltfMeshByUrl: {
|
|
3431
3431
|
readonly default: Map<string, Entity> | null;
|
|
@@ -3451,6 +3451,9 @@ export declare const modelCollider: {
|
|
|
3451
3451
|
readonly nonPersistent: true;
|
|
3452
3452
|
};
|
|
3453
3453
|
}>, {} & {} & {
|
|
3454
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3455
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3456
|
+
} & {
|
|
3454
3457
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3455
3458
|
} & {} & {
|
|
3456
3459
|
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"];
|
|
@@ -3465,10 +3468,7 @@ export declare const modelCollider: {
|
|
|
3465
3468
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3466
3469
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3467
3470
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3468
|
-
} & {} & {
|
|
3469
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3470
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3471
|
-
}, {} & {} & {
|
|
3471
|
+
} & {}, {} & {} & {} & {
|
|
3472
3472
|
readonly nodeChildrenOf: {
|
|
3473
3473
|
readonly key: "parent";
|
|
3474
3474
|
readonly archetype: "Node";
|
|
@@ -3479,9 +3479,9 @@ export declare const modelCollider: {
|
|
|
3479
3479
|
readonly unique: true;
|
|
3480
3480
|
readonly archetype: "Material";
|
|
3481
3481
|
};
|
|
3482
|
-
} & {} & {} & {} & {}
|
|
3482
|
+
} & {} & {} & {} & {}, never, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3483
3483
|
} & {} & {};
|
|
3484
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3484
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
|
|
3485
3485
|
readonly actions: {
|
|
3486
3486
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
3487
3487
|
readonly bodyType: {
|
|
@@ -3949,7 +3949,7 @@ export declare const modelCollider: {
|
|
|
3949
3949
|
readonly unique: true;
|
|
3950
3950
|
readonly archetype: "Material";
|
|
3951
3951
|
};
|
|
3952
|
-
}, never>, row: import("../../material/public.js")) => Entity;
|
|
3952
|
+
}, never, never>, row: import("../../material/public.js")) => Entity;
|
|
3953
3953
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3954
3954
|
readonly material: {
|
|
3955
3955
|
readonly entity: true;
|
|
@@ -4128,7 +4128,7 @@ export declare const modelCollider: {
|
|
|
4128
4128
|
readonly unique: true;
|
|
4129
4129
|
readonly archetype: "Material";
|
|
4130
4130
|
};
|
|
4131
|
-
}, never>, args: {
|
|
4131
|
+
}, never, never>, args: {
|
|
4132
4132
|
name: string;
|
|
4133
4133
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
4134
4134
|
}) => Entity;
|
|
@@ -4310,7 +4310,7 @@ export declare const modelCollider: {
|
|
|
4310
4310
|
readonly unique: true;
|
|
4311
4311
|
readonly archetype: "Material";
|
|
4312
4312
|
};
|
|
4313
|
-
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
4313
|
+
}, never, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
4314
4314
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4315
4315
|
readonly material: {
|
|
4316
4316
|
readonly entity: true;
|
|
@@ -4489,7 +4489,7 @@ export declare const modelCollider: {
|
|
|
4489
4489
|
readonly unique: true;
|
|
4490
4490
|
readonly archetype: "Material";
|
|
4491
4491
|
};
|
|
4492
|
-
}, never>) => void;
|
|
4492
|
+
}, never, never>) => void;
|
|
4493
4493
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4494
4494
|
readonly material: {
|
|
4495
4495
|
readonly entity: true;
|
|
@@ -4668,7 +4668,7 @@ export declare const modelCollider: {
|
|
|
4668
4668
|
readonly unique: true;
|
|
4669
4669
|
readonly archetype: "Material";
|
|
4670
4670
|
};
|
|
4671
|
-
}, never>) => void;
|
|
4671
|
+
}, never, never>) => void;
|
|
4672
4672
|
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
4673
4673
|
readonly materialByName: {
|
|
4674
4674
|
readonly key: "name";
|
|
@@ -5148,7 +5148,7 @@ export declare const modelCollider: {
|
|
|
5148
5148
|
readonly unique: true;
|
|
5149
5149
|
readonly archetype: "Material";
|
|
5150
5150
|
};
|
|
5151
|
-
}, never>, row: import("../../material/public.js")) => Entity;
|
|
5151
|
+
}, never, never>, row: import("../../material/public.js")) => Entity;
|
|
5152
5152
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5153
5153
|
readonly material: {
|
|
5154
5154
|
readonly entity: true;
|
|
@@ -5327,7 +5327,7 @@ export declare const modelCollider: {
|
|
|
5327
5327
|
readonly unique: true;
|
|
5328
5328
|
readonly archetype: "Material";
|
|
5329
5329
|
};
|
|
5330
|
-
}, never>, args: {
|
|
5330
|
+
}, never, never>, args: {
|
|
5331
5331
|
name: string;
|
|
5332
5332
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
5333
5333
|
}) => Entity;
|
|
@@ -5509,7 +5509,7 @@ export declare const modelCollider: {
|
|
|
5509
5509
|
readonly unique: true;
|
|
5510
5510
|
readonly archetype: "Material";
|
|
5511
5511
|
};
|
|
5512
|
-
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
5512
|
+
}, never, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
5513
5513
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5514
5514
|
readonly material: {
|
|
5515
5515
|
readonly entity: true;
|
|
@@ -5688,7 +5688,7 @@ export declare const modelCollider: {
|
|
|
5688
5688
|
readonly unique: true;
|
|
5689
5689
|
readonly archetype: "Material";
|
|
5690
5690
|
};
|
|
5691
|
-
}, never>) => void;
|
|
5691
|
+
}, never, never>) => void;
|
|
5692
5692
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5693
5693
|
readonly material: {
|
|
5694
5694
|
readonly entity: true;
|
|
@@ -5867,7 +5867,7 @@ export declare const modelCollider: {
|
|
|
5867
5867
|
readonly unique: true;
|
|
5868
5868
|
readonly archetype: "Material";
|
|
5869
5869
|
};
|
|
5870
|
-
}, never>) => void;
|
|
5870
|
+
}, never, never>) => void;
|
|
5871
5871
|
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
5872
5872
|
readonly materialByName: {
|
|
5873
5873
|
readonly key: "name";
|
|
@@ -5885,7 +5885,7 @@ export declare const modelCollider: {
|
|
|
5885
5885
|
};
|
|
5886
5886
|
readonly services: {};
|
|
5887
5887
|
readonly computed: {};
|
|
5888
|
-
readonly indexes: {} & {
|
|
5888
|
+
readonly indexes: {} & {} & {
|
|
5889
5889
|
readonly nodeChildrenOf: {
|
|
5890
5890
|
readonly key: "parent";
|
|
5891
5891
|
readonly archetype: "Node";
|
|
@@ -5896,5 +5896,5 @@ export declare const modelCollider: {
|
|
|
5896
5896
|
readonly unique: true;
|
|
5897
5897
|
readonly archetype: "Material";
|
|
5898
5898
|
};
|
|
5899
|
-
} & {} & {} & {} & {} & {} & {} & {}
|
|
5899
|
+
} & {} & {} & {} & {} & {} & {} & {};
|
|
5900
5900
|
};
|