@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
|
@@ -1,99 +1,7 @@
|
|
|
1
1
|
import { Entity } from "@adobe/data/ecs";
|
|
2
2
|
import { Vec3, Quat } from "@adobe/data/math";
|
|
3
3
|
export declare const boneColliders: {
|
|
4
|
-
readonly components: {
|
|
5
|
-
readonly visible: {
|
|
6
|
-
readonly type: "boolean";
|
|
7
|
-
readonly const: true;
|
|
8
|
-
readonly default: true;
|
|
9
|
-
};
|
|
10
|
-
readonly position: {
|
|
11
|
-
readonly type: "array";
|
|
12
|
-
readonly items: {
|
|
13
|
-
readonly type: "number";
|
|
14
|
-
readonly precision: 1;
|
|
15
|
-
readonly default: number;
|
|
16
|
-
};
|
|
17
|
-
readonly minItems: 3;
|
|
18
|
-
readonly maxItems: 3;
|
|
19
|
-
readonly default: readonly [0, 0, 0];
|
|
20
|
-
};
|
|
21
|
-
readonly rotation: {
|
|
22
|
-
readonly type: "array";
|
|
23
|
-
readonly items: {
|
|
24
|
-
readonly type: "number";
|
|
25
|
-
readonly precision: 1;
|
|
26
|
-
readonly default: number;
|
|
27
|
-
};
|
|
28
|
-
readonly minItems: 4;
|
|
29
|
-
readonly maxItems: 4;
|
|
30
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
31
|
-
readonly interpolators: {
|
|
32
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
readonly scale: {
|
|
36
|
-
readonly type: "array";
|
|
37
|
-
readonly items: {
|
|
38
|
-
readonly type: "number";
|
|
39
|
-
readonly precision: 1;
|
|
40
|
-
readonly default: number;
|
|
41
|
-
};
|
|
42
|
-
readonly minItems: 3;
|
|
43
|
-
readonly maxItems: 3;
|
|
44
|
-
readonly default: readonly [0, 0, 0];
|
|
45
|
-
};
|
|
46
|
-
readonly parent: {
|
|
47
|
-
readonly type: "integer";
|
|
48
|
-
readonly minimum: -2147483648;
|
|
49
|
-
readonly maximum: 2147483647;
|
|
50
|
-
readonly default: number;
|
|
51
|
-
};
|
|
52
|
-
readonly _worldMatrix: {
|
|
53
|
-
readonly type: "array";
|
|
54
|
-
readonly items: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly precision: 1;
|
|
57
|
-
readonly default: number;
|
|
58
|
-
};
|
|
59
|
-
readonly minItems: 16;
|
|
60
|
-
readonly maxItems: 16;
|
|
61
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
62
|
-
};
|
|
63
|
-
readonly _worldBounds: {
|
|
64
|
-
readonly type: "object";
|
|
65
|
-
readonly properties: {
|
|
66
|
-
readonly min: {
|
|
67
|
-
readonly type: "array";
|
|
68
|
-
readonly items: {
|
|
69
|
-
readonly type: "number";
|
|
70
|
-
readonly precision: 1;
|
|
71
|
-
readonly default: number;
|
|
72
|
-
};
|
|
73
|
-
readonly minItems: 3;
|
|
74
|
-
readonly maxItems: 3;
|
|
75
|
-
readonly default: readonly [0, 0, 0];
|
|
76
|
-
};
|
|
77
|
-
readonly max: {
|
|
78
|
-
readonly type: "array";
|
|
79
|
-
readonly items: {
|
|
80
|
-
readonly type: "number";
|
|
81
|
-
readonly precision: 1;
|
|
82
|
-
readonly default: number;
|
|
83
|
-
};
|
|
84
|
-
readonly minItems: 3;
|
|
85
|
-
readonly maxItems: 3;
|
|
86
|
-
readonly default: readonly [0, 0, 0];
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
readonly required: readonly ["min", "max"];
|
|
90
|
-
readonly additionalProperties: false;
|
|
91
|
-
readonly default: {
|
|
92
|
-
readonly min: readonly [0, 0, 0];
|
|
93
|
-
readonly max: readonly [0, 0, 0];
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
} & {} & {
|
|
4
|
+
readonly components: {} & {
|
|
97
5
|
readonly material: {
|
|
98
6
|
readonly type: "integer";
|
|
99
7
|
readonly minimum: -2147483648;
|
|
@@ -354,53 +262,96 @@ export declare const boneColliders: {
|
|
|
354
262
|
readonly default: number;
|
|
355
263
|
};
|
|
356
264
|
} & {
|
|
357
|
-
readonly
|
|
358
|
-
readonly type: "
|
|
265
|
+
readonly visible: {
|
|
266
|
+
readonly type: "boolean";
|
|
267
|
+
readonly const: true;
|
|
268
|
+
readonly default: true;
|
|
359
269
|
};
|
|
360
|
-
readonly
|
|
361
|
-
readonly type: "
|
|
362
|
-
readonly
|
|
363
|
-
|
|
364
|
-
|
|
270
|
+
readonly position: {
|
|
271
|
+
readonly type: "array";
|
|
272
|
+
readonly items: {
|
|
273
|
+
readonly type: "number";
|
|
274
|
+
readonly precision: 1;
|
|
275
|
+
readonly default: number;
|
|
276
|
+
};
|
|
277
|
+
readonly minItems: 3;
|
|
278
|
+
readonly maxItems: 3;
|
|
279
|
+
readonly default: readonly [0, 0, 0];
|
|
365
280
|
};
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
readonly
|
|
281
|
+
readonly rotation: {
|
|
282
|
+
readonly type: "array";
|
|
283
|
+
readonly items: {
|
|
284
|
+
readonly type: "number";
|
|
285
|
+
readonly precision: 1;
|
|
286
|
+
readonly default: number;
|
|
287
|
+
};
|
|
288
|
+
readonly minItems: 4;
|
|
289
|
+
readonly maxItems: 4;
|
|
290
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
291
|
+
readonly interpolators: {
|
|
292
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
293
|
+
};
|
|
369
294
|
};
|
|
370
|
-
readonly
|
|
371
|
-
readonly type: "
|
|
372
|
-
readonly
|
|
373
|
-
|
|
295
|
+
readonly scale: {
|
|
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];
|
|
374
305
|
};
|
|
375
|
-
readonly
|
|
306
|
+
readonly parent: {
|
|
376
307
|
readonly type: "integer";
|
|
377
308
|
readonly minimum: -2147483648;
|
|
378
309
|
readonly maximum: 2147483647;
|
|
379
310
|
readonly default: number;
|
|
380
311
|
};
|
|
381
|
-
readonly
|
|
382
|
-
readonly
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
readonly default: 1;
|
|
391
|
-
readonly type: "number";
|
|
392
|
-
readonly precision: 1;
|
|
393
|
-
};
|
|
394
|
-
readonly animationLoop: {
|
|
395
|
-
readonly type: "boolean";
|
|
396
|
-
};
|
|
397
|
-
readonly animationPlaying: {
|
|
398
|
-
readonly type: "boolean";
|
|
312
|
+
readonly _worldMatrix: {
|
|
313
|
+
readonly type: "array";
|
|
314
|
+
readonly items: {
|
|
315
|
+
readonly type: "number";
|
|
316
|
+
readonly precision: 1;
|
|
317
|
+
readonly default: number;
|
|
318
|
+
};
|
|
319
|
+
readonly minItems: 16;
|
|
320
|
+
readonly maxItems: 16;
|
|
321
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
399
322
|
};
|
|
400
|
-
readonly
|
|
401
|
-
readonly type: "
|
|
402
|
-
readonly
|
|
403
|
-
|
|
323
|
+
readonly _worldBounds: {
|
|
324
|
+
readonly type: "object";
|
|
325
|
+
readonly properties: {
|
|
326
|
+
readonly min: {
|
|
327
|
+
readonly type: "array";
|
|
328
|
+
readonly items: {
|
|
329
|
+
readonly type: "number";
|
|
330
|
+
readonly precision: 1;
|
|
331
|
+
readonly default: number;
|
|
332
|
+
};
|
|
333
|
+
readonly minItems: 3;
|
|
334
|
+
readonly maxItems: 3;
|
|
335
|
+
readonly default: readonly [0, 0, 0];
|
|
336
|
+
};
|
|
337
|
+
readonly max: {
|
|
338
|
+
readonly type: "array";
|
|
339
|
+
readonly items: {
|
|
340
|
+
readonly type: "number";
|
|
341
|
+
readonly precision: 1;
|
|
342
|
+
readonly default: number;
|
|
343
|
+
};
|
|
344
|
+
readonly minItems: 3;
|
|
345
|
+
readonly maxItems: 3;
|
|
346
|
+
readonly default: readonly [0, 0, 0];
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly required: readonly ["min", "max"];
|
|
350
|
+
readonly additionalProperties: false;
|
|
351
|
+
readonly default: {
|
|
352
|
+
readonly min: readonly [0, 0, 0];
|
|
353
|
+
readonly max: readonly [0, 0, 0];
|
|
354
|
+
};
|
|
404
355
|
};
|
|
405
356
|
} & {
|
|
406
357
|
readonly _vertexBuffer: {
|
|
@@ -456,6 +407,55 @@ export declare const boneColliders: {
|
|
|
456
407
|
readonly _skeletonJointMatrixBindGroup: {
|
|
457
408
|
readonly default: GPUBindGroup | null;
|
|
458
409
|
};
|
|
410
|
+
} & {
|
|
411
|
+
readonly modelUrl: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
};
|
|
414
|
+
readonly geometry: {
|
|
415
|
+
readonly type: "integer";
|
|
416
|
+
readonly minimum: -2147483648;
|
|
417
|
+
readonly maximum: 2147483647;
|
|
418
|
+
readonly default: number;
|
|
419
|
+
};
|
|
420
|
+
} & {
|
|
421
|
+
readonly animationClipTracks: {
|
|
422
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
423
|
+
};
|
|
424
|
+
readonly animationClipDuration: {
|
|
425
|
+
readonly type: "number";
|
|
426
|
+
readonly precision: 2;
|
|
427
|
+
readonly default: number;
|
|
428
|
+
};
|
|
429
|
+
readonly animationClipRef: {
|
|
430
|
+
readonly type: "integer";
|
|
431
|
+
readonly minimum: -2147483648;
|
|
432
|
+
readonly maximum: 2147483647;
|
|
433
|
+
readonly default: number;
|
|
434
|
+
};
|
|
435
|
+
readonly animationTargets: {
|
|
436
|
+
readonly default: Entity[];
|
|
437
|
+
};
|
|
438
|
+
readonly animationTime: {
|
|
439
|
+
readonly type: "number";
|
|
440
|
+
readonly precision: 2;
|
|
441
|
+
readonly default: number;
|
|
442
|
+
};
|
|
443
|
+
readonly animationSpeed: {
|
|
444
|
+
readonly default: 1;
|
|
445
|
+
readonly type: "number";
|
|
446
|
+
readonly precision: 1;
|
|
447
|
+
};
|
|
448
|
+
readonly animationLoop: {
|
|
449
|
+
readonly type: "boolean";
|
|
450
|
+
};
|
|
451
|
+
readonly animationPlaying: {
|
|
452
|
+
readonly type: "boolean";
|
|
453
|
+
};
|
|
454
|
+
readonly animationObservable: {
|
|
455
|
+
readonly type: "boolean";
|
|
456
|
+
readonly const: true;
|
|
457
|
+
readonly default: true;
|
|
458
|
+
};
|
|
459
459
|
} & {
|
|
460
460
|
readonly _bounds: {
|
|
461
461
|
readonly default: {
|
|
@@ -546,7 +546,7 @@ export declare const boneColliders: {
|
|
|
546
546
|
} & {
|
|
547
547
|
readonly frameTime: {
|
|
548
548
|
readonly default: import("../../core/frame-time/public.js");
|
|
549
|
-
readonly
|
|
549
|
+
readonly nonPersistent: true;
|
|
550
550
|
};
|
|
551
551
|
} & {
|
|
552
552
|
readonly schedulerState: {
|
|
@@ -555,21 +555,19 @@ export declare const boneColliders: {
|
|
|
555
555
|
} & {
|
|
556
556
|
readonly device: {
|
|
557
557
|
readonly default: GPUDevice | null;
|
|
558
|
-
readonly
|
|
558
|
+
readonly nonPersistent: true;
|
|
559
559
|
};
|
|
560
560
|
readonly commandEncoder: {
|
|
561
561
|
readonly default: GPUCommandEncoder | null;
|
|
562
|
-
readonly
|
|
562
|
+
readonly nonPersistent: true;
|
|
563
563
|
};
|
|
564
564
|
} & {
|
|
565
565
|
readonly _ragdollTrigger: {
|
|
566
566
|
readonly default: boolean;
|
|
567
|
-
readonly
|
|
567
|
+
readonly nonPersistent: true;
|
|
568
568
|
};
|
|
569
569
|
};
|
|
570
|
-
readonly archetypes: {
|
|
571
|
-
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
572
|
-
} & {} & {} & {
|
|
570
|
+
readonly archetypes: {} & {
|
|
573
571
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
574
572
|
} & {
|
|
575
573
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
@@ -578,6 +576,11 @@ export declare const boneColliders: {
|
|
|
578
576
|
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
579
577
|
} & {
|
|
580
578
|
readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
|
|
579
|
+
} & {
|
|
580
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
581
|
+
} & {} & {
|
|
582
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
583
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
581
584
|
} & {
|
|
582
585
|
readonly Geometry: readonly ["modelUrl"];
|
|
583
586
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
@@ -585,15 +588,12 @@ export declare const boneColliders: {
|
|
|
585
588
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
586
589
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
587
590
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
588
|
-
} & {} & {
|
|
589
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
590
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
591
|
-
} & {} & {
|
|
591
|
+
} & {} & {} & {
|
|
592
592
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonGeometry", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
593
593
|
} & {
|
|
594
594
|
readonly BoneCapsule: readonly ["bodyType", "colliderShape", "halfExtents", "material", "collisionGroup", "position", "rotation", "linearVelocity", "angularVelocity", "_boneJoint", "_boneOffsetPos", "_boneOffsetRot"];
|
|
595
595
|
};
|
|
596
|
-
readonly transactions: {
|
|
596
|
+
readonly transactions: {
|
|
597
597
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
598
598
|
readonly material: {
|
|
599
599
|
readonly type: "integer";
|
|
@@ -693,7 +693,7 @@ export declare const boneColliders: {
|
|
|
693
693
|
}>, {
|
|
694
694
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
695
695
|
}, {}>) => void;
|
|
696
|
-
} & {} & {} & {
|
|
696
|
+
} & {} & {} & {} & {} & {} & {} & {} & {
|
|
697
697
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
698
698
|
readonly modelUrl: {
|
|
699
699
|
readonly type: "string";
|
|
@@ -918,7 +918,7 @@ export declare const boneColliders: {
|
|
|
918
918
|
scale?: Vec3;
|
|
919
919
|
parent?: number;
|
|
920
920
|
}) => number;
|
|
921
|
-
} & {} & {
|
|
921
|
+
} & {} & {
|
|
922
922
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
923
923
|
readonly animationClipTracks: {
|
|
924
924
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
@@ -1065,7 +1065,7 @@ export declare const boneColliders: {
|
|
|
1065
1065
|
dt: number;
|
|
1066
1066
|
observable: boolean;
|
|
1067
1067
|
}) => void;
|
|
1068
|
-
} & {} & {
|
|
1068
|
+
} & {} & {
|
|
1069
1069
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1070
1070
|
readonly _bounds: {
|
|
1071
1071
|
readonly default: {
|
|
@@ -1096,6 +1096,60 @@ export declare const boneColliders: {
|
|
|
1096
1096
|
} | null;
|
|
1097
1097
|
};
|
|
1098
1098
|
} & {} & {
|
|
1099
|
+
readonly _vertexBuffer: {
|
|
1100
|
+
readonly default: GPUBuffer | null;
|
|
1101
|
+
};
|
|
1102
|
+
readonly _skinVertexBuffer: {
|
|
1103
|
+
readonly default: GPUBuffer | null;
|
|
1104
|
+
};
|
|
1105
|
+
readonly _indexBuffer: {
|
|
1106
|
+
readonly default: GPUBuffer | null;
|
|
1107
|
+
};
|
|
1108
|
+
readonly _indexCount: {
|
|
1109
|
+
readonly type: "integer";
|
|
1110
|
+
readonly minimum: 0;
|
|
1111
|
+
readonly maximum: 4294967295;
|
|
1112
|
+
readonly default: number;
|
|
1113
|
+
};
|
|
1114
|
+
readonly _indexFormat: {
|
|
1115
|
+
readonly default: GPUIndexFormat;
|
|
1116
|
+
};
|
|
1117
|
+
readonly _materialBindGroup: {
|
|
1118
|
+
readonly default: GPUBindGroup | null;
|
|
1119
|
+
};
|
|
1120
|
+
readonly _geometry: {
|
|
1121
|
+
readonly type: "integer";
|
|
1122
|
+
readonly minimum: -2147483648;
|
|
1123
|
+
readonly maximum: 2147483647;
|
|
1124
|
+
readonly default: number;
|
|
1125
|
+
};
|
|
1126
|
+
readonly _material: {
|
|
1127
|
+
readonly type: "integer";
|
|
1128
|
+
readonly minimum: -2147483648;
|
|
1129
|
+
readonly maximum: 2147483647;
|
|
1130
|
+
readonly default: number;
|
|
1131
|
+
};
|
|
1132
|
+
readonly _nodeLocalMatrix: {
|
|
1133
|
+
readonly type: "array";
|
|
1134
|
+
readonly items: {
|
|
1135
|
+
readonly type: "number";
|
|
1136
|
+
readonly precision: 1;
|
|
1137
|
+
readonly default: number;
|
|
1138
|
+
};
|
|
1139
|
+
readonly minItems: 16;
|
|
1140
|
+
readonly maxItems: 16;
|
|
1141
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1142
|
+
};
|
|
1143
|
+
readonly _skeletonModelRef: {
|
|
1144
|
+
readonly type: "integer";
|
|
1145
|
+
readonly minimum: -2147483648;
|
|
1146
|
+
readonly maximum: 2147483647;
|
|
1147
|
+
readonly default: number;
|
|
1148
|
+
};
|
|
1149
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
1150
|
+
readonly default: GPUBindGroup | null;
|
|
1151
|
+
};
|
|
1152
|
+
} & {
|
|
1099
1153
|
readonly visible: {
|
|
1100
1154
|
readonly type: "boolean";
|
|
1101
1155
|
readonly const: true;
|
|
@@ -1236,64 +1290,10 @@ export declare const boneColliders: {
|
|
|
1236
1290
|
readonly const: true;
|
|
1237
1291
|
readonly default: true;
|
|
1238
1292
|
};
|
|
1239
|
-
} & {
|
|
1240
|
-
readonly _vertexBuffer: {
|
|
1241
|
-
readonly default: GPUBuffer | null;
|
|
1242
|
-
};
|
|
1243
|
-
readonly _skinVertexBuffer: {
|
|
1244
|
-
readonly default: GPUBuffer | null;
|
|
1245
|
-
};
|
|
1246
|
-
readonly _indexBuffer: {
|
|
1247
|
-
readonly default: GPUBuffer | null;
|
|
1248
|
-
};
|
|
1249
|
-
readonly _indexCount: {
|
|
1250
|
-
readonly type: "integer";
|
|
1251
|
-
readonly minimum: 0;
|
|
1252
|
-
readonly maximum: 4294967295;
|
|
1253
|
-
readonly default: number;
|
|
1254
|
-
};
|
|
1255
|
-
readonly _indexFormat: {
|
|
1256
|
-
readonly default: GPUIndexFormat;
|
|
1257
|
-
};
|
|
1258
|
-
readonly _materialBindGroup: {
|
|
1259
|
-
readonly default: GPUBindGroup | null;
|
|
1260
|
-
};
|
|
1261
|
-
readonly _geometry: {
|
|
1262
|
-
readonly type: "integer";
|
|
1263
|
-
readonly minimum: -2147483648;
|
|
1264
|
-
readonly maximum: 2147483647;
|
|
1265
|
-
readonly default: number;
|
|
1266
|
-
};
|
|
1267
|
-
readonly _material: {
|
|
1268
|
-
readonly type: "integer";
|
|
1269
|
-
readonly minimum: -2147483648;
|
|
1270
|
-
readonly maximum: 2147483647;
|
|
1271
|
-
readonly default: number;
|
|
1272
|
-
};
|
|
1273
|
-
readonly _nodeLocalMatrix: {
|
|
1274
|
-
readonly type: "array";
|
|
1275
|
-
readonly items: {
|
|
1276
|
-
readonly type: "number";
|
|
1277
|
-
readonly precision: 1;
|
|
1278
|
-
readonly default: number;
|
|
1279
|
-
};
|
|
1280
|
-
readonly minItems: 16;
|
|
1281
|
-
readonly maxItems: 16;
|
|
1282
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1283
|
-
};
|
|
1284
|
-
readonly _skeletonModelRef: {
|
|
1285
|
-
readonly type: "integer";
|
|
1286
|
-
readonly minimum: -2147483648;
|
|
1287
|
-
readonly maximum: 2147483647;
|
|
1288
|
-
readonly default: number;
|
|
1289
|
-
};
|
|
1290
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
1291
|
-
readonly default: GPUBindGroup | null;
|
|
1292
|
-
};
|
|
1293
1293
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
1294
1294
|
readonly frameTime: {
|
|
1295
1295
|
readonly default: import("../../core/frame-time/public.js");
|
|
1296
|
-
readonly
|
|
1296
|
+
readonly nonPersistent: true;
|
|
1297
1297
|
};
|
|
1298
1298
|
} & {
|
|
1299
1299
|
readonly schedulerState: {
|
|
@@ -1302,13 +1302,16 @@ export declare const boneColliders: {
|
|
|
1302
1302
|
} & {
|
|
1303
1303
|
readonly device: {
|
|
1304
1304
|
readonly default: GPUDevice | null;
|
|
1305
|
-
readonly
|
|
1305
|
+
readonly nonPersistent: true;
|
|
1306
1306
|
};
|
|
1307
1307
|
readonly commandEncoder: {
|
|
1308
1308
|
readonly default: GPUCommandEncoder | null;
|
|
1309
|
-
readonly
|
|
1309
|
+
readonly nonPersistent: true;
|
|
1310
1310
|
};
|
|
1311
1311
|
}>, {} & {} & {
|
|
1312
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
1313
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
1314
|
+
} & {
|
|
1312
1315
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
1313
1316
|
} & {} & {
|
|
1314
1317
|
readonly Geometry: readonly ["modelUrl"];
|
|
@@ -1317,10 +1320,14 @@ export declare const boneColliders: {
|
|
|
1317
1320
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
1318
1321
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1319
1322
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1320
|
-
} & {} & {
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1323
|
+
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
1324
|
+
} & {
|
|
1325
|
+
readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
1326
|
+
readonly _ragdollTrigger: {
|
|
1327
|
+
readonly default: boolean;
|
|
1328
|
+
readonly nonPersistent: true;
|
|
1329
|
+
};
|
|
1330
|
+
}>, {}, {}>) => void;
|
|
1324
1331
|
} & {
|
|
1325
1332
|
readonly initSkeleton: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1326
1333
|
readonly _skeletonJoints: {
|
|
@@ -1431,45 +1438,6 @@ export declare const boneColliders: {
|
|
|
1431
1438
|
};
|
|
1432
1439
|
};
|
|
1433
1440
|
} & {} & {
|
|
1434
|
-
readonly animationClipTracks: {
|
|
1435
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
1436
|
-
};
|
|
1437
|
-
readonly animationClipDuration: {
|
|
1438
|
-
readonly type: "number";
|
|
1439
|
-
readonly precision: 2;
|
|
1440
|
-
readonly default: number;
|
|
1441
|
-
};
|
|
1442
|
-
readonly animationClipRef: {
|
|
1443
|
-
readonly type: "integer";
|
|
1444
|
-
readonly minimum: -2147483648;
|
|
1445
|
-
readonly maximum: 2147483647;
|
|
1446
|
-
readonly default: number;
|
|
1447
|
-
};
|
|
1448
|
-
readonly animationTargets: {
|
|
1449
|
-
readonly default: Entity[];
|
|
1450
|
-
};
|
|
1451
|
-
readonly animationTime: {
|
|
1452
|
-
readonly type: "number";
|
|
1453
|
-
readonly precision: 2;
|
|
1454
|
-
readonly default: number;
|
|
1455
|
-
};
|
|
1456
|
-
readonly animationSpeed: {
|
|
1457
|
-
readonly default: 1;
|
|
1458
|
-
readonly type: "number";
|
|
1459
|
-
readonly precision: 1;
|
|
1460
|
-
};
|
|
1461
|
-
readonly animationLoop: {
|
|
1462
|
-
readonly type: "boolean";
|
|
1463
|
-
};
|
|
1464
|
-
readonly animationPlaying: {
|
|
1465
|
-
readonly type: "boolean";
|
|
1466
|
-
};
|
|
1467
|
-
readonly animationObservable: {
|
|
1468
|
-
readonly type: "boolean";
|
|
1469
|
-
readonly const: true;
|
|
1470
|
-
readonly default: true;
|
|
1471
|
-
};
|
|
1472
|
-
} & {
|
|
1473
1441
|
readonly _vertexBuffer: {
|
|
1474
1442
|
readonly default: GPUBuffer | null;
|
|
1475
1443
|
};
|
|
@@ -1523,6 +1491,45 @@ export declare const boneColliders: {
|
|
|
1523
1491
|
readonly _skeletonJointMatrixBindGroup: {
|
|
1524
1492
|
readonly default: GPUBindGroup | null;
|
|
1525
1493
|
};
|
|
1494
|
+
} & {
|
|
1495
|
+
readonly animationClipTracks: {
|
|
1496
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
1497
|
+
};
|
|
1498
|
+
readonly animationClipDuration: {
|
|
1499
|
+
readonly type: "number";
|
|
1500
|
+
readonly precision: 2;
|
|
1501
|
+
readonly default: number;
|
|
1502
|
+
};
|
|
1503
|
+
readonly animationClipRef: {
|
|
1504
|
+
readonly type: "integer";
|
|
1505
|
+
readonly minimum: -2147483648;
|
|
1506
|
+
readonly maximum: 2147483647;
|
|
1507
|
+
readonly default: number;
|
|
1508
|
+
};
|
|
1509
|
+
readonly animationTargets: {
|
|
1510
|
+
readonly default: Entity[];
|
|
1511
|
+
};
|
|
1512
|
+
readonly animationTime: {
|
|
1513
|
+
readonly type: "number";
|
|
1514
|
+
readonly precision: 2;
|
|
1515
|
+
readonly default: number;
|
|
1516
|
+
};
|
|
1517
|
+
readonly animationSpeed: {
|
|
1518
|
+
readonly default: 1;
|
|
1519
|
+
readonly type: "number";
|
|
1520
|
+
readonly precision: 1;
|
|
1521
|
+
};
|
|
1522
|
+
readonly animationLoop: {
|
|
1523
|
+
readonly type: "boolean";
|
|
1524
|
+
};
|
|
1525
|
+
readonly animationPlaying: {
|
|
1526
|
+
readonly type: "boolean";
|
|
1527
|
+
};
|
|
1528
|
+
readonly animationObservable: {
|
|
1529
|
+
readonly type: "boolean";
|
|
1530
|
+
readonly const: true;
|
|
1531
|
+
readonly default: true;
|
|
1532
|
+
};
|
|
1526
1533
|
} & {
|
|
1527
1534
|
readonly modelUrl: {
|
|
1528
1535
|
readonly type: "string";
|
|
@@ -1565,7 +1572,7 @@ export declare const boneColliders: {
|
|
|
1565
1572
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
1566
1573
|
readonly frameTime: {
|
|
1567
1574
|
readonly default: import("../../core/frame-time/public.js");
|
|
1568
|
-
readonly
|
|
1575
|
+
readonly nonPersistent: true;
|
|
1569
1576
|
};
|
|
1570
1577
|
} & {
|
|
1571
1578
|
readonly schedulerState: {
|
|
@@ -1574,24 +1581,24 @@ export declare const boneColliders: {
|
|
|
1574
1581
|
} & {
|
|
1575
1582
|
readonly device: {
|
|
1576
1583
|
readonly default: GPUDevice | null;
|
|
1577
|
-
readonly
|
|
1584
|
+
readonly nonPersistent: true;
|
|
1578
1585
|
};
|
|
1579
1586
|
readonly commandEncoder: {
|
|
1580
1587
|
readonly default: GPUCommandEncoder | null;
|
|
1581
|
-
readonly
|
|
1588
|
+
readonly nonPersistent: true;
|
|
1582
1589
|
};
|
|
1583
1590
|
}>, {
|
|
1584
1591
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonGeometry", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
1585
1592
|
} & {
|
|
1586
1593
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
1587
|
-
} & {} & {
|
|
1594
|
+
} & {} & {
|
|
1595
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
1596
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
1597
|
+
} & {} & {
|
|
1588
1598
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
1589
1599
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1590
1600
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1591
1601
|
} & {} & {
|
|
1592
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
1593
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
1594
|
-
} & {
|
|
1595
1602
|
readonly Geometry: readonly ["modelUrl"];
|
|
1596
1603
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
1597
1604
|
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: {
|
|
@@ -1603,15 +1610,8 @@ export declare const boneColliders: {
|
|
|
1603
1610
|
jointMatrixBindGroup: GPUBindGroup;
|
|
1604
1611
|
clipRef: number | null;
|
|
1605
1612
|
}) => void;
|
|
1606
|
-
} & {
|
|
1607
|
-
readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
1608
|
-
readonly _ragdollTrigger: {
|
|
1609
|
-
readonly default: boolean;
|
|
1610
|
-
readonly transient: true;
|
|
1611
|
-
};
|
|
1612
|
-
}>, {}, {}>) => void;
|
|
1613
1613
|
} & {};
|
|
1614
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
1614
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "generateBoneColliders" | "trackBoneColliders" | "ragdollOnTrigger" | "reconcileRagdoll">;
|
|
1615
1615
|
readonly actions: {};
|
|
1616
1616
|
readonly services: {};
|
|
1617
1617
|
readonly computed: {};
|