@adobe/data-gpu 0.9.87 → 0.9.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/graphics/animation/animation-plugin.d.ts +2 -2
- package/dist/graphics/camera/camera-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +1 -1
- package/dist/graphics/graphics-plugin.d.ts +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +798 -861
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +2647 -275
- package/dist/graphics/rendering/bone-collider-plugin.js +4 -4
- package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
- package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +159 -177
- package/dist/graphics/rendering/interpolation-plugin.d.ts +2447 -56
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +2634 -262
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +8 -8
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +1 -1
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +2567 -192
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +172 -190
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +2398 -5
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +189 -210
- package/dist/graphics/rendering/skinning/skinning-plugin.js +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
- package/dist/graphics/scene/model/mesh-plugin.d.ts +20 -50
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +156 -174
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +73 -76
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +156 -174
- package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/node-data-plugin.js +2 -2
- package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
- package/dist/graphics/scene/node/node-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/transform-plugin.d.ts +2 -5
- package/dist/graphics/scene/scene-plugin.d.ts +16 -31
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/physics-data-plugin.d.ts +2400 -4
- package/dist/physics/physics-data-plugin.js +28 -2
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/physics-hit.d.ts +18 -0
- package/dist/physics/physics-hit.js +3 -0
- package/dist/physics/physics-hit.js.map +1 -0
- package/dist/physics/physics-query.d.ts +43 -0
- package/dist/physics/physics-query.js +3 -0
- package/dist/physics/physics-query.js.map +1 -0
- package/dist/physics/public.d.ts +2 -0
- package/dist/physics/public.js +2 -0
- package/dist/physics/public.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +2399 -9
- package/dist/physics/solvers/jolt-solver-plugin.js +151 -2
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/mutable-hit.d.ts +14 -0
- package/dist/physics/solvers/mutable-hit.js +3 -0
- package/dist/physics/solvers/mutable-hit.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.d.ts +11 -0
- package/dist/physics/solvers/orient-normal-against-ray.js +25 -0
- package/dist/physics/solvers/orient-normal-against-ray.js.map +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.d.ts +1 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js +27 -0
- package/dist/physics/solvers/orient-normal-against-ray.test.js.map +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.d.ts +1 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js +159 -0
- package/dist/physics/solvers/pick-ray-conformance.test.js.map +1 -0
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +2399 -9
- package/dist/physics/solvers/rapier-solver-plugin.js +112 -3
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
- package/package.json +2 -2
- package/src/graphics/rendering/bone-collider-plugin.ts +4 -4
- package/src/graphics/rendering/display-transform-plugin.ts +2 -2
- package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +1 -1
- package/src/graphics/rendering/pbr-core-plugin.ts +5 -5
- package/src/graphics/rendering/skinning/skinning-plugin.ts +1 -1
- package/src/graphics/scene/node/node-data-plugin.ts +2 -2
- package/src/physics/README.md +15 -2
- package/src/physics/physics-data-plugin.ts +31 -3
- package/src/physics/physics-hit.ts +21 -0
- package/src/physics/physics-query.ts +42 -0
- package/src/physics/public.ts +2 -0
- package/src/physics/solvers/jolt-solver-plugin.ts +121 -2
- package/src/physics/solvers/mutable-hit.ts +18 -0
- package/src/physics/solvers/orient-normal-against-ray.test.ts +31 -0
- package/src/physics/solvers/orient-normal-against-ray.ts +18 -0
- package/src/physics/solvers/pick-ray-conformance.test.ts +200 -0
- package/src/physics/solvers/rapier-solver-plugin.ts +94 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type Entity } from "@adobe/data/ecs";
|
|
1
|
+
import { Database, type Entity } from "@adobe/data/ecs";
|
|
2
2
|
import { Quat } from "@adobe/data/math";
|
|
3
3
|
import { type JoltContext } from "../../physics/solvers/jolt-solver-plugin.js";
|
|
4
4
|
import type { JointTemplate } from "../scene/model/gltf/parse-skin.js";
|
|
5
5
|
export declare const joltRagdoll: {
|
|
6
|
-
readonly components: {
|
|
6
|
+
readonly components: {
|
|
7
7
|
readonly visible: {
|
|
8
8
|
readonly type: "boolean";
|
|
9
9
|
readonly const: true;
|
|
@@ -52,6 +52,7 @@ export declare const joltRagdoll: {
|
|
|
52
52
|
readonly default: number;
|
|
53
53
|
};
|
|
54
54
|
readonly _worldMatrix: {
|
|
55
|
+
readonly default: undefined;
|
|
55
56
|
readonly nonPersistent: true;
|
|
56
57
|
readonly type: "array";
|
|
57
58
|
readonly items: {
|
|
@@ -61,9 +62,9 @@ export declare const joltRagdoll: {
|
|
|
61
62
|
};
|
|
62
63
|
readonly minItems: 16;
|
|
63
64
|
readonly maxItems: 16;
|
|
64
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
65
65
|
};
|
|
66
66
|
readonly _worldBounds: {
|
|
67
|
+
readonly default: undefined;
|
|
67
68
|
readonly nonPersistent: true;
|
|
68
69
|
readonly type: "object";
|
|
69
70
|
readonly properties: {
|
|
@@ -92,10 +93,71 @@ export declare const joltRagdoll: {
|
|
|
92
93
|
};
|
|
93
94
|
readonly required: readonly ["min", "max"];
|
|
94
95
|
readonly additionalProperties: false;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
};
|
|
97
|
+
} & {} & {
|
|
98
|
+
readonly _vertexBuffer: {
|
|
99
|
+
readonly default: GPUBuffer | null;
|
|
100
|
+
readonly nonPersistent: true;
|
|
101
|
+
};
|
|
102
|
+
readonly _skinVertexBuffer: {
|
|
103
|
+
readonly default: GPUBuffer | null;
|
|
104
|
+
readonly nonPersistent: true;
|
|
105
|
+
};
|
|
106
|
+
readonly _indexBuffer: {
|
|
107
|
+
readonly default: GPUBuffer | null;
|
|
108
|
+
readonly nonPersistent: true;
|
|
109
|
+
};
|
|
110
|
+
readonly _indexCount: {
|
|
111
|
+
readonly default: undefined;
|
|
112
|
+
readonly nonPersistent: true;
|
|
113
|
+
readonly type: "integer";
|
|
114
|
+
readonly minimum: 0;
|
|
115
|
+
readonly maximum: 4294967295;
|
|
116
|
+
};
|
|
117
|
+
readonly _indexFormat: {
|
|
118
|
+
readonly default: GPUIndexFormat;
|
|
119
|
+
readonly nonPersistent: true;
|
|
120
|
+
};
|
|
121
|
+
readonly _materialBindGroup: {
|
|
122
|
+
readonly default: GPUBindGroup | null;
|
|
123
|
+
readonly nonPersistent: true;
|
|
124
|
+
};
|
|
125
|
+
readonly _mesh: {
|
|
126
|
+
readonly default: undefined;
|
|
127
|
+
readonly nonPersistent: true;
|
|
128
|
+
readonly type: "integer";
|
|
129
|
+
readonly minimum: -2147483648;
|
|
130
|
+
readonly maximum: 2147483647;
|
|
131
|
+
};
|
|
132
|
+
readonly _material: {
|
|
133
|
+
readonly default: undefined;
|
|
134
|
+
readonly nonPersistent: true;
|
|
135
|
+
readonly type: "integer";
|
|
136
|
+
readonly minimum: -2147483648;
|
|
137
|
+
readonly maximum: 2147483647;
|
|
138
|
+
};
|
|
139
|
+
readonly _nodeLocalMatrix: {
|
|
140
|
+
readonly default: undefined;
|
|
141
|
+
readonly nonPersistent: true;
|
|
142
|
+
readonly type: "array";
|
|
143
|
+
readonly items: {
|
|
144
|
+
readonly type: "number";
|
|
145
|
+
readonly precision: 1;
|
|
146
|
+
readonly default: number;
|
|
98
147
|
};
|
|
148
|
+
readonly minItems: 16;
|
|
149
|
+
readonly maxItems: 16;
|
|
150
|
+
};
|
|
151
|
+
readonly _skeletonModelRef: {
|
|
152
|
+
readonly default: undefined;
|
|
153
|
+
readonly nonPersistent: true;
|
|
154
|
+
readonly type: "integer";
|
|
155
|
+
readonly minimum: -2147483648;
|
|
156
|
+
readonly maximum: 2147483647;
|
|
157
|
+
};
|
|
158
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
159
|
+
readonly default: GPUBindGroup | null;
|
|
160
|
+
readonly nonPersistent: true;
|
|
99
161
|
};
|
|
100
162
|
} & {
|
|
101
163
|
readonly material: {
|
|
@@ -351,82 +413,17 @@ export declare const joltRagdoll: {
|
|
|
351
413
|
readonly const: true;
|
|
352
414
|
readonly default: true;
|
|
353
415
|
};
|
|
354
|
-
} & {
|
|
355
|
-
readonly _vertexBuffer: {
|
|
356
|
-
readonly default: GPUBuffer | null;
|
|
357
|
-
readonly nonPersistent: true;
|
|
358
|
-
};
|
|
359
|
-
readonly _skinVertexBuffer: {
|
|
360
|
-
readonly default: GPUBuffer | null;
|
|
361
|
-
readonly nonPersistent: true;
|
|
362
|
-
};
|
|
363
|
-
readonly _indexBuffer: {
|
|
364
|
-
readonly default: GPUBuffer | null;
|
|
365
|
-
readonly nonPersistent: true;
|
|
366
|
-
};
|
|
367
|
-
readonly _indexCount: {
|
|
368
|
-
readonly nonPersistent: true;
|
|
369
|
-
readonly type: "integer";
|
|
370
|
-
readonly minimum: 0;
|
|
371
|
-
readonly maximum: 4294967295;
|
|
372
|
-
readonly default: number;
|
|
373
|
-
};
|
|
374
|
-
readonly _indexFormat: {
|
|
375
|
-
readonly default: GPUIndexFormat;
|
|
376
|
-
readonly nonPersistent: true;
|
|
377
|
-
};
|
|
378
|
-
readonly _materialBindGroup: {
|
|
379
|
-
readonly default: GPUBindGroup | null;
|
|
380
|
-
readonly nonPersistent: true;
|
|
381
|
-
};
|
|
382
|
-
readonly _mesh: {
|
|
383
|
-
readonly nonPersistent: true;
|
|
384
|
-
readonly type: "integer";
|
|
385
|
-
readonly minimum: -2147483648;
|
|
386
|
-
readonly maximum: 2147483647;
|
|
387
|
-
readonly default: number;
|
|
388
|
-
};
|
|
389
|
-
readonly _material: {
|
|
390
|
-
readonly nonPersistent: true;
|
|
391
|
-
readonly type: "integer";
|
|
392
|
-
readonly minimum: -2147483648;
|
|
393
|
-
readonly maximum: 2147483647;
|
|
394
|
-
readonly default: number;
|
|
395
|
-
};
|
|
396
|
-
readonly _nodeLocalMatrix: {
|
|
397
|
-
readonly nonPersistent: true;
|
|
398
|
-
readonly type: "array";
|
|
399
|
-
readonly items: {
|
|
400
|
-
readonly type: "number";
|
|
401
|
-
readonly precision: 1;
|
|
402
|
-
readonly default: number;
|
|
403
|
-
};
|
|
404
|
-
readonly minItems: 16;
|
|
405
|
-
readonly maxItems: 16;
|
|
406
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
407
|
-
};
|
|
408
|
-
readonly _skeletonModelRef: {
|
|
409
|
-
readonly nonPersistent: true;
|
|
410
|
-
readonly type: "integer";
|
|
411
|
-
readonly minimum: -2147483648;
|
|
412
|
-
readonly maximum: 2147483647;
|
|
413
|
-
readonly default: number;
|
|
414
|
-
};
|
|
415
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
416
|
-
readonly default: GPUBindGroup | null;
|
|
417
|
-
readonly nonPersistent: true;
|
|
418
|
-
};
|
|
419
416
|
} & {
|
|
420
417
|
readonly _skeletonJoints: {
|
|
421
418
|
readonly default: number[];
|
|
422
419
|
readonly nonPersistent: true;
|
|
423
420
|
};
|
|
424
421
|
readonly _skeletonMesh: {
|
|
422
|
+
readonly default: undefined;
|
|
425
423
|
readonly nonPersistent: true;
|
|
426
424
|
readonly type: "integer";
|
|
427
425
|
readonly minimum: -2147483648;
|
|
428
426
|
readonly maximum: 2147483647;
|
|
429
|
-
readonly default: number;
|
|
430
427
|
};
|
|
431
428
|
readonly _skeletonInstanceBuffer: {
|
|
432
429
|
readonly default: GPUBuffer | null;
|
|
@@ -504,6 +501,7 @@ export declare const joltRagdoll: {
|
|
|
504
501
|
readonly default: readonly [0, 0, 0];
|
|
505
502
|
};
|
|
506
503
|
readonly _prevPosition: {
|
|
504
|
+
readonly default: undefined;
|
|
507
505
|
readonly nonPersistent: true;
|
|
508
506
|
readonly type: "array";
|
|
509
507
|
readonly items: {
|
|
@@ -513,9 +511,9 @@ export declare const joltRagdoll: {
|
|
|
513
511
|
};
|
|
514
512
|
readonly minItems: 3;
|
|
515
513
|
readonly maxItems: 3;
|
|
516
|
-
readonly default: readonly [0, 0, 0];
|
|
517
514
|
};
|
|
518
515
|
readonly _prevRotation: {
|
|
516
|
+
readonly default: undefined;
|
|
519
517
|
readonly nonPersistent: true;
|
|
520
518
|
readonly type: "array";
|
|
521
519
|
readonly items: {
|
|
@@ -525,7 +523,6 @@ export declare const joltRagdoll: {
|
|
|
525
523
|
};
|
|
526
524
|
readonly minItems: 4;
|
|
527
525
|
readonly maxItems: 4;
|
|
528
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
529
526
|
readonly interpolators: {
|
|
530
527
|
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
531
528
|
};
|
|
@@ -608,16 +605,16 @@ export declare const joltRagdoll: {
|
|
|
608
605
|
};
|
|
609
606
|
} & {
|
|
610
607
|
readonly _joltBody: {
|
|
608
|
+
readonly default: undefined;
|
|
611
609
|
readonly nonPersistent: true;
|
|
612
610
|
readonly type: "boolean";
|
|
613
611
|
readonly const: true;
|
|
614
|
-
readonly default: true;
|
|
615
612
|
};
|
|
616
613
|
readonly _joltJoint: {
|
|
614
|
+
readonly default: undefined;
|
|
617
615
|
readonly nonPersistent: true;
|
|
618
616
|
readonly type: "boolean";
|
|
619
617
|
readonly const: true;
|
|
620
|
-
readonly default: true;
|
|
621
618
|
};
|
|
622
619
|
};
|
|
623
620
|
readonly resources: {} & {
|
|
@@ -648,6 +645,11 @@ export declare const joltRagdoll: {
|
|
|
648
645
|
readonly default: boolean;
|
|
649
646
|
readonly nonPersistent: true;
|
|
650
647
|
};
|
|
648
|
+
} & {
|
|
649
|
+
readonly physicsQuery: {
|
|
650
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
651
|
+
readonly nonPersistent: true;
|
|
652
|
+
};
|
|
651
653
|
} & {
|
|
652
654
|
readonly physicsClock: {
|
|
653
655
|
readonly default: import("../../physics/public.js").PhysicsClock;
|
|
@@ -659,9 +661,12 @@ export declare const joltRagdoll: {
|
|
|
659
661
|
readonly nonPersistent: true;
|
|
660
662
|
};
|
|
661
663
|
};
|
|
662
|
-
readonly archetypes: {
|
|
664
|
+
readonly archetypes: {
|
|
663
665
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
664
|
-
} & {} & {
|
|
666
|
+
} & {} & {} & {
|
|
667
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
668
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
669
|
+
} & {
|
|
665
670
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
666
671
|
} & {
|
|
667
672
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -674,10 +679,7 @@ export declare const joltRagdoll: {
|
|
|
674
679
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
675
680
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
676
681
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
677
|
-
} & {} & {
|
|
678
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
679
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
680
|
-
} & {} & {
|
|
682
|
+
} & {} & {} & {
|
|
681
683
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
682
684
|
} & {
|
|
683
685
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
@@ -687,7 +689,7 @@ export declare const joltRagdoll: {
|
|
|
687
689
|
} & {
|
|
688
690
|
readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
|
|
689
691
|
} & {} & {};
|
|
690
|
-
readonly transactions: {} & {} & {
|
|
692
|
+
readonly transactions: {} & {} & {} & {
|
|
691
693
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
692
694
|
readonly material: {
|
|
693
695
|
readonly type: "integer";
|
|
@@ -1675,6 +1677,7 @@ export declare const joltRagdoll: {
|
|
|
1675
1677
|
readonly default: number;
|
|
1676
1678
|
};
|
|
1677
1679
|
readonly _worldMatrix: {
|
|
1680
|
+
readonly default: undefined;
|
|
1678
1681
|
readonly nonPersistent: true;
|
|
1679
1682
|
readonly type: "array";
|
|
1680
1683
|
readonly items: {
|
|
@@ -1684,9 +1687,9 @@ export declare const joltRagdoll: {
|
|
|
1684
1687
|
};
|
|
1685
1688
|
readonly minItems: 16;
|
|
1686
1689
|
readonly maxItems: 16;
|
|
1687
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1688
1690
|
};
|
|
1689
1691
|
readonly _worldBounds: {
|
|
1692
|
+
readonly default: undefined;
|
|
1690
1693
|
readonly nonPersistent: true;
|
|
1691
1694
|
readonly type: "object";
|
|
1692
1695
|
readonly properties: {
|
|
@@ -1715,10 +1718,6 @@ export declare const joltRagdoll: {
|
|
|
1715
1718
|
};
|
|
1716
1719
|
readonly required: readonly ["min", "max"];
|
|
1717
1720
|
readonly additionalProperties: false;
|
|
1718
|
-
readonly default: {
|
|
1719
|
-
readonly min: readonly [0, 0, 0];
|
|
1720
|
-
readonly max: readonly [0, 0, 0];
|
|
1721
|
-
};
|
|
1722
1721
|
};
|
|
1723
1722
|
} & {} & {
|
|
1724
1723
|
readonly material: {
|
|
@@ -2012,6 +2011,7 @@ export declare const joltRagdoll: {
|
|
|
2012
2011
|
readonly default: number;
|
|
2013
2012
|
};
|
|
2014
2013
|
readonly _worldMatrix: {
|
|
2014
|
+
readonly default: undefined;
|
|
2015
2015
|
readonly nonPersistent: true;
|
|
2016
2016
|
readonly type: "array";
|
|
2017
2017
|
readonly items: {
|
|
@@ -2021,9 +2021,9 @@ export declare const joltRagdoll: {
|
|
|
2021
2021
|
};
|
|
2022
2022
|
readonly minItems: 16;
|
|
2023
2023
|
readonly maxItems: 16;
|
|
2024
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2025
2024
|
};
|
|
2026
2025
|
readonly _worldBounds: {
|
|
2026
|
+
readonly default: undefined;
|
|
2027
2027
|
readonly nonPersistent: true;
|
|
2028
2028
|
readonly type: "object";
|
|
2029
2029
|
readonly properties: {
|
|
@@ -2052,10 +2052,6 @@ export declare const joltRagdoll: {
|
|
|
2052
2052
|
};
|
|
2053
2053
|
readonly required: readonly ["min", "max"];
|
|
2054
2054
|
readonly additionalProperties: false;
|
|
2055
|
-
readonly default: {
|
|
2056
|
-
readonly min: readonly [0, 0, 0];
|
|
2057
|
-
readonly max: readonly [0, 0, 0];
|
|
2058
|
-
};
|
|
2059
2055
|
};
|
|
2060
2056
|
} & {} & {
|
|
2061
2057
|
readonly material: {
|
|
@@ -2349,6 +2345,7 @@ export declare const joltRagdoll: {
|
|
|
2349
2345
|
readonly default: number;
|
|
2350
2346
|
};
|
|
2351
2347
|
readonly _worldMatrix: {
|
|
2348
|
+
readonly default: undefined;
|
|
2352
2349
|
readonly nonPersistent: true;
|
|
2353
2350
|
readonly type: "array";
|
|
2354
2351
|
readonly items: {
|
|
@@ -2358,9 +2355,9 @@ export declare const joltRagdoll: {
|
|
|
2358
2355
|
};
|
|
2359
2356
|
readonly minItems: 16;
|
|
2360
2357
|
readonly maxItems: 16;
|
|
2361
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2362
2358
|
};
|
|
2363
2359
|
readonly _worldBounds: {
|
|
2360
|
+
readonly default: undefined;
|
|
2364
2361
|
readonly nonPersistent: true;
|
|
2365
2362
|
readonly type: "object";
|
|
2366
2363
|
readonly properties: {
|
|
@@ -2389,10 +2386,6 @@ export declare const joltRagdoll: {
|
|
|
2389
2386
|
};
|
|
2390
2387
|
readonly required: readonly ["min", "max"];
|
|
2391
2388
|
readonly additionalProperties: false;
|
|
2392
|
-
readonly default: {
|
|
2393
|
-
readonly min: readonly [0, 0, 0];
|
|
2394
|
-
readonly max: readonly [0, 0, 0];
|
|
2395
|
-
};
|
|
2396
2389
|
};
|
|
2397
2390
|
} & {} & {
|
|
2398
2391
|
readonly material: {
|
|
@@ -2690,6 +2683,7 @@ export declare const joltRagdoll: {
|
|
|
2690
2683
|
readonly default: number;
|
|
2691
2684
|
};
|
|
2692
2685
|
readonly _worldMatrix: {
|
|
2686
|
+
readonly default: undefined;
|
|
2693
2687
|
readonly nonPersistent: true;
|
|
2694
2688
|
readonly type: "array";
|
|
2695
2689
|
readonly items: {
|
|
@@ -2699,9 +2693,9 @@ export declare const joltRagdoll: {
|
|
|
2699
2693
|
};
|
|
2700
2694
|
readonly minItems: 16;
|
|
2701
2695
|
readonly maxItems: 16;
|
|
2702
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2703
2696
|
};
|
|
2704
2697
|
readonly _worldBounds: {
|
|
2698
|
+
readonly default: undefined;
|
|
2705
2699
|
readonly nonPersistent: true;
|
|
2706
2700
|
readonly type: "object";
|
|
2707
2701
|
readonly properties: {
|
|
@@ -2730,10 +2724,6 @@ export declare const joltRagdoll: {
|
|
|
2730
2724
|
};
|
|
2731
2725
|
readonly required: readonly ["min", "max"];
|
|
2732
2726
|
readonly additionalProperties: false;
|
|
2733
|
-
readonly default: {
|
|
2734
|
-
readonly min: readonly [0, 0, 0];
|
|
2735
|
-
readonly max: readonly [0, 0, 0];
|
|
2736
|
-
};
|
|
2737
2727
|
};
|
|
2738
2728
|
} & {} & {
|
|
2739
2729
|
readonly material: {
|
|
@@ -3091,8 +3081,73 @@ export declare const joltRagdoll: {
|
|
|
3091
3081
|
dt: number;
|
|
3092
3082
|
observable: boolean;
|
|
3093
3083
|
}) => void;
|
|
3094
|
-
} & {} & {
|
|
3084
|
+
} & {} & {
|
|
3095
3085
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
3086
|
+
readonly _vertexBuffer: {
|
|
3087
|
+
readonly default: GPUBuffer | null;
|
|
3088
|
+
readonly nonPersistent: true;
|
|
3089
|
+
};
|
|
3090
|
+
readonly _skinVertexBuffer: {
|
|
3091
|
+
readonly default: GPUBuffer | null;
|
|
3092
|
+
readonly nonPersistent: true;
|
|
3093
|
+
};
|
|
3094
|
+
readonly _indexBuffer: {
|
|
3095
|
+
readonly default: GPUBuffer | null;
|
|
3096
|
+
readonly nonPersistent: true;
|
|
3097
|
+
};
|
|
3098
|
+
readonly _indexCount: {
|
|
3099
|
+
readonly default: undefined;
|
|
3100
|
+
readonly nonPersistent: true;
|
|
3101
|
+
readonly type: "integer";
|
|
3102
|
+
readonly minimum: 0;
|
|
3103
|
+
readonly maximum: 4294967295;
|
|
3104
|
+
};
|
|
3105
|
+
readonly _indexFormat: {
|
|
3106
|
+
readonly default: GPUIndexFormat;
|
|
3107
|
+
readonly nonPersistent: true;
|
|
3108
|
+
};
|
|
3109
|
+
readonly _materialBindGroup: {
|
|
3110
|
+
readonly default: GPUBindGroup | null;
|
|
3111
|
+
readonly nonPersistent: true;
|
|
3112
|
+
};
|
|
3113
|
+
readonly _mesh: {
|
|
3114
|
+
readonly default: undefined;
|
|
3115
|
+
readonly nonPersistent: true;
|
|
3116
|
+
readonly type: "integer";
|
|
3117
|
+
readonly minimum: -2147483648;
|
|
3118
|
+
readonly maximum: 2147483647;
|
|
3119
|
+
};
|
|
3120
|
+
readonly _material: {
|
|
3121
|
+
readonly default: undefined;
|
|
3122
|
+
readonly nonPersistent: true;
|
|
3123
|
+
readonly type: "integer";
|
|
3124
|
+
readonly minimum: -2147483648;
|
|
3125
|
+
readonly maximum: 2147483647;
|
|
3126
|
+
};
|
|
3127
|
+
readonly _nodeLocalMatrix: {
|
|
3128
|
+
readonly default: undefined;
|
|
3129
|
+
readonly nonPersistent: true;
|
|
3130
|
+
readonly type: "array";
|
|
3131
|
+
readonly items: {
|
|
3132
|
+
readonly type: "number";
|
|
3133
|
+
readonly precision: 1;
|
|
3134
|
+
readonly default: number;
|
|
3135
|
+
};
|
|
3136
|
+
readonly minItems: 16;
|
|
3137
|
+
readonly maxItems: 16;
|
|
3138
|
+
};
|
|
3139
|
+
readonly _skeletonModelRef: {
|
|
3140
|
+
readonly default: undefined;
|
|
3141
|
+
readonly nonPersistent: true;
|
|
3142
|
+
readonly type: "integer";
|
|
3143
|
+
readonly minimum: -2147483648;
|
|
3144
|
+
readonly maximum: 2147483647;
|
|
3145
|
+
};
|
|
3146
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3147
|
+
readonly default: GPUBindGroup | null;
|
|
3148
|
+
readonly nonPersistent: true;
|
|
3149
|
+
};
|
|
3150
|
+
} & {
|
|
3096
3151
|
readonly visible: {
|
|
3097
3152
|
readonly type: "boolean";
|
|
3098
3153
|
readonly const: true;
|
|
@@ -3141,6 +3196,7 @@ export declare const joltRagdoll: {
|
|
|
3141
3196
|
readonly default: number;
|
|
3142
3197
|
};
|
|
3143
3198
|
readonly _worldMatrix: {
|
|
3199
|
+
readonly default: undefined;
|
|
3144
3200
|
readonly nonPersistent: true;
|
|
3145
3201
|
readonly type: "array";
|
|
3146
3202
|
readonly items: {
|
|
@@ -3150,9 +3206,9 @@ export declare const joltRagdoll: {
|
|
|
3150
3206
|
};
|
|
3151
3207
|
readonly minItems: 16;
|
|
3152
3208
|
readonly maxItems: 16;
|
|
3153
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3154
3209
|
};
|
|
3155
3210
|
readonly _worldBounds: {
|
|
3211
|
+
readonly default: undefined;
|
|
3156
3212
|
readonly nonPersistent: true;
|
|
3157
3213
|
readonly type: "object";
|
|
3158
3214
|
readonly properties: {
|
|
@@ -3181,10 +3237,6 @@ export declare const joltRagdoll: {
|
|
|
3181
3237
|
};
|
|
3182
3238
|
readonly required: readonly ["min", "max"];
|
|
3183
3239
|
readonly additionalProperties: false;
|
|
3184
|
-
readonly default: {
|
|
3185
|
-
readonly min: readonly [0, 0, 0];
|
|
3186
|
-
readonly max: readonly [0, 0, 0];
|
|
3187
|
-
};
|
|
3188
3240
|
};
|
|
3189
3241
|
} & {
|
|
3190
3242
|
readonly material: {
|
|
@@ -3440,95 +3492,33 @@ export declare const joltRagdoll: {
|
|
|
3440
3492
|
readonly const: true;
|
|
3441
3493
|
readonly default: true;
|
|
3442
3494
|
};
|
|
3443
|
-
} & {
|
|
3444
|
-
readonly
|
|
3445
|
-
readonly default:
|
|
3446
|
-
readonly nonPersistent: true;
|
|
3447
|
-
};
|
|
3448
|
-
readonly _skinVertexBuffer: {
|
|
3449
|
-
readonly default: GPUBuffer | null;
|
|
3450
|
-
readonly nonPersistent: true;
|
|
3451
|
-
};
|
|
3452
|
-
readonly _indexBuffer: {
|
|
3453
|
-
readonly default: GPUBuffer | null;
|
|
3495
|
+
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3496
|
+
readonly _gltfMeshByUrl: {
|
|
3497
|
+
readonly default: Map<string, Entity> | null;
|
|
3454
3498
|
readonly nonPersistent: true;
|
|
3455
3499
|
};
|
|
3456
|
-
|
|
3500
|
+
} & {
|
|
3501
|
+
readonly frameTime: {
|
|
3502
|
+
readonly default: import("../../core/frame-time/public.js");
|
|
3457
3503
|
readonly nonPersistent: true;
|
|
3458
|
-
readonly type: "integer";
|
|
3459
|
-
readonly minimum: 0;
|
|
3460
|
-
readonly maximum: 4294967295;
|
|
3461
|
-
readonly default: number;
|
|
3462
3504
|
};
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
readonly
|
|
3505
|
+
} & {
|
|
3506
|
+
readonly schedulerState: {
|
|
3507
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3466
3508
|
};
|
|
3467
|
-
|
|
3468
|
-
|
|
3509
|
+
} & {
|
|
3510
|
+
readonly device: {
|
|
3511
|
+
readonly default: GPUDevice | null;
|
|
3469
3512
|
readonly nonPersistent: true;
|
|
3470
3513
|
};
|
|
3471
|
-
readonly
|
|
3472
|
-
readonly
|
|
3473
|
-
readonly type: "integer";
|
|
3474
|
-
readonly minimum: -2147483648;
|
|
3475
|
-
readonly maximum: 2147483647;
|
|
3476
|
-
readonly default: number;
|
|
3477
|
-
};
|
|
3478
|
-
readonly _material: {
|
|
3479
|
-
readonly nonPersistent: true;
|
|
3480
|
-
readonly type: "integer";
|
|
3481
|
-
readonly minimum: -2147483648;
|
|
3482
|
-
readonly maximum: 2147483647;
|
|
3483
|
-
readonly default: number;
|
|
3484
|
-
};
|
|
3485
|
-
readonly _nodeLocalMatrix: {
|
|
3486
|
-
readonly nonPersistent: true;
|
|
3487
|
-
readonly type: "array";
|
|
3488
|
-
readonly items: {
|
|
3489
|
-
readonly type: "number";
|
|
3490
|
-
readonly precision: 1;
|
|
3491
|
-
readonly default: number;
|
|
3492
|
-
};
|
|
3493
|
-
readonly minItems: 16;
|
|
3494
|
-
readonly maxItems: 16;
|
|
3495
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3496
|
-
};
|
|
3497
|
-
readonly _skeletonModelRef: {
|
|
3498
|
-
readonly nonPersistent: true;
|
|
3499
|
-
readonly type: "integer";
|
|
3500
|
-
readonly minimum: -2147483648;
|
|
3501
|
-
readonly maximum: 2147483647;
|
|
3502
|
-
readonly default: number;
|
|
3503
|
-
};
|
|
3504
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3505
|
-
readonly default: GPUBindGroup | null;
|
|
3506
|
-
readonly nonPersistent: true;
|
|
3507
|
-
};
|
|
3508
|
-
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3509
|
-
readonly _gltfMeshByUrl: {
|
|
3510
|
-
readonly default: Map<string, Entity> | null;
|
|
3511
|
-
readonly nonPersistent: true;
|
|
3512
|
-
};
|
|
3513
|
-
} & {
|
|
3514
|
-
readonly frameTime: {
|
|
3515
|
-
readonly default: import("../../core/frame-time/public.js");
|
|
3516
|
-
readonly nonPersistent: true;
|
|
3517
|
-
};
|
|
3518
|
-
} & {
|
|
3519
|
-
readonly schedulerState: {
|
|
3520
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3521
|
-
};
|
|
3522
|
-
} & {
|
|
3523
|
-
readonly device: {
|
|
3524
|
-
readonly default: GPUDevice | null;
|
|
3525
|
-
readonly nonPersistent: true;
|
|
3526
|
-
};
|
|
3527
|
-
readonly commandEncoder: {
|
|
3528
|
-
readonly default: GPUCommandEncoder | null;
|
|
3514
|
+
readonly commandEncoder: {
|
|
3515
|
+
readonly default: GPUCommandEncoder | null;
|
|
3529
3516
|
readonly nonPersistent: true;
|
|
3530
3517
|
};
|
|
3531
3518
|
}>, {} & {} & {
|
|
3519
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3520
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3521
|
+
} & {
|
|
3532
3522
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3533
3523
|
} & {} & {
|
|
3534
3524
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
@@ -3543,10 +3533,7 @@ export declare const joltRagdoll: {
|
|
|
3543
3533
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3544
3534
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3545
3535
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3546
|
-
} & {} & {
|
|
3547
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3548
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3549
|
-
}, {} & {} & {
|
|
3536
|
+
} & {}, {} & {} & {} & {
|
|
3550
3537
|
readonly nodeChildrenOf: {
|
|
3551
3538
|
readonly key: "parent";
|
|
3552
3539
|
readonly archetype: "Node";
|
|
@@ -3557,7 +3544,7 @@ export declare const joltRagdoll: {
|
|
|
3557
3544
|
readonly unique: true;
|
|
3558
3545
|
readonly archetype: "Material";
|
|
3559
3546
|
};
|
|
3560
|
-
} & {} & {} & {} & {}
|
|
3547
|
+
} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3561
3548
|
} & {
|
|
3562
3549
|
readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3563
3550
|
readonly _skeletonJoints: {
|
|
@@ -3565,11 +3552,11 @@ export declare const joltRagdoll: {
|
|
|
3565
3552
|
readonly nonPersistent: true;
|
|
3566
3553
|
};
|
|
3567
3554
|
readonly _skeletonMesh: {
|
|
3555
|
+
readonly default: undefined;
|
|
3568
3556
|
readonly nonPersistent: true;
|
|
3569
3557
|
readonly type: "integer";
|
|
3570
3558
|
readonly minimum: -2147483648;
|
|
3571
3559
|
readonly maximum: 2147483647;
|
|
3572
|
-
readonly default: number;
|
|
3573
3560
|
};
|
|
3574
3561
|
readonly _skeletonInstanceBuffer: {
|
|
3575
3562
|
readonly default: GPUBuffer | null;
|
|
@@ -3628,6 +3615,7 @@ export declare const joltRagdoll: {
|
|
|
3628
3615
|
readonly default: number;
|
|
3629
3616
|
};
|
|
3630
3617
|
readonly _worldMatrix: {
|
|
3618
|
+
readonly default: undefined;
|
|
3631
3619
|
readonly nonPersistent: true;
|
|
3632
3620
|
readonly type: "array";
|
|
3633
3621
|
readonly items: {
|
|
@@ -3637,9 +3625,9 @@ export declare const joltRagdoll: {
|
|
|
3637
3625
|
};
|
|
3638
3626
|
readonly minItems: 16;
|
|
3639
3627
|
readonly maxItems: 16;
|
|
3640
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3641
3628
|
};
|
|
3642
3629
|
readonly _worldBounds: {
|
|
3630
|
+
readonly default: undefined;
|
|
3643
3631
|
readonly nonPersistent: true;
|
|
3644
3632
|
readonly type: "object";
|
|
3645
3633
|
readonly properties: {
|
|
@@ -3668,53 +3656,8 @@ export declare const joltRagdoll: {
|
|
|
3668
3656
|
};
|
|
3669
3657
|
readonly required: readonly ["min", "max"];
|
|
3670
3658
|
readonly additionalProperties: false;
|
|
3671
|
-
readonly default: {
|
|
3672
|
-
readonly min: readonly [0, 0, 0];
|
|
3673
|
-
readonly max: readonly [0, 0, 0];
|
|
3674
|
-
};
|
|
3675
3659
|
};
|
|
3676
3660
|
} & {} & {
|
|
3677
|
-
readonly animationClipTracks: {
|
|
3678
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
3679
|
-
};
|
|
3680
|
-
readonly animationClipDuration: {
|
|
3681
|
-
readonly type: "number";
|
|
3682
|
-
readonly precision: 2;
|
|
3683
|
-
readonly default: number;
|
|
3684
|
-
};
|
|
3685
|
-
readonly animationClipRef: {
|
|
3686
|
-
readonly type: "integer";
|
|
3687
|
-
readonly minimum: -2147483648;
|
|
3688
|
-
readonly maximum: 2147483647;
|
|
3689
|
-
readonly default: number;
|
|
3690
|
-
};
|
|
3691
|
-
readonly animationTargets: {
|
|
3692
|
-
readonly default: Entity[];
|
|
3693
|
-
};
|
|
3694
|
-
readonly animationTime: {
|
|
3695
|
-
readonly type: "number";
|
|
3696
|
-
readonly precision: 2;
|
|
3697
|
-
readonly default: number;
|
|
3698
|
-
};
|
|
3699
|
-
readonly animationSpeed: {
|
|
3700
|
-
readonly default: 1;
|
|
3701
|
-
readonly type: "number";
|
|
3702
|
-
readonly precision: 1;
|
|
3703
|
-
};
|
|
3704
|
-
readonly animationLoop: {
|
|
3705
|
-
readonly type: "boolean";
|
|
3706
|
-
readonly default: boolean;
|
|
3707
|
-
};
|
|
3708
|
-
readonly animationPlaying: {
|
|
3709
|
-
readonly type: "boolean";
|
|
3710
|
-
readonly default: boolean;
|
|
3711
|
-
};
|
|
3712
|
-
readonly animationObservable: {
|
|
3713
|
-
readonly type: "boolean";
|
|
3714
|
-
readonly const: true;
|
|
3715
|
-
readonly default: true;
|
|
3716
|
-
};
|
|
3717
|
-
} & {
|
|
3718
3661
|
readonly _vertexBuffer: {
|
|
3719
3662
|
readonly default: GPUBuffer | null;
|
|
3720
3663
|
readonly nonPersistent: true;
|
|
@@ -3728,11 +3671,11 @@ export declare const joltRagdoll: {
|
|
|
3728
3671
|
readonly nonPersistent: true;
|
|
3729
3672
|
};
|
|
3730
3673
|
readonly _indexCount: {
|
|
3674
|
+
readonly default: undefined;
|
|
3731
3675
|
readonly nonPersistent: true;
|
|
3732
3676
|
readonly type: "integer";
|
|
3733
3677
|
readonly minimum: 0;
|
|
3734
3678
|
readonly maximum: 4294967295;
|
|
3735
|
-
readonly default: number;
|
|
3736
3679
|
};
|
|
3737
3680
|
readonly _indexFormat: {
|
|
3738
3681
|
readonly default: GPUIndexFormat;
|
|
@@ -3743,20 +3686,21 @@ export declare const joltRagdoll: {
|
|
|
3743
3686
|
readonly nonPersistent: true;
|
|
3744
3687
|
};
|
|
3745
3688
|
readonly _mesh: {
|
|
3689
|
+
readonly default: undefined;
|
|
3746
3690
|
readonly nonPersistent: true;
|
|
3747
3691
|
readonly type: "integer";
|
|
3748
3692
|
readonly minimum: -2147483648;
|
|
3749
3693
|
readonly maximum: 2147483647;
|
|
3750
|
-
readonly default: number;
|
|
3751
3694
|
};
|
|
3752
3695
|
readonly _material: {
|
|
3696
|
+
readonly default: undefined;
|
|
3753
3697
|
readonly nonPersistent: true;
|
|
3754
3698
|
readonly type: "integer";
|
|
3755
3699
|
readonly minimum: -2147483648;
|
|
3756
3700
|
readonly maximum: 2147483647;
|
|
3757
|
-
readonly default: number;
|
|
3758
3701
|
};
|
|
3759
3702
|
readonly _nodeLocalMatrix: {
|
|
3703
|
+
readonly default: undefined;
|
|
3760
3704
|
readonly nonPersistent: true;
|
|
3761
3705
|
readonly type: "array";
|
|
3762
3706
|
readonly items: {
|
|
@@ -3766,19 +3710,59 @@ export declare const joltRagdoll: {
|
|
|
3766
3710
|
};
|
|
3767
3711
|
readonly minItems: 16;
|
|
3768
3712
|
readonly maxItems: 16;
|
|
3769
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3770
3713
|
};
|
|
3771
3714
|
readonly _skeletonModelRef: {
|
|
3715
|
+
readonly default: undefined;
|
|
3772
3716
|
readonly nonPersistent: true;
|
|
3773
3717
|
readonly type: "integer";
|
|
3774
3718
|
readonly minimum: -2147483648;
|
|
3775
3719
|
readonly maximum: 2147483647;
|
|
3776
|
-
readonly default: number;
|
|
3777
3720
|
};
|
|
3778
3721
|
readonly _skeletonJointMatrixBindGroup: {
|
|
3779
3722
|
readonly default: GPUBindGroup | null;
|
|
3780
3723
|
readonly nonPersistent: true;
|
|
3781
3724
|
};
|
|
3725
|
+
} & {
|
|
3726
|
+
readonly animationClipTracks: {
|
|
3727
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
3728
|
+
};
|
|
3729
|
+
readonly animationClipDuration: {
|
|
3730
|
+
readonly type: "number";
|
|
3731
|
+
readonly precision: 2;
|
|
3732
|
+
readonly default: number;
|
|
3733
|
+
};
|
|
3734
|
+
readonly animationClipRef: {
|
|
3735
|
+
readonly type: "integer";
|
|
3736
|
+
readonly minimum: -2147483648;
|
|
3737
|
+
readonly maximum: 2147483647;
|
|
3738
|
+
readonly default: number;
|
|
3739
|
+
};
|
|
3740
|
+
readonly animationTargets: {
|
|
3741
|
+
readonly default: Entity[];
|
|
3742
|
+
};
|
|
3743
|
+
readonly animationTime: {
|
|
3744
|
+
readonly type: "number";
|
|
3745
|
+
readonly precision: 2;
|
|
3746
|
+
readonly default: number;
|
|
3747
|
+
};
|
|
3748
|
+
readonly animationSpeed: {
|
|
3749
|
+
readonly default: 1;
|
|
3750
|
+
readonly type: "number";
|
|
3751
|
+
readonly precision: 1;
|
|
3752
|
+
};
|
|
3753
|
+
readonly animationLoop: {
|
|
3754
|
+
readonly type: "boolean";
|
|
3755
|
+
readonly default: boolean;
|
|
3756
|
+
};
|
|
3757
|
+
readonly animationPlaying: {
|
|
3758
|
+
readonly type: "boolean";
|
|
3759
|
+
readonly default: boolean;
|
|
3760
|
+
};
|
|
3761
|
+
readonly animationObservable: {
|
|
3762
|
+
readonly type: "boolean";
|
|
3763
|
+
readonly const: true;
|
|
3764
|
+
readonly default: true;
|
|
3765
|
+
};
|
|
3782
3766
|
} & {
|
|
3783
3767
|
readonly material: {
|
|
3784
3768
|
readonly type: "integer";
|
|
@@ -4019,14 +4003,14 @@ export declare const joltRagdoll: {
|
|
|
4019
4003
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
4020
4004
|
} & {
|
|
4021
4005
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
4022
|
-
} & {} & {
|
|
4006
|
+
} & {} & {
|
|
4007
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4008
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4009
|
+
} & {} & {
|
|
4023
4010
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
4024
4011
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
4025
4012
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
4026
4013
|
} & {} & {
|
|
4027
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4028
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4029
|
-
} & {
|
|
4030
4014
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4031
4015
|
} & {
|
|
4032
4016
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -4062,7 +4046,7 @@ export declare const joltRagdoll: {
|
|
|
4062
4046
|
readonly nonPersistent: true;
|
|
4063
4047
|
};
|
|
4064
4048
|
}>, {}, {}, never>) => void;
|
|
4065
|
-
} & {} & {
|
|
4049
|
+
} & {} & {} & {
|
|
4066
4050
|
readonly setFixedTimestep: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
4067
4051
|
readonly physicsClock: {
|
|
4068
4052
|
readonly default: import("../../physics/public.js").PhysicsClock;
|
|
@@ -4087,21 +4071,2409 @@ export declare const joltRagdoll: {
|
|
|
4087
4071
|
readonly nonPersistent: true;
|
|
4088
4072
|
};
|
|
4089
4073
|
}>, {}, {}, never>, hz: number) => void;
|
|
4090
|
-
} & {} & {}
|
|
4091
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
4092
|
-
readonly actions: {
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
readonly
|
|
4099
|
-
|
|
4100
|
-
|
|
4074
|
+
} & {} & {};
|
|
4075
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "advancePhysicsClock" | "joltStep" | "joltRagdollSystem">;
|
|
4076
|
+
readonly actions: {
|
|
4077
|
+
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
4078
|
+
readonly bodyType: {
|
|
4079
|
+
readonly type: "string";
|
|
4080
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
4081
|
+
};
|
|
4082
|
+
readonly colliderShape: {
|
|
4083
|
+
readonly type: "string";
|
|
4084
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
4085
|
+
};
|
|
4086
|
+
readonly halfExtents: {
|
|
4087
|
+
readonly type: "array";
|
|
4088
|
+
readonly items: {
|
|
4089
|
+
readonly type: "number";
|
|
4090
|
+
readonly precision: 1;
|
|
4091
|
+
readonly default: number;
|
|
4092
|
+
};
|
|
4093
|
+
readonly minItems: 3;
|
|
4094
|
+
readonly maxItems: 3;
|
|
4095
|
+
readonly default: readonly [0, 0, 0];
|
|
4096
|
+
};
|
|
4097
|
+
readonly position: {
|
|
4098
|
+
readonly type: "array";
|
|
4099
|
+
readonly items: {
|
|
4100
|
+
readonly type: "number";
|
|
4101
|
+
readonly precision: 1;
|
|
4102
|
+
readonly default: number;
|
|
4103
|
+
};
|
|
4104
|
+
readonly minItems: 3;
|
|
4105
|
+
readonly maxItems: 3;
|
|
4106
|
+
readonly default: readonly [0, 0, 0];
|
|
4107
|
+
};
|
|
4108
|
+
readonly rotation: {
|
|
4109
|
+
readonly type: "array";
|
|
4110
|
+
readonly items: {
|
|
4111
|
+
readonly type: "number";
|
|
4112
|
+
readonly precision: 1;
|
|
4113
|
+
readonly default: number;
|
|
4114
|
+
};
|
|
4115
|
+
readonly minItems: 4;
|
|
4116
|
+
readonly maxItems: 4;
|
|
4117
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
4118
|
+
readonly interpolators: {
|
|
4119
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4120
|
+
};
|
|
4121
|
+
};
|
|
4122
|
+
readonly linearVelocity: {
|
|
4123
|
+
readonly type: "array";
|
|
4124
|
+
readonly items: {
|
|
4125
|
+
readonly type: "number";
|
|
4126
|
+
readonly precision: 1;
|
|
4127
|
+
readonly default: number;
|
|
4128
|
+
};
|
|
4129
|
+
readonly minItems: 3;
|
|
4130
|
+
readonly maxItems: 3;
|
|
4131
|
+
readonly default: readonly [0, 0, 0];
|
|
4132
|
+
};
|
|
4133
|
+
readonly angularVelocity: {
|
|
4134
|
+
readonly type: "array";
|
|
4135
|
+
readonly items: {
|
|
4136
|
+
readonly type: "number";
|
|
4137
|
+
readonly precision: 1;
|
|
4138
|
+
readonly default: number;
|
|
4139
|
+
};
|
|
4140
|
+
readonly minItems: 3;
|
|
4141
|
+
readonly maxItems: 3;
|
|
4142
|
+
readonly default: readonly [0, 0, 0];
|
|
4143
|
+
};
|
|
4144
|
+
readonly _prevPosition: {
|
|
4145
|
+
readonly default: undefined;
|
|
4146
|
+
readonly nonPersistent: true;
|
|
4147
|
+
readonly type: "array";
|
|
4148
|
+
readonly items: {
|
|
4149
|
+
readonly type: "number";
|
|
4150
|
+
readonly precision: 1;
|
|
4151
|
+
readonly default: number;
|
|
4152
|
+
};
|
|
4153
|
+
readonly minItems: 3;
|
|
4154
|
+
readonly maxItems: 3;
|
|
4155
|
+
};
|
|
4156
|
+
readonly _prevRotation: {
|
|
4157
|
+
readonly default: undefined;
|
|
4158
|
+
readonly nonPersistent: true;
|
|
4159
|
+
readonly type: "array";
|
|
4160
|
+
readonly items: {
|
|
4161
|
+
readonly type: "number";
|
|
4162
|
+
readonly precision: 1;
|
|
4163
|
+
readonly default: number;
|
|
4164
|
+
};
|
|
4165
|
+
readonly minItems: 4;
|
|
4166
|
+
readonly maxItems: 4;
|
|
4167
|
+
readonly interpolators: {
|
|
4168
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4169
|
+
};
|
|
4170
|
+
};
|
|
4171
|
+
readonly collisionGroup: {
|
|
4172
|
+
readonly type: "number";
|
|
4173
|
+
readonly precision: 1;
|
|
4174
|
+
readonly default: number;
|
|
4175
|
+
};
|
|
4176
|
+
readonly convexPoints: {
|
|
4177
|
+
readonly default: Float32Array | null;
|
|
4178
|
+
};
|
|
4179
|
+
readonly colliderMesh: {
|
|
4180
|
+
readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
|
|
4181
|
+
};
|
|
4182
|
+
} & {
|
|
4183
|
+
readonly material: {
|
|
4184
|
+
readonly type: "integer";
|
|
4185
|
+
readonly minimum: -2147483648;
|
|
4186
|
+
readonly maximum: 2147483647;
|
|
4187
|
+
readonly default: number;
|
|
4188
|
+
};
|
|
4189
|
+
readonly name: {
|
|
4190
|
+
readonly type: "string";
|
|
4191
|
+
};
|
|
4192
|
+
readonly density: {
|
|
4193
|
+
readonly type: "number";
|
|
4194
|
+
readonly precision: 1;
|
|
4195
|
+
readonly default: number;
|
|
4196
|
+
};
|
|
4197
|
+
readonly restitution: {
|
|
4198
|
+
readonly type: "number";
|
|
4199
|
+
readonly precision: 1;
|
|
4200
|
+
readonly default: number;
|
|
4201
|
+
};
|
|
4202
|
+
readonly friction: {
|
|
4203
|
+
readonly type: "number";
|
|
4204
|
+
readonly precision: 1;
|
|
4205
|
+
readonly default: number;
|
|
4206
|
+
};
|
|
4207
|
+
readonly compliance: {
|
|
4208
|
+
readonly type: "number";
|
|
4209
|
+
readonly precision: 1;
|
|
4210
|
+
readonly default: number;
|
|
4211
|
+
};
|
|
4212
|
+
readonly heatCapacity: {
|
|
4213
|
+
readonly type: "number";
|
|
4214
|
+
readonly precision: 1;
|
|
4215
|
+
readonly default: number;
|
|
4216
|
+
};
|
|
4217
|
+
readonly viscosity: {
|
|
4218
|
+
readonly type: "number";
|
|
4219
|
+
readonly precision: 1;
|
|
4220
|
+
readonly default: number;
|
|
4221
|
+
};
|
|
4222
|
+
readonly thermalConductivity: {
|
|
4223
|
+
readonly type: "number";
|
|
4224
|
+
readonly precision: 1;
|
|
4225
|
+
readonly default: number;
|
|
4226
|
+
};
|
|
4227
|
+
readonly stressStrainCurve: {
|
|
4228
|
+
readonly type: "object";
|
|
4229
|
+
readonly layout: "packed";
|
|
4230
|
+
readonly properties: {
|
|
4231
|
+
readonly tensileYieldStrainStress: {
|
|
4232
|
+
readonly type: "array";
|
|
4233
|
+
readonly items: {
|
|
4234
|
+
readonly type: "number";
|
|
4235
|
+
readonly precision: 1;
|
|
4236
|
+
readonly default: number;
|
|
4237
|
+
};
|
|
4238
|
+
readonly minItems: 2;
|
|
4239
|
+
readonly maxItems: 2;
|
|
4240
|
+
readonly default: readonly [0, 0];
|
|
4241
|
+
};
|
|
4242
|
+
readonly tensileFractureStrainStress: {
|
|
4243
|
+
readonly type: "array";
|
|
4244
|
+
readonly items: {
|
|
4245
|
+
readonly type: "number";
|
|
4246
|
+
readonly precision: 1;
|
|
4247
|
+
readonly default: number;
|
|
4248
|
+
};
|
|
4249
|
+
readonly minItems: 2;
|
|
4250
|
+
readonly maxItems: 2;
|
|
4251
|
+
readonly default: readonly [0, 0];
|
|
4252
|
+
};
|
|
4253
|
+
readonly compressiveYieldStrainStress: {
|
|
4254
|
+
readonly type: "array";
|
|
4255
|
+
readonly items: {
|
|
4256
|
+
readonly type: "number";
|
|
4257
|
+
readonly precision: 1;
|
|
4258
|
+
readonly default: number;
|
|
4259
|
+
};
|
|
4260
|
+
readonly minItems: 2;
|
|
4261
|
+
readonly maxItems: 2;
|
|
4262
|
+
readonly default: readonly [0, 0];
|
|
4263
|
+
};
|
|
4264
|
+
readonly compressiveFractureStrainStress: {
|
|
4265
|
+
readonly type: "array";
|
|
4266
|
+
readonly items: {
|
|
4267
|
+
readonly type: "number";
|
|
4268
|
+
readonly precision: 1;
|
|
4269
|
+
readonly default: number;
|
|
4270
|
+
};
|
|
4271
|
+
readonly minItems: 2;
|
|
4272
|
+
readonly maxItems: 2;
|
|
4273
|
+
readonly default: readonly [0, 0];
|
|
4274
|
+
};
|
|
4275
|
+
};
|
|
4276
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4277
|
+
};
|
|
4278
|
+
readonly baseColorFactor: {
|
|
4279
|
+
readonly type: "array";
|
|
4280
|
+
readonly items: {
|
|
4281
|
+
readonly type: "number";
|
|
4282
|
+
readonly precision: 1;
|
|
4283
|
+
readonly default: number;
|
|
4284
|
+
};
|
|
4285
|
+
readonly minItems: 4;
|
|
4286
|
+
readonly maxItems: 4;
|
|
4287
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4288
|
+
};
|
|
4289
|
+
readonly emissiveFactor: {
|
|
4290
|
+
readonly type: "array";
|
|
4291
|
+
readonly items: {
|
|
4292
|
+
readonly type: "number";
|
|
4293
|
+
readonly precision: 1;
|
|
4294
|
+
readonly default: number;
|
|
4295
|
+
};
|
|
4296
|
+
readonly minItems: 3;
|
|
4297
|
+
readonly maxItems: 3;
|
|
4298
|
+
readonly default: readonly [0, 0, 0];
|
|
4299
|
+
};
|
|
4300
|
+
readonly metallicFactor: {
|
|
4301
|
+
readonly type: "number";
|
|
4302
|
+
readonly precision: 1;
|
|
4303
|
+
readonly default: number;
|
|
4304
|
+
};
|
|
4305
|
+
readonly roughnessFactor: {
|
|
4306
|
+
readonly type: "number";
|
|
4307
|
+
readonly precision: 1;
|
|
4308
|
+
readonly default: number;
|
|
4309
|
+
};
|
|
4310
|
+
readonly normalScale: {
|
|
4311
|
+
readonly type: "number";
|
|
4312
|
+
readonly precision: 1;
|
|
4313
|
+
readonly default: number;
|
|
4314
|
+
};
|
|
4315
|
+
readonly occlusionStrength: {
|
|
4316
|
+
readonly type: "number";
|
|
4317
|
+
readonly precision: 1;
|
|
4318
|
+
readonly default: number;
|
|
4319
|
+
};
|
|
4320
|
+
readonly irReflectance: {
|
|
4321
|
+
readonly type: "number";
|
|
4322
|
+
readonly precision: 1;
|
|
4323
|
+
readonly default: number;
|
|
4324
|
+
};
|
|
4325
|
+
readonly irEmission: {
|
|
4326
|
+
readonly type: "number";
|
|
4327
|
+
readonly precision: 1;
|
|
4328
|
+
readonly default: number;
|
|
4329
|
+
};
|
|
4330
|
+
readonly emissionMode: {
|
|
4331
|
+
readonly type: "integer";
|
|
4332
|
+
readonly minimum: 0;
|
|
4333
|
+
readonly maximum: 4294967295;
|
|
4334
|
+
readonly default: number;
|
|
4335
|
+
};
|
|
4336
|
+
readonly baseColorUrl: {
|
|
4337
|
+
readonly type: "string";
|
|
4338
|
+
};
|
|
4339
|
+
readonly metallicRoughnessUrl: {
|
|
4340
|
+
readonly type: "string";
|
|
4341
|
+
};
|
|
4342
|
+
readonly normalUrl: {
|
|
4343
|
+
readonly type: "string";
|
|
4344
|
+
};
|
|
4345
|
+
readonly occlusionUrl: {
|
|
4346
|
+
readonly type: "string";
|
|
4347
|
+
};
|
|
4348
|
+
readonly emissiveUrl: {
|
|
4349
|
+
readonly type: "string";
|
|
4350
|
+
};
|
|
4351
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
4352
|
+
readonly physicsQuery: {
|
|
4353
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
4354
|
+
readonly nonPersistent: true;
|
|
4355
|
+
};
|
|
4356
|
+
} & {}>, {
|
|
4357
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
4358
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
4359
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
4360
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
4361
|
+
} & {
|
|
4362
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4363
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
4364
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4365
|
+
readonly material: {
|
|
4366
|
+
readonly type: "integer";
|
|
4367
|
+
readonly minimum: -2147483648;
|
|
4368
|
+
readonly maximum: 2147483647;
|
|
4369
|
+
readonly default: number;
|
|
4370
|
+
};
|
|
4371
|
+
readonly name: {
|
|
4372
|
+
readonly type: "string";
|
|
4373
|
+
};
|
|
4374
|
+
readonly density: {
|
|
4375
|
+
readonly type: "number";
|
|
4376
|
+
readonly precision: 1;
|
|
4377
|
+
readonly default: number;
|
|
4378
|
+
};
|
|
4379
|
+
readonly restitution: {
|
|
4380
|
+
readonly type: "number";
|
|
4381
|
+
readonly precision: 1;
|
|
4382
|
+
readonly default: number;
|
|
4383
|
+
};
|
|
4384
|
+
readonly friction: {
|
|
4385
|
+
readonly type: "number";
|
|
4386
|
+
readonly precision: 1;
|
|
4387
|
+
readonly default: number;
|
|
4388
|
+
};
|
|
4389
|
+
readonly compliance: {
|
|
4390
|
+
readonly type: "number";
|
|
4391
|
+
readonly precision: 1;
|
|
4392
|
+
readonly default: number;
|
|
4393
|
+
};
|
|
4394
|
+
readonly heatCapacity: {
|
|
4395
|
+
readonly type: "number";
|
|
4396
|
+
readonly precision: 1;
|
|
4397
|
+
readonly default: number;
|
|
4398
|
+
};
|
|
4399
|
+
readonly viscosity: {
|
|
4400
|
+
readonly type: "number";
|
|
4401
|
+
readonly precision: 1;
|
|
4402
|
+
readonly default: number;
|
|
4403
|
+
};
|
|
4404
|
+
readonly thermalConductivity: {
|
|
4405
|
+
readonly type: "number";
|
|
4406
|
+
readonly precision: 1;
|
|
4407
|
+
readonly default: number;
|
|
4408
|
+
};
|
|
4409
|
+
readonly stressStrainCurve: {
|
|
4410
|
+
readonly type: "object";
|
|
4411
|
+
readonly layout: "packed";
|
|
4412
|
+
readonly properties: {
|
|
4413
|
+
readonly tensileYieldStrainStress: {
|
|
4414
|
+
readonly type: "array";
|
|
4415
|
+
readonly items: {
|
|
4416
|
+
readonly type: "number";
|
|
4417
|
+
readonly precision: 1;
|
|
4418
|
+
readonly default: number;
|
|
4419
|
+
};
|
|
4420
|
+
readonly minItems: 2;
|
|
4421
|
+
readonly maxItems: 2;
|
|
4422
|
+
readonly default: readonly [0, 0];
|
|
4423
|
+
};
|
|
4424
|
+
readonly tensileFractureStrainStress: {
|
|
4425
|
+
readonly type: "array";
|
|
4426
|
+
readonly items: {
|
|
4427
|
+
readonly type: "number";
|
|
4428
|
+
readonly precision: 1;
|
|
4429
|
+
readonly default: number;
|
|
4430
|
+
};
|
|
4431
|
+
readonly minItems: 2;
|
|
4432
|
+
readonly maxItems: 2;
|
|
4433
|
+
readonly default: readonly [0, 0];
|
|
4434
|
+
};
|
|
4435
|
+
readonly compressiveYieldStrainStress: {
|
|
4436
|
+
readonly type: "array";
|
|
4437
|
+
readonly items: {
|
|
4438
|
+
readonly type: "number";
|
|
4439
|
+
readonly precision: 1;
|
|
4440
|
+
readonly default: number;
|
|
4441
|
+
};
|
|
4442
|
+
readonly minItems: 2;
|
|
4443
|
+
readonly maxItems: 2;
|
|
4444
|
+
readonly default: readonly [0, 0];
|
|
4445
|
+
};
|
|
4446
|
+
readonly compressiveFractureStrainStress: {
|
|
4447
|
+
readonly type: "array";
|
|
4448
|
+
readonly items: {
|
|
4449
|
+
readonly type: "number";
|
|
4450
|
+
readonly precision: 1;
|
|
4451
|
+
readonly default: number;
|
|
4452
|
+
};
|
|
4453
|
+
readonly minItems: 2;
|
|
4454
|
+
readonly maxItems: 2;
|
|
4455
|
+
readonly default: readonly [0, 0];
|
|
4456
|
+
};
|
|
4457
|
+
};
|
|
4458
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4459
|
+
};
|
|
4460
|
+
readonly baseColorFactor: {
|
|
4461
|
+
readonly type: "array";
|
|
4462
|
+
readonly items: {
|
|
4463
|
+
readonly type: "number";
|
|
4464
|
+
readonly precision: 1;
|
|
4465
|
+
readonly default: number;
|
|
4466
|
+
};
|
|
4467
|
+
readonly minItems: 4;
|
|
4468
|
+
readonly maxItems: 4;
|
|
4469
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4470
|
+
};
|
|
4471
|
+
readonly emissiveFactor: {
|
|
4472
|
+
readonly type: "array";
|
|
4473
|
+
readonly items: {
|
|
4474
|
+
readonly type: "number";
|
|
4475
|
+
readonly precision: 1;
|
|
4476
|
+
readonly default: number;
|
|
4477
|
+
};
|
|
4478
|
+
readonly minItems: 3;
|
|
4479
|
+
readonly maxItems: 3;
|
|
4480
|
+
readonly default: readonly [0, 0, 0];
|
|
4481
|
+
};
|
|
4482
|
+
readonly metallicFactor: {
|
|
4483
|
+
readonly type: "number";
|
|
4484
|
+
readonly precision: 1;
|
|
4485
|
+
readonly default: number;
|
|
4486
|
+
};
|
|
4487
|
+
readonly roughnessFactor: {
|
|
4488
|
+
readonly type: "number";
|
|
4489
|
+
readonly precision: 1;
|
|
4490
|
+
readonly default: number;
|
|
4491
|
+
};
|
|
4492
|
+
readonly normalScale: {
|
|
4493
|
+
readonly type: "number";
|
|
4494
|
+
readonly precision: 1;
|
|
4495
|
+
readonly default: number;
|
|
4496
|
+
};
|
|
4497
|
+
readonly occlusionStrength: {
|
|
4498
|
+
readonly type: "number";
|
|
4499
|
+
readonly precision: 1;
|
|
4500
|
+
readonly default: number;
|
|
4501
|
+
};
|
|
4502
|
+
readonly irReflectance: {
|
|
4503
|
+
readonly type: "number";
|
|
4504
|
+
readonly precision: 1;
|
|
4505
|
+
readonly default: number;
|
|
4506
|
+
};
|
|
4507
|
+
readonly irEmission: {
|
|
4508
|
+
readonly type: "number";
|
|
4509
|
+
readonly precision: 1;
|
|
4510
|
+
readonly default: number;
|
|
4511
|
+
};
|
|
4512
|
+
readonly emissionMode: {
|
|
4513
|
+
readonly type: "integer";
|
|
4514
|
+
readonly minimum: 0;
|
|
4515
|
+
readonly maximum: 4294967295;
|
|
4516
|
+
readonly default: number;
|
|
4517
|
+
};
|
|
4518
|
+
readonly baseColorUrl: {
|
|
4519
|
+
readonly type: "string";
|
|
4520
|
+
};
|
|
4521
|
+
readonly metallicRoughnessUrl: {
|
|
4522
|
+
readonly type: "string";
|
|
4523
|
+
};
|
|
4524
|
+
readonly normalUrl: {
|
|
4525
|
+
readonly type: "string";
|
|
4526
|
+
};
|
|
4527
|
+
readonly occlusionUrl: {
|
|
4528
|
+
readonly type: "string";
|
|
4529
|
+
};
|
|
4530
|
+
readonly emissiveUrl: {
|
|
4531
|
+
readonly type: "string";
|
|
4532
|
+
};
|
|
4533
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4534
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4535
|
+
}, {
|
|
4536
|
+
readonly materialByName: {
|
|
4537
|
+
readonly key: "name";
|
|
4538
|
+
readonly unique: true;
|
|
4539
|
+
readonly archetype: "Material";
|
|
4540
|
+
};
|
|
4541
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
4542
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4543
|
+
readonly material: {
|
|
4544
|
+
readonly type: "integer";
|
|
4545
|
+
readonly minimum: -2147483648;
|
|
4546
|
+
readonly maximum: 2147483647;
|
|
4547
|
+
readonly default: number;
|
|
4548
|
+
};
|
|
4549
|
+
readonly name: {
|
|
4550
|
+
readonly type: "string";
|
|
4551
|
+
};
|
|
4552
|
+
readonly density: {
|
|
4553
|
+
readonly type: "number";
|
|
4554
|
+
readonly precision: 1;
|
|
4555
|
+
readonly default: number;
|
|
4556
|
+
};
|
|
4557
|
+
readonly restitution: {
|
|
4558
|
+
readonly type: "number";
|
|
4559
|
+
readonly precision: 1;
|
|
4560
|
+
readonly default: number;
|
|
4561
|
+
};
|
|
4562
|
+
readonly friction: {
|
|
4563
|
+
readonly type: "number";
|
|
4564
|
+
readonly precision: 1;
|
|
4565
|
+
readonly default: number;
|
|
4566
|
+
};
|
|
4567
|
+
readonly compliance: {
|
|
4568
|
+
readonly type: "number";
|
|
4569
|
+
readonly precision: 1;
|
|
4570
|
+
readonly default: number;
|
|
4571
|
+
};
|
|
4572
|
+
readonly heatCapacity: {
|
|
4573
|
+
readonly type: "number";
|
|
4574
|
+
readonly precision: 1;
|
|
4575
|
+
readonly default: number;
|
|
4576
|
+
};
|
|
4577
|
+
readonly viscosity: {
|
|
4578
|
+
readonly type: "number";
|
|
4579
|
+
readonly precision: 1;
|
|
4580
|
+
readonly default: number;
|
|
4581
|
+
};
|
|
4582
|
+
readonly thermalConductivity: {
|
|
4583
|
+
readonly type: "number";
|
|
4584
|
+
readonly precision: 1;
|
|
4585
|
+
readonly default: number;
|
|
4586
|
+
};
|
|
4587
|
+
readonly stressStrainCurve: {
|
|
4588
|
+
readonly type: "object";
|
|
4589
|
+
readonly layout: "packed";
|
|
4590
|
+
readonly properties: {
|
|
4591
|
+
readonly tensileYieldStrainStress: {
|
|
4592
|
+
readonly type: "array";
|
|
4593
|
+
readonly items: {
|
|
4594
|
+
readonly type: "number";
|
|
4595
|
+
readonly precision: 1;
|
|
4596
|
+
readonly default: number;
|
|
4597
|
+
};
|
|
4598
|
+
readonly minItems: 2;
|
|
4599
|
+
readonly maxItems: 2;
|
|
4600
|
+
readonly default: readonly [0, 0];
|
|
4601
|
+
};
|
|
4602
|
+
readonly tensileFractureStrainStress: {
|
|
4603
|
+
readonly type: "array";
|
|
4604
|
+
readonly items: {
|
|
4605
|
+
readonly type: "number";
|
|
4606
|
+
readonly precision: 1;
|
|
4607
|
+
readonly default: number;
|
|
4608
|
+
};
|
|
4609
|
+
readonly minItems: 2;
|
|
4610
|
+
readonly maxItems: 2;
|
|
4611
|
+
readonly default: readonly [0, 0];
|
|
4612
|
+
};
|
|
4613
|
+
readonly compressiveYieldStrainStress: {
|
|
4614
|
+
readonly type: "array";
|
|
4615
|
+
readonly items: {
|
|
4616
|
+
readonly type: "number";
|
|
4617
|
+
readonly precision: 1;
|
|
4618
|
+
readonly default: number;
|
|
4619
|
+
};
|
|
4620
|
+
readonly minItems: 2;
|
|
4621
|
+
readonly maxItems: 2;
|
|
4622
|
+
readonly default: readonly [0, 0];
|
|
4623
|
+
};
|
|
4624
|
+
readonly compressiveFractureStrainStress: {
|
|
4625
|
+
readonly type: "array";
|
|
4626
|
+
readonly items: {
|
|
4627
|
+
readonly type: "number";
|
|
4628
|
+
readonly precision: 1;
|
|
4629
|
+
readonly default: number;
|
|
4630
|
+
};
|
|
4631
|
+
readonly minItems: 2;
|
|
4632
|
+
readonly maxItems: 2;
|
|
4633
|
+
readonly default: readonly [0, 0];
|
|
4634
|
+
};
|
|
4635
|
+
};
|
|
4636
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4637
|
+
};
|
|
4638
|
+
readonly baseColorFactor: {
|
|
4639
|
+
readonly type: "array";
|
|
4640
|
+
readonly items: {
|
|
4641
|
+
readonly type: "number";
|
|
4642
|
+
readonly precision: 1;
|
|
4643
|
+
readonly default: number;
|
|
4644
|
+
};
|
|
4645
|
+
readonly minItems: 4;
|
|
4646
|
+
readonly maxItems: 4;
|
|
4647
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4648
|
+
};
|
|
4649
|
+
readonly emissiveFactor: {
|
|
4650
|
+
readonly type: "array";
|
|
4651
|
+
readonly items: {
|
|
4652
|
+
readonly type: "number";
|
|
4653
|
+
readonly precision: 1;
|
|
4654
|
+
readonly default: number;
|
|
4655
|
+
};
|
|
4656
|
+
readonly minItems: 3;
|
|
4657
|
+
readonly maxItems: 3;
|
|
4658
|
+
readonly default: readonly [0, 0, 0];
|
|
4659
|
+
};
|
|
4660
|
+
readonly metallicFactor: {
|
|
4661
|
+
readonly type: "number";
|
|
4662
|
+
readonly precision: 1;
|
|
4663
|
+
readonly default: number;
|
|
4664
|
+
};
|
|
4665
|
+
readonly roughnessFactor: {
|
|
4666
|
+
readonly type: "number";
|
|
4667
|
+
readonly precision: 1;
|
|
4668
|
+
readonly default: number;
|
|
4669
|
+
};
|
|
4670
|
+
readonly normalScale: {
|
|
4671
|
+
readonly type: "number";
|
|
4672
|
+
readonly precision: 1;
|
|
4673
|
+
readonly default: number;
|
|
4674
|
+
};
|
|
4675
|
+
readonly occlusionStrength: {
|
|
4676
|
+
readonly type: "number";
|
|
4677
|
+
readonly precision: 1;
|
|
4678
|
+
readonly default: number;
|
|
4679
|
+
};
|
|
4680
|
+
readonly irReflectance: {
|
|
4681
|
+
readonly type: "number";
|
|
4682
|
+
readonly precision: 1;
|
|
4683
|
+
readonly default: number;
|
|
4684
|
+
};
|
|
4685
|
+
readonly irEmission: {
|
|
4686
|
+
readonly type: "number";
|
|
4687
|
+
readonly precision: 1;
|
|
4688
|
+
readonly default: number;
|
|
4689
|
+
};
|
|
4690
|
+
readonly emissionMode: {
|
|
4691
|
+
readonly type: "integer";
|
|
4692
|
+
readonly minimum: 0;
|
|
4693
|
+
readonly maximum: 4294967295;
|
|
4694
|
+
readonly default: number;
|
|
4695
|
+
};
|
|
4696
|
+
readonly baseColorUrl: {
|
|
4697
|
+
readonly type: "string";
|
|
4698
|
+
};
|
|
4699
|
+
readonly metallicRoughnessUrl: {
|
|
4700
|
+
readonly type: "string";
|
|
4701
|
+
};
|
|
4702
|
+
readonly normalUrl: {
|
|
4703
|
+
readonly type: "string";
|
|
4704
|
+
};
|
|
4705
|
+
readonly occlusionUrl: {
|
|
4706
|
+
readonly type: "string";
|
|
4707
|
+
};
|
|
4708
|
+
readonly emissiveUrl: {
|
|
4709
|
+
readonly type: "string";
|
|
4710
|
+
};
|
|
4711
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4712
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4713
|
+
}, {
|
|
4714
|
+
readonly materialByName: {
|
|
4715
|
+
readonly key: "name";
|
|
4716
|
+
readonly unique: true;
|
|
4717
|
+
readonly archetype: "Material";
|
|
4718
|
+
};
|
|
4719
|
+
}, never>, args: {
|
|
4720
|
+
name: string;
|
|
4721
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
4722
|
+
}) => Entity;
|
|
4723
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4724
|
+
readonly material: {
|
|
4725
|
+
readonly type: "integer";
|
|
4726
|
+
readonly minimum: -2147483648;
|
|
4727
|
+
readonly maximum: 2147483647;
|
|
4728
|
+
readonly default: number;
|
|
4729
|
+
};
|
|
4730
|
+
readonly name: {
|
|
4731
|
+
readonly type: "string";
|
|
4732
|
+
};
|
|
4733
|
+
readonly density: {
|
|
4734
|
+
readonly type: "number";
|
|
4735
|
+
readonly precision: 1;
|
|
4736
|
+
readonly default: number;
|
|
4737
|
+
};
|
|
4738
|
+
readonly restitution: {
|
|
4739
|
+
readonly type: "number";
|
|
4740
|
+
readonly precision: 1;
|
|
4741
|
+
readonly default: number;
|
|
4742
|
+
};
|
|
4743
|
+
readonly friction: {
|
|
4744
|
+
readonly type: "number";
|
|
4745
|
+
readonly precision: 1;
|
|
4746
|
+
readonly default: number;
|
|
4747
|
+
};
|
|
4748
|
+
readonly compliance: {
|
|
4749
|
+
readonly type: "number";
|
|
4750
|
+
readonly precision: 1;
|
|
4751
|
+
readonly default: number;
|
|
4752
|
+
};
|
|
4753
|
+
readonly heatCapacity: {
|
|
4754
|
+
readonly type: "number";
|
|
4755
|
+
readonly precision: 1;
|
|
4756
|
+
readonly default: number;
|
|
4757
|
+
};
|
|
4758
|
+
readonly viscosity: {
|
|
4759
|
+
readonly type: "number";
|
|
4760
|
+
readonly precision: 1;
|
|
4761
|
+
readonly default: number;
|
|
4762
|
+
};
|
|
4763
|
+
readonly thermalConductivity: {
|
|
4764
|
+
readonly type: "number";
|
|
4765
|
+
readonly precision: 1;
|
|
4766
|
+
readonly default: number;
|
|
4767
|
+
};
|
|
4768
|
+
readonly stressStrainCurve: {
|
|
4769
|
+
readonly type: "object";
|
|
4770
|
+
readonly layout: "packed";
|
|
4771
|
+
readonly properties: {
|
|
4772
|
+
readonly tensileYieldStrainStress: {
|
|
4773
|
+
readonly type: "array";
|
|
4774
|
+
readonly items: {
|
|
4775
|
+
readonly type: "number";
|
|
4776
|
+
readonly precision: 1;
|
|
4777
|
+
readonly default: number;
|
|
4778
|
+
};
|
|
4779
|
+
readonly minItems: 2;
|
|
4780
|
+
readonly maxItems: 2;
|
|
4781
|
+
readonly default: readonly [0, 0];
|
|
4782
|
+
};
|
|
4783
|
+
readonly tensileFractureStrainStress: {
|
|
4784
|
+
readonly type: "array";
|
|
4785
|
+
readonly items: {
|
|
4786
|
+
readonly type: "number";
|
|
4787
|
+
readonly precision: 1;
|
|
4788
|
+
readonly default: number;
|
|
4789
|
+
};
|
|
4790
|
+
readonly minItems: 2;
|
|
4791
|
+
readonly maxItems: 2;
|
|
4792
|
+
readonly default: readonly [0, 0];
|
|
4793
|
+
};
|
|
4794
|
+
readonly compressiveYieldStrainStress: {
|
|
4795
|
+
readonly type: "array";
|
|
4796
|
+
readonly items: {
|
|
4797
|
+
readonly type: "number";
|
|
4798
|
+
readonly precision: 1;
|
|
4799
|
+
readonly default: number;
|
|
4800
|
+
};
|
|
4801
|
+
readonly minItems: 2;
|
|
4802
|
+
readonly maxItems: 2;
|
|
4803
|
+
readonly default: readonly [0, 0];
|
|
4804
|
+
};
|
|
4805
|
+
readonly compressiveFractureStrainStress: {
|
|
4806
|
+
readonly type: "array";
|
|
4807
|
+
readonly items: {
|
|
4808
|
+
readonly type: "number";
|
|
4809
|
+
readonly precision: 1;
|
|
4810
|
+
readonly default: number;
|
|
4811
|
+
};
|
|
4812
|
+
readonly minItems: 2;
|
|
4813
|
+
readonly maxItems: 2;
|
|
4814
|
+
readonly default: readonly [0, 0];
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4818
|
+
};
|
|
4819
|
+
readonly baseColorFactor: {
|
|
4820
|
+
readonly type: "array";
|
|
4821
|
+
readonly items: {
|
|
4822
|
+
readonly type: "number";
|
|
4823
|
+
readonly precision: 1;
|
|
4824
|
+
readonly default: number;
|
|
4825
|
+
};
|
|
4826
|
+
readonly minItems: 4;
|
|
4827
|
+
readonly maxItems: 4;
|
|
4828
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4829
|
+
};
|
|
4830
|
+
readonly emissiveFactor: {
|
|
4831
|
+
readonly type: "array";
|
|
4832
|
+
readonly items: {
|
|
4833
|
+
readonly type: "number";
|
|
4834
|
+
readonly precision: 1;
|
|
4835
|
+
readonly default: number;
|
|
4836
|
+
};
|
|
4837
|
+
readonly minItems: 3;
|
|
4838
|
+
readonly maxItems: 3;
|
|
4839
|
+
readonly default: readonly [0, 0, 0];
|
|
4840
|
+
};
|
|
4841
|
+
readonly metallicFactor: {
|
|
4842
|
+
readonly type: "number";
|
|
4843
|
+
readonly precision: 1;
|
|
4844
|
+
readonly default: number;
|
|
4845
|
+
};
|
|
4846
|
+
readonly roughnessFactor: {
|
|
4847
|
+
readonly type: "number";
|
|
4848
|
+
readonly precision: 1;
|
|
4849
|
+
readonly default: number;
|
|
4850
|
+
};
|
|
4851
|
+
readonly normalScale: {
|
|
4852
|
+
readonly type: "number";
|
|
4853
|
+
readonly precision: 1;
|
|
4854
|
+
readonly default: number;
|
|
4855
|
+
};
|
|
4856
|
+
readonly occlusionStrength: {
|
|
4857
|
+
readonly type: "number";
|
|
4858
|
+
readonly precision: 1;
|
|
4859
|
+
readonly default: number;
|
|
4860
|
+
};
|
|
4861
|
+
readonly irReflectance: {
|
|
4862
|
+
readonly type: "number";
|
|
4863
|
+
readonly precision: 1;
|
|
4864
|
+
readonly default: number;
|
|
4865
|
+
};
|
|
4866
|
+
readonly irEmission: {
|
|
4867
|
+
readonly type: "number";
|
|
4868
|
+
readonly precision: 1;
|
|
4869
|
+
readonly default: number;
|
|
4870
|
+
};
|
|
4871
|
+
readonly emissionMode: {
|
|
4872
|
+
readonly type: "integer";
|
|
4873
|
+
readonly minimum: 0;
|
|
4874
|
+
readonly maximum: 4294967295;
|
|
4875
|
+
readonly default: number;
|
|
4876
|
+
};
|
|
4877
|
+
readonly baseColorUrl: {
|
|
4878
|
+
readonly type: "string";
|
|
4879
|
+
};
|
|
4880
|
+
readonly metallicRoughnessUrl: {
|
|
4881
|
+
readonly type: "string";
|
|
4882
|
+
};
|
|
4883
|
+
readonly normalUrl: {
|
|
4884
|
+
readonly type: "string";
|
|
4885
|
+
};
|
|
4886
|
+
readonly occlusionUrl: {
|
|
4887
|
+
readonly type: "string";
|
|
4888
|
+
};
|
|
4889
|
+
readonly emissiveUrl: {
|
|
4890
|
+
readonly type: "string";
|
|
4891
|
+
};
|
|
4892
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4893
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4894
|
+
}, {
|
|
4895
|
+
readonly materialByName: {
|
|
4896
|
+
readonly key: "name";
|
|
4897
|
+
readonly unique: true;
|
|
4898
|
+
readonly archetype: "Material";
|
|
4899
|
+
};
|
|
4900
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
4901
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4902
|
+
readonly material: {
|
|
4903
|
+
readonly type: "integer";
|
|
4904
|
+
readonly minimum: -2147483648;
|
|
4905
|
+
readonly maximum: 2147483647;
|
|
4906
|
+
readonly default: number;
|
|
4907
|
+
};
|
|
4908
|
+
readonly name: {
|
|
4909
|
+
readonly type: "string";
|
|
4910
|
+
};
|
|
4911
|
+
readonly density: {
|
|
4912
|
+
readonly type: "number";
|
|
4913
|
+
readonly precision: 1;
|
|
4914
|
+
readonly default: number;
|
|
4915
|
+
};
|
|
4916
|
+
readonly restitution: {
|
|
4917
|
+
readonly type: "number";
|
|
4918
|
+
readonly precision: 1;
|
|
4919
|
+
readonly default: number;
|
|
4920
|
+
};
|
|
4921
|
+
readonly friction: {
|
|
4922
|
+
readonly type: "number";
|
|
4923
|
+
readonly precision: 1;
|
|
4924
|
+
readonly default: number;
|
|
4925
|
+
};
|
|
4926
|
+
readonly compliance: {
|
|
4927
|
+
readonly type: "number";
|
|
4928
|
+
readonly precision: 1;
|
|
4929
|
+
readonly default: number;
|
|
4930
|
+
};
|
|
4931
|
+
readonly heatCapacity: {
|
|
4932
|
+
readonly type: "number";
|
|
4933
|
+
readonly precision: 1;
|
|
4934
|
+
readonly default: number;
|
|
4935
|
+
};
|
|
4936
|
+
readonly viscosity: {
|
|
4937
|
+
readonly type: "number";
|
|
4938
|
+
readonly precision: 1;
|
|
4939
|
+
readonly default: number;
|
|
4940
|
+
};
|
|
4941
|
+
readonly thermalConductivity: {
|
|
4942
|
+
readonly type: "number";
|
|
4943
|
+
readonly precision: 1;
|
|
4944
|
+
readonly default: number;
|
|
4945
|
+
};
|
|
4946
|
+
readonly stressStrainCurve: {
|
|
4947
|
+
readonly type: "object";
|
|
4948
|
+
readonly layout: "packed";
|
|
4949
|
+
readonly properties: {
|
|
4950
|
+
readonly tensileYieldStrainStress: {
|
|
4951
|
+
readonly type: "array";
|
|
4952
|
+
readonly items: {
|
|
4953
|
+
readonly type: "number";
|
|
4954
|
+
readonly precision: 1;
|
|
4955
|
+
readonly default: number;
|
|
4956
|
+
};
|
|
4957
|
+
readonly minItems: 2;
|
|
4958
|
+
readonly maxItems: 2;
|
|
4959
|
+
readonly default: readonly [0, 0];
|
|
4960
|
+
};
|
|
4961
|
+
readonly tensileFractureStrainStress: {
|
|
4962
|
+
readonly type: "array";
|
|
4963
|
+
readonly items: {
|
|
4964
|
+
readonly type: "number";
|
|
4965
|
+
readonly precision: 1;
|
|
4966
|
+
readonly default: number;
|
|
4967
|
+
};
|
|
4968
|
+
readonly minItems: 2;
|
|
4969
|
+
readonly maxItems: 2;
|
|
4970
|
+
readonly default: readonly [0, 0];
|
|
4971
|
+
};
|
|
4972
|
+
readonly compressiveYieldStrainStress: {
|
|
4973
|
+
readonly type: "array";
|
|
4974
|
+
readonly items: {
|
|
4975
|
+
readonly type: "number";
|
|
4976
|
+
readonly precision: 1;
|
|
4977
|
+
readonly default: number;
|
|
4978
|
+
};
|
|
4979
|
+
readonly minItems: 2;
|
|
4980
|
+
readonly maxItems: 2;
|
|
4981
|
+
readonly default: readonly [0, 0];
|
|
4982
|
+
};
|
|
4983
|
+
readonly compressiveFractureStrainStress: {
|
|
4984
|
+
readonly type: "array";
|
|
4985
|
+
readonly items: {
|
|
4986
|
+
readonly type: "number";
|
|
4987
|
+
readonly precision: 1;
|
|
4988
|
+
readonly default: number;
|
|
4989
|
+
};
|
|
4990
|
+
readonly minItems: 2;
|
|
4991
|
+
readonly maxItems: 2;
|
|
4992
|
+
readonly default: readonly [0, 0];
|
|
4993
|
+
};
|
|
4994
|
+
};
|
|
4995
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4996
|
+
};
|
|
4997
|
+
readonly baseColorFactor: {
|
|
4998
|
+
readonly type: "array";
|
|
4999
|
+
readonly items: {
|
|
5000
|
+
readonly type: "number";
|
|
5001
|
+
readonly precision: 1;
|
|
5002
|
+
readonly default: number;
|
|
5003
|
+
};
|
|
5004
|
+
readonly minItems: 4;
|
|
5005
|
+
readonly maxItems: 4;
|
|
5006
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5007
|
+
};
|
|
5008
|
+
readonly emissiveFactor: {
|
|
5009
|
+
readonly type: "array";
|
|
5010
|
+
readonly items: {
|
|
5011
|
+
readonly type: "number";
|
|
5012
|
+
readonly precision: 1;
|
|
5013
|
+
readonly default: number;
|
|
5014
|
+
};
|
|
5015
|
+
readonly minItems: 3;
|
|
5016
|
+
readonly maxItems: 3;
|
|
5017
|
+
readonly default: readonly [0, 0, 0];
|
|
5018
|
+
};
|
|
5019
|
+
readonly metallicFactor: {
|
|
5020
|
+
readonly type: "number";
|
|
5021
|
+
readonly precision: 1;
|
|
5022
|
+
readonly default: number;
|
|
5023
|
+
};
|
|
5024
|
+
readonly roughnessFactor: {
|
|
5025
|
+
readonly type: "number";
|
|
5026
|
+
readonly precision: 1;
|
|
5027
|
+
readonly default: number;
|
|
5028
|
+
};
|
|
5029
|
+
readonly normalScale: {
|
|
5030
|
+
readonly type: "number";
|
|
5031
|
+
readonly precision: 1;
|
|
5032
|
+
readonly default: number;
|
|
5033
|
+
};
|
|
5034
|
+
readonly occlusionStrength: {
|
|
5035
|
+
readonly type: "number";
|
|
5036
|
+
readonly precision: 1;
|
|
5037
|
+
readonly default: number;
|
|
5038
|
+
};
|
|
5039
|
+
readonly irReflectance: {
|
|
5040
|
+
readonly type: "number";
|
|
5041
|
+
readonly precision: 1;
|
|
5042
|
+
readonly default: number;
|
|
5043
|
+
};
|
|
5044
|
+
readonly irEmission: {
|
|
5045
|
+
readonly type: "number";
|
|
5046
|
+
readonly precision: 1;
|
|
5047
|
+
readonly default: number;
|
|
5048
|
+
};
|
|
5049
|
+
readonly emissionMode: {
|
|
5050
|
+
readonly type: "integer";
|
|
5051
|
+
readonly minimum: 0;
|
|
5052
|
+
readonly maximum: 4294967295;
|
|
5053
|
+
readonly default: number;
|
|
5054
|
+
};
|
|
5055
|
+
readonly baseColorUrl: {
|
|
5056
|
+
readonly type: "string";
|
|
5057
|
+
};
|
|
5058
|
+
readonly metallicRoughnessUrl: {
|
|
5059
|
+
readonly type: "string";
|
|
5060
|
+
};
|
|
5061
|
+
readonly normalUrl: {
|
|
5062
|
+
readonly type: "string";
|
|
5063
|
+
};
|
|
5064
|
+
readonly occlusionUrl: {
|
|
5065
|
+
readonly type: "string";
|
|
5066
|
+
};
|
|
5067
|
+
readonly emissiveUrl: {
|
|
5068
|
+
readonly type: "string";
|
|
5069
|
+
};
|
|
5070
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5071
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
5072
|
+
}, {
|
|
5073
|
+
readonly materialByName: {
|
|
5074
|
+
readonly key: "name";
|
|
5075
|
+
readonly unique: true;
|
|
5076
|
+
readonly archetype: "Material";
|
|
5077
|
+
};
|
|
5078
|
+
}, never>) => void;
|
|
5079
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5080
|
+
readonly material: {
|
|
5081
|
+
readonly type: "integer";
|
|
5082
|
+
readonly minimum: -2147483648;
|
|
5083
|
+
readonly maximum: 2147483647;
|
|
5084
|
+
readonly default: number;
|
|
5085
|
+
};
|
|
5086
|
+
readonly name: {
|
|
5087
|
+
readonly type: "string";
|
|
5088
|
+
};
|
|
5089
|
+
readonly density: {
|
|
5090
|
+
readonly type: "number";
|
|
5091
|
+
readonly precision: 1;
|
|
5092
|
+
readonly default: number;
|
|
5093
|
+
};
|
|
5094
|
+
readonly restitution: {
|
|
5095
|
+
readonly type: "number";
|
|
5096
|
+
readonly precision: 1;
|
|
5097
|
+
readonly default: number;
|
|
5098
|
+
};
|
|
5099
|
+
readonly friction: {
|
|
5100
|
+
readonly type: "number";
|
|
5101
|
+
readonly precision: 1;
|
|
5102
|
+
readonly default: number;
|
|
5103
|
+
};
|
|
5104
|
+
readonly compliance: {
|
|
5105
|
+
readonly type: "number";
|
|
5106
|
+
readonly precision: 1;
|
|
5107
|
+
readonly default: number;
|
|
5108
|
+
};
|
|
5109
|
+
readonly heatCapacity: {
|
|
5110
|
+
readonly type: "number";
|
|
5111
|
+
readonly precision: 1;
|
|
5112
|
+
readonly default: number;
|
|
5113
|
+
};
|
|
5114
|
+
readonly viscosity: {
|
|
5115
|
+
readonly type: "number";
|
|
5116
|
+
readonly precision: 1;
|
|
5117
|
+
readonly default: number;
|
|
5118
|
+
};
|
|
5119
|
+
readonly thermalConductivity: {
|
|
5120
|
+
readonly type: "number";
|
|
5121
|
+
readonly precision: 1;
|
|
5122
|
+
readonly default: number;
|
|
5123
|
+
};
|
|
5124
|
+
readonly stressStrainCurve: {
|
|
5125
|
+
readonly type: "object";
|
|
5126
|
+
readonly layout: "packed";
|
|
5127
|
+
readonly properties: {
|
|
5128
|
+
readonly tensileYieldStrainStress: {
|
|
5129
|
+
readonly type: "array";
|
|
5130
|
+
readonly items: {
|
|
5131
|
+
readonly type: "number";
|
|
5132
|
+
readonly precision: 1;
|
|
5133
|
+
readonly default: number;
|
|
5134
|
+
};
|
|
5135
|
+
readonly minItems: 2;
|
|
5136
|
+
readonly maxItems: 2;
|
|
5137
|
+
readonly default: readonly [0, 0];
|
|
5138
|
+
};
|
|
5139
|
+
readonly tensileFractureStrainStress: {
|
|
5140
|
+
readonly type: "array";
|
|
5141
|
+
readonly items: {
|
|
5142
|
+
readonly type: "number";
|
|
5143
|
+
readonly precision: 1;
|
|
5144
|
+
readonly default: number;
|
|
5145
|
+
};
|
|
5146
|
+
readonly minItems: 2;
|
|
5147
|
+
readonly maxItems: 2;
|
|
5148
|
+
readonly default: readonly [0, 0];
|
|
5149
|
+
};
|
|
5150
|
+
readonly compressiveYieldStrainStress: {
|
|
5151
|
+
readonly type: "array";
|
|
5152
|
+
readonly items: {
|
|
5153
|
+
readonly type: "number";
|
|
5154
|
+
readonly precision: 1;
|
|
5155
|
+
readonly default: number;
|
|
5156
|
+
};
|
|
5157
|
+
readonly minItems: 2;
|
|
5158
|
+
readonly maxItems: 2;
|
|
5159
|
+
readonly default: readonly [0, 0];
|
|
5160
|
+
};
|
|
5161
|
+
readonly compressiveFractureStrainStress: {
|
|
5162
|
+
readonly type: "array";
|
|
5163
|
+
readonly items: {
|
|
5164
|
+
readonly type: "number";
|
|
5165
|
+
readonly precision: 1;
|
|
5166
|
+
readonly default: number;
|
|
5167
|
+
};
|
|
5168
|
+
readonly minItems: 2;
|
|
5169
|
+
readonly maxItems: 2;
|
|
5170
|
+
readonly default: readonly [0, 0];
|
|
5171
|
+
};
|
|
5172
|
+
};
|
|
5173
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5174
|
+
};
|
|
5175
|
+
readonly baseColorFactor: {
|
|
5176
|
+
readonly type: "array";
|
|
5177
|
+
readonly items: {
|
|
5178
|
+
readonly type: "number";
|
|
5179
|
+
readonly precision: 1;
|
|
5180
|
+
readonly default: number;
|
|
5181
|
+
};
|
|
5182
|
+
readonly minItems: 4;
|
|
5183
|
+
readonly maxItems: 4;
|
|
5184
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5185
|
+
};
|
|
5186
|
+
readonly emissiveFactor: {
|
|
5187
|
+
readonly type: "array";
|
|
5188
|
+
readonly items: {
|
|
5189
|
+
readonly type: "number";
|
|
5190
|
+
readonly precision: 1;
|
|
5191
|
+
readonly default: number;
|
|
5192
|
+
};
|
|
5193
|
+
readonly minItems: 3;
|
|
5194
|
+
readonly maxItems: 3;
|
|
5195
|
+
readonly default: readonly [0, 0, 0];
|
|
5196
|
+
};
|
|
5197
|
+
readonly metallicFactor: {
|
|
5198
|
+
readonly type: "number";
|
|
5199
|
+
readonly precision: 1;
|
|
5200
|
+
readonly default: number;
|
|
5201
|
+
};
|
|
5202
|
+
readonly roughnessFactor: {
|
|
5203
|
+
readonly type: "number";
|
|
5204
|
+
readonly precision: 1;
|
|
5205
|
+
readonly default: number;
|
|
5206
|
+
};
|
|
5207
|
+
readonly normalScale: {
|
|
5208
|
+
readonly type: "number";
|
|
5209
|
+
readonly precision: 1;
|
|
5210
|
+
readonly default: number;
|
|
5211
|
+
};
|
|
5212
|
+
readonly occlusionStrength: {
|
|
5213
|
+
readonly type: "number";
|
|
5214
|
+
readonly precision: 1;
|
|
5215
|
+
readonly default: number;
|
|
5216
|
+
};
|
|
5217
|
+
readonly irReflectance: {
|
|
5218
|
+
readonly type: "number";
|
|
5219
|
+
readonly precision: 1;
|
|
5220
|
+
readonly default: number;
|
|
5221
|
+
};
|
|
5222
|
+
readonly irEmission: {
|
|
5223
|
+
readonly type: "number";
|
|
5224
|
+
readonly precision: 1;
|
|
5225
|
+
readonly default: number;
|
|
5226
|
+
};
|
|
5227
|
+
readonly emissionMode: {
|
|
5228
|
+
readonly type: "integer";
|
|
5229
|
+
readonly minimum: 0;
|
|
5230
|
+
readonly maximum: 4294967295;
|
|
5231
|
+
readonly default: number;
|
|
5232
|
+
};
|
|
5233
|
+
readonly baseColorUrl: {
|
|
5234
|
+
readonly type: "string";
|
|
5235
|
+
};
|
|
5236
|
+
readonly metallicRoughnessUrl: {
|
|
5237
|
+
readonly type: "string";
|
|
5238
|
+
};
|
|
5239
|
+
readonly normalUrl: {
|
|
5240
|
+
readonly type: "string";
|
|
5241
|
+
};
|
|
5242
|
+
readonly occlusionUrl: {
|
|
5243
|
+
readonly type: "string";
|
|
5244
|
+
};
|
|
5245
|
+
readonly emissiveUrl: {
|
|
5246
|
+
readonly type: "string";
|
|
5247
|
+
};
|
|
5248
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5249
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
5250
|
+
}, {
|
|
5251
|
+
readonly materialByName: {
|
|
5252
|
+
readonly key: "name";
|
|
5253
|
+
readonly unique: true;
|
|
5254
|
+
readonly archetype: "Material";
|
|
5255
|
+
};
|
|
5256
|
+
}, never>) => void;
|
|
5257
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
5258
|
+
readonly materialByName: {
|
|
5259
|
+
readonly key: "name";
|
|
5260
|
+
readonly unique: true;
|
|
5261
|
+
readonly archetype: "Material";
|
|
5262
|
+
};
|
|
5263
|
+
}, never>, args: {
|
|
5264
|
+
ray: {
|
|
5265
|
+
readonly a: readonly [number, number, number];
|
|
5266
|
+
readonly b: readonly [number, number, number];
|
|
5267
|
+
};
|
|
5268
|
+
radius?: number;
|
|
5269
|
+
}) => import("../../physics/physics-hit.js").PhysicsHit | null;
|
|
5270
|
+
readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
5271
|
+
readonly bodyType: {
|
|
5272
|
+
readonly type: "string";
|
|
5273
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
5274
|
+
};
|
|
5275
|
+
readonly colliderShape: {
|
|
5276
|
+
readonly type: "string";
|
|
5277
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
5278
|
+
};
|
|
5279
|
+
readonly halfExtents: {
|
|
5280
|
+
readonly type: "array";
|
|
5281
|
+
readonly items: {
|
|
5282
|
+
readonly type: "number";
|
|
5283
|
+
readonly precision: 1;
|
|
5284
|
+
readonly default: number;
|
|
5285
|
+
};
|
|
5286
|
+
readonly minItems: 3;
|
|
5287
|
+
readonly maxItems: 3;
|
|
5288
|
+
readonly default: readonly [0, 0, 0];
|
|
5289
|
+
};
|
|
5290
|
+
readonly position: {
|
|
5291
|
+
readonly type: "array";
|
|
5292
|
+
readonly items: {
|
|
5293
|
+
readonly type: "number";
|
|
5294
|
+
readonly precision: 1;
|
|
5295
|
+
readonly default: number;
|
|
5296
|
+
};
|
|
5297
|
+
readonly minItems: 3;
|
|
5298
|
+
readonly maxItems: 3;
|
|
5299
|
+
readonly default: readonly [0, 0, 0];
|
|
5300
|
+
};
|
|
5301
|
+
readonly rotation: {
|
|
5302
|
+
readonly type: "array";
|
|
5303
|
+
readonly items: {
|
|
5304
|
+
readonly type: "number";
|
|
5305
|
+
readonly precision: 1;
|
|
5306
|
+
readonly default: number;
|
|
5307
|
+
};
|
|
5308
|
+
readonly minItems: 4;
|
|
5309
|
+
readonly maxItems: 4;
|
|
5310
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
5311
|
+
readonly interpolators: {
|
|
5312
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
5313
|
+
};
|
|
5314
|
+
};
|
|
5315
|
+
readonly linearVelocity: {
|
|
5316
|
+
readonly type: "array";
|
|
5317
|
+
readonly items: {
|
|
5318
|
+
readonly type: "number";
|
|
5319
|
+
readonly precision: 1;
|
|
5320
|
+
readonly default: number;
|
|
5321
|
+
};
|
|
5322
|
+
readonly minItems: 3;
|
|
5323
|
+
readonly maxItems: 3;
|
|
5324
|
+
readonly default: readonly [0, 0, 0];
|
|
5325
|
+
};
|
|
5326
|
+
readonly angularVelocity: {
|
|
5327
|
+
readonly type: "array";
|
|
5328
|
+
readonly items: {
|
|
5329
|
+
readonly type: "number";
|
|
5330
|
+
readonly precision: 1;
|
|
5331
|
+
readonly default: number;
|
|
5332
|
+
};
|
|
5333
|
+
readonly minItems: 3;
|
|
5334
|
+
readonly maxItems: 3;
|
|
5335
|
+
readonly default: readonly [0, 0, 0];
|
|
5336
|
+
};
|
|
5337
|
+
readonly _prevPosition: {
|
|
5338
|
+
readonly default: undefined;
|
|
5339
|
+
readonly nonPersistent: true;
|
|
5340
|
+
readonly type: "array";
|
|
5341
|
+
readonly items: {
|
|
5342
|
+
readonly type: "number";
|
|
5343
|
+
readonly precision: 1;
|
|
5344
|
+
readonly default: number;
|
|
5345
|
+
};
|
|
5346
|
+
readonly minItems: 3;
|
|
5347
|
+
readonly maxItems: 3;
|
|
5348
|
+
};
|
|
5349
|
+
readonly _prevRotation: {
|
|
5350
|
+
readonly default: undefined;
|
|
5351
|
+
readonly nonPersistent: true;
|
|
5352
|
+
readonly type: "array";
|
|
5353
|
+
readonly items: {
|
|
5354
|
+
readonly type: "number";
|
|
5355
|
+
readonly precision: 1;
|
|
5356
|
+
readonly default: number;
|
|
5357
|
+
};
|
|
5358
|
+
readonly minItems: 4;
|
|
5359
|
+
readonly maxItems: 4;
|
|
5360
|
+
readonly interpolators: {
|
|
5361
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
5362
|
+
};
|
|
5363
|
+
};
|
|
5364
|
+
readonly collisionGroup: {
|
|
5365
|
+
readonly type: "number";
|
|
5366
|
+
readonly precision: 1;
|
|
5367
|
+
readonly default: number;
|
|
5368
|
+
};
|
|
5369
|
+
readonly convexPoints: {
|
|
5370
|
+
readonly default: Float32Array | null;
|
|
5371
|
+
};
|
|
5372
|
+
readonly colliderMesh: {
|
|
5373
|
+
readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
|
|
5374
|
+
};
|
|
5375
|
+
} & {
|
|
5376
|
+
readonly material: {
|
|
5377
|
+
readonly type: "integer";
|
|
5378
|
+
readonly minimum: -2147483648;
|
|
5379
|
+
readonly maximum: 2147483647;
|
|
5380
|
+
readonly default: number;
|
|
5381
|
+
};
|
|
5382
|
+
readonly name: {
|
|
5383
|
+
readonly type: "string";
|
|
5384
|
+
};
|
|
5385
|
+
readonly density: {
|
|
5386
|
+
readonly type: "number";
|
|
5387
|
+
readonly precision: 1;
|
|
5388
|
+
readonly default: number;
|
|
5389
|
+
};
|
|
5390
|
+
readonly restitution: {
|
|
5391
|
+
readonly type: "number";
|
|
5392
|
+
readonly precision: 1;
|
|
5393
|
+
readonly default: number;
|
|
5394
|
+
};
|
|
5395
|
+
readonly friction: {
|
|
5396
|
+
readonly type: "number";
|
|
5397
|
+
readonly precision: 1;
|
|
5398
|
+
readonly default: number;
|
|
5399
|
+
};
|
|
5400
|
+
readonly compliance: {
|
|
5401
|
+
readonly type: "number";
|
|
5402
|
+
readonly precision: 1;
|
|
5403
|
+
readonly default: number;
|
|
5404
|
+
};
|
|
5405
|
+
readonly heatCapacity: {
|
|
5406
|
+
readonly type: "number";
|
|
5407
|
+
readonly precision: 1;
|
|
5408
|
+
readonly default: number;
|
|
5409
|
+
};
|
|
5410
|
+
readonly viscosity: {
|
|
5411
|
+
readonly type: "number";
|
|
5412
|
+
readonly precision: 1;
|
|
5413
|
+
readonly default: number;
|
|
5414
|
+
};
|
|
5415
|
+
readonly thermalConductivity: {
|
|
5416
|
+
readonly type: "number";
|
|
5417
|
+
readonly precision: 1;
|
|
5418
|
+
readonly default: number;
|
|
5419
|
+
};
|
|
5420
|
+
readonly stressStrainCurve: {
|
|
5421
|
+
readonly type: "object";
|
|
5422
|
+
readonly layout: "packed";
|
|
5423
|
+
readonly properties: {
|
|
5424
|
+
readonly tensileYieldStrainStress: {
|
|
5425
|
+
readonly type: "array";
|
|
5426
|
+
readonly items: {
|
|
5427
|
+
readonly type: "number";
|
|
5428
|
+
readonly precision: 1;
|
|
5429
|
+
readonly default: number;
|
|
5430
|
+
};
|
|
5431
|
+
readonly minItems: 2;
|
|
5432
|
+
readonly maxItems: 2;
|
|
5433
|
+
readonly default: readonly [0, 0];
|
|
5434
|
+
};
|
|
5435
|
+
readonly tensileFractureStrainStress: {
|
|
5436
|
+
readonly type: "array";
|
|
5437
|
+
readonly items: {
|
|
5438
|
+
readonly type: "number";
|
|
5439
|
+
readonly precision: 1;
|
|
5440
|
+
readonly default: number;
|
|
5441
|
+
};
|
|
5442
|
+
readonly minItems: 2;
|
|
5443
|
+
readonly maxItems: 2;
|
|
5444
|
+
readonly default: readonly [0, 0];
|
|
5445
|
+
};
|
|
5446
|
+
readonly compressiveYieldStrainStress: {
|
|
5447
|
+
readonly type: "array";
|
|
5448
|
+
readonly items: {
|
|
5449
|
+
readonly type: "number";
|
|
5450
|
+
readonly precision: 1;
|
|
5451
|
+
readonly default: number;
|
|
5452
|
+
};
|
|
5453
|
+
readonly minItems: 2;
|
|
5454
|
+
readonly maxItems: 2;
|
|
5455
|
+
readonly default: readonly [0, 0];
|
|
5456
|
+
};
|
|
5457
|
+
readonly compressiveFractureStrainStress: {
|
|
5458
|
+
readonly type: "array";
|
|
5459
|
+
readonly items: {
|
|
5460
|
+
readonly type: "number";
|
|
5461
|
+
readonly precision: 1;
|
|
5462
|
+
readonly default: number;
|
|
5463
|
+
};
|
|
5464
|
+
readonly minItems: 2;
|
|
5465
|
+
readonly maxItems: 2;
|
|
5466
|
+
readonly default: readonly [0, 0];
|
|
5467
|
+
};
|
|
5468
|
+
};
|
|
5469
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5470
|
+
};
|
|
5471
|
+
readonly baseColorFactor: {
|
|
5472
|
+
readonly type: "array";
|
|
5473
|
+
readonly items: {
|
|
5474
|
+
readonly type: "number";
|
|
5475
|
+
readonly precision: 1;
|
|
5476
|
+
readonly default: number;
|
|
5477
|
+
};
|
|
5478
|
+
readonly minItems: 4;
|
|
5479
|
+
readonly maxItems: 4;
|
|
5480
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5481
|
+
};
|
|
5482
|
+
readonly emissiveFactor: {
|
|
5483
|
+
readonly type: "array";
|
|
5484
|
+
readonly items: {
|
|
5485
|
+
readonly type: "number";
|
|
5486
|
+
readonly precision: 1;
|
|
5487
|
+
readonly default: number;
|
|
5488
|
+
};
|
|
5489
|
+
readonly minItems: 3;
|
|
5490
|
+
readonly maxItems: 3;
|
|
5491
|
+
readonly default: readonly [0, 0, 0];
|
|
5492
|
+
};
|
|
5493
|
+
readonly metallicFactor: {
|
|
5494
|
+
readonly type: "number";
|
|
5495
|
+
readonly precision: 1;
|
|
5496
|
+
readonly default: number;
|
|
5497
|
+
};
|
|
5498
|
+
readonly roughnessFactor: {
|
|
5499
|
+
readonly type: "number";
|
|
5500
|
+
readonly precision: 1;
|
|
5501
|
+
readonly default: number;
|
|
5502
|
+
};
|
|
5503
|
+
readonly normalScale: {
|
|
5504
|
+
readonly type: "number";
|
|
5505
|
+
readonly precision: 1;
|
|
5506
|
+
readonly default: number;
|
|
5507
|
+
};
|
|
5508
|
+
readonly occlusionStrength: {
|
|
5509
|
+
readonly type: "number";
|
|
5510
|
+
readonly precision: 1;
|
|
5511
|
+
readonly default: number;
|
|
5512
|
+
};
|
|
5513
|
+
readonly irReflectance: {
|
|
5514
|
+
readonly type: "number";
|
|
5515
|
+
readonly precision: 1;
|
|
5516
|
+
readonly default: number;
|
|
5517
|
+
};
|
|
5518
|
+
readonly irEmission: {
|
|
5519
|
+
readonly type: "number";
|
|
5520
|
+
readonly precision: 1;
|
|
5521
|
+
readonly default: number;
|
|
5522
|
+
};
|
|
5523
|
+
readonly emissionMode: {
|
|
5524
|
+
readonly type: "integer";
|
|
5525
|
+
readonly minimum: 0;
|
|
5526
|
+
readonly maximum: 4294967295;
|
|
5527
|
+
readonly default: number;
|
|
5528
|
+
};
|
|
5529
|
+
readonly baseColorUrl: {
|
|
5530
|
+
readonly type: "string";
|
|
5531
|
+
};
|
|
5532
|
+
readonly metallicRoughnessUrl: {
|
|
5533
|
+
readonly type: "string";
|
|
5534
|
+
};
|
|
5535
|
+
readonly normalUrl: {
|
|
5536
|
+
readonly type: "string";
|
|
5537
|
+
};
|
|
5538
|
+
readonly occlusionUrl: {
|
|
5539
|
+
readonly type: "string";
|
|
5540
|
+
};
|
|
5541
|
+
readonly emissiveUrl: {
|
|
5542
|
+
readonly type: "string";
|
|
5543
|
+
};
|
|
5544
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
5545
|
+
readonly physicsQuery: {
|
|
5546
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
5547
|
+
readonly nonPersistent: true;
|
|
5548
|
+
};
|
|
5549
|
+
} & {}>, {
|
|
5550
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
5551
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
5552
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
5553
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
5554
|
+
} & {
|
|
5555
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
5556
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
5557
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5558
|
+
readonly material: {
|
|
5559
|
+
readonly type: "integer";
|
|
5560
|
+
readonly minimum: -2147483648;
|
|
5561
|
+
readonly maximum: 2147483647;
|
|
5562
|
+
readonly default: number;
|
|
5563
|
+
};
|
|
5564
|
+
readonly name: {
|
|
5565
|
+
readonly type: "string";
|
|
5566
|
+
};
|
|
5567
|
+
readonly density: {
|
|
5568
|
+
readonly type: "number";
|
|
5569
|
+
readonly precision: 1;
|
|
5570
|
+
readonly default: number;
|
|
5571
|
+
};
|
|
5572
|
+
readonly restitution: {
|
|
5573
|
+
readonly type: "number";
|
|
5574
|
+
readonly precision: 1;
|
|
5575
|
+
readonly default: number;
|
|
5576
|
+
};
|
|
5577
|
+
readonly friction: {
|
|
5578
|
+
readonly type: "number";
|
|
5579
|
+
readonly precision: 1;
|
|
5580
|
+
readonly default: number;
|
|
5581
|
+
};
|
|
5582
|
+
readonly compliance: {
|
|
5583
|
+
readonly type: "number";
|
|
5584
|
+
readonly precision: 1;
|
|
5585
|
+
readonly default: number;
|
|
5586
|
+
};
|
|
5587
|
+
readonly heatCapacity: {
|
|
5588
|
+
readonly type: "number";
|
|
5589
|
+
readonly precision: 1;
|
|
5590
|
+
readonly default: number;
|
|
5591
|
+
};
|
|
5592
|
+
readonly viscosity: {
|
|
5593
|
+
readonly type: "number";
|
|
5594
|
+
readonly precision: 1;
|
|
5595
|
+
readonly default: number;
|
|
5596
|
+
};
|
|
5597
|
+
readonly thermalConductivity: {
|
|
5598
|
+
readonly type: "number";
|
|
5599
|
+
readonly precision: 1;
|
|
5600
|
+
readonly default: number;
|
|
5601
|
+
};
|
|
5602
|
+
readonly stressStrainCurve: {
|
|
5603
|
+
readonly type: "object";
|
|
5604
|
+
readonly layout: "packed";
|
|
5605
|
+
readonly properties: {
|
|
5606
|
+
readonly tensileYieldStrainStress: {
|
|
5607
|
+
readonly type: "array";
|
|
5608
|
+
readonly items: {
|
|
5609
|
+
readonly type: "number";
|
|
5610
|
+
readonly precision: 1;
|
|
5611
|
+
readonly default: number;
|
|
5612
|
+
};
|
|
5613
|
+
readonly minItems: 2;
|
|
5614
|
+
readonly maxItems: 2;
|
|
5615
|
+
readonly default: readonly [0, 0];
|
|
5616
|
+
};
|
|
5617
|
+
readonly tensileFractureStrainStress: {
|
|
5618
|
+
readonly type: "array";
|
|
5619
|
+
readonly items: {
|
|
5620
|
+
readonly type: "number";
|
|
5621
|
+
readonly precision: 1;
|
|
5622
|
+
readonly default: number;
|
|
5623
|
+
};
|
|
5624
|
+
readonly minItems: 2;
|
|
5625
|
+
readonly maxItems: 2;
|
|
5626
|
+
readonly default: readonly [0, 0];
|
|
5627
|
+
};
|
|
5628
|
+
readonly compressiveYieldStrainStress: {
|
|
5629
|
+
readonly type: "array";
|
|
5630
|
+
readonly items: {
|
|
5631
|
+
readonly type: "number";
|
|
5632
|
+
readonly precision: 1;
|
|
5633
|
+
readonly default: number;
|
|
5634
|
+
};
|
|
5635
|
+
readonly minItems: 2;
|
|
5636
|
+
readonly maxItems: 2;
|
|
5637
|
+
readonly default: readonly [0, 0];
|
|
5638
|
+
};
|
|
5639
|
+
readonly compressiveFractureStrainStress: {
|
|
5640
|
+
readonly type: "array";
|
|
5641
|
+
readonly items: {
|
|
5642
|
+
readonly type: "number";
|
|
5643
|
+
readonly precision: 1;
|
|
5644
|
+
readonly default: number;
|
|
5645
|
+
};
|
|
5646
|
+
readonly minItems: 2;
|
|
5647
|
+
readonly maxItems: 2;
|
|
5648
|
+
readonly default: readonly [0, 0];
|
|
5649
|
+
};
|
|
5650
|
+
};
|
|
5651
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5652
|
+
};
|
|
5653
|
+
readonly baseColorFactor: {
|
|
5654
|
+
readonly type: "array";
|
|
5655
|
+
readonly items: {
|
|
5656
|
+
readonly type: "number";
|
|
5657
|
+
readonly precision: 1;
|
|
5658
|
+
readonly default: number;
|
|
5659
|
+
};
|
|
5660
|
+
readonly minItems: 4;
|
|
5661
|
+
readonly maxItems: 4;
|
|
5662
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5663
|
+
};
|
|
5664
|
+
readonly emissiveFactor: {
|
|
5665
|
+
readonly type: "array";
|
|
5666
|
+
readonly items: {
|
|
5667
|
+
readonly type: "number";
|
|
5668
|
+
readonly precision: 1;
|
|
5669
|
+
readonly default: number;
|
|
5670
|
+
};
|
|
5671
|
+
readonly minItems: 3;
|
|
5672
|
+
readonly maxItems: 3;
|
|
5673
|
+
readonly default: readonly [0, 0, 0];
|
|
5674
|
+
};
|
|
5675
|
+
readonly metallicFactor: {
|
|
5676
|
+
readonly type: "number";
|
|
5677
|
+
readonly precision: 1;
|
|
5678
|
+
readonly default: number;
|
|
5679
|
+
};
|
|
5680
|
+
readonly roughnessFactor: {
|
|
5681
|
+
readonly type: "number";
|
|
5682
|
+
readonly precision: 1;
|
|
5683
|
+
readonly default: number;
|
|
5684
|
+
};
|
|
5685
|
+
readonly normalScale: {
|
|
5686
|
+
readonly type: "number";
|
|
5687
|
+
readonly precision: 1;
|
|
5688
|
+
readonly default: number;
|
|
5689
|
+
};
|
|
5690
|
+
readonly occlusionStrength: {
|
|
5691
|
+
readonly type: "number";
|
|
5692
|
+
readonly precision: 1;
|
|
5693
|
+
readonly default: number;
|
|
5694
|
+
};
|
|
5695
|
+
readonly irReflectance: {
|
|
5696
|
+
readonly type: "number";
|
|
5697
|
+
readonly precision: 1;
|
|
5698
|
+
readonly default: number;
|
|
5699
|
+
};
|
|
5700
|
+
readonly irEmission: {
|
|
5701
|
+
readonly type: "number";
|
|
5702
|
+
readonly precision: 1;
|
|
5703
|
+
readonly default: number;
|
|
5704
|
+
};
|
|
5705
|
+
readonly emissionMode: {
|
|
5706
|
+
readonly type: "integer";
|
|
5707
|
+
readonly minimum: 0;
|
|
5708
|
+
readonly maximum: 4294967295;
|
|
5709
|
+
readonly default: number;
|
|
5710
|
+
};
|
|
5711
|
+
readonly baseColorUrl: {
|
|
5712
|
+
readonly type: "string";
|
|
5713
|
+
};
|
|
5714
|
+
readonly metallicRoughnessUrl: {
|
|
5715
|
+
readonly type: "string";
|
|
5716
|
+
};
|
|
5717
|
+
readonly normalUrl: {
|
|
5718
|
+
readonly type: "string";
|
|
5719
|
+
};
|
|
5720
|
+
readonly occlusionUrl: {
|
|
5721
|
+
readonly type: "string";
|
|
5722
|
+
};
|
|
5723
|
+
readonly emissiveUrl: {
|
|
5724
|
+
readonly type: "string";
|
|
5725
|
+
};
|
|
5726
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5727
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
5728
|
+
}, {
|
|
5729
|
+
readonly materialByName: {
|
|
5730
|
+
readonly key: "name";
|
|
5731
|
+
readonly unique: true;
|
|
5732
|
+
readonly archetype: "Material";
|
|
5733
|
+
};
|
|
5734
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
5735
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5736
|
+
readonly material: {
|
|
5737
|
+
readonly type: "integer";
|
|
5738
|
+
readonly minimum: -2147483648;
|
|
5739
|
+
readonly maximum: 2147483647;
|
|
5740
|
+
readonly default: number;
|
|
5741
|
+
};
|
|
5742
|
+
readonly name: {
|
|
5743
|
+
readonly type: "string";
|
|
5744
|
+
};
|
|
5745
|
+
readonly density: {
|
|
5746
|
+
readonly type: "number";
|
|
5747
|
+
readonly precision: 1;
|
|
5748
|
+
readonly default: number;
|
|
5749
|
+
};
|
|
5750
|
+
readonly restitution: {
|
|
5751
|
+
readonly type: "number";
|
|
5752
|
+
readonly precision: 1;
|
|
5753
|
+
readonly default: number;
|
|
5754
|
+
};
|
|
5755
|
+
readonly friction: {
|
|
5756
|
+
readonly type: "number";
|
|
5757
|
+
readonly precision: 1;
|
|
5758
|
+
readonly default: number;
|
|
5759
|
+
};
|
|
5760
|
+
readonly compliance: {
|
|
5761
|
+
readonly type: "number";
|
|
5762
|
+
readonly precision: 1;
|
|
5763
|
+
readonly default: number;
|
|
5764
|
+
};
|
|
5765
|
+
readonly heatCapacity: {
|
|
5766
|
+
readonly type: "number";
|
|
5767
|
+
readonly precision: 1;
|
|
5768
|
+
readonly default: number;
|
|
5769
|
+
};
|
|
5770
|
+
readonly viscosity: {
|
|
5771
|
+
readonly type: "number";
|
|
5772
|
+
readonly precision: 1;
|
|
5773
|
+
readonly default: number;
|
|
5774
|
+
};
|
|
5775
|
+
readonly thermalConductivity: {
|
|
5776
|
+
readonly type: "number";
|
|
5777
|
+
readonly precision: 1;
|
|
5778
|
+
readonly default: number;
|
|
5779
|
+
};
|
|
5780
|
+
readonly stressStrainCurve: {
|
|
5781
|
+
readonly type: "object";
|
|
5782
|
+
readonly layout: "packed";
|
|
5783
|
+
readonly properties: {
|
|
5784
|
+
readonly tensileYieldStrainStress: {
|
|
5785
|
+
readonly type: "array";
|
|
5786
|
+
readonly items: {
|
|
5787
|
+
readonly type: "number";
|
|
5788
|
+
readonly precision: 1;
|
|
5789
|
+
readonly default: number;
|
|
5790
|
+
};
|
|
5791
|
+
readonly minItems: 2;
|
|
5792
|
+
readonly maxItems: 2;
|
|
5793
|
+
readonly default: readonly [0, 0];
|
|
5794
|
+
};
|
|
5795
|
+
readonly tensileFractureStrainStress: {
|
|
5796
|
+
readonly type: "array";
|
|
5797
|
+
readonly items: {
|
|
5798
|
+
readonly type: "number";
|
|
5799
|
+
readonly precision: 1;
|
|
5800
|
+
readonly default: number;
|
|
5801
|
+
};
|
|
5802
|
+
readonly minItems: 2;
|
|
5803
|
+
readonly maxItems: 2;
|
|
5804
|
+
readonly default: readonly [0, 0];
|
|
5805
|
+
};
|
|
5806
|
+
readonly compressiveYieldStrainStress: {
|
|
5807
|
+
readonly type: "array";
|
|
5808
|
+
readonly items: {
|
|
5809
|
+
readonly type: "number";
|
|
5810
|
+
readonly precision: 1;
|
|
5811
|
+
readonly default: number;
|
|
5812
|
+
};
|
|
5813
|
+
readonly minItems: 2;
|
|
5814
|
+
readonly maxItems: 2;
|
|
5815
|
+
readonly default: readonly [0, 0];
|
|
5816
|
+
};
|
|
5817
|
+
readonly compressiveFractureStrainStress: {
|
|
5818
|
+
readonly type: "array";
|
|
5819
|
+
readonly items: {
|
|
5820
|
+
readonly type: "number";
|
|
5821
|
+
readonly precision: 1;
|
|
5822
|
+
readonly default: number;
|
|
5823
|
+
};
|
|
5824
|
+
readonly minItems: 2;
|
|
5825
|
+
readonly maxItems: 2;
|
|
5826
|
+
readonly default: readonly [0, 0];
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5830
|
+
};
|
|
5831
|
+
readonly baseColorFactor: {
|
|
5832
|
+
readonly type: "array";
|
|
5833
|
+
readonly items: {
|
|
5834
|
+
readonly type: "number";
|
|
5835
|
+
readonly precision: 1;
|
|
5836
|
+
readonly default: number;
|
|
5837
|
+
};
|
|
5838
|
+
readonly minItems: 4;
|
|
5839
|
+
readonly maxItems: 4;
|
|
5840
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5841
|
+
};
|
|
5842
|
+
readonly emissiveFactor: {
|
|
5843
|
+
readonly type: "array";
|
|
5844
|
+
readonly items: {
|
|
5845
|
+
readonly type: "number";
|
|
5846
|
+
readonly precision: 1;
|
|
5847
|
+
readonly default: number;
|
|
5848
|
+
};
|
|
5849
|
+
readonly minItems: 3;
|
|
5850
|
+
readonly maxItems: 3;
|
|
5851
|
+
readonly default: readonly [0, 0, 0];
|
|
5852
|
+
};
|
|
5853
|
+
readonly metallicFactor: {
|
|
5854
|
+
readonly type: "number";
|
|
5855
|
+
readonly precision: 1;
|
|
5856
|
+
readonly default: number;
|
|
5857
|
+
};
|
|
5858
|
+
readonly roughnessFactor: {
|
|
5859
|
+
readonly type: "number";
|
|
5860
|
+
readonly precision: 1;
|
|
5861
|
+
readonly default: number;
|
|
5862
|
+
};
|
|
5863
|
+
readonly normalScale: {
|
|
5864
|
+
readonly type: "number";
|
|
5865
|
+
readonly precision: 1;
|
|
5866
|
+
readonly default: number;
|
|
5867
|
+
};
|
|
5868
|
+
readonly occlusionStrength: {
|
|
5869
|
+
readonly type: "number";
|
|
5870
|
+
readonly precision: 1;
|
|
5871
|
+
readonly default: number;
|
|
5872
|
+
};
|
|
5873
|
+
readonly irReflectance: {
|
|
5874
|
+
readonly type: "number";
|
|
5875
|
+
readonly precision: 1;
|
|
5876
|
+
readonly default: number;
|
|
5877
|
+
};
|
|
5878
|
+
readonly irEmission: {
|
|
5879
|
+
readonly type: "number";
|
|
5880
|
+
readonly precision: 1;
|
|
5881
|
+
readonly default: number;
|
|
5882
|
+
};
|
|
5883
|
+
readonly emissionMode: {
|
|
5884
|
+
readonly type: "integer";
|
|
5885
|
+
readonly minimum: 0;
|
|
5886
|
+
readonly maximum: 4294967295;
|
|
5887
|
+
readonly default: number;
|
|
5888
|
+
};
|
|
5889
|
+
readonly baseColorUrl: {
|
|
5890
|
+
readonly type: "string";
|
|
5891
|
+
};
|
|
5892
|
+
readonly metallicRoughnessUrl: {
|
|
5893
|
+
readonly type: "string";
|
|
5894
|
+
};
|
|
5895
|
+
readonly normalUrl: {
|
|
5896
|
+
readonly type: "string";
|
|
5897
|
+
};
|
|
5898
|
+
readonly occlusionUrl: {
|
|
5899
|
+
readonly type: "string";
|
|
5900
|
+
};
|
|
5901
|
+
readonly emissiveUrl: {
|
|
5902
|
+
readonly type: "string";
|
|
5903
|
+
};
|
|
5904
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5905
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
5906
|
+
}, {
|
|
5907
|
+
readonly materialByName: {
|
|
5908
|
+
readonly key: "name";
|
|
5909
|
+
readonly unique: true;
|
|
5910
|
+
readonly archetype: "Material";
|
|
5911
|
+
};
|
|
5912
|
+
}, never>, args: {
|
|
5913
|
+
name: string;
|
|
5914
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
5915
|
+
}) => Entity;
|
|
5916
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5917
|
+
readonly material: {
|
|
5918
|
+
readonly type: "integer";
|
|
5919
|
+
readonly minimum: -2147483648;
|
|
5920
|
+
readonly maximum: 2147483647;
|
|
5921
|
+
readonly default: number;
|
|
5922
|
+
};
|
|
5923
|
+
readonly name: {
|
|
5924
|
+
readonly type: "string";
|
|
5925
|
+
};
|
|
5926
|
+
readonly density: {
|
|
5927
|
+
readonly type: "number";
|
|
5928
|
+
readonly precision: 1;
|
|
5929
|
+
readonly default: number;
|
|
5930
|
+
};
|
|
5931
|
+
readonly restitution: {
|
|
5932
|
+
readonly type: "number";
|
|
5933
|
+
readonly precision: 1;
|
|
5934
|
+
readonly default: number;
|
|
5935
|
+
};
|
|
5936
|
+
readonly friction: {
|
|
5937
|
+
readonly type: "number";
|
|
5938
|
+
readonly precision: 1;
|
|
5939
|
+
readonly default: number;
|
|
5940
|
+
};
|
|
5941
|
+
readonly compliance: {
|
|
5942
|
+
readonly type: "number";
|
|
5943
|
+
readonly precision: 1;
|
|
5944
|
+
readonly default: number;
|
|
5945
|
+
};
|
|
5946
|
+
readonly heatCapacity: {
|
|
5947
|
+
readonly type: "number";
|
|
5948
|
+
readonly precision: 1;
|
|
5949
|
+
readonly default: number;
|
|
5950
|
+
};
|
|
5951
|
+
readonly viscosity: {
|
|
5952
|
+
readonly type: "number";
|
|
5953
|
+
readonly precision: 1;
|
|
5954
|
+
readonly default: number;
|
|
5955
|
+
};
|
|
5956
|
+
readonly thermalConductivity: {
|
|
5957
|
+
readonly type: "number";
|
|
5958
|
+
readonly precision: 1;
|
|
5959
|
+
readonly default: number;
|
|
5960
|
+
};
|
|
5961
|
+
readonly stressStrainCurve: {
|
|
5962
|
+
readonly type: "object";
|
|
5963
|
+
readonly layout: "packed";
|
|
5964
|
+
readonly properties: {
|
|
5965
|
+
readonly tensileYieldStrainStress: {
|
|
5966
|
+
readonly type: "array";
|
|
5967
|
+
readonly items: {
|
|
5968
|
+
readonly type: "number";
|
|
5969
|
+
readonly precision: 1;
|
|
5970
|
+
readonly default: number;
|
|
5971
|
+
};
|
|
5972
|
+
readonly minItems: 2;
|
|
5973
|
+
readonly maxItems: 2;
|
|
5974
|
+
readonly default: readonly [0, 0];
|
|
5975
|
+
};
|
|
5976
|
+
readonly tensileFractureStrainStress: {
|
|
5977
|
+
readonly type: "array";
|
|
5978
|
+
readonly items: {
|
|
5979
|
+
readonly type: "number";
|
|
5980
|
+
readonly precision: 1;
|
|
5981
|
+
readonly default: number;
|
|
5982
|
+
};
|
|
5983
|
+
readonly minItems: 2;
|
|
5984
|
+
readonly maxItems: 2;
|
|
5985
|
+
readonly default: readonly [0, 0];
|
|
5986
|
+
};
|
|
5987
|
+
readonly compressiveYieldStrainStress: {
|
|
5988
|
+
readonly type: "array";
|
|
5989
|
+
readonly items: {
|
|
5990
|
+
readonly type: "number";
|
|
5991
|
+
readonly precision: 1;
|
|
5992
|
+
readonly default: number;
|
|
5993
|
+
};
|
|
5994
|
+
readonly minItems: 2;
|
|
5995
|
+
readonly maxItems: 2;
|
|
5996
|
+
readonly default: readonly [0, 0];
|
|
5997
|
+
};
|
|
5998
|
+
readonly compressiveFractureStrainStress: {
|
|
5999
|
+
readonly type: "array";
|
|
6000
|
+
readonly items: {
|
|
6001
|
+
readonly type: "number";
|
|
6002
|
+
readonly precision: 1;
|
|
6003
|
+
readonly default: number;
|
|
6004
|
+
};
|
|
6005
|
+
readonly minItems: 2;
|
|
6006
|
+
readonly maxItems: 2;
|
|
6007
|
+
readonly default: readonly [0, 0];
|
|
6008
|
+
};
|
|
6009
|
+
};
|
|
6010
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
6011
|
+
};
|
|
6012
|
+
readonly baseColorFactor: {
|
|
6013
|
+
readonly type: "array";
|
|
6014
|
+
readonly items: {
|
|
6015
|
+
readonly type: "number";
|
|
6016
|
+
readonly precision: 1;
|
|
6017
|
+
readonly default: number;
|
|
6018
|
+
};
|
|
6019
|
+
readonly minItems: 4;
|
|
6020
|
+
readonly maxItems: 4;
|
|
6021
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
6022
|
+
};
|
|
6023
|
+
readonly emissiveFactor: {
|
|
6024
|
+
readonly type: "array";
|
|
6025
|
+
readonly items: {
|
|
6026
|
+
readonly type: "number";
|
|
6027
|
+
readonly precision: 1;
|
|
6028
|
+
readonly default: number;
|
|
6029
|
+
};
|
|
6030
|
+
readonly minItems: 3;
|
|
6031
|
+
readonly maxItems: 3;
|
|
6032
|
+
readonly default: readonly [0, 0, 0];
|
|
6033
|
+
};
|
|
6034
|
+
readonly metallicFactor: {
|
|
6035
|
+
readonly type: "number";
|
|
6036
|
+
readonly precision: 1;
|
|
6037
|
+
readonly default: number;
|
|
6038
|
+
};
|
|
6039
|
+
readonly roughnessFactor: {
|
|
6040
|
+
readonly type: "number";
|
|
6041
|
+
readonly precision: 1;
|
|
6042
|
+
readonly default: number;
|
|
6043
|
+
};
|
|
6044
|
+
readonly normalScale: {
|
|
6045
|
+
readonly type: "number";
|
|
6046
|
+
readonly precision: 1;
|
|
6047
|
+
readonly default: number;
|
|
6048
|
+
};
|
|
6049
|
+
readonly occlusionStrength: {
|
|
6050
|
+
readonly type: "number";
|
|
6051
|
+
readonly precision: 1;
|
|
6052
|
+
readonly default: number;
|
|
6053
|
+
};
|
|
6054
|
+
readonly irReflectance: {
|
|
6055
|
+
readonly type: "number";
|
|
6056
|
+
readonly precision: 1;
|
|
6057
|
+
readonly default: number;
|
|
6058
|
+
};
|
|
6059
|
+
readonly irEmission: {
|
|
6060
|
+
readonly type: "number";
|
|
6061
|
+
readonly precision: 1;
|
|
6062
|
+
readonly default: number;
|
|
6063
|
+
};
|
|
6064
|
+
readonly emissionMode: {
|
|
6065
|
+
readonly type: "integer";
|
|
6066
|
+
readonly minimum: 0;
|
|
6067
|
+
readonly maximum: 4294967295;
|
|
6068
|
+
readonly default: number;
|
|
6069
|
+
};
|
|
6070
|
+
readonly baseColorUrl: {
|
|
6071
|
+
readonly type: "string";
|
|
6072
|
+
};
|
|
6073
|
+
readonly metallicRoughnessUrl: {
|
|
6074
|
+
readonly type: "string";
|
|
6075
|
+
};
|
|
6076
|
+
readonly normalUrl: {
|
|
6077
|
+
readonly type: "string";
|
|
6078
|
+
};
|
|
6079
|
+
readonly occlusionUrl: {
|
|
6080
|
+
readonly type: "string";
|
|
6081
|
+
};
|
|
6082
|
+
readonly emissiveUrl: {
|
|
6083
|
+
readonly type: "string";
|
|
6084
|
+
};
|
|
6085
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
6086
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
6087
|
+
}, {
|
|
6088
|
+
readonly materialByName: {
|
|
6089
|
+
readonly key: "name";
|
|
6090
|
+
readonly unique: true;
|
|
6091
|
+
readonly archetype: "Material";
|
|
6092
|
+
};
|
|
6093
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
6094
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
6095
|
+
readonly material: {
|
|
6096
|
+
readonly type: "integer";
|
|
6097
|
+
readonly minimum: -2147483648;
|
|
6098
|
+
readonly maximum: 2147483647;
|
|
6099
|
+
readonly default: number;
|
|
6100
|
+
};
|
|
6101
|
+
readonly name: {
|
|
6102
|
+
readonly type: "string";
|
|
6103
|
+
};
|
|
6104
|
+
readonly density: {
|
|
6105
|
+
readonly type: "number";
|
|
6106
|
+
readonly precision: 1;
|
|
6107
|
+
readonly default: number;
|
|
6108
|
+
};
|
|
6109
|
+
readonly restitution: {
|
|
6110
|
+
readonly type: "number";
|
|
6111
|
+
readonly precision: 1;
|
|
6112
|
+
readonly default: number;
|
|
6113
|
+
};
|
|
6114
|
+
readonly friction: {
|
|
6115
|
+
readonly type: "number";
|
|
6116
|
+
readonly precision: 1;
|
|
6117
|
+
readonly default: number;
|
|
6118
|
+
};
|
|
6119
|
+
readonly compliance: {
|
|
6120
|
+
readonly type: "number";
|
|
6121
|
+
readonly precision: 1;
|
|
6122
|
+
readonly default: number;
|
|
6123
|
+
};
|
|
6124
|
+
readonly heatCapacity: {
|
|
6125
|
+
readonly type: "number";
|
|
6126
|
+
readonly precision: 1;
|
|
6127
|
+
readonly default: number;
|
|
6128
|
+
};
|
|
6129
|
+
readonly viscosity: {
|
|
6130
|
+
readonly type: "number";
|
|
6131
|
+
readonly precision: 1;
|
|
6132
|
+
readonly default: number;
|
|
6133
|
+
};
|
|
6134
|
+
readonly thermalConductivity: {
|
|
6135
|
+
readonly type: "number";
|
|
6136
|
+
readonly precision: 1;
|
|
6137
|
+
readonly default: number;
|
|
6138
|
+
};
|
|
6139
|
+
readonly stressStrainCurve: {
|
|
6140
|
+
readonly type: "object";
|
|
6141
|
+
readonly layout: "packed";
|
|
6142
|
+
readonly properties: {
|
|
6143
|
+
readonly tensileYieldStrainStress: {
|
|
6144
|
+
readonly type: "array";
|
|
6145
|
+
readonly items: {
|
|
6146
|
+
readonly type: "number";
|
|
6147
|
+
readonly precision: 1;
|
|
6148
|
+
readonly default: number;
|
|
6149
|
+
};
|
|
6150
|
+
readonly minItems: 2;
|
|
6151
|
+
readonly maxItems: 2;
|
|
6152
|
+
readonly default: readonly [0, 0];
|
|
6153
|
+
};
|
|
6154
|
+
readonly tensileFractureStrainStress: {
|
|
6155
|
+
readonly type: "array";
|
|
6156
|
+
readonly items: {
|
|
6157
|
+
readonly type: "number";
|
|
6158
|
+
readonly precision: 1;
|
|
6159
|
+
readonly default: number;
|
|
6160
|
+
};
|
|
6161
|
+
readonly minItems: 2;
|
|
6162
|
+
readonly maxItems: 2;
|
|
6163
|
+
readonly default: readonly [0, 0];
|
|
6164
|
+
};
|
|
6165
|
+
readonly compressiveYieldStrainStress: {
|
|
6166
|
+
readonly type: "array";
|
|
6167
|
+
readonly items: {
|
|
6168
|
+
readonly type: "number";
|
|
6169
|
+
readonly precision: 1;
|
|
6170
|
+
readonly default: number;
|
|
6171
|
+
};
|
|
6172
|
+
readonly minItems: 2;
|
|
6173
|
+
readonly maxItems: 2;
|
|
6174
|
+
readonly default: readonly [0, 0];
|
|
6175
|
+
};
|
|
6176
|
+
readonly compressiveFractureStrainStress: {
|
|
6177
|
+
readonly type: "array";
|
|
6178
|
+
readonly items: {
|
|
6179
|
+
readonly type: "number";
|
|
6180
|
+
readonly precision: 1;
|
|
6181
|
+
readonly default: number;
|
|
6182
|
+
};
|
|
6183
|
+
readonly minItems: 2;
|
|
6184
|
+
readonly maxItems: 2;
|
|
6185
|
+
readonly default: readonly [0, 0];
|
|
6186
|
+
};
|
|
6187
|
+
};
|
|
6188
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
6189
|
+
};
|
|
6190
|
+
readonly baseColorFactor: {
|
|
6191
|
+
readonly type: "array";
|
|
6192
|
+
readonly items: {
|
|
6193
|
+
readonly type: "number";
|
|
6194
|
+
readonly precision: 1;
|
|
6195
|
+
readonly default: number;
|
|
6196
|
+
};
|
|
6197
|
+
readonly minItems: 4;
|
|
6198
|
+
readonly maxItems: 4;
|
|
6199
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
6200
|
+
};
|
|
6201
|
+
readonly emissiveFactor: {
|
|
6202
|
+
readonly type: "array";
|
|
6203
|
+
readonly items: {
|
|
6204
|
+
readonly type: "number";
|
|
6205
|
+
readonly precision: 1;
|
|
6206
|
+
readonly default: number;
|
|
6207
|
+
};
|
|
6208
|
+
readonly minItems: 3;
|
|
6209
|
+
readonly maxItems: 3;
|
|
6210
|
+
readonly default: readonly [0, 0, 0];
|
|
6211
|
+
};
|
|
6212
|
+
readonly metallicFactor: {
|
|
6213
|
+
readonly type: "number";
|
|
6214
|
+
readonly precision: 1;
|
|
6215
|
+
readonly default: number;
|
|
6216
|
+
};
|
|
6217
|
+
readonly roughnessFactor: {
|
|
6218
|
+
readonly type: "number";
|
|
6219
|
+
readonly precision: 1;
|
|
6220
|
+
readonly default: number;
|
|
6221
|
+
};
|
|
6222
|
+
readonly normalScale: {
|
|
6223
|
+
readonly type: "number";
|
|
6224
|
+
readonly precision: 1;
|
|
6225
|
+
readonly default: number;
|
|
6226
|
+
};
|
|
6227
|
+
readonly occlusionStrength: {
|
|
6228
|
+
readonly type: "number";
|
|
6229
|
+
readonly precision: 1;
|
|
6230
|
+
readonly default: number;
|
|
6231
|
+
};
|
|
6232
|
+
readonly irReflectance: {
|
|
6233
|
+
readonly type: "number";
|
|
6234
|
+
readonly precision: 1;
|
|
6235
|
+
readonly default: number;
|
|
6236
|
+
};
|
|
6237
|
+
readonly irEmission: {
|
|
6238
|
+
readonly type: "number";
|
|
6239
|
+
readonly precision: 1;
|
|
6240
|
+
readonly default: number;
|
|
6241
|
+
};
|
|
6242
|
+
readonly emissionMode: {
|
|
6243
|
+
readonly type: "integer";
|
|
6244
|
+
readonly minimum: 0;
|
|
6245
|
+
readonly maximum: 4294967295;
|
|
6246
|
+
readonly default: number;
|
|
6247
|
+
};
|
|
6248
|
+
readonly baseColorUrl: {
|
|
6249
|
+
readonly type: "string";
|
|
6250
|
+
};
|
|
6251
|
+
readonly metallicRoughnessUrl: {
|
|
6252
|
+
readonly type: "string";
|
|
6253
|
+
};
|
|
6254
|
+
readonly normalUrl: {
|
|
6255
|
+
readonly type: "string";
|
|
6256
|
+
};
|
|
6257
|
+
readonly occlusionUrl: {
|
|
6258
|
+
readonly type: "string";
|
|
6259
|
+
};
|
|
6260
|
+
readonly emissiveUrl: {
|
|
6261
|
+
readonly type: "string";
|
|
6262
|
+
};
|
|
6263
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
6264
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
6265
|
+
}, {
|
|
6266
|
+
readonly materialByName: {
|
|
6267
|
+
readonly key: "name";
|
|
6268
|
+
readonly unique: true;
|
|
6269
|
+
readonly archetype: "Material";
|
|
6270
|
+
};
|
|
6271
|
+
}, never>) => void;
|
|
6272
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
6273
|
+
readonly material: {
|
|
6274
|
+
readonly type: "integer";
|
|
6275
|
+
readonly minimum: -2147483648;
|
|
6276
|
+
readonly maximum: 2147483647;
|
|
6277
|
+
readonly default: number;
|
|
6278
|
+
};
|
|
6279
|
+
readonly name: {
|
|
6280
|
+
readonly type: "string";
|
|
6281
|
+
};
|
|
6282
|
+
readonly density: {
|
|
6283
|
+
readonly type: "number";
|
|
6284
|
+
readonly precision: 1;
|
|
6285
|
+
readonly default: number;
|
|
6286
|
+
};
|
|
6287
|
+
readonly restitution: {
|
|
6288
|
+
readonly type: "number";
|
|
6289
|
+
readonly precision: 1;
|
|
6290
|
+
readonly default: number;
|
|
6291
|
+
};
|
|
6292
|
+
readonly friction: {
|
|
6293
|
+
readonly type: "number";
|
|
6294
|
+
readonly precision: 1;
|
|
6295
|
+
readonly default: number;
|
|
6296
|
+
};
|
|
6297
|
+
readonly compliance: {
|
|
6298
|
+
readonly type: "number";
|
|
6299
|
+
readonly precision: 1;
|
|
6300
|
+
readonly default: number;
|
|
6301
|
+
};
|
|
6302
|
+
readonly heatCapacity: {
|
|
6303
|
+
readonly type: "number";
|
|
6304
|
+
readonly precision: 1;
|
|
6305
|
+
readonly default: number;
|
|
6306
|
+
};
|
|
6307
|
+
readonly viscosity: {
|
|
6308
|
+
readonly type: "number";
|
|
6309
|
+
readonly precision: 1;
|
|
6310
|
+
readonly default: number;
|
|
6311
|
+
};
|
|
6312
|
+
readonly thermalConductivity: {
|
|
6313
|
+
readonly type: "number";
|
|
6314
|
+
readonly precision: 1;
|
|
6315
|
+
readonly default: number;
|
|
6316
|
+
};
|
|
6317
|
+
readonly stressStrainCurve: {
|
|
6318
|
+
readonly type: "object";
|
|
6319
|
+
readonly layout: "packed";
|
|
6320
|
+
readonly properties: {
|
|
6321
|
+
readonly tensileYieldStrainStress: {
|
|
6322
|
+
readonly type: "array";
|
|
6323
|
+
readonly items: {
|
|
6324
|
+
readonly type: "number";
|
|
6325
|
+
readonly precision: 1;
|
|
6326
|
+
readonly default: number;
|
|
6327
|
+
};
|
|
6328
|
+
readonly minItems: 2;
|
|
6329
|
+
readonly maxItems: 2;
|
|
6330
|
+
readonly default: readonly [0, 0];
|
|
6331
|
+
};
|
|
6332
|
+
readonly tensileFractureStrainStress: {
|
|
6333
|
+
readonly type: "array";
|
|
6334
|
+
readonly items: {
|
|
6335
|
+
readonly type: "number";
|
|
6336
|
+
readonly precision: 1;
|
|
6337
|
+
readonly default: number;
|
|
6338
|
+
};
|
|
6339
|
+
readonly minItems: 2;
|
|
6340
|
+
readonly maxItems: 2;
|
|
6341
|
+
readonly default: readonly [0, 0];
|
|
6342
|
+
};
|
|
6343
|
+
readonly compressiveYieldStrainStress: {
|
|
6344
|
+
readonly type: "array";
|
|
6345
|
+
readonly items: {
|
|
6346
|
+
readonly type: "number";
|
|
6347
|
+
readonly precision: 1;
|
|
6348
|
+
readonly default: number;
|
|
6349
|
+
};
|
|
6350
|
+
readonly minItems: 2;
|
|
6351
|
+
readonly maxItems: 2;
|
|
6352
|
+
readonly default: readonly [0, 0];
|
|
6353
|
+
};
|
|
6354
|
+
readonly compressiveFractureStrainStress: {
|
|
6355
|
+
readonly type: "array";
|
|
6356
|
+
readonly items: {
|
|
6357
|
+
readonly type: "number";
|
|
6358
|
+
readonly precision: 1;
|
|
6359
|
+
readonly default: number;
|
|
6360
|
+
};
|
|
6361
|
+
readonly minItems: 2;
|
|
6362
|
+
readonly maxItems: 2;
|
|
6363
|
+
readonly default: readonly [0, 0];
|
|
6364
|
+
};
|
|
6365
|
+
};
|
|
6366
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
6367
|
+
};
|
|
6368
|
+
readonly baseColorFactor: {
|
|
6369
|
+
readonly type: "array";
|
|
6370
|
+
readonly items: {
|
|
6371
|
+
readonly type: "number";
|
|
6372
|
+
readonly precision: 1;
|
|
6373
|
+
readonly default: number;
|
|
6374
|
+
};
|
|
6375
|
+
readonly minItems: 4;
|
|
6376
|
+
readonly maxItems: 4;
|
|
6377
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
6378
|
+
};
|
|
6379
|
+
readonly emissiveFactor: {
|
|
6380
|
+
readonly type: "array";
|
|
6381
|
+
readonly items: {
|
|
6382
|
+
readonly type: "number";
|
|
6383
|
+
readonly precision: 1;
|
|
6384
|
+
readonly default: number;
|
|
6385
|
+
};
|
|
6386
|
+
readonly minItems: 3;
|
|
6387
|
+
readonly maxItems: 3;
|
|
6388
|
+
readonly default: readonly [0, 0, 0];
|
|
6389
|
+
};
|
|
6390
|
+
readonly metallicFactor: {
|
|
6391
|
+
readonly type: "number";
|
|
6392
|
+
readonly precision: 1;
|
|
6393
|
+
readonly default: number;
|
|
6394
|
+
};
|
|
6395
|
+
readonly roughnessFactor: {
|
|
6396
|
+
readonly type: "number";
|
|
6397
|
+
readonly precision: 1;
|
|
6398
|
+
readonly default: number;
|
|
6399
|
+
};
|
|
6400
|
+
readonly normalScale: {
|
|
6401
|
+
readonly type: "number";
|
|
6402
|
+
readonly precision: 1;
|
|
6403
|
+
readonly default: number;
|
|
6404
|
+
};
|
|
6405
|
+
readonly occlusionStrength: {
|
|
6406
|
+
readonly type: "number";
|
|
6407
|
+
readonly precision: 1;
|
|
6408
|
+
readonly default: number;
|
|
6409
|
+
};
|
|
6410
|
+
readonly irReflectance: {
|
|
6411
|
+
readonly type: "number";
|
|
6412
|
+
readonly precision: 1;
|
|
6413
|
+
readonly default: number;
|
|
6414
|
+
};
|
|
6415
|
+
readonly irEmission: {
|
|
6416
|
+
readonly type: "number";
|
|
6417
|
+
readonly precision: 1;
|
|
6418
|
+
readonly default: number;
|
|
6419
|
+
};
|
|
6420
|
+
readonly emissionMode: {
|
|
6421
|
+
readonly type: "integer";
|
|
6422
|
+
readonly minimum: 0;
|
|
6423
|
+
readonly maximum: 4294967295;
|
|
6424
|
+
readonly default: number;
|
|
6425
|
+
};
|
|
6426
|
+
readonly baseColorUrl: {
|
|
6427
|
+
readonly type: "string";
|
|
6428
|
+
};
|
|
6429
|
+
readonly metallicRoughnessUrl: {
|
|
6430
|
+
readonly type: "string";
|
|
6431
|
+
};
|
|
6432
|
+
readonly normalUrl: {
|
|
6433
|
+
readonly type: "string";
|
|
6434
|
+
};
|
|
6435
|
+
readonly occlusionUrl: {
|
|
6436
|
+
readonly type: "string";
|
|
6437
|
+
};
|
|
6438
|
+
readonly emissiveUrl: {
|
|
6439
|
+
readonly type: "string";
|
|
6440
|
+
};
|
|
6441
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
6442
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
6443
|
+
}, {
|
|
6444
|
+
readonly materialByName: {
|
|
6445
|
+
readonly key: "name";
|
|
6446
|
+
readonly unique: true;
|
|
6447
|
+
readonly archetype: "Material";
|
|
6448
|
+
};
|
|
6449
|
+
}, never>) => void;
|
|
6450
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
6451
|
+
readonly materialByName: {
|
|
6452
|
+
readonly key: "name";
|
|
6453
|
+
readonly unique: true;
|
|
6454
|
+
readonly archetype: "Material";
|
|
6455
|
+
};
|
|
6456
|
+
}, never>, args: {
|
|
6457
|
+
ray: {
|
|
6458
|
+
readonly a: readonly [number, number, number];
|
|
6459
|
+
readonly b: readonly [number, number, number];
|
|
6460
|
+
};
|
|
6461
|
+
visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
|
|
6462
|
+
radius?: number;
|
|
6463
|
+
}) => void;
|
|
6464
|
+
};
|
|
6465
|
+
readonly services: {};
|
|
6466
|
+
readonly computed: {};
|
|
6467
|
+
readonly indexes: {
|
|
6468
|
+
readonly nodeChildrenOf: {
|
|
6469
|
+
readonly key: "parent";
|
|
6470
|
+
readonly archetype: "Node";
|
|
6471
|
+
};
|
|
6472
|
+
} & {} & {} & {} & {
|
|
4101
6473
|
readonly materialByName: {
|
|
4102
6474
|
readonly key: "name";
|
|
4103
6475
|
readonly unique: true;
|
|
4104
6476
|
readonly archetype: "Material";
|
|
4105
6477
|
};
|
|
4106
|
-
} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {}
|
|
6478
|
+
} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
|
|
4107
6479
|
};
|