@adobe/data-gpu 0.9.73 → 0.9.74
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 +158 -158
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +377 -377
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +63 -63
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +41 -41
- package/dist/graphics/rendering/model-collider-plugin.d.ts +327 -327
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +62 -62
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +217 -217
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +3 -3
- package/dist/graphics/scene/model/gltf/accessor-view.d.ts +2 -2
- package/dist/graphics/scene/model/gltf/decode-images.js.map +1 -1
- package/dist/graphics/scene/model/gltf/load-gltf-model.js.map +1 -1
- package/dist/graphics/scene/model/gltf/pack-vertex-buffer.d.ts +1 -1
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +3 -3
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +3 -3
- package/dist/graphics/scene/model/shape/shape-mesh.d.ts +2 -2
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +3 -3
- package/package.json +2 -2
- package/src/graphics/scene/model/gltf/accessor-view.ts +2 -2
- package/src/graphics/scene/model/gltf/decode-images.ts +2 -2
- package/src/graphics/scene/model/gltf/load-gltf-model.ts +3 -3
- package/src/graphics/scene/model/gltf/pack-vertex-buffer.ts +1 -1
- package/src/graphics/scene/model/shape/shape-mesh.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -14,7 +14,7 @@ import { type Entity } from "@adobe/data/ecs";
|
|
|
14
14
|
* (primitives are flat — no hierarchy), so it's independent of `transform`.
|
|
15
15
|
*/
|
|
16
16
|
export declare const pbrRender: {
|
|
17
|
-
readonly components: {
|
|
17
|
+
readonly components: {
|
|
18
18
|
readonly visible: {
|
|
19
19
|
readonly type: "boolean";
|
|
20
20
|
readonly const: true;
|
|
@@ -106,7 +106,7 @@ export declare const pbrRender: {
|
|
|
106
106
|
readonly max: readonly [0, 0, 0];
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
} & {
|
|
109
|
+
} & {} & {
|
|
110
110
|
readonly _vertexBuffer: {
|
|
111
111
|
readonly default: GPUBuffer | null;
|
|
112
112
|
};
|
|
@@ -459,9 +459,9 @@ export declare const pbrRender: {
|
|
|
459
459
|
readonly nonPersistent: true;
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
|
-
readonly archetypes: {
|
|
462
|
+
readonly archetypes: {
|
|
463
463
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
464
|
-
} & {} & {
|
|
464
|
+
} & {} & {} & {
|
|
465
465
|
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
466
466
|
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
467
467
|
} & {
|
|
@@ -474,62 +474,7 @@ export declare const pbrRender: {
|
|
|
474
474
|
} & {} & {} & {} & {
|
|
475
475
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
476
476
|
} & {} & {} & {};
|
|
477
|
-
readonly transactions: {} & {} & {} & {
|
|
478
|
-
readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
479
|
-
readonly renderPassEncoder: {
|
|
480
|
-
readonly default: GPURenderPassEncoder | null;
|
|
481
|
-
readonly nonPersistent: true;
|
|
482
|
-
};
|
|
483
|
-
readonly depthTexture: {
|
|
484
|
-
readonly default: GPUTexture | null;
|
|
485
|
-
readonly nonPersistent: true;
|
|
486
|
-
};
|
|
487
|
-
readonly clearColor: {
|
|
488
|
-
readonly default: readonly [number, number, number, number];
|
|
489
|
-
readonly nonPersistent: true;
|
|
490
|
-
};
|
|
491
|
-
readonly canvas: {
|
|
492
|
-
readonly default: HTMLCanvasElement | null;
|
|
493
|
-
readonly nonPersistent: true;
|
|
494
|
-
};
|
|
495
|
-
readonly canvasContext: {
|
|
496
|
-
readonly default: GPUCanvasContext | null;
|
|
497
|
-
readonly nonPersistent: true;
|
|
498
|
-
};
|
|
499
|
-
readonly canvasFormat: {
|
|
500
|
-
readonly default: GPUTextureFormat;
|
|
501
|
-
readonly nonPersistent: true;
|
|
502
|
-
};
|
|
503
|
-
readonly depthFormat: {
|
|
504
|
-
readonly default: GPUTextureFormat;
|
|
505
|
-
readonly nonPersistent: true;
|
|
506
|
-
};
|
|
507
|
-
} & {
|
|
508
|
-
readonly frameTime: {
|
|
509
|
-
readonly default: import("../../../core/frame-time/public.js");
|
|
510
|
-
readonly nonPersistent: true;
|
|
511
|
-
};
|
|
512
|
-
} & {
|
|
513
|
-
readonly schedulerState: {
|
|
514
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
515
|
-
};
|
|
516
|
-
} & {
|
|
517
|
-
readonly device: {
|
|
518
|
-
readonly default: GPUDevice | null;
|
|
519
|
-
readonly nonPersistent: true;
|
|
520
|
-
};
|
|
521
|
-
readonly commandEncoder: {
|
|
522
|
-
readonly default: GPUCommandEncoder | null;
|
|
523
|
-
readonly nonPersistent: true;
|
|
524
|
-
};
|
|
525
|
-
}>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
|
|
526
|
-
} & {} & {
|
|
527
|
-
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
528
|
-
readonly light: {
|
|
529
|
-
readonly default: import("../../scene/light/public.js");
|
|
530
|
-
};
|
|
531
|
-
}>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
532
|
-
} & {} & {
|
|
477
|
+
readonly transactions: {} & {} & {} & {
|
|
533
478
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
534
479
|
readonly modelUrl: {
|
|
535
480
|
readonly type: "string";
|
|
@@ -754,7 +699,7 @@ export declare const pbrRender: {
|
|
|
754
699
|
scale?: readonly [number, number, number];
|
|
755
700
|
parent?: number;
|
|
756
701
|
}) => number;
|
|
757
|
-
} & {} & {
|
|
702
|
+
} & {} & {} & {} & {
|
|
758
703
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
759
704
|
readonly animationClipTracks: {
|
|
760
705
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -1157,7 +1102,62 @@ export declare const pbrRender: {
|
|
|
1157
1102
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1158
1103
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1159
1104
|
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
1105
|
+
} & {
|
|
1106
|
+
readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
1107
|
+
readonly renderPassEncoder: {
|
|
1108
|
+
readonly default: GPURenderPassEncoder | null;
|
|
1109
|
+
readonly nonPersistent: true;
|
|
1110
|
+
};
|
|
1111
|
+
readonly depthTexture: {
|
|
1112
|
+
readonly default: GPUTexture | null;
|
|
1113
|
+
readonly nonPersistent: true;
|
|
1114
|
+
};
|
|
1115
|
+
readonly clearColor: {
|
|
1116
|
+
readonly default: readonly [number, number, number, number];
|
|
1117
|
+
readonly nonPersistent: true;
|
|
1118
|
+
};
|
|
1119
|
+
readonly canvas: {
|
|
1120
|
+
readonly default: HTMLCanvasElement | null;
|
|
1121
|
+
readonly nonPersistent: true;
|
|
1122
|
+
};
|
|
1123
|
+
readonly canvasContext: {
|
|
1124
|
+
readonly default: GPUCanvasContext | null;
|
|
1125
|
+
readonly nonPersistent: true;
|
|
1126
|
+
};
|
|
1127
|
+
readonly canvasFormat: {
|
|
1128
|
+
readonly default: GPUTextureFormat;
|
|
1129
|
+
readonly nonPersistent: true;
|
|
1130
|
+
};
|
|
1131
|
+
readonly depthFormat: {
|
|
1132
|
+
readonly default: GPUTextureFormat;
|
|
1133
|
+
readonly nonPersistent: true;
|
|
1134
|
+
};
|
|
1135
|
+
} & {
|
|
1136
|
+
readonly frameTime: {
|
|
1137
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
1138
|
+
readonly nonPersistent: true;
|
|
1139
|
+
};
|
|
1140
|
+
} & {
|
|
1141
|
+
readonly schedulerState: {
|
|
1142
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
1143
|
+
};
|
|
1144
|
+
} & {
|
|
1145
|
+
readonly device: {
|
|
1146
|
+
readonly default: GPUDevice | null;
|
|
1147
|
+
readonly nonPersistent: true;
|
|
1148
|
+
};
|
|
1149
|
+
readonly commandEncoder: {
|
|
1150
|
+
readonly default: GPUCommandEncoder | null;
|
|
1151
|
+
readonly nonPersistent: true;
|
|
1152
|
+
};
|
|
1153
|
+
}>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
|
|
1160
1154
|
} & {} & {
|
|
1155
|
+
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
1156
|
+
readonly light: {
|
|
1157
|
+
readonly default: import("../../scene/light/public.js");
|
|
1158
|
+
};
|
|
1159
|
+
}>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
1160
|
+
} & {} & {} & {
|
|
1161
1161
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1162
1162
|
readonly material: {
|
|
1163
1163
|
readonly type: "integer";
|
|
@@ -1258,7 +1258,7 @@ export declare const pbrRender: {
|
|
|
1258
1258
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
1259
1259
|
}, {}>) => void;
|
|
1260
1260
|
} & {} & {} & {};
|
|
1261
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
1261
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "iblInitSystem" | "pbrIblRenderSystem" | "materialGpuBuilder" | "pbrPrimitiveRenderSystem">;
|
|
1262
1262
|
readonly actions: {};
|
|
1263
1263
|
readonly services: {};
|
|
1264
1264
|
readonly computed: {};
|
|
@@ -18,6 +18,108 @@ import type { ColliderMesh } from "../../../physics/body/collider-mesh.js";
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const physicsRenderBridge: {
|
|
20
20
|
readonly components: {
|
|
21
|
+
readonly visible: {
|
|
22
|
+
readonly type: "boolean";
|
|
23
|
+
readonly const: true;
|
|
24
|
+
readonly default: true;
|
|
25
|
+
};
|
|
26
|
+
readonly position: {
|
|
27
|
+
readonly type: "array";
|
|
28
|
+
readonly items: {
|
|
29
|
+
readonly type: "number";
|
|
30
|
+
readonly precision: 1;
|
|
31
|
+
readonly default: number;
|
|
32
|
+
};
|
|
33
|
+
readonly minItems: 3;
|
|
34
|
+
readonly maxItems: 3;
|
|
35
|
+
readonly default: readonly [0, 0, 0];
|
|
36
|
+
};
|
|
37
|
+
readonly rotation: {
|
|
38
|
+
readonly type: "array";
|
|
39
|
+
readonly items: {
|
|
40
|
+
readonly type: "number";
|
|
41
|
+
readonly precision: 1;
|
|
42
|
+
readonly default: number;
|
|
43
|
+
};
|
|
44
|
+
readonly minItems: 4;
|
|
45
|
+
readonly maxItems: 4;
|
|
46
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
47
|
+
readonly interpolators: {
|
|
48
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly scale: {
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly precision: 1;
|
|
56
|
+
readonly default: number;
|
|
57
|
+
};
|
|
58
|
+
readonly minItems: 3;
|
|
59
|
+
readonly maxItems: 3;
|
|
60
|
+
readonly default: readonly [0, 0, 0];
|
|
61
|
+
};
|
|
62
|
+
readonly parent: {
|
|
63
|
+
readonly type: "integer";
|
|
64
|
+
readonly minimum: -2147483648;
|
|
65
|
+
readonly maximum: 2147483647;
|
|
66
|
+
readonly default: number;
|
|
67
|
+
};
|
|
68
|
+
readonly _worldMatrix: {
|
|
69
|
+
readonly type: "array";
|
|
70
|
+
readonly items: {
|
|
71
|
+
readonly type: "number";
|
|
72
|
+
readonly precision: 1;
|
|
73
|
+
readonly default: number;
|
|
74
|
+
};
|
|
75
|
+
readonly minItems: 16;
|
|
76
|
+
readonly maxItems: 16;
|
|
77
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
78
|
+
};
|
|
79
|
+
readonly _worldBounds: {
|
|
80
|
+
readonly type: "object";
|
|
81
|
+
readonly properties: {
|
|
82
|
+
readonly min: {
|
|
83
|
+
readonly type: "array";
|
|
84
|
+
readonly items: {
|
|
85
|
+
readonly type: "number";
|
|
86
|
+
readonly precision: 1;
|
|
87
|
+
readonly default: number;
|
|
88
|
+
};
|
|
89
|
+
readonly minItems: 3;
|
|
90
|
+
readonly maxItems: 3;
|
|
91
|
+
readonly default: readonly [0, 0, 0];
|
|
92
|
+
};
|
|
93
|
+
readonly max: {
|
|
94
|
+
readonly type: "array";
|
|
95
|
+
readonly items: {
|
|
96
|
+
readonly type: "number";
|
|
97
|
+
readonly precision: 1;
|
|
98
|
+
readonly default: number;
|
|
99
|
+
};
|
|
100
|
+
readonly minItems: 3;
|
|
101
|
+
readonly maxItems: 3;
|
|
102
|
+
readonly default: readonly [0, 0, 0];
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly required: readonly ["min", "max"];
|
|
106
|
+
readonly additionalProperties: false;
|
|
107
|
+
readonly default: {
|
|
108
|
+
readonly min: readonly [0, 0, 0];
|
|
109
|
+
readonly max: readonly [0, 0, 0];
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
} & {} & {
|
|
113
|
+
readonly modelUrl: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
};
|
|
116
|
+
readonly geometry: {
|
|
117
|
+
readonly type: "integer";
|
|
118
|
+
readonly minimum: -2147483648;
|
|
119
|
+
readonly maximum: 2147483647;
|
|
120
|
+
readonly default: number;
|
|
121
|
+
};
|
|
122
|
+
} & {
|
|
21
123
|
readonly material: {
|
|
22
124
|
readonly type: "integer";
|
|
23
125
|
readonly minimum: -2147483648;
|
|
@@ -212,108 +314,6 @@ export declare const physicsRenderBridge: {
|
|
|
212
314
|
readonly colliderMesh: {
|
|
213
315
|
readonly default: ColliderMesh | null;
|
|
214
316
|
};
|
|
215
|
-
} & {
|
|
216
|
-
readonly visible: {
|
|
217
|
-
readonly type: "boolean";
|
|
218
|
-
readonly const: true;
|
|
219
|
-
readonly default: true;
|
|
220
|
-
};
|
|
221
|
-
readonly position: {
|
|
222
|
-
readonly type: "array";
|
|
223
|
-
readonly items: {
|
|
224
|
-
readonly type: "number";
|
|
225
|
-
readonly precision: 1;
|
|
226
|
-
readonly default: number;
|
|
227
|
-
};
|
|
228
|
-
readonly minItems: 3;
|
|
229
|
-
readonly maxItems: 3;
|
|
230
|
-
readonly default: readonly [0, 0, 0];
|
|
231
|
-
};
|
|
232
|
-
readonly rotation: {
|
|
233
|
-
readonly type: "array";
|
|
234
|
-
readonly items: {
|
|
235
|
-
readonly type: "number";
|
|
236
|
-
readonly precision: 1;
|
|
237
|
-
readonly default: number;
|
|
238
|
-
};
|
|
239
|
-
readonly minItems: 4;
|
|
240
|
-
readonly maxItems: 4;
|
|
241
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
242
|
-
readonly interpolators: {
|
|
243
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
readonly scale: {
|
|
247
|
-
readonly type: "array";
|
|
248
|
-
readonly items: {
|
|
249
|
-
readonly type: "number";
|
|
250
|
-
readonly precision: 1;
|
|
251
|
-
readonly default: number;
|
|
252
|
-
};
|
|
253
|
-
readonly minItems: 3;
|
|
254
|
-
readonly maxItems: 3;
|
|
255
|
-
readonly default: readonly [0, 0, 0];
|
|
256
|
-
};
|
|
257
|
-
readonly parent: {
|
|
258
|
-
readonly type: "integer";
|
|
259
|
-
readonly minimum: -2147483648;
|
|
260
|
-
readonly maximum: 2147483647;
|
|
261
|
-
readonly default: number;
|
|
262
|
-
};
|
|
263
|
-
readonly _worldMatrix: {
|
|
264
|
-
readonly type: "array";
|
|
265
|
-
readonly items: {
|
|
266
|
-
readonly type: "number";
|
|
267
|
-
readonly precision: 1;
|
|
268
|
-
readonly default: number;
|
|
269
|
-
};
|
|
270
|
-
readonly minItems: 16;
|
|
271
|
-
readonly maxItems: 16;
|
|
272
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
273
|
-
};
|
|
274
|
-
readonly _worldBounds: {
|
|
275
|
-
readonly type: "object";
|
|
276
|
-
readonly properties: {
|
|
277
|
-
readonly min: {
|
|
278
|
-
readonly type: "array";
|
|
279
|
-
readonly items: {
|
|
280
|
-
readonly type: "number";
|
|
281
|
-
readonly precision: 1;
|
|
282
|
-
readonly default: number;
|
|
283
|
-
};
|
|
284
|
-
readonly minItems: 3;
|
|
285
|
-
readonly maxItems: 3;
|
|
286
|
-
readonly default: readonly [0, 0, 0];
|
|
287
|
-
};
|
|
288
|
-
readonly max: {
|
|
289
|
-
readonly type: "array";
|
|
290
|
-
readonly items: {
|
|
291
|
-
readonly type: "number";
|
|
292
|
-
readonly precision: 1;
|
|
293
|
-
readonly default: number;
|
|
294
|
-
};
|
|
295
|
-
readonly minItems: 3;
|
|
296
|
-
readonly maxItems: 3;
|
|
297
|
-
readonly default: readonly [0, 0, 0];
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
readonly required: readonly ["min", "max"];
|
|
301
|
-
readonly additionalProperties: false;
|
|
302
|
-
readonly default: {
|
|
303
|
-
readonly min: readonly [0, 0, 0];
|
|
304
|
-
readonly max: readonly [0, 0, 0];
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
} & {} & {
|
|
308
|
-
readonly modelUrl: {
|
|
309
|
-
readonly type: "string";
|
|
310
|
-
};
|
|
311
|
-
readonly geometry: {
|
|
312
|
-
readonly type: "integer";
|
|
313
|
-
readonly minimum: -2147483648;
|
|
314
|
-
readonly maximum: 2147483647;
|
|
315
|
-
readonly default: number;
|
|
316
|
-
};
|
|
317
317
|
} & {
|
|
318
318
|
readonly _vertexBuffer: {
|
|
319
319
|
readonly default: GPUBuffer | null;
|
|
@@ -417,11 +417,6 @@ export declare const physicsRenderBridge: {
|
|
|
417
417
|
readonly default: GPUCommandEncoder | null;
|
|
418
418
|
readonly nonPersistent: true;
|
|
419
419
|
};
|
|
420
|
-
} & {
|
|
421
|
-
readonly physicsClock: {
|
|
422
|
-
readonly default: import("../../../index.js").PhysicsClock;
|
|
423
|
-
readonly nonPersistent: true;
|
|
424
|
-
};
|
|
425
420
|
} & {
|
|
426
421
|
readonly _shapeGeometry: {
|
|
427
422
|
readonly default: {
|
|
@@ -430,126 +425,31 @@ export declare const physicsRenderBridge: {
|
|
|
430
425
|
} | null;
|
|
431
426
|
readonly nonPersistent: true;
|
|
432
427
|
};
|
|
428
|
+
} & {
|
|
429
|
+
readonly physicsClock: {
|
|
430
|
+
readonly default: import("../../../index.js").PhysicsClock;
|
|
431
|
+
readonly nonPersistent: true;
|
|
432
|
+
};
|
|
433
433
|
};
|
|
434
434
|
readonly archetypes: {
|
|
435
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
436
|
+
} & {} & {
|
|
437
|
+
readonly Geometry: readonly ["modelUrl"];
|
|
438
|
+
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
439
|
+
} & {
|
|
435
440
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
436
441
|
} & {
|
|
437
442
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
438
443
|
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
439
444
|
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
440
445
|
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
441
|
-
} & {
|
|
442
|
-
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
443
|
-
} & {} & {
|
|
444
|
-
readonly Geometry: readonly ["modelUrl"];
|
|
445
|
-
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
446
446
|
} & {} & {
|
|
447
447
|
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
448
448
|
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
449
449
|
} & {} & {} & {} & {
|
|
450
450
|
readonly Prop: readonly ["geometry", "position", "rotation", "scale", "visible", "material"];
|
|
451
451
|
};
|
|
452
|
-
readonly transactions: {
|
|
453
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
454
|
-
readonly material: {
|
|
455
|
-
readonly type: "integer";
|
|
456
|
-
readonly minimum: -2147483648;
|
|
457
|
-
readonly maximum: 2147483647;
|
|
458
|
-
readonly default: number;
|
|
459
|
-
};
|
|
460
|
-
readonly name: {
|
|
461
|
-
readonly type: "string";
|
|
462
|
-
};
|
|
463
|
-
readonly density: {
|
|
464
|
-
readonly type: "number";
|
|
465
|
-
readonly precision: 1;
|
|
466
|
-
readonly default: number;
|
|
467
|
-
};
|
|
468
|
-
readonly restitution: {
|
|
469
|
-
readonly type: "number";
|
|
470
|
-
readonly precision: 1;
|
|
471
|
-
readonly default: number;
|
|
472
|
-
};
|
|
473
|
-
readonly friction: {
|
|
474
|
-
readonly type: "number";
|
|
475
|
-
readonly precision: 1;
|
|
476
|
-
readonly default: number;
|
|
477
|
-
};
|
|
478
|
-
readonly compliance: {
|
|
479
|
-
readonly type: "number";
|
|
480
|
-
readonly precision: 1;
|
|
481
|
-
readonly default: number;
|
|
482
|
-
};
|
|
483
|
-
readonly heatCapacity: {
|
|
484
|
-
readonly type: "number";
|
|
485
|
-
readonly precision: 1;
|
|
486
|
-
readonly default: number;
|
|
487
|
-
};
|
|
488
|
-
readonly baseColorFactor: {
|
|
489
|
-
readonly type: "array";
|
|
490
|
-
readonly items: {
|
|
491
|
-
readonly type: "number";
|
|
492
|
-
readonly precision: 1;
|
|
493
|
-
readonly default: number;
|
|
494
|
-
};
|
|
495
|
-
readonly minItems: 4;
|
|
496
|
-
readonly maxItems: 4;
|
|
497
|
-
readonly default: readonly [0, 0, 0, 0];
|
|
498
|
-
};
|
|
499
|
-
readonly emissiveFactor: {
|
|
500
|
-
readonly type: "array";
|
|
501
|
-
readonly items: {
|
|
502
|
-
readonly type: "number";
|
|
503
|
-
readonly precision: 1;
|
|
504
|
-
readonly default: number;
|
|
505
|
-
};
|
|
506
|
-
readonly minItems: 3;
|
|
507
|
-
readonly maxItems: 3;
|
|
508
|
-
readonly default: readonly [0, 0, 0];
|
|
509
|
-
};
|
|
510
|
-
readonly metallicFactor: {
|
|
511
|
-
readonly type: "number";
|
|
512
|
-
readonly precision: 1;
|
|
513
|
-
readonly default: number;
|
|
514
|
-
};
|
|
515
|
-
readonly roughnessFactor: {
|
|
516
|
-
readonly type: "number";
|
|
517
|
-
readonly precision: 1;
|
|
518
|
-
readonly default: number;
|
|
519
|
-
};
|
|
520
|
-
readonly normalScale: {
|
|
521
|
-
readonly type: "number";
|
|
522
|
-
readonly precision: 1;
|
|
523
|
-
readonly default: number;
|
|
524
|
-
};
|
|
525
|
-
readonly occlusionStrength: {
|
|
526
|
-
readonly type: "number";
|
|
527
|
-
readonly precision: 1;
|
|
528
|
-
readonly default: number;
|
|
529
|
-
};
|
|
530
|
-
readonly baseColorUrl: {
|
|
531
|
-
readonly type: "string";
|
|
532
|
-
};
|
|
533
|
-
readonly metallicRoughnessUrl: {
|
|
534
|
-
readonly type: "string";
|
|
535
|
-
};
|
|
536
|
-
readonly normalUrl: {
|
|
537
|
-
readonly type: "string";
|
|
538
|
-
};
|
|
539
|
-
readonly occlusionUrl: {
|
|
540
|
-
readonly type: "string";
|
|
541
|
-
};
|
|
542
|
-
readonly emissiveUrl: {
|
|
543
|
-
readonly type: "string";
|
|
544
|
-
};
|
|
545
|
-
}>, import("@adobe/data/schema").FromSchemas<{
|
|
546
|
-
readonly materials: {
|
|
547
|
-
readonly default: Record<string, Entity>;
|
|
548
|
-
};
|
|
549
|
-
}>, {
|
|
550
|
-
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
551
|
-
}, {}>) => void;
|
|
552
|
-
} & {} & {} & {} & {
|
|
452
|
+
readonly transactions: {} & {} & {
|
|
553
453
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
554
454
|
readonly modelUrl: {
|
|
555
455
|
readonly type: "string";
|
|
@@ -774,7 +674,107 @@ export declare const physicsRenderBridge: {
|
|
|
774
674
|
scale?: readonly [number, number, number];
|
|
775
675
|
parent?: number;
|
|
776
676
|
}) => number;
|
|
777
|
-
} & {
|
|
677
|
+
} & {
|
|
678
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
679
|
+
readonly material: {
|
|
680
|
+
readonly type: "integer";
|
|
681
|
+
readonly minimum: -2147483648;
|
|
682
|
+
readonly maximum: 2147483647;
|
|
683
|
+
readonly default: number;
|
|
684
|
+
};
|
|
685
|
+
readonly name: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
};
|
|
688
|
+
readonly density: {
|
|
689
|
+
readonly type: "number";
|
|
690
|
+
readonly precision: 1;
|
|
691
|
+
readonly default: number;
|
|
692
|
+
};
|
|
693
|
+
readonly restitution: {
|
|
694
|
+
readonly type: "number";
|
|
695
|
+
readonly precision: 1;
|
|
696
|
+
readonly default: number;
|
|
697
|
+
};
|
|
698
|
+
readonly friction: {
|
|
699
|
+
readonly type: "number";
|
|
700
|
+
readonly precision: 1;
|
|
701
|
+
readonly default: number;
|
|
702
|
+
};
|
|
703
|
+
readonly compliance: {
|
|
704
|
+
readonly type: "number";
|
|
705
|
+
readonly precision: 1;
|
|
706
|
+
readonly default: number;
|
|
707
|
+
};
|
|
708
|
+
readonly heatCapacity: {
|
|
709
|
+
readonly type: "number";
|
|
710
|
+
readonly precision: 1;
|
|
711
|
+
readonly default: number;
|
|
712
|
+
};
|
|
713
|
+
readonly baseColorFactor: {
|
|
714
|
+
readonly type: "array";
|
|
715
|
+
readonly items: {
|
|
716
|
+
readonly type: "number";
|
|
717
|
+
readonly precision: 1;
|
|
718
|
+
readonly default: number;
|
|
719
|
+
};
|
|
720
|
+
readonly minItems: 4;
|
|
721
|
+
readonly maxItems: 4;
|
|
722
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
723
|
+
};
|
|
724
|
+
readonly emissiveFactor: {
|
|
725
|
+
readonly type: "array";
|
|
726
|
+
readonly items: {
|
|
727
|
+
readonly type: "number";
|
|
728
|
+
readonly precision: 1;
|
|
729
|
+
readonly default: number;
|
|
730
|
+
};
|
|
731
|
+
readonly minItems: 3;
|
|
732
|
+
readonly maxItems: 3;
|
|
733
|
+
readonly default: readonly [0, 0, 0];
|
|
734
|
+
};
|
|
735
|
+
readonly metallicFactor: {
|
|
736
|
+
readonly type: "number";
|
|
737
|
+
readonly precision: 1;
|
|
738
|
+
readonly default: number;
|
|
739
|
+
};
|
|
740
|
+
readonly roughnessFactor: {
|
|
741
|
+
readonly type: "number";
|
|
742
|
+
readonly precision: 1;
|
|
743
|
+
readonly default: number;
|
|
744
|
+
};
|
|
745
|
+
readonly normalScale: {
|
|
746
|
+
readonly type: "number";
|
|
747
|
+
readonly precision: 1;
|
|
748
|
+
readonly default: number;
|
|
749
|
+
};
|
|
750
|
+
readonly occlusionStrength: {
|
|
751
|
+
readonly type: "number";
|
|
752
|
+
readonly precision: 1;
|
|
753
|
+
readonly default: number;
|
|
754
|
+
};
|
|
755
|
+
readonly baseColorUrl: {
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
};
|
|
758
|
+
readonly metallicRoughnessUrl: {
|
|
759
|
+
readonly type: "string";
|
|
760
|
+
};
|
|
761
|
+
readonly normalUrl: {
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
};
|
|
764
|
+
readonly occlusionUrl: {
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
};
|
|
767
|
+
readonly emissiveUrl: {
|
|
768
|
+
readonly type: "string";
|
|
769
|
+
};
|
|
770
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
771
|
+
readonly materials: {
|
|
772
|
+
readonly default: Record<string, Entity>;
|
|
773
|
+
};
|
|
774
|
+
}>, {
|
|
775
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
776
|
+
}, {}>) => void;
|
|
777
|
+
} & {} & {} & {} & {} & {
|
|
778
778
|
readonly insertShapePrimitive: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
779
779
|
readonly _vertexBuffer: {
|
|
780
780
|
readonly default: GPUBuffer | null;
|
|
@@ -970,7 +970,7 @@ export declare const physicsRenderBridge: {
|
|
|
970
970
|
indexBuffer: GPUBuffer;
|
|
971
971
|
indexCount: number;
|
|
972
972
|
}) => Entity;
|
|
973
|
-
} & {
|
|
973
|
+
} & {} & {
|
|
974
974
|
readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
975
975
|
readonly physicsClock: {
|
|
976
976
|
readonly default: import("../../../index.js").PhysicsClock;
|
|
@@ -995,8 +995,8 @@ export declare const physicsRenderBridge: {
|
|
|
995
995
|
readonly nonPersistent: true;
|
|
996
996
|
};
|
|
997
997
|
}>, {}, {}>, hz: number) => void;
|
|
998
|
-
} & {} & {}
|
|
999
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
998
|
+
} & {} & {};
|
|
999
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "shapeGeometryInit" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix" | "physicsBridge">;
|
|
1000
1000
|
readonly actions: {};
|
|
1001
1001
|
readonly services: {};
|
|
1002
1002
|
readonly computed: {};
|