@adobe/data-gpu 0.9.69 → 0.9.72
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 +4 -4
- package/dist/core/core-plugin.js +2 -2
- package/dist/core/core-plugin.js.map +1 -1
- package/dist/core/frame-time/frame-time-plugin.d.ts +1 -1
- package/dist/core/frame-time/frame-time-plugin.js +1 -1
- package/dist/core/frame-time/frame-time-plugin.js.map +1 -1
- package/dist/graphics/animation/animation-plugin.d.ts +3 -3
- package/dist/graphics/camera/camera-plugin.d.ts +21 -21
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +51 -51
- package/dist/graphics/graphics-plugin.d.ts +21 -21
- package/dist/graphics/graphics-plugin.js +7 -7
- package/dist/graphics/graphics-plugin.js.map +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +622 -622
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +260 -260
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +103 -103
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +4 -4
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/interpolation-plugin.d.ts +133 -133
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +208 -208
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +7 -7
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +3 -3
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +126 -126
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +106 -106
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +261 -261
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js +1 -1
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js.map +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +156 -156
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +126 -126
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +125 -125
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +1 -1
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +121 -121
- package/dist/graphics/scene/scene-plugin.d.ts +36 -36
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +34 -34
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js +1 -1
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js.map +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +9 -9
- package/dist/physics/physics-clock-plugin.js +1 -1
- package/dist/physics/physics-clock-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +38 -38
- package/dist/physics/solvers/jolt-solver-plugin.js +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +37 -37
- package/package.json +2 -2
- package/src/core/core-plugin.ts +2 -2
- package/src/core/frame-time/frame-time-plugin.ts +1 -1
- package/src/graphics/graphics-plugin.ts +7 -7
- package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +4 -4
- package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +3 -3
- package/src/graphics/rendering/ragdoll-trigger-plugin.ts +1 -1
- package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +1 -1
- package/src/graphics/scene/scene-uniforms/scene-uniforms-plugin.ts +1 -1
- package/src/physics/physics-clock-plugin.ts +1 -1
- package/src/physics/solvers/jolt-solver-plugin.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -18,108 +18,6 @@ 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
|
-
} & {
|
|
123
21
|
readonly material: {
|
|
124
22
|
readonly type: "integer";
|
|
125
23
|
readonly minimum: -2147483648;
|
|
@@ -314,6 +212,108 @@ export declare const physicsRenderBridge: {
|
|
|
314
212
|
readonly colliderMesh: {
|
|
315
213
|
readonly default: ColliderMesh | null;
|
|
316
214
|
};
|
|
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;
|
|
@@ -402,7 +402,7 @@ export declare const physicsRenderBridge: {
|
|
|
402
402
|
} & {
|
|
403
403
|
readonly frameTime: {
|
|
404
404
|
readonly default: import("../../../core/frame-time/public.js");
|
|
405
|
-
readonly
|
|
405
|
+
readonly nonPersistent: true;
|
|
406
406
|
};
|
|
407
407
|
} & {
|
|
408
408
|
readonly schedulerState: {
|
|
@@ -411,16 +411,16 @@ export declare const physicsRenderBridge: {
|
|
|
411
411
|
} & {
|
|
412
412
|
readonly device: {
|
|
413
413
|
readonly default: GPUDevice | null;
|
|
414
|
-
readonly
|
|
414
|
+
readonly nonPersistent: true;
|
|
415
415
|
};
|
|
416
416
|
readonly commandEncoder: {
|
|
417
417
|
readonly default: GPUCommandEncoder | null;
|
|
418
|
-
readonly
|
|
418
|
+
readonly nonPersistent: true;
|
|
419
419
|
};
|
|
420
420
|
} & {
|
|
421
421
|
readonly physicsClock: {
|
|
422
422
|
readonly default: import("../../../index.js").PhysicsClock;
|
|
423
|
-
readonly
|
|
423
|
+
readonly nonPersistent: true;
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
426
426
|
readonly _shapeGeometry: {
|
|
@@ -428,28 +428,128 @@ export declare const physicsRenderBridge: {
|
|
|
428
428
|
sphere: Entity;
|
|
429
429
|
cube: Entity;
|
|
430
430
|
} | null;
|
|
431
|
-
readonly
|
|
431
|
+
readonly nonPersistent: true;
|
|
432
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
|
-
} & {
|
|
440
435
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
441
436
|
} & {
|
|
442
437
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
443
438
|
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
444
439
|
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
445
440
|
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: {
|
|
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
|
+
} & {} & {} & {} & {
|
|
453
553
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
454
554
|
readonly modelUrl: {
|
|
455
555
|
readonly type: "string";
|
|
@@ -674,108 +774,62 @@ export declare const physicsRenderBridge: {
|
|
|
674
774
|
scale?: readonly [number, number, number];
|
|
675
775
|
parent?: number;
|
|
676
776
|
}) => number;
|
|
677
|
-
} & {
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly minimum: -2147483648;
|
|
682
|
-
readonly maximum: 2147483647;
|
|
683
|
-
readonly default: number;
|
|
777
|
+
} & {} & {} & {} & {
|
|
778
|
+
readonly insertShapePrimitive: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
779
|
+
readonly _vertexBuffer: {
|
|
780
|
+
readonly default: GPUBuffer | null;
|
|
684
781
|
};
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
782
|
+
readonly _skinVertexBuffer: {
|
|
783
|
+
readonly default: GPUBuffer | null;
|
|
687
784
|
};
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly precision: 1;
|
|
691
|
-
readonly default: number;
|
|
785
|
+
readonly _indexBuffer: {
|
|
786
|
+
readonly default: GPUBuffer | null;
|
|
692
787
|
};
|
|
693
|
-
readonly
|
|
694
|
-
readonly type: "
|
|
695
|
-
readonly
|
|
788
|
+
readonly _indexCount: {
|
|
789
|
+
readonly type: "integer";
|
|
790
|
+
readonly minimum: 0;
|
|
791
|
+
readonly maximum: 4294967295;
|
|
696
792
|
readonly default: number;
|
|
697
793
|
};
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly precision: 1;
|
|
701
|
-
readonly default: number;
|
|
794
|
+
readonly _indexFormat: {
|
|
795
|
+
readonly default: GPUIndexFormat;
|
|
702
796
|
};
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly precision: 1;
|
|
706
|
-
readonly default: number;
|
|
797
|
+
readonly _materialBindGroup: {
|
|
798
|
+
readonly default: GPUBindGroup | null;
|
|
707
799
|
};
|
|
708
|
-
readonly
|
|
709
|
-
readonly type: "
|
|
710
|
-
readonly
|
|
800
|
+
readonly _geometry: {
|
|
801
|
+
readonly type: "integer";
|
|
802
|
+
readonly minimum: -2147483648;
|
|
803
|
+
readonly maximum: 2147483647;
|
|
711
804
|
readonly default: number;
|
|
712
805
|
};
|
|
713
|
-
readonly
|
|
714
|
-
readonly type: "
|
|
715
|
-
readonly
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
readonly default: number;
|
|
719
|
-
};
|
|
720
|
-
readonly minItems: 4;
|
|
721
|
-
readonly maxItems: 4;
|
|
722
|
-
readonly default: readonly [0, 0, 0, 0];
|
|
806
|
+
readonly _material: {
|
|
807
|
+
readonly type: "integer";
|
|
808
|
+
readonly minimum: -2147483648;
|
|
809
|
+
readonly maximum: 2147483647;
|
|
810
|
+
readonly default: number;
|
|
723
811
|
};
|
|
724
|
-
readonly
|
|
812
|
+
readonly _nodeLocalMatrix: {
|
|
725
813
|
readonly type: "array";
|
|
726
814
|
readonly items: {
|
|
727
815
|
readonly type: "number";
|
|
728
816
|
readonly precision: 1;
|
|
729
817
|
readonly default: number;
|
|
730
818
|
};
|
|
731
|
-
readonly minItems:
|
|
732
|
-
readonly maxItems:
|
|
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;
|
|
819
|
+
readonly minItems: 16;
|
|
820
|
+
readonly maxItems: 16;
|
|
821
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
749
822
|
};
|
|
750
|
-
readonly
|
|
751
|
-
readonly type: "
|
|
752
|
-
readonly
|
|
823
|
+
readonly _skeletonModelRef: {
|
|
824
|
+
readonly type: "integer";
|
|
825
|
+
readonly minimum: -2147483648;
|
|
826
|
+
readonly maximum: 2147483647;
|
|
753
827
|
readonly default: number;
|
|
754
828
|
};
|
|
755
|
-
readonly
|
|
756
|
-
readonly
|
|
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>;
|
|
829
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
830
|
+
readonly default: GPUBindGroup | null;
|
|
773
831
|
};
|
|
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
|
-
readonly insertShapePrimitive: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
832
|
+
} & {
|
|
779
833
|
readonly visible: {
|
|
780
834
|
readonly type: "boolean";
|
|
781
835
|
readonly const: true;
|
|
@@ -877,72 +931,18 @@ export declare const physicsRenderBridge: {
|
|
|
877
931
|
readonly maximum: 2147483647;
|
|
878
932
|
readonly default: number;
|
|
879
933
|
};
|
|
880
|
-
} & {
|
|
881
|
-
readonly _vertexBuffer: {
|
|
882
|
-
readonly default: GPUBuffer | null;
|
|
883
|
-
};
|
|
884
|
-
readonly _skinVertexBuffer: {
|
|
885
|
-
readonly default: GPUBuffer | null;
|
|
886
|
-
};
|
|
887
|
-
readonly _indexBuffer: {
|
|
888
|
-
readonly default: GPUBuffer | null;
|
|
889
|
-
};
|
|
890
|
-
readonly _indexCount: {
|
|
891
|
-
readonly type: "integer";
|
|
892
|
-
readonly minimum: 0;
|
|
893
|
-
readonly maximum: 4294967295;
|
|
894
|
-
readonly default: number;
|
|
895
|
-
};
|
|
896
|
-
readonly _indexFormat: {
|
|
897
|
-
readonly default: GPUIndexFormat;
|
|
898
|
-
};
|
|
899
|
-
readonly _materialBindGroup: {
|
|
900
|
-
readonly default: GPUBindGroup | null;
|
|
901
|
-
};
|
|
902
|
-
readonly _geometry: {
|
|
903
|
-
readonly type: "integer";
|
|
904
|
-
readonly minimum: -2147483648;
|
|
905
|
-
readonly maximum: 2147483647;
|
|
906
|
-
readonly default: number;
|
|
907
|
-
};
|
|
908
|
-
readonly _material: {
|
|
909
|
-
readonly type: "integer";
|
|
910
|
-
readonly minimum: -2147483648;
|
|
911
|
-
readonly maximum: 2147483647;
|
|
912
|
-
readonly default: number;
|
|
913
|
-
};
|
|
914
|
-
readonly _nodeLocalMatrix: {
|
|
915
|
-
readonly type: "array";
|
|
916
|
-
readonly items: {
|
|
917
|
-
readonly type: "number";
|
|
918
|
-
readonly precision: 1;
|
|
919
|
-
readonly default: number;
|
|
920
|
-
};
|
|
921
|
-
readonly minItems: 16;
|
|
922
|
-
readonly maxItems: 16;
|
|
923
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
924
|
-
};
|
|
925
|
-
readonly _skeletonModelRef: {
|
|
926
|
-
readonly type: "integer";
|
|
927
|
-
readonly minimum: -2147483648;
|
|
928
|
-
readonly maximum: 2147483647;
|
|
929
|
-
readonly default: number;
|
|
930
|
-
};
|
|
931
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
932
|
-
readonly default: GPUBindGroup | null;
|
|
933
|
-
};
|
|
934
934
|
}>, import("@adobe/data/schema").FromSchemas<{
|
|
935
935
|
readonly _shapeGeometry: {
|
|
936
936
|
readonly default: {
|
|
937
937
|
sphere: Entity;
|
|
938
938
|
cube: Entity;
|
|
939
939
|
} | null;
|
|
940
|
-
readonly
|
|
940
|
+
readonly nonPersistent: true;
|
|
941
941
|
};
|
|
942
942
|
} & {} & {
|
|
943
943
|
readonly frameTime: {
|
|
944
944
|
readonly default: import("../../../core/frame-time/public.js");
|
|
945
|
-
readonly
|
|
945
|
+
readonly nonPersistent: true;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
readonly schedulerState: {
|
|
@@ -951,20 +951,20 @@ export declare const physicsRenderBridge: {
|
|
|
951
951
|
} & {
|
|
952
952
|
readonly device: {
|
|
953
953
|
readonly default: GPUDevice | null;
|
|
954
|
-
readonly
|
|
954
|
+
readonly nonPersistent: true;
|
|
955
955
|
};
|
|
956
956
|
readonly commandEncoder: {
|
|
957
957
|
readonly default: GPUCommandEncoder | null;
|
|
958
|
-
readonly
|
|
958
|
+
readonly nonPersistent: true;
|
|
959
959
|
};
|
|
960
960
|
}>, {} & {} & {
|
|
961
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
962
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
963
|
+
} & {
|
|
961
964
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
962
965
|
} & {} & {
|
|
963
966
|
readonly Geometry: readonly ["modelUrl"];
|
|
964
967
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
965
|
-
} & {
|
|
966
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
967
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
968
968
|
}, {} & {} & {} & {} & {} & {}>, args: {
|
|
969
969
|
vertexBuffer: GPUBuffer;
|
|
970
970
|
indexBuffer: GPUBuffer;
|
|
@@ -974,12 +974,12 @@ export declare const physicsRenderBridge: {
|
|
|
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;
|
|
977
|
-
readonly
|
|
977
|
+
readonly nonPersistent: true;
|
|
978
978
|
};
|
|
979
979
|
} & {
|
|
980
980
|
readonly frameTime: {
|
|
981
981
|
readonly default: import("../../../core/frame-time/public.js");
|
|
982
|
-
readonly
|
|
982
|
+
readonly nonPersistent: true;
|
|
983
983
|
};
|
|
984
984
|
} & {
|
|
985
985
|
readonly schedulerState: {
|
|
@@ -988,15 +988,15 @@ export declare const physicsRenderBridge: {
|
|
|
988
988
|
} & {
|
|
989
989
|
readonly device: {
|
|
990
990
|
readonly default: GPUDevice | null;
|
|
991
|
-
readonly
|
|
991
|
+
readonly nonPersistent: true;
|
|
992
992
|
};
|
|
993
993
|
readonly commandEncoder: {
|
|
994
994
|
readonly default: GPUCommandEncoder | null;
|
|
995
|
-
readonly
|
|
995
|
+
readonly nonPersistent: true;
|
|
996
996
|
};
|
|
997
997
|
}>, {}, {}>, hz: number) => void;
|
|
998
998
|
} & {} & {} & {};
|
|
999
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
999
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "transformCreateWorldMatrix" | "transformSystem" | "shapeGeometryInit" | "interpolateDisplayPose" | "interpolateWorldMatrix" | "physicsBridge">;
|
|
1000
1000
|
readonly actions: {};
|
|
1001
1001
|
readonly services: {};
|
|
1002
1002
|
readonly computed: {};
|
|
@@ -11,7 +11,7 @@ export declare const ragdollTrigger: {
|
|
|
11
11
|
readonly resources: {
|
|
12
12
|
readonly _ragdollTrigger: {
|
|
13
13
|
readonly default: boolean;
|
|
14
|
-
readonly
|
|
14
|
+
readonly nonPersistent: true;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
readonly archetypes: {};
|
|
@@ -19,7 +19,7 @@ export declare const ragdollTrigger: {
|
|
|
19
19
|
readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
20
20
|
readonly _ragdollTrigger: {
|
|
21
21
|
readonly default: boolean;
|
|
22
|
-
readonly
|
|
22
|
+
readonly nonPersistent: true;
|
|
23
23
|
};
|
|
24
24
|
}>, {}, {}>) => void;
|
|
25
25
|
};
|