@adobe/data-gpu 0.9.72 → 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
|
@@ -22,202 +22,7 @@ import type { ColliderMesh } from "../../physics/body/collider-mesh.js";
|
|
|
22
22
|
* alone — it renders as the detailed model and collides as the generated shape.
|
|
23
23
|
*/
|
|
24
24
|
export declare const modelCollider: {
|
|
25
|
-
readonly components: {
|
|
26
|
-
readonly material: {
|
|
27
|
-
readonly type: "integer";
|
|
28
|
-
readonly minimum: -2147483648;
|
|
29
|
-
readonly maximum: 2147483647;
|
|
30
|
-
readonly default: number;
|
|
31
|
-
};
|
|
32
|
-
readonly name: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
};
|
|
35
|
-
readonly density: {
|
|
36
|
-
readonly type: "number";
|
|
37
|
-
readonly precision: 1;
|
|
38
|
-
readonly default: number;
|
|
39
|
-
};
|
|
40
|
-
readonly restitution: {
|
|
41
|
-
readonly type: "number";
|
|
42
|
-
readonly precision: 1;
|
|
43
|
-
readonly default: number;
|
|
44
|
-
};
|
|
45
|
-
readonly friction: {
|
|
46
|
-
readonly type: "number";
|
|
47
|
-
readonly precision: 1;
|
|
48
|
-
readonly default: number;
|
|
49
|
-
};
|
|
50
|
-
readonly compliance: {
|
|
51
|
-
readonly type: "number";
|
|
52
|
-
readonly precision: 1;
|
|
53
|
-
readonly default: number;
|
|
54
|
-
};
|
|
55
|
-
readonly heatCapacity: {
|
|
56
|
-
readonly type: "number";
|
|
57
|
-
readonly precision: 1;
|
|
58
|
-
readonly default: number;
|
|
59
|
-
};
|
|
60
|
-
readonly baseColorFactor: {
|
|
61
|
-
readonly type: "array";
|
|
62
|
-
readonly items: {
|
|
63
|
-
readonly type: "number";
|
|
64
|
-
readonly precision: 1;
|
|
65
|
-
readonly default: number;
|
|
66
|
-
};
|
|
67
|
-
readonly minItems: 4;
|
|
68
|
-
readonly maxItems: 4;
|
|
69
|
-
readonly default: readonly [0, 0, 0, 0];
|
|
70
|
-
};
|
|
71
|
-
readonly emissiveFactor: {
|
|
72
|
-
readonly type: "array";
|
|
73
|
-
readonly items: {
|
|
74
|
-
readonly type: "number";
|
|
75
|
-
readonly precision: 1;
|
|
76
|
-
readonly default: number;
|
|
77
|
-
};
|
|
78
|
-
readonly minItems: 3;
|
|
79
|
-
readonly maxItems: 3;
|
|
80
|
-
readonly default: readonly [0, 0, 0];
|
|
81
|
-
};
|
|
82
|
-
readonly metallicFactor: {
|
|
83
|
-
readonly type: "number";
|
|
84
|
-
readonly precision: 1;
|
|
85
|
-
readonly default: number;
|
|
86
|
-
};
|
|
87
|
-
readonly roughnessFactor: {
|
|
88
|
-
readonly type: "number";
|
|
89
|
-
readonly precision: 1;
|
|
90
|
-
readonly default: number;
|
|
91
|
-
};
|
|
92
|
-
readonly normalScale: {
|
|
93
|
-
readonly type: "number";
|
|
94
|
-
readonly precision: 1;
|
|
95
|
-
readonly default: number;
|
|
96
|
-
};
|
|
97
|
-
readonly occlusionStrength: {
|
|
98
|
-
readonly type: "number";
|
|
99
|
-
readonly precision: 1;
|
|
100
|
-
readonly default: number;
|
|
101
|
-
};
|
|
102
|
-
readonly baseColorUrl: {
|
|
103
|
-
readonly type: "string";
|
|
104
|
-
};
|
|
105
|
-
readonly metallicRoughnessUrl: {
|
|
106
|
-
readonly type: "string";
|
|
107
|
-
};
|
|
108
|
-
readonly normalUrl: {
|
|
109
|
-
readonly type: "string";
|
|
110
|
-
};
|
|
111
|
-
readonly occlusionUrl: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
};
|
|
114
|
-
readonly emissiveUrl: {
|
|
115
|
-
readonly type: "string";
|
|
116
|
-
};
|
|
117
|
-
} & {
|
|
118
|
-
readonly bodyType: {
|
|
119
|
-
readonly type: "string";
|
|
120
|
-
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
121
|
-
};
|
|
122
|
-
readonly colliderShape: {
|
|
123
|
-
readonly type: "string";
|
|
124
|
-
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
125
|
-
};
|
|
126
|
-
readonly halfExtents: {
|
|
127
|
-
readonly type: "array";
|
|
128
|
-
readonly items: {
|
|
129
|
-
readonly type: "number";
|
|
130
|
-
readonly precision: 1;
|
|
131
|
-
readonly default: number;
|
|
132
|
-
};
|
|
133
|
-
readonly minItems: 3;
|
|
134
|
-
readonly maxItems: 3;
|
|
135
|
-
readonly default: readonly [0, 0, 0];
|
|
136
|
-
};
|
|
137
|
-
readonly position: {
|
|
138
|
-
readonly type: "array";
|
|
139
|
-
readonly items: {
|
|
140
|
-
readonly type: "number";
|
|
141
|
-
readonly precision: 1;
|
|
142
|
-
readonly default: number;
|
|
143
|
-
};
|
|
144
|
-
readonly minItems: 3;
|
|
145
|
-
readonly maxItems: 3;
|
|
146
|
-
readonly default: readonly [0, 0, 0];
|
|
147
|
-
};
|
|
148
|
-
readonly rotation: {
|
|
149
|
-
readonly type: "array";
|
|
150
|
-
readonly items: {
|
|
151
|
-
readonly type: "number";
|
|
152
|
-
readonly precision: 1;
|
|
153
|
-
readonly default: number;
|
|
154
|
-
};
|
|
155
|
-
readonly minItems: 4;
|
|
156
|
-
readonly maxItems: 4;
|
|
157
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
158
|
-
readonly interpolators: {
|
|
159
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
readonly linearVelocity: {
|
|
163
|
-
readonly type: "array";
|
|
164
|
-
readonly items: {
|
|
165
|
-
readonly type: "number";
|
|
166
|
-
readonly precision: 1;
|
|
167
|
-
readonly default: number;
|
|
168
|
-
};
|
|
169
|
-
readonly minItems: 3;
|
|
170
|
-
readonly maxItems: 3;
|
|
171
|
-
readonly default: readonly [0, 0, 0];
|
|
172
|
-
};
|
|
173
|
-
readonly angularVelocity: {
|
|
174
|
-
readonly type: "array";
|
|
175
|
-
readonly items: {
|
|
176
|
-
readonly type: "number";
|
|
177
|
-
readonly precision: 1;
|
|
178
|
-
readonly default: number;
|
|
179
|
-
};
|
|
180
|
-
readonly minItems: 3;
|
|
181
|
-
readonly maxItems: 3;
|
|
182
|
-
readonly default: readonly [0, 0, 0];
|
|
183
|
-
};
|
|
184
|
-
readonly _prevPosition: {
|
|
185
|
-
readonly type: "array";
|
|
186
|
-
readonly items: {
|
|
187
|
-
readonly type: "number";
|
|
188
|
-
readonly precision: 1;
|
|
189
|
-
readonly default: number;
|
|
190
|
-
};
|
|
191
|
-
readonly minItems: 3;
|
|
192
|
-
readonly maxItems: 3;
|
|
193
|
-
readonly default: readonly [0, 0, 0];
|
|
194
|
-
};
|
|
195
|
-
readonly _prevRotation: {
|
|
196
|
-
readonly type: "array";
|
|
197
|
-
readonly items: {
|
|
198
|
-
readonly type: "number";
|
|
199
|
-
readonly precision: 1;
|
|
200
|
-
readonly default: number;
|
|
201
|
-
};
|
|
202
|
-
readonly minItems: 4;
|
|
203
|
-
readonly maxItems: 4;
|
|
204
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
205
|
-
readonly interpolators: {
|
|
206
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
readonly collisionGroup: {
|
|
210
|
-
readonly type: "number";
|
|
211
|
-
readonly precision: 1;
|
|
212
|
-
readonly default: number;
|
|
213
|
-
};
|
|
214
|
-
readonly convexPoints: {
|
|
215
|
-
readonly default: Float32Array | null;
|
|
216
|
-
};
|
|
217
|
-
readonly colliderMesh: {
|
|
218
|
-
readonly default: ColliderMesh | null;
|
|
219
|
-
};
|
|
220
|
-
} & {} & {
|
|
25
|
+
readonly components: {} & {
|
|
221
26
|
readonly _vertexBuffer: {
|
|
222
27
|
readonly default: GPUBuffer | null;
|
|
223
28
|
};
|
|
@@ -422,24 +227,219 @@ export declare const modelCollider: {
|
|
|
422
227
|
readonly _skinJointTemplate: {
|
|
423
228
|
readonly default: import("../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
424
229
|
};
|
|
425
|
-
readonly _skinInverseBindMatrices: {
|
|
426
|
-
readonly default: Float32Array | null;
|
|
230
|
+
readonly _skinInverseBindMatrices: {
|
|
231
|
+
readonly default: Float32Array | null;
|
|
232
|
+
};
|
|
233
|
+
readonly _animationClipRefs: {
|
|
234
|
+
readonly default: number[];
|
|
235
|
+
};
|
|
236
|
+
readonly _cpuPositions: {
|
|
237
|
+
readonly default: Float32Array | null;
|
|
238
|
+
};
|
|
239
|
+
readonly _cpuIndices: {
|
|
240
|
+
readonly default: Uint32Array | null;
|
|
241
|
+
};
|
|
242
|
+
readonly _cpuSkin: {
|
|
243
|
+
readonly default: {
|
|
244
|
+
positions: Float32Array;
|
|
245
|
+
joints: Uint32Array;
|
|
246
|
+
weights: Float32Array;
|
|
247
|
+
} | null;
|
|
248
|
+
};
|
|
249
|
+
} & {
|
|
250
|
+
readonly material: {
|
|
251
|
+
readonly type: "integer";
|
|
252
|
+
readonly minimum: -2147483648;
|
|
253
|
+
readonly maximum: 2147483647;
|
|
254
|
+
readonly default: number;
|
|
255
|
+
};
|
|
256
|
+
readonly name: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
};
|
|
259
|
+
readonly density: {
|
|
260
|
+
readonly type: "number";
|
|
261
|
+
readonly precision: 1;
|
|
262
|
+
readonly default: number;
|
|
263
|
+
};
|
|
264
|
+
readonly restitution: {
|
|
265
|
+
readonly type: "number";
|
|
266
|
+
readonly precision: 1;
|
|
267
|
+
readonly default: number;
|
|
268
|
+
};
|
|
269
|
+
readonly friction: {
|
|
270
|
+
readonly type: "number";
|
|
271
|
+
readonly precision: 1;
|
|
272
|
+
readonly default: number;
|
|
273
|
+
};
|
|
274
|
+
readonly compliance: {
|
|
275
|
+
readonly type: "number";
|
|
276
|
+
readonly precision: 1;
|
|
277
|
+
readonly default: number;
|
|
278
|
+
};
|
|
279
|
+
readonly heatCapacity: {
|
|
280
|
+
readonly type: "number";
|
|
281
|
+
readonly precision: 1;
|
|
282
|
+
readonly default: number;
|
|
283
|
+
};
|
|
284
|
+
readonly baseColorFactor: {
|
|
285
|
+
readonly type: "array";
|
|
286
|
+
readonly items: {
|
|
287
|
+
readonly type: "number";
|
|
288
|
+
readonly precision: 1;
|
|
289
|
+
readonly default: number;
|
|
290
|
+
};
|
|
291
|
+
readonly minItems: 4;
|
|
292
|
+
readonly maxItems: 4;
|
|
293
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
294
|
+
};
|
|
295
|
+
readonly emissiveFactor: {
|
|
296
|
+
readonly type: "array";
|
|
297
|
+
readonly items: {
|
|
298
|
+
readonly type: "number";
|
|
299
|
+
readonly precision: 1;
|
|
300
|
+
readonly default: number;
|
|
301
|
+
};
|
|
302
|
+
readonly minItems: 3;
|
|
303
|
+
readonly maxItems: 3;
|
|
304
|
+
readonly default: readonly [0, 0, 0];
|
|
305
|
+
};
|
|
306
|
+
readonly metallicFactor: {
|
|
307
|
+
readonly type: "number";
|
|
308
|
+
readonly precision: 1;
|
|
309
|
+
readonly default: number;
|
|
310
|
+
};
|
|
311
|
+
readonly roughnessFactor: {
|
|
312
|
+
readonly type: "number";
|
|
313
|
+
readonly precision: 1;
|
|
314
|
+
readonly default: number;
|
|
315
|
+
};
|
|
316
|
+
readonly normalScale: {
|
|
317
|
+
readonly type: "number";
|
|
318
|
+
readonly precision: 1;
|
|
319
|
+
readonly default: number;
|
|
320
|
+
};
|
|
321
|
+
readonly occlusionStrength: {
|
|
322
|
+
readonly type: "number";
|
|
323
|
+
readonly precision: 1;
|
|
324
|
+
readonly default: number;
|
|
325
|
+
};
|
|
326
|
+
readonly baseColorUrl: {
|
|
327
|
+
readonly type: "string";
|
|
328
|
+
};
|
|
329
|
+
readonly metallicRoughnessUrl: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
};
|
|
332
|
+
readonly normalUrl: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
};
|
|
335
|
+
readonly occlusionUrl: {
|
|
336
|
+
readonly type: "string";
|
|
337
|
+
};
|
|
338
|
+
readonly emissiveUrl: {
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
};
|
|
341
|
+
} & {
|
|
342
|
+
readonly bodyType: {
|
|
343
|
+
readonly type: "string";
|
|
344
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
345
|
+
};
|
|
346
|
+
readonly colliderShape: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
349
|
+
};
|
|
350
|
+
readonly halfExtents: {
|
|
351
|
+
readonly type: "array";
|
|
352
|
+
readonly items: {
|
|
353
|
+
readonly type: "number";
|
|
354
|
+
readonly precision: 1;
|
|
355
|
+
readonly default: number;
|
|
356
|
+
};
|
|
357
|
+
readonly minItems: 3;
|
|
358
|
+
readonly maxItems: 3;
|
|
359
|
+
readonly default: readonly [0, 0, 0];
|
|
360
|
+
};
|
|
361
|
+
readonly position: {
|
|
362
|
+
readonly type: "array";
|
|
363
|
+
readonly items: {
|
|
364
|
+
readonly type: "number";
|
|
365
|
+
readonly precision: 1;
|
|
366
|
+
readonly default: number;
|
|
367
|
+
};
|
|
368
|
+
readonly minItems: 3;
|
|
369
|
+
readonly maxItems: 3;
|
|
370
|
+
readonly default: readonly [0, 0, 0];
|
|
371
|
+
};
|
|
372
|
+
readonly rotation: {
|
|
373
|
+
readonly type: "array";
|
|
374
|
+
readonly items: {
|
|
375
|
+
readonly type: "number";
|
|
376
|
+
readonly precision: 1;
|
|
377
|
+
readonly default: number;
|
|
378
|
+
};
|
|
379
|
+
readonly minItems: 4;
|
|
380
|
+
readonly maxItems: 4;
|
|
381
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
382
|
+
readonly interpolators: {
|
|
383
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly linearVelocity: {
|
|
387
|
+
readonly type: "array";
|
|
388
|
+
readonly items: {
|
|
389
|
+
readonly type: "number";
|
|
390
|
+
readonly precision: 1;
|
|
391
|
+
readonly default: number;
|
|
392
|
+
};
|
|
393
|
+
readonly minItems: 3;
|
|
394
|
+
readonly maxItems: 3;
|
|
395
|
+
readonly default: readonly [0, 0, 0];
|
|
396
|
+
};
|
|
397
|
+
readonly angularVelocity: {
|
|
398
|
+
readonly type: "array";
|
|
399
|
+
readonly items: {
|
|
400
|
+
readonly type: "number";
|
|
401
|
+
readonly precision: 1;
|
|
402
|
+
readonly default: number;
|
|
403
|
+
};
|
|
404
|
+
readonly minItems: 3;
|
|
405
|
+
readonly maxItems: 3;
|
|
406
|
+
readonly default: readonly [0, 0, 0];
|
|
407
|
+
};
|
|
408
|
+
readonly _prevPosition: {
|
|
409
|
+
readonly type: "array";
|
|
410
|
+
readonly items: {
|
|
411
|
+
readonly type: "number";
|
|
412
|
+
readonly precision: 1;
|
|
413
|
+
readonly default: number;
|
|
414
|
+
};
|
|
415
|
+
readonly minItems: 3;
|
|
416
|
+
readonly maxItems: 3;
|
|
417
|
+
readonly default: readonly [0, 0, 0];
|
|
418
|
+
};
|
|
419
|
+
readonly _prevRotation: {
|
|
420
|
+
readonly type: "array";
|
|
421
|
+
readonly items: {
|
|
422
|
+
readonly type: "number";
|
|
423
|
+
readonly precision: 1;
|
|
424
|
+
readonly default: number;
|
|
425
|
+
};
|
|
426
|
+
readonly minItems: 4;
|
|
427
|
+
readonly maxItems: 4;
|
|
428
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
429
|
+
readonly interpolators: {
|
|
430
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
431
|
+
};
|
|
427
432
|
};
|
|
428
|
-
readonly
|
|
429
|
-
readonly
|
|
433
|
+
readonly collisionGroup: {
|
|
434
|
+
readonly type: "number";
|
|
435
|
+
readonly precision: 1;
|
|
436
|
+
readonly default: number;
|
|
430
437
|
};
|
|
431
|
-
readonly
|
|
438
|
+
readonly convexPoints: {
|
|
432
439
|
readonly default: Float32Array | null;
|
|
433
440
|
};
|
|
434
|
-
readonly
|
|
435
|
-
readonly default:
|
|
436
|
-
};
|
|
437
|
-
readonly _cpuSkin: {
|
|
438
|
-
readonly default: {
|
|
439
|
-
positions: Float32Array;
|
|
440
|
-
joints: Uint32Array;
|
|
441
|
-
weights: Float32Array;
|
|
442
|
-
} | null;
|
|
441
|
+
readonly colliderMesh: {
|
|
442
|
+
readonly default: ColliderMesh | null;
|
|
443
443
|
};
|
|
444
444
|
} & {
|
|
445
445
|
readonly collisionGeometry: {
|
|
@@ -449,11 +449,7 @@ export declare const modelCollider: {
|
|
|
449
449
|
readonly default: number;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
|
-
readonly resources: {
|
|
453
|
-
readonly materials: {
|
|
454
|
-
readonly default: Record<string, Entity>;
|
|
455
|
-
};
|
|
456
|
-
} & {} & {
|
|
452
|
+
readonly resources: {} & {
|
|
457
453
|
readonly frameTime: {
|
|
458
454
|
readonly default: import("../../core/frame-time/public.js");
|
|
459
455
|
readonly nonPersistent: true;
|
|
@@ -471,15 +467,12 @@ export declare const modelCollider: {
|
|
|
471
467
|
readonly default: GPUCommandEncoder | null;
|
|
472
468
|
readonly nonPersistent: true;
|
|
473
469
|
};
|
|
474
|
-
};
|
|
475
|
-
readonly archetypes: {
|
|
476
|
-
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
477
470
|
} & {
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
471
|
+
readonly materials: {
|
|
472
|
+
readonly default: Record<string, Entity>;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
readonly archetypes: {} & {
|
|
483
476
|
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
484
477
|
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
485
478
|
} & {
|
|
@@ -492,110 +485,17 @@ export declare const modelCollider: {
|
|
|
492
485
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
493
486
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
494
487
|
} & {} & {} & {
|
|
488
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
489
|
+
} & {
|
|
490
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
491
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
492
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
493
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
494
|
+
} & {
|
|
495
495
|
readonly ModelBody: readonly ["geometry", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
496
496
|
readonly StaticModelCollider: readonly ["geometry", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
497
497
|
};
|
|
498
|
-
readonly transactions: {
|
|
499
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
500
|
-
readonly material: {
|
|
501
|
-
readonly type: "integer";
|
|
502
|
-
readonly minimum: -2147483648;
|
|
503
|
-
readonly maximum: 2147483647;
|
|
504
|
-
readonly default: number;
|
|
505
|
-
};
|
|
506
|
-
readonly name: {
|
|
507
|
-
readonly type: "string";
|
|
508
|
-
};
|
|
509
|
-
readonly density: {
|
|
510
|
-
readonly type: "number";
|
|
511
|
-
readonly precision: 1;
|
|
512
|
-
readonly default: number;
|
|
513
|
-
};
|
|
514
|
-
readonly restitution: {
|
|
515
|
-
readonly type: "number";
|
|
516
|
-
readonly precision: 1;
|
|
517
|
-
readonly default: number;
|
|
518
|
-
};
|
|
519
|
-
readonly friction: {
|
|
520
|
-
readonly type: "number";
|
|
521
|
-
readonly precision: 1;
|
|
522
|
-
readonly default: number;
|
|
523
|
-
};
|
|
524
|
-
readonly compliance: {
|
|
525
|
-
readonly type: "number";
|
|
526
|
-
readonly precision: 1;
|
|
527
|
-
readonly default: number;
|
|
528
|
-
};
|
|
529
|
-
readonly heatCapacity: {
|
|
530
|
-
readonly type: "number";
|
|
531
|
-
readonly precision: 1;
|
|
532
|
-
readonly default: number;
|
|
533
|
-
};
|
|
534
|
-
readonly baseColorFactor: {
|
|
535
|
-
readonly type: "array";
|
|
536
|
-
readonly items: {
|
|
537
|
-
readonly type: "number";
|
|
538
|
-
readonly precision: 1;
|
|
539
|
-
readonly default: number;
|
|
540
|
-
};
|
|
541
|
-
readonly minItems: 4;
|
|
542
|
-
readonly maxItems: 4;
|
|
543
|
-
readonly default: readonly [0, 0, 0, 0];
|
|
544
|
-
};
|
|
545
|
-
readonly emissiveFactor: {
|
|
546
|
-
readonly type: "array";
|
|
547
|
-
readonly items: {
|
|
548
|
-
readonly type: "number";
|
|
549
|
-
readonly precision: 1;
|
|
550
|
-
readonly default: number;
|
|
551
|
-
};
|
|
552
|
-
readonly minItems: 3;
|
|
553
|
-
readonly maxItems: 3;
|
|
554
|
-
readonly default: readonly [0, 0, 0];
|
|
555
|
-
};
|
|
556
|
-
readonly metallicFactor: {
|
|
557
|
-
readonly type: "number";
|
|
558
|
-
readonly precision: 1;
|
|
559
|
-
readonly default: number;
|
|
560
|
-
};
|
|
561
|
-
readonly roughnessFactor: {
|
|
562
|
-
readonly type: "number";
|
|
563
|
-
readonly precision: 1;
|
|
564
|
-
readonly default: number;
|
|
565
|
-
};
|
|
566
|
-
readonly normalScale: {
|
|
567
|
-
readonly type: "number";
|
|
568
|
-
readonly precision: 1;
|
|
569
|
-
readonly default: number;
|
|
570
|
-
};
|
|
571
|
-
readonly occlusionStrength: {
|
|
572
|
-
readonly type: "number";
|
|
573
|
-
readonly precision: 1;
|
|
574
|
-
readonly default: number;
|
|
575
|
-
};
|
|
576
|
-
readonly baseColorUrl: {
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
};
|
|
579
|
-
readonly metallicRoughnessUrl: {
|
|
580
|
-
readonly type: "string";
|
|
581
|
-
};
|
|
582
|
-
readonly normalUrl: {
|
|
583
|
-
readonly type: "string";
|
|
584
|
-
};
|
|
585
|
-
readonly occlusionUrl: {
|
|
586
|
-
readonly type: "string";
|
|
587
|
-
};
|
|
588
|
-
readonly emissiveUrl: {
|
|
589
|
-
readonly type: "string";
|
|
590
|
-
};
|
|
591
|
-
}>, import("@adobe/data/schema").FromSchemas<{
|
|
592
|
-
readonly materials: {
|
|
593
|
-
readonly default: Record<string, Entity>;
|
|
594
|
-
};
|
|
595
|
-
}>, {
|
|
596
|
-
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
597
|
-
}, {}>) => void;
|
|
598
|
-
} & {} & {} & {} & {} & {} & {} & {
|
|
498
|
+
readonly transactions: {} & {} & {} & {
|
|
599
499
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
600
500
|
readonly modelUrl: {
|
|
601
501
|
readonly type: "string";
|
|
@@ -820,7 +720,7 @@ export declare const modelCollider: {
|
|
|
820
720
|
scale?: readonly [number, number, number];
|
|
821
721
|
parent?: number;
|
|
822
722
|
}) => number;
|
|
823
|
-
} & {} & {
|
|
723
|
+
} & {} & {} & {} & {
|
|
824
724
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
825
725
|
readonly animationClipTracks: {
|
|
826
726
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
@@ -1223,8 +1123,108 @@ export declare const modelCollider: {
|
|
|
1223
1123
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1224
1124
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1225
1125
|
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
1226
|
-
} & {
|
|
1227
|
-
|
|
1126
|
+
} & {
|
|
1127
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1128
|
+
readonly material: {
|
|
1129
|
+
readonly type: "integer";
|
|
1130
|
+
readonly minimum: -2147483648;
|
|
1131
|
+
readonly maximum: 2147483647;
|
|
1132
|
+
readonly default: number;
|
|
1133
|
+
};
|
|
1134
|
+
readonly name: {
|
|
1135
|
+
readonly type: "string";
|
|
1136
|
+
};
|
|
1137
|
+
readonly density: {
|
|
1138
|
+
readonly type: "number";
|
|
1139
|
+
readonly precision: 1;
|
|
1140
|
+
readonly default: number;
|
|
1141
|
+
};
|
|
1142
|
+
readonly restitution: {
|
|
1143
|
+
readonly type: "number";
|
|
1144
|
+
readonly precision: 1;
|
|
1145
|
+
readonly default: number;
|
|
1146
|
+
};
|
|
1147
|
+
readonly friction: {
|
|
1148
|
+
readonly type: "number";
|
|
1149
|
+
readonly precision: 1;
|
|
1150
|
+
readonly default: number;
|
|
1151
|
+
};
|
|
1152
|
+
readonly compliance: {
|
|
1153
|
+
readonly type: "number";
|
|
1154
|
+
readonly precision: 1;
|
|
1155
|
+
readonly default: number;
|
|
1156
|
+
};
|
|
1157
|
+
readonly heatCapacity: {
|
|
1158
|
+
readonly type: "number";
|
|
1159
|
+
readonly precision: 1;
|
|
1160
|
+
readonly default: number;
|
|
1161
|
+
};
|
|
1162
|
+
readonly baseColorFactor: {
|
|
1163
|
+
readonly type: "array";
|
|
1164
|
+
readonly items: {
|
|
1165
|
+
readonly type: "number";
|
|
1166
|
+
readonly precision: 1;
|
|
1167
|
+
readonly default: number;
|
|
1168
|
+
};
|
|
1169
|
+
readonly minItems: 4;
|
|
1170
|
+
readonly maxItems: 4;
|
|
1171
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1172
|
+
};
|
|
1173
|
+
readonly emissiveFactor: {
|
|
1174
|
+
readonly type: "array";
|
|
1175
|
+
readonly items: {
|
|
1176
|
+
readonly type: "number";
|
|
1177
|
+
readonly precision: 1;
|
|
1178
|
+
readonly default: number;
|
|
1179
|
+
};
|
|
1180
|
+
readonly minItems: 3;
|
|
1181
|
+
readonly maxItems: 3;
|
|
1182
|
+
readonly default: readonly [0, 0, 0];
|
|
1183
|
+
};
|
|
1184
|
+
readonly metallicFactor: {
|
|
1185
|
+
readonly type: "number";
|
|
1186
|
+
readonly precision: 1;
|
|
1187
|
+
readonly default: number;
|
|
1188
|
+
};
|
|
1189
|
+
readonly roughnessFactor: {
|
|
1190
|
+
readonly type: "number";
|
|
1191
|
+
readonly precision: 1;
|
|
1192
|
+
readonly default: number;
|
|
1193
|
+
};
|
|
1194
|
+
readonly normalScale: {
|
|
1195
|
+
readonly type: "number";
|
|
1196
|
+
readonly precision: 1;
|
|
1197
|
+
readonly default: number;
|
|
1198
|
+
};
|
|
1199
|
+
readonly occlusionStrength: {
|
|
1200
|
+
readonly type: "number";
|
|
1201
|
+
readonly precision: 1;
|
|
1202
|
+
readonly default: number;
|
|
1203
|
+
};
|
|
1204
|
+
readonly baseColorUrl: {
|
|
1205
|
+
readonly type: "string";
|
|
1206
|
+
};
|
|
1207
|
+
readonly metallicRoughnessUrl: {
|
|
1208
|
+
readonly type: "string";
|
|
1209
|
+
};
|
|
1210
|
+
readonly normalUrl: {
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
};
|
|
1213
|
+
readonly occlusionUrl: {
|
|
1214
|
+
readonly type: "string";
|
|
1215
|
+
};
|
|
1216
|
+
readonly emissiveUrl: {
|
|
1217
|
+
readonly type: "string";
|
|
1218
|
+
};
|
|
1219
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
1220
|
+
readonly materials: {
|
|
1221
|
+
readonly default: Record<string, Entity>;
|
|
1222
|
+
};
|
|
1223
|
+
}>, {
|
|
1224
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
1225
|
+
}, {}>) => void;
|
|
1226
|
+
} & {} & {};
|
|
1227
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
|
|
1228
1228
|
readonly actions: {};
|
|
1229
1229
|
readonly services: {};
|
|
1230
1230
|
readonly computed: {};
|