@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,10 +1,75 @@
|
|
|
1
|
-
import { Entity } from "@adobe/data/ecs";
|
|
1
|
+
import { Database, Entity } from "@adobe/data/ecs";
|
|
2
2
|
import type { ColliderMesh } from "../../physics/body/collider-mesh.js";
|
|
3
3
|
/**
|
|
4
4
|
* modelCollider — auto-generates physics colliders from loaded mesh CPU data.
|
|
5
5
|
*/
|
|
6
6
|
export declare const modelCollider: {
|
|
7
7
|
readonly components: {} & {
|
|
8
|
+
readonly _vertexBuffer: {
|
|
9
|
+
readonly default: GPUBuffer | null;
|
|
10
|
+
readonly nonPersistent: true;
|
|
11
|
+
};
|
|
12
|
+
readonly _skinVertexBuffer: {
|
|
13
|
+
readonly default: GPUBuffer | null;
|
|
14
|
+
readonly nonPersistent: true;
|
|
15
|
+
};
|
|
16
|
+
readonly _indexBuffer: {
|
|
17
|
+
readonly default: GPUBuffer | null;
|
|
18
|
+
readonly nonPersistent: true;
|
|
19
|
+
};
|
|
20
|
+
readonly _indexCount: {
|
|
21
|
+
readonly default: undefined;
|
|
22
|
+
readonly nonPersistent: true;
|
|
23
|
+
readonly type: "integer";
|
|
24
|
+
readonly minimum: 0;
|
|
25
|
+
readonly maximum: 4294967295;
|
|
26
|
+
};
|
|
27
|
+
readonly _indexFormat: {
|
|
28
|
+
readonly default: GPUIndexFormat;
|
|
29
|
+
readonly nonPersistent: true;
|
|
30
|
+
};
|
|
31
|
+
readonly _materialBindGroup: {
|
|
32
|
+
readonly default: GPUBindGroup | null;
|
|
33
|
+
readonly nonPersistent: true;
|
|
34
|
+
};
|
|
35
|
+
readonly _mesh: {
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
readonly nonPersistent: true;
|
|
38
|
+
readonly type: "integer";
|
|
39
|
+
readonly minimum: -2147483648;
|
|
40
|
+
readonly maximum: 2147483647;
|
|
41
|
+
};
|
|
42
|
+
readonly _material: {
|
|
43
|
+
readonly default: undefined;
|
|
44
|
+
readonly nonPersistent: true;
|
|
45
|
+
readonly type: "integer";
|
|
46
|
+
readonly minimum: -2147483648;
|
|
47
|
+
readonly maximum: 2147483647;
|
|
48
|
+
};
|
|
49
|
+
readonly _nodeLocalMatrix: {
|
|
50
|
+
readonly default: undefined;
|
|
51
|
+
readonly nonPersistent: true;
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly precision: 1;
|
|
56
|
+
readonly default: number;
|
|
57
|
+
};
|
|
58
|
+
readonly minItems: 16;
|
|
59
|
+
readonly maxItems: 16;
|
|
60
|
+
};
|
|
61
|
+
readonly _skeletonModelRef: {
|
|
62
|
+
readonly default: undefined;
|
|
63
|
+
readonly nonPersistent: true;
|
|
64
|
+
readonly type: "integer";
|
|
65
|
+
readonly minimum: -2147483648;
|
|
66
|
+
readonly maximum: 2147483647;
|
|
67
|
+
};
|
|
68
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
69
|
+
readonly default: GPUBindGroup | null;
|
|
70
|
+
readonly nonPersistent: true;
|
|
71
|
+
};
|
|
72
|
+
} & {
|
|
8
73
|
readonly visible: {
|
|
9
74
|
readonly type: "boolean";
|
|
10
75
|
readonly const: true;
|
|
@@ -53,6 +118,7 @@ export declare const modelCollider: {
|
|
|
53
118
|
readonly default: number;
|
|
54
119
|
};
|
|
55
120
|
readonly _worldMatrix: {
|
|
121
|
+
readonly default: undefined;
|
|
56
122
|
readonly nonPersistent: true;
|
|
57
123
|
readonly type: "array";
|
|
58
124
|
readonly items: {
|
|
@@ -62,9 +128,9 @@ export declare const modelCollider: {
|
|
|
62
128
|
};
|
|
63
129
|
readonly minItems: 16;
|
|
64
130
|
readonly maxItems: 16;
|
|
65
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
66
131
|
};
|
|
67
132
|
readonly _worldBounds: {
|
|
133
|
+
readonly default: undefined;
|
|
68
134
|
readonly nonPersistent: true;
|
|
69
135
|
readonly type: "object";
|
|
70
136
|
readonly properties: {
|
|
@@ -93,10 +159,6 @@ export declare const modelCollider: {
|
|
|
93
159
|
};
|
|
94
160
|
readonly required: readonly ["min", "max"];
|
|
95
161
|
readonly additionalProperties: false;
|
|
96
|
-
readonly default: {
|
|
97
|
-
readonly min: readonly [0, 0, 0];
|
|
98
|
-
readonly max: readonly [0, 0, 0];
|
|
99
|
-
};
|
|
100
162
|
};
|
|
101
163
|
} & {
|
|
102
164
|
readonly material: {
|
|
@@ -352,71 +414,6 @@ export declare const modelCollider: {
|
|
|
352
414
|
readonly const: true;
|
|
353
415
|
readonly default: true;
|
|
354
416
|
};
|
|
355
|
-
} & {
|
|
356
|
-
readonly _vertexBuffer: {
|
|
357
|
-
readonly default: GPUBuffer | null;
|
|
358
|
-
readonly nonPersistent: true;
|
|
359
|
-
};
|
|
360
|
-
readonly _skinVertexBuffer: {
|
|
361
|
-
readonly default: GPUBuffer | null;
|
|
362
|
-
readonly nonPersistent: true;
|
|
363
|
-
};
|
|
364
|
-
readonly _indexBuffer: {
|
|
365
|
-
readonly default: GPUBuffer | null;
|
|
366
|
-
readonly nonPersistent: true;
|
|
367
|
-
};
|
|
368
|
-
readonly _indexCount: {
|
|
369
|
-
readonly nonPersistent: true;
|
|
370
|
-
readonly type: "integer";
|
|
371
|
-
readonly minimum: 0;
|
|
372
|
-
readonly maximum: 4294967295;
|
|
373
|
-
readonly default: number;
|
|
374
|
-
};
|
|
375
|
-
readonly _indexFormat: {
|
|
376
|
-
readonly default: GPUIndexFormat;
|
|
377
|
-
readonly nonPersistent: true;
|
|
378
|
-
};
|
|
379
|
-
readonly _materialBindGroup: {
|
|
380
|
-
readonly default: GPUBindGroup | null;
|
|
381
|
-
readonly nonPersistent: true;
|
|
382
|
-
};
|
|
383
|
-
readonly _mesh: {
|
|
384
|
-
readonly nonPersistent: true;
|
|
385
|
-
readonly type: "integer";
|
|
386
|
-
readonly minimum: -2147483648;
|
|
387
|
-
readonly maximum: 2147483647;
|
|
388
|
-
readonly default: number;
|
|
389
|
-
};
|
|
390
|
-
readonly _material: {
|
|
391
|
-
readonly nonPersistent: true;
|
|
392
|
-
readonly type: "integer";
|
|
393
|
-
readonly minimum: -2147483648;
|
|
394
|
-
readonly maximum: 2147483647;
|
|
395
|
-
readonly default: number;
|
|
396
|
-
};
|
|
397
|
-
readonly _nodeLocalMatrix: {
|
|
398
|
-
readonly nonPersistent: true;
|
|
399
|
-
readonly type: "array";
|
|
400
|
-
readonly items: {
|
|
401
|
-
readonly type: "number";
|
|
402
|
-
readonly precision: 1;
|
|
403
|
-
readonly default: number;
|
|
404
|
-
};
|
|
405
|
-
readonly minItems: 16;
|
|
406
|
-
readonly maxItems: 16;
|
|
407
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
408
|
-
};
|
|
409
|
-
readonly _skeletonModelRef: {
|
|
410
|
-
readonly nonPersistent: true;
|
|
411
|
-
readonly type: "integer";
|
|
412
|
-
readonly minimum: -2147483648;
|
|
413
|
-
readonly maximum: 2147483647;
|
|
414
|
-
readonly default: number;
|
|
415
|
-
};
|
|
416
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
417
|
-
readonly default: GPUBindGroup | null;
|
|
418
|
-
readonly nonPersistent: true;
|
|
419
|
-
};
|
|
420
417
|
} & {
|
|
421
418
|
readonly bodyType: {
|
|
422
419
|
readonly type: "string";
|
|
@@ -485,6 +482,7 @@ export declare const modelCollider: {
|
|
|
485
482
|
readonly default: readonly [0, 0, 0];
|
|
486
483
|
};
|
|
487
484
|
readonly _prevPosition: {
|
|
485
|
+
readonly default: undefined;
|
|
488
486
|
readonly nonPersistent: true;
|
|
489
487
|
readonly type: "array";
|
|
490
488
|
readonly items: {
|
|
@@ -494,9 +492,9 @@ export declare const modelCollider: {
|
|
|
494
492
|
};
|
|
495
493
|
readonly minItems: 3;
|
|
496
494
|
readonly maxItems: 3;
|
|
497
|
-
readonly default: readonly [0, 0, 0];
|
|
498
495
|
};
|
|
499
496
|
readonly _prevRotation: {
|
|
497
|
+
readonly default: undefined;
|
|
500
498
|
readonly nonPersistent: true;
|
|
501
499
|
readonly type: "array";
|
|
502
500
|
readonly items: {
|
|
@@ -506,7 +504,6 @@ export declare const modelCollider: {
|
|
|
506
504
|
};
|
|
507
505
|
readonly minItems: 4;
|
|
508
506
|
readonly maxItems: 4;
|
|
509
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
510
507
|
readonly interpolators: {
|
|
511
508
|
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
512
509
|
};
|
|
@@ -553,8 +550,16 @@ export declare const modelCollider: {
|
|
|
553
550
|
readonly default: GPUCommandEncoder | null;
|
|
554
551
|
readonly nonPersistent: true;
|
|
555
552
|
};
|
|
553
|
+
} & {
|
|
554
|
+
readonly physicsQuery: {
|
|
555
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
556
|
+
readonly nonPersistent: true;
|
|
557
|
+
};
|
|
556
558
|
};
|
|
557
559
|
readonly archetypes: {} & {
|
|
560
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
561
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
562
|
+
} & {
|
|
558
563
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
559
564
|
} & {} & {
|
|
560
565
|
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"];
|
|
@@ -569,10 +574,7 @@ export declare const modelCollider: {
|
|
|
569
574
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
570
575
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
571
576
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
572
|
-
} & {} & {
|
|
573
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
574
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
575
|
-
} & {} & {
|
|
577
|
+
} & {} & {} & {
|
|
576
578
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
577
579
|
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
578
580
|
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
@@ -581,7 +583,7 @@ export declare const modelCollider: {
|
|
|
581
583
|
readonly ModelBody: readonly ["mesh", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
582
584
|
readonly StaticModelCollider: readonly ["mesh", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
583
585
|
};
|
|
584
|
-
readonly transactions: {} & {} & {
|
|
586
|
+
readonly transactions: {} & {} & {} & {
|
|
585
587
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
586
588
|
readonly material: {
|
|
587
589
|
readonly type: "integer";
|
|
@@ -1569,6 +1571,7 @@ export declare const modelCollider: {
|
|
|
1569
1571
|
readonly default: number;
|
|
1570
1572
|
};
|
|
1571
1573
|
readonly _worldMatrix: {
|
|
1574
|
+
readonly default: undefined;
|
|
1572
1575
|
readonly nonPersistent: true;
|
|
1573
1576
|
readonly type: "array";
|
|
1574
1577
|
readonly items: {
|
|
@@ -1578,9 +1581,9 @@ export declare const modelCollider: {
|
|
|
1578
1581
|
};
|
|
1579
1582
|
readonly minItems: 16;
|
|
1580
1583
|
readonly maxItems: 16;
|
|
1581
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1582
1584
|
};
|
|
1583
1585
|
readonly _worldBounds: {
|
|
1586
|
+
readonly default: undefined;
|
|
1584
1587
|
readonly nonPersistent: true;
|
|
1585
1588
|
readonly type: "object";
|
|
1586
1589
|
readonly properties: {
|
|
@@ -1609,10 +1612,6 @@ export declare const modelCollider: {
|
|
|
1609
1612
|
};
|
|
1610
1613
|
readonly required: readonly ["min", "max"];
|
|
1611
1614
|
readonly additionalProperties: false;
|
|
1612
|
-
readonly default: {
|
|
1613
|
-
readonly min: readonly [0, 0, 0];
|
|
1614
|
-
readonly max: readonly [0, 0, 0];
|
|
1615
|
-
};
|
|
1616
1615
|
};
|
|
1617
1616
|
} & {} & {
|
|
1618
1617
|
readonly material: {
|
|
@@ -1906,6 +1905,7 @@ export declare const modelCollider: {
|
|
|
1906
1905
|
readonly default: number;
|
|
1907
1906
|
};
|
|
1908
1907
|
readonly _worldMatrix: {
|
|
1908
|
+
readonly default: undefined;
|
|
1909
1909
|
readonly nonPersistent: true;
|
|
1910
1910
|
readonly type: "array";
|
|
1911
1911
|
readonly items: {
|
|
@@ -1915,9 +1915,9 @@ export declare const modelCollider: {
|
|
|
1915
1915
|
};
|
|
1916
1916
|
readonly minItems: 16;
|
|
1917
1917
|
readonly maxItems: 16;
|
|
1918
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1919
1918
|
};
|
|
1920
1919
|
readonly _worldBounds: {
|
|
1920
|
+
readonly default: undefined;
|
|
1921
1921
|
readonly nonPersistent: true;
|
|
1922
1922
|
readonly type: "object";
|
|
1923
1923
|
readonly properties: {
|
|
@@ -1946,10 +1946,6 @@ export declare const modelCollider: {
|
|
|
1946
1946
|
};
|
|
1947
1947
|
readonly required: readonly ["min", "max"];
|
|
1948
1948
|
readonly additionalProperties: false;
|
|
1949
|
-
readonly default: {
|
|
1950
|
-
readonly min: readonly [0, 0, 0];
|
|
1951
|
-
readonly max: readonly [0, 0, 0];
|
|
1952
|
-
};
|
|
1953
1949
|
};
|
|
1954
1950
|
} & {} & {
|
|
1955
1951
|
readonly material: {
|
|
@@ -2243,6 +2239,7 @@ export declare const modelCollider: {
|
|
|
2243
2239
|
readonly default: number;
|
|
2244
2240
|
};
|
|
2245
2241
|
readonly _worldMatrix: {
|
|
2242
|
+
readonly default: undefined;
|
|
2246
2243
|
readonly nonPersistent: true;
|
|
2247
2244
|
readonly type: "array";
|
|
2248
2245
|
readonly items: {
|
|
@@ -2252,9 +2249,9 @@ export declare const modelCollider: {
|
|
|
2252
2249
|
};
|
|
2253
2250
|
readonly minItems: 16;
|
|
2254
2251
|
readonly maxItems: 16;
|
|
2255
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2256
2252
|
};
|
|
2257
2253
|
readonly _worldBounds: {
|
|
2254
|
+
readonly default: undefined;
|
|
2258
2255
|
readonly nonPersistent: true;
|
|
2259
2256
|
readonly type: "object";
|
|
2260
2257
|
readonly properties: {
|
|
@@ -2283,10 +2280,6 @@ export declare const modelCollider: {
|
|
|
2283
2280
|
};
|
|
2284
2281
|
readonly required: readonly ["min", "max"];
|
|
2285
2282
|
readonly additionalProperties: false;
|
|
2286
|
-
readonly default: {
|
|
2287
|
-
readonly min: readonly [0, 0, 0];
|
|
2288
|
-
readonly max: readonly [0, 0, 0];
|
|
2289
|
-
};
|
|
2290
2283
|
};
|
|
2291
2284
|
} & {} & {
|
|
2292
2285
|
readonly material: {
|
|
@@ -2584,6 +2577,7 @@ export declare const modelCollider: {
|
|
|
2584
2577
|
readonly default: number;
|
|
2585
2578
|
};
|
|
2586
2579
|
readonly _worldMatrix: {
|
|
2580
|
+
readonly default: undefined;
|
|
2587
2581
|
readonly nonPersistent: true;
|
|
2588
2582
|
readonly type: "array";
|
|
2589
2583
|
readonly items: {
|
|
@@ -2593,9 +2587,9 @@ export declare const modelCollider: {
|
|
|
2593
2587
|
};
|
|
2594
2588
|
readonly minItems: 16;
|
|
2595
2589
|
readonly maxItems: 16;
|
|
2596
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2597
2590
|
};
|
|
2598
2591
|
readonly _worldBounds: {
|
|
2592
|
+
readonly default: undefined;
|
|
2599
2593
|
readonly nonPersistent: true;
|
|
2600
2594
|
readonly type: "object";
|
|
2601
2595
|
readonly properties: {
|
|
@@ -2624,10 +2618,6 @@ export declare const modelCollider: {
|
|
|
2624
2618
|
};
|
|
2625
2619
|
readonly required: readonly ["min", "max"];
|
|
2626
2620
|
readonly additionalProperties: false;
|
|
2627
|
-
readonly default: {
|
|
2628
|
-
readonly min: readonly [0, 0, 0];
|
|
2629
|
-
readonly max: readonly [0, 0, 0];
|
|
2630
|
-
};
|
|
2631
2621
|
};
|
|
2632
2622
|
} & {} & {
|
|
2633
2623
|
readonly material: {
|
|
@@ -2985,8 +2975,73 @@ export declare const modelCollider: {
|
|
|
2985
2975
|
dt: number;
|
|
2986
2976
|
observable: boolean;
|
|
2987
2977
|
}) => void;
|
|
2988
|
-
} & {} & {
|
|
2978
|
+
} & {} & {
|
|
2989
2979
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2980
|
+
readonly _vertexBuffer: {
|
|
2981
|
+
readonly default: GPUBuffer | null;
|
|
2982
|
+
readonly nonPersistent: true;
|
|
2983
|
+
};
|
|
2984
|
+
readonly _skinVertexBuffer: {
|
|
2985
|
+
readonly default: GPUBuffer | null;
|
|
2986
|
+
readonly nonPersistent: true;
|
|
2987
|
+
};
|
|
2988
|
+
readonly _indexBuffer: {
|
|
2989
|
+
readonly default: GPUBuffer | null;
|
|
2990
|
+
readonly nonPersistent: true;
|
|
2991
|
+
};
|
|
2992
|
+
readonly _indexCount: {
|
|
2993
|
+
readonly default: undefined;
|
|
2994
|
+
readonly nonPersistent: true;
|
|
2995
|
+
readonly type: "integer";
|
|
2996
|
+
readonly minimum: 0;
|
|
2997
|
+
readonly maximum: 4294967295;
|
|
2998
|
+
};
|
|
2999
|
+
readonly _indexFormat: {
|
|
3000
|
+
readonly default: GPUIndexFormat;
|
|
3001
|
+
readonly nonPersistent: true;
|
|
3002
|
+
};
|
|
3003
|
+
readonly _materialBindGroup: {
|
|
3004
|
+
readonly default: GPUBindGroup | null;
|
|
3005
|
+
readonly nonPersistent: true;
|
|
3006
|
+
};
|
|
3007
|
+
readonly _mesh: {
|
|
3008
|
+
readonly default: undefined;
|
|
3009
|
+
readonly nonPersistent: true;
|
|
3010
|
+
readonly type: "integer";
|
|
3011
|
+
readonly minimum: -2147483648;
|
|
3012
|
+
readonly maximum: 2147483647;
|
|
3013
|
+
};
|
|
3014
|
+
readonly _material: {
|
|
3015
|
+
readonly default: undefined;
|
|
3016
|
+
readonly nonPersistent: true;
|
|
3017
|
+
readonly type: "integer";
|
|
3018
|
+
readonly minimum: -2147483648;
|
|
3019
|
+
readonly maximum: 2147483647;
|
|
3020
|
+
};
|
|
3021
|
+
readonly _nodeLocalMatrix: {
|
|
3022
|
+
readonly default: undefined;
|
|
3023
|
+
readonly nonPersistent: true;
|
|
3024
|
+
readonly type: "array";
|
|
3025
|
+
readonly items: {
|
|
3026
|
+
readonly type: "number";
|
|
3027
|
+
readonly precision: 1;
|
|
3028
|
+
readonly default: number;
|
|
3029
|
+
};
|
|
3030
|
+
readonly minItems: 16;
|
|
3031
|
+
readonly maxItems: 16;
|
|
3032
|
+
};
|
|
3033
|
+
readonly _skeletonModelRef: {
|
|
3034
|
+
readonly default: undefined;
|
|
3035
|
+
readonly nonPersistent: true;
|
|
3036
|
+
readonly type: "integer";
|
|
3037
|
+
readonly minimum: -2147483648;
|
|
3038
|
+
readonly maximum: 2147483647;
|
|
3039
|
+
};
|
|
3040
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3041
|
+
readonly default: GPUBindGroup | null;
|
|
3042
|
+
readonly nonPersistent: true;
|
|
3043
|
+
};
|
|
3044
|
+
} & {
|
|
2990
3045
|
readonly visible: {
|
|
2991
3046
|
readonly type: "boolean";
|
|
2992
3047
|
readonly const: true;
|
|
@@ -3035,6 +3090,7 @@ export declare const modelCollider: {
|
|
|
3035
3090
|
readonly default: number;
|
|
3036
3091
|
};
|
|
3037
3092
|
readonly _worldMatrix: {
|
|
3093
|
+
readonly default: undefined;
|
|
3038
3094
|
readonly nonPersistent: true;
|
|
3039
3095
|
readonly type: "array";
|
|
3040
3096
|
readonly items: {
|
|
@@ -3044,9 +3100,9 @@ export declare const modelCollider: {
|
|
|
3044
3100
|
};
|
|
3045
3101
|
readonly minItems: 16;
|
|
3046
3102
|
readonly maxItems: 16;
|
|
3047
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3048
3103
|
};
|
|
3049
3104
|
readonly _worldBounds: {
|
|
3105
|
+
readonly default: undefined;
|
|
3050
3106
|
readonly nonPersistent: true;
|
|
3051
3107
|
readonly type: "object";
|
|
3052
3108
|
readonly properties: {
|
|
@@ -3075,10 +3131,6 @@ export declare const modelCollider: {
|
|
|
3075
3131
|
};
|
|
3076
3132
|
readonly required: readonly ["min", "max"];
|
|
3077
3133
|
readonly additionalProperties: false;
|
|
3078
|
-
readonly default: {
|
|
3079
|
-
readonly min: readonly [0, 0, 0];
|
|
3080
|
-
readonly max: readonly [0, 0, 0];
|
|
3081
|
-
};
|
|
3082
3134
|
};
|
|
3083
3135
|
} & {
|
|
3084
3136
|
readonly material: {
|
|
@@ -3334,95 +3386,33 @@ export declare const modelCollider: {
|
|
|
3334
3386
|
readonly const: true;
|
|
3335
3387
|
readonly default: true;
|
|
3336
3388
|
};
|
|
3337
|
-
} & {
|
|
3338
|
-
readonly
|
|
3339
|
-
readonly default:
|
|
3340
|
-
readonly nonPersistent: true;
|
|
3341
|
-
};
|
|
3342
|
-
readonly _skinVertexBuffer: {
|
|
3343
|
-
readonly default: GPUBuffer | null;
|
|
3344
|
-
readonly nonPersistent: true;
|
|
3345
|
-
};
|
|
3346
|
-
readonly _indexBuffer: {
|
|
3347
|
-
readonly default: GPUBuffer | null;
|
|
3389
|
+
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3390
|
+
readonly _gltfMeshByUrl: {
|
|
3391
|
+
readonly default: Map<string, Entity> | null;
|
|
3348
3392
|
readonly nonPersistent: true;
|
|
3349
3393
|
};
|
|
3350
|
-
|
|
3394
|
+
} & {
|
|
3395
|
+
readonly frameTime: {
|
|
3396
|
+
readonly default: import("../../core/frame-time/public.js");
|
|
3351
3397
|
readonly nonPersistent: true;
|
|
3352
|
-
readonly type: "integer";
|
|
3353
|
-
readonly minimum: 0;
|
|
3354
|
-
readonly maximum: 4294967295;
|
|
3355
|
-
readonly default: number;
|
|
3356
3398
|
};
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
readonly
|
|
3399
|
+
} & {
|
|
3400
|
+
readonly schedulerState: {
|
|
3401
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3360
3402
|
};
|
|
3361
|
-
|
|
3362
|
-
|
|
3403
|
+
} & {
|
|
3404
|
+
readonly device: {
|
|
3405
|
+
readonly default: GPUDevice | null;
|
|
3363
3406
|
readonly nonPersistent: true;
|
|
3364
3407
|
};
|
|
3365
|
-
readonly
|
|
3366
|
-
readonly
|
|
3367
|
-
readonly type: "integer";
|
|
3368
|
-
readonly minimum: -2147483648;
|
|
3369
|
-
readonly maximum: 2147483647;
|
|
3370
|
-
readonly default: number;
|
|
3371
|
-
};
|
|
3372
|
-
readonly _material: {
|
|
3373
|
-
readonly nonPersistent: true;
|
|
3374
|
-
readonly type: "integer";
|
|
3375
|
-
readonly minimum: -2147483648;
|
|
3376
|
-
readonly maximum: 2147483647;
|
|
3377
|
-
readonly default: number;
|
|
3378
|
-
};
|
|
3379
|
-
readonly _nodeLocalMatrix: {
|
|
3380
|
-
readonly nonPersistent: true;
|
|
3381
|
-
readonly type: "array";
|
|
3382
|
-
readonly items: {
|
|
3383
|
-
readonly type: "number";
|
|
3384
|
-
readonly precision: 1;
|
|
3385
|
-
readonly default: number;
|
|
3386
|
-
};
|
|
3387
|
-
readonly minItems: 16;
|
|
3388
|
-
readonly maxItems: 16;
|
|
3389
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3390
|
-
};
|
|
3391
|
-
readonly _skeletonModelRef: {
|
|
3392
|
-
readonly nonPersistent: true;
|
|
3393
|
-
readonly type: "integer";
|
|
3394
|
-
readonly minimum: -2147483648;
|
|
3395
|
-
readonly maximum: 2147483647;
|
|
3396
|
-
readonly default: number;
|
|
3397
|
-
};
|
|
3398
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3399
|
-
readonly default: GPUBindGroup | null;
|
|
3400
|
-
readonly nonPersistent: true;
|
|
3401
|
-
};
|
|
3402
|
-
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3403
|
-
readonly _gltfMeshByUrl: {
|
|
3404
|
-
readonly default: Map<string, Entity> | null;
|
|
3405
|
-
readonly nonPersistent: true;
|
|
3406
|
-
};
|
|
3407
|
-
} & {
|
|
3408
|
-
readonly frameTime: {
|
|
3409
|
-
readonly default: import("../../core/frame-time/public.js");
|
|
3410
|
-
readonly nonPersistent: true;
|
|
3411
|
-
};
|
|
3412
|
-
} & {
|
|
3413
|
-
readonly schedulerState: {
|
|
3414
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3415
|
-
};
|
|
3416
|
-
} & {
|
|
3417
|
-
readonly device: {
|
|
3418
|
-
readonly default: GPUDevice | null;
|
|
3419
|
-
readonly nonPersistent: true;
|
|
3420
|
-
};
|
|
3421
|
-
readonly commandEncoder: {
|
|
3422
|
-
readonly default: GPUCommandEncoder | null;
|
|
3408
|
+
readonly commandEncoder: {
|
|
3409
|
+
readonly default: GPUCommandEncoder | null;
|
|
3423
3410
|
readonly nonPersistent: true;
|
|
3424
3411
|
};
|
|
3425
3412
|
}>, {} & {} & {
|
|
3413
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3414
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3415
|
+
} & {
|
|
3426
3416
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3427
3417
|
} & {} & {
|
|
3428
3418
|
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"];
|
|
@@ -3437,10 +3427,7 @@ export declare const modelCollider: {
|
|
|
3437
3427
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3438
3428
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3439
3429
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3440
|
-
} & {} & {
|
|
3441
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3442
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3443
|
-
}, {} & {} & {
|
|
3430
|
+
} & {}, {} & {} & {} & {
|
|
3444
3431
|
readonly nodeChildrenOf: {
|
|
3445
3432
|
readonly key: "parent";
|
|
3446
3433
|
readonly archetype: "Node";
|
|
@@ -3451,13 +3438,2401 @@ export declare const modelCollider: {
|
|
|
3451
3438
|
readonly unique: true;
|
|
3452
3439
|
readonly archetype: "Material";
|
|
3453
3440
|
};
|
|
3454
|
-
} & {} & {} & {} & {}
|
|
3441
|
+
} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3455
3442
|
} & {} & {};
|
|
3456
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3457
|
-
readonly actions: {
|
|
3443
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
|
|
3444
|
+
readonly actions: {
|
|
3445
|
+
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
3446
|
+
readonly bodyType: {
|
|
3447
|
+
readonly type: "string";
|
|
3448
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
3449
|
+
};
|
|
3450
|
+
readonly colliderShape: {
|
|
3451
|
+
readonly type: "string";
|
|
3452
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
3453
|
+
};
|
|
3454
|
+
readonly halfExtents: {
|
|
3455
|
+
readonly type: "array";
|
|
3456
|
+
readonly items: {
|
|
3457
|
+
readonly type: "number";
|
|
3458
|
+
readonly precision: 1;
|
|
3459
|
+
readonly default: number;
|
|
3460
|
+
};
|
|
3461
|
+
readonly minItems: 3;
|
|
3462
|
+
readonly maxItems: 3;
|
|
3463
|
+
readonly default: readonly [0, 0, 0];
|
|
3464
|
+
};
|
|
3465
|
+
readonly position: {
|
|
3466
|
+
readonly type: "array";
|
|
3467
|
+
readonly items: {
|
|
3468
|
+
readonly type: "number";
|
|
3469
|
+
readonly precision: 1;
|
|
3470
|
+
readonly default: number;
|
|
3471
|
+
};
|
|
3472
|
+
readonly minItems: 3;
|
|
3473
|
+
readonly maxItems: 3;
|
|
3474
|
+
readonly default: readonly [0, 0, 0];
|
|
3475
|
+
};
|
|
3476
|
+
readonly rotation: {
|
|
3477
|
+
readonly type: "array";
|
|
3478
|
+
readonly items: {
|
|
3479
|
+
readonly type: "number";
|
|
3480
|
+
readonly precision: 1;
|
|
3481
|
+
readonly default: number;
|
|
3482
|
+
};
|
|
3483
|
+
readonly minItems: 4;
|
|
3484
|
+
readonly maxItems: 4;
|
|
3485
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
3486
|
+
readonly interpolators: {
|
|
3487
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
3488
|
+
};
|
|
3489
|
+
};
|
|
3490
|
+
readonly linearVelocity: {
|
|
3491
|
+
readonly type: "array";
|
|
3492
|
+
readonly items: {
|
|
3493
|
+
readonly type: "number";
|
|
3494
|
+
readonly precision: 1;
|
|
3495
|
+
readonly default: number;
|
|
3496
|
+
};
|
|
3497
|
+
readonly minItems: 3;
|
|
3498
|
+
readonly maxItems: 3;
|
|
3499
|
+
readonly default: readonly [0, 0, 0];
|
|
3500
|
+
};
|
|
3501
|
+
readonly angularVelocity: {
|
|
3502
|
+
readonly type: "array";
|
|
3503
|
+
readonly items: {
|
|
3504
|
+
readonly type: "number";
|
|
3505
|
+
readonly precision: 1;
|
|
3506
|
+
readonly default: number;
|
|
3507
|
+
};
|
|
3508
|
+
readonly minItems: 3;
|
|
3509
|
+
readonly maxItems: 3;
|
|
3510
|
+
readonly default: readonly [0, 0, 0];
|
|
3511
|
+
};
|
|
3512
|
+
readonly _prevPosition: {
|
|
3513
|
+
readonly default: undefined;
|
|
3514
|
+
readonly nonPersistent: true;
|
|
3515
|
+
readonly type: "array";
|
|
3516
|
+
readonly items: {
|
|
3517
|
+
readonly type: "number";
|
|
3518
|
+
readonly precision: 1;
|
|
3519
|
+
readonly default: number;
|
|
3520
|
+
};
|
|
3521
|
+
readonly minItems: 3;
|
|
3522
|
+
readonly maxItems: 3;
|
|
3523
|
+
};
|
|
3524
|
+
readonly _prevRotation: {
|
|
3525
|
+
readonly default: undefined;
|
|
3526
|
+
readonly nonPersistent: true;
|
|
3527
|
+
readonly type: "array";
|
|
3528
|
+
readonly items: {
|
|
3529
|
+
readonly type: "number";
|
|
3530
|
+
readonly precision: 1;
|
|
3531
|
+
readonly default: number;
|
|
3532
|
+
};
|
|
3533
|
+
readonly minItems: 4;
|
|
3534
|
+
readonly maxItems: 4;
|
|
3535
|
+
readonly interpolators: {
|
|
3536
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
3537
|
+
};
|
|
3538
|
+
};
|
|
3539
|
+
readonly collisionGroup: {
|
|
3540
|
+
readonly type: "number";
|
|
3541
|
+
readonly precision: 1;
|
|
3542
|
+
readonly default: number;
|
|
3543
|
+
};
|
|
3544
|
+
readonly convexPoints: {
|
|
3545
|
+
readonly default: Float32Array | null;
|
|
3546
|
+
};
|
|
3547
|
+
readonly colliderMesh: {
|
|
3548
|
+
readonly default: ColliderMesh | null;
|
|
3549
|
+
};
|
|
3550
|
+
} & {
|
|
3551
|
+
readonly material: {
|
|
3552
|
+
readonly type: "integer";
|
|
3553
|
+
readonly minimum: -2147483648;
|
|
3554
|
+
readonly maximum: 2147483647;
|
|
3555
|
+
readonly default: number;
|
|
3556
|
+
};
|
|
3557
|
+
readonly name: {
|
|
3558
|
+
readonly type: "string";
|
|
3559
|
+
};
|
|
3560
|
+
readonly density: {
|
|
3561
|
+
readonly type: "number";
|
|
3562
|
+
readonly precision: 1;
|
|
3563
|
+
readonly default: number;
|
|
3564
|
+
};
|
|
3565
|
+
readonly restitution: {
|
|
3566
|
+
readonly type: "number";
|
|
3567
|
+
readonly precision: 1;
|
|
3568
|
+
readonly default: number;
|
|
3569
|
+
};
|
|
3570
|
+
readonly friction: {
|
|
3571
|
+
readonly type: "number";
|
|
3572
|
+
readonly precision: 1;
|
|
3573
|
+
readonly default: number;
|
|
3574
|
+
};
|
|
3575
|
+
readonly compliance: {
|
|
3576
|
+
readonly type: "number";
|
|
3577
|
+
readonly precision: 1;
|
|
3578
|
+
readonly default: number;
|
|
3579
|
+
};
|
|
3580
|
+
readonly heatCapacity: {
|
|
3581
|
+
readonly type: "number";
|
|
3582
|
+
readonly precision: 1;
|
|
3583
|
+
readonly default: number;
|
|
3584
|
+
};
|
|
3585
|
+
readonly viscosity: {
|
|
3586
|
+
readonly type: "number";
|
|
3587
|
+
readonly precision: 1;
|
|
3588
|
+
readonly default: number;
|
|
3589
|
+
};
|
|
3590
|
+
readonly thermalConductivity: {
|
|
3591
|
+
readonly type: "number";
|
|
3592
|
+
readonly precision: 1;
|
|
3593
|
+
readonly default: number;
|
|
3594
|
+
};
|
|
3595
|
+
readonly stressStrainCurve: {
|
|
3596
|
+
readonly type: "object";
|
|
3597
|
+
readonly layout: "packed";
|
|
3598
|
+
readonly properties: {
|
|
3599
|
+
readonly tensileYieldStrainStress: {
|
|
3600
|
+
readonly type: "array";
|
|
3601
|
+
readonly items: {
|
|
3602
|
+
readonly type: "number";
|
|
3603
|
+
readonly precision: 1;
|
|
3604
|
+
readonly default: number;
|
|
3605
|
+
};
|
|
3606
|
+
readonly minItems: 2;
|
|
3607
|
+
readonly maxItems: 2;
|
|
3608
|
+
readonly default: readonly [0, 0];
|
|
3609
|
+
};
|
|
3610
|
+
readonly tensileFractureStrainStress: {
|
|
3611
|
+
readonly type: "array";
|
|
3612
|
+
readonly items: {
|
|
3613
|
+
readonly type: "number";
|
|
3614
|
+
readonly precision: 1;
|
|
3615
|
+
readonly default: number;
|
|
3616
|
+
};
|
|
3617
|
+
readonly minItems: 2;
|
|
3618
|
+
readonly maxItems: 2;
|
|
3619
|
+
readonly default: readonly [0, 0];
|
|
3620
|
+
};
|
|
3621
|
+
readonly compressiveYieldStrainStress: {
|
|
3622
|
+
readonly type: "array";
|
|
3623
|
+
readonly items: {
|
|
3624
|
+
readonly type: "number";
|
|
3625
|
+
readonly precision: 1;
|
|
3626
|
+
readonly default: number;
|
|
3627
|
+
};
|
|
3628
|
+
readonly minItems: 2;
|
|
3629
|
+
readonly maxItems: 2;
|
|
3630
|
+
readonly default: readonly [0, 0];
|
|
3631
|
+
};
|
|
3632
|
+
readonly compressiveFractureStrainStress: {
|
|
3633
|
+
readonly type: "array";
|
|
3634
|
+
readonly items: {
|
|
3635
|
+
readonly type: "number";
|
|
3636
|
+
readonly precision: 1;
|
|
3637
|
+
readonly default: number;
|
|
3638
|
+
};
|
|
3639
|
+
readonly minItems: 2;
|
|
3640
|
+
readonly maxItems: 2;
|
|
3641
|
+
readonly default: readonly [0, 0];
|
|
3642
|
+
};
|
|
3643
|
+
};
|
|
3644
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3645
|
+
};
|
|
3646
|
+
readonly baseColorFactor: {
|
|
3647
|
+
readonly type: "array";
|
|
3648
|
+
readonly items: {
|
|
3649
|
+
readonly type: "number";
|
|
3650
|
+
readonly precision: 1;
|
|
3651
|
+
readonly default: number;
|
|
3652
|
+
};
|
|
3653
|
+
readonly minItems: 4;
|
|
3654
|
+
readonly maxItems: 4;
|
|
3655
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3656
|
+
};
|
|
3657
|
+
readonly emissiveFactor: {
|
|
3658
|
+
readonly type: "array";
|
|
3659
|
+
readonly items: {
|
|
3660
|
+
readonly type: "number";
|
|
3661
|
+
readonly precision: 1;
|
|
3662
|
+
readonly default: number;
|
|
3663
|
+
};
|
|
3664
|
+
readonly minItems: 3;
|
|
3665
|
+
readonly maxItems: 3;
|
|
3666
|
+
readonly default: readonly [0, 0, 0];
|
|
3667
|
+
};
|
|
3668
|
+
readonly metallicFactor: {
|
|
3669
|
+
readonly type: "number";
|
|
3670
|
+
readonly precision: 1;
|
|
3671
|
+
readonly default: number;
|
|
3672
|
+
};
|
|
3673
|
+
readonly roughnessFactor: {
|
|
3674
|
+
readonly type: "number";
|
|
3675
|
+
readonly precision: 1;
|
|
3676
|
+
readonly default: number;
|
|
3677
|
+
};
|
|
3678
|
+
readonly normalScale: {
|
|
3679
|
+
readonly type: "number";
|
|
3680
|
+
readonly precision: 1;
|
|
3681
|
+
readonly default: number;
|
|
3682
|
+
};
|
|
3683
|
+
readonly occlusionStrength: {
|
|
3684
|
+
readonly type: "number";
|
|
3685
|
+
readonly precision: 1;
|
|
3686
|
+
readonly default: number;
|
|
3687
|
+
};
|
|
3688
|
+
readonly irReflectance: {
|
|
3689
|
+
readonly type: "number";
|
|
3690
|
+
readonly precision: 1;
|
|
3691
|
+
readonly default: number;
|
|
3692
|
+
};
|
|
3693
|
+
readonly irEmission: {
|
|
3694
|
+
readonly type: "number";
|
|
3695
|
+
readonly precision: 1;
|
|
3696
|
+
readonly default: number;
|
|
3697
|
+
};
|
|
3698
|
+
readonly emissionMode: {
|
|
3699
|
+
readonly type: "integer";
|
|
3700
|
+
readonly minimum: 0;
|
|
3701
|
+
readonly maximum: 4294967295;
|
|
3702
|
+
readonly default: number;
|
|
3703
|
+
};
|
|
3704
|
+
readonly baseColorUrl: {
|
|
3705
|
+
readonly type: "string";
|
|
3706
|
+
};
|
|
3707
|
+
readonly metallicRoughnessUrl: {
|
|
3708
|
+
readonly type: "string";
|
|
3709
|
+
};
|
|
3710
|
+
readonly normalUrl: {
|
|
3711
|
+
readonly type: "string";
|
|
3712
|
+
};
|
|
3713
|
+
readonly occlusionUrl: {
|
|
3714
|
+
readonly type: "string";
|
|
3715
|
+
};
|
|
3716
|
+
readonly emissiveUrl: {
|
|
3717
|
+
readonly type: "string";
|
|
3718
|
+
};
|
|
3719
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
3720
|
+
readonly physicsQuery: {
|
|
3721
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
3722
|
+
readonly nonPersistent: true;
|
|
3723
|
+
};
|
|
3724
|
+
} & {}>, {
|
|
3725
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
3726
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
3727
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
3728
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
3729
|
+
} & {
|
|
3730
|
+
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"];
|
|
3731
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
3732
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3733
|
+
readonly material: {
|
|
3734
|
+
readonly type: "integer";
|
|
3735
|
+
readonly minimum: -2147483648;
|
|
3736
|
+
readonly maximum: 2147483647;
|
|
3737
|
+
readonly default: number;
|
|
3738
|
+
};
|
|
3739
|
+
readonly name: {
|
|
3740
|
+
readonly type: "string";
|
|
3741
|
+
};
|
|
3742
|
+
readonly density: {
|
|
3743
|
+
readonly type: "number";
|
|
3744
|
+
readonly precision: 1;
|
|
3745
|
+
readonly default: number;
|
|
3746
|
+
};
|
|
3747
|
+
readonly restitution: {
|
|
3748
|
+
readonly type: "number";
|
|
3749
|
+
readonly precision: 1;
|
|
3750
|
+
readonly default: number;
|
|
3751
|
+
};
|
|
3752
|
+
readonly friction: {
|
|
3753
|
+
readonly type: "number";
|
|
3754
|
+
readonly precision: 1;
|
|
3755
|
+
readonly default: number;
|
|
3756
|
+
};
|
|
3757
|
+
readonly compliance: {
|
|
3758
|
+
readonly type: "number";
|
|
3759
|
+
readonly precision: 1;
|
|
3760
|
+
readonly default: number;
|
|
3761
|
+
};
|
|
3762
|
+
readonly heatCapacity: {
|
|
3763
|
+
readonly type: "number";
|
|
3764
|
+
readonly precision: 1;
|
|
3765
|
+
readonly default: number;
|
|
3766
|
+
};
|
|
3767
|
+
readonly viscosity: {
|
|
3768
|
+
readonly type: "number";
|
|
3769
|
+
readonly precision: 1;
|
|
3770
|
+
readonly default: number;
|
|
3771
|
+
};
|
|
3772
|
+
readonly thermalConductivity: {
|
|
3773
|
+
readonly type: "number";
|
|
3774
|
+
readonly precision: 1;
|
|
3775
|
+
readonly default: number;
|
|
3776
|
+
};
|
|
3777
|
+
readonly stressStrainCurve: {
|
|
3778
|
+
readonly type: "object";
|
|
3779
|
+
readonly layout: "packed";
|
|
3780
|
+
readonly properties: {
|
|
3781
|
+
readonly tensileYieldStrainStress: {
|
|
3782
|
+
readonly type: "array";
|
|
3783
|
+
readonly items: {
|
|
3784
|
+
readonly type: "number";
|
|
3785
|
+
readonly precision: 1;
|
|
3786
|
+
readonly default: number;
|
|
3787
|
+
};
|
|
3788
|
+
readonly minItems: 2;
|
|
3789
|
+
readonly maxItems: 2;
|
|
3790
|
+
readonly default: readonly [0, 0];
|
|
3791
|
+
};
|
|
3792
|
+
readonly tensileFractureStrainStress: {
|
|
3793
|
+
readonly type: "array";
|
|
3794
|
+
readonly items: {
|
|
3795
|
+
readonly type: "number";
|
|
3796
|
+
readonly precision: 1;
|
|
3797
|
+
readonly default: number;
|
|
3798
|
+
};
|
|
3799
|
+
readonly minItems: 2;
|
|
3800
|
+
readonly maxItems: 2;
|
|
3801
|
+
readonly default: readonly [0, 0];
|
|
3802
|
+
};
|
|
3803
|
+
readonly compressiveYieldStrainStress: {
|
|
3804
|
+
readonly type: "array";
|
|
3805
|
+
readonly items: {
|
|
3806
|
+
readonly type: "number";
|
|
3807
|
+
readonly precision: 1;
|
|
3808
|
+
readonly default: number;
|
|
3809
|
+
};
|
|
3810
|
+
readonly minItems: 2;
|
|
3811
|
+
readonly maxItems: 2;
|
|
3812
|
+
readonly default: readonly [0, 0];
|
|
3813
|
+
};
|
|
3814
|
+
readonly compressiveFractureStrainStress: {
|
|
3815
|
+
readonly type: "array";
|
|
3816
|
+
readonly items: {
|
|
3817
|
+
readonly type: "number";
|
|
3818
|
+
readonly precision: 1;
|
|
3819
|
+
readonly default: number;
|
|
3820
|
+
};
|
|
3821
|
+
readonly minItems: 2;
|
|
3822
|
+
readonly maxItems: 2;
|
|
3823
|
+
readonly default: readonly [0, 0];
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3827
|
+
};
|
|
3828
|
+
readonly baseColorFactor: {
|
|
3829
|
+
readonly type: "array";
|
|
3830
|
+
readonly items: {
|
|
3831
|
+
readonly type: "number";
|
|
3832
|
+
readonly precision: 1;
|
|
3833
|
+
readonly default: number;
|
|
3834
|
+
};
|
|
3835
|
+
readonly minItems: 4;
|
|
3836
|
+
readonly maxItems: 4;
|
|
3837
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3838
|
+
};
|
|
3839
|
+
readonly emissiveFactor: {
|
|
3840
|
+
readonly type: "array";
|
|
3841
|
+
readonly items: {
|
|
3842
|
+
readonly type: "number";
|
|
3843
|
+
readonly precision: 1;
|
|
3844
|
+
readonly default: number;
|
|
3845
|
+
};
|
|
3846
|
+
readonly minItems: 3;
|
|
3847
|
+
readonly maxItems: 3;
|
|
3848
|
+
readonly default: readonly [0, 0, 0];
|
|
3849
|
+
};
|
|
3850
|
+
readonly metallicFactor: {
|
|
3851
|
+
readonly type: "number";
|
|
3852
|
+
readonly precision: 1;
|
|
3853
|
+
readonly default: number;
|
|
3854
|
+
};
|
|
3855
|
+
readonly roughnessFactor: {
|
|
3856
|
+
readonly type: "number";
|
|
3857
|
+
readonly precision: 1;
|
|
3858
|
+
readonly default: number;
|
|
3859
|
+
};
|
|
3860
|
+
readonly normalScale: {
|
|
3861
|
+
readonly type: "number";
|
|
3862
|
+
readonly precision: 1;
|
|
3863
|
+
readonly default: number;
|
|
3864
|
+
};
|
|
3865
|
+
readonly occlusionStrength: {
|
|
3866
|
+
readonly type: "number";
|
|
3867
|
+
readonly precision: 1;
|
|
3868
|
+
readonly default: number;
|
|
3869
|
+
};
|
|
3870
|
+
readonly irReflectance: {
|
|
3871
|
+
readonly type: "number";
|
|
3872
|
+
readonly precision: 1;
|
|
3873
|
+
readonly default: number;
|
|
3874
|
+
};
|
|
3875
|
+
readonly irEmission: {
|
|
3876
|
+
readonly type: "number";
|
|
3877
|
+
readonly precision: 1;
|
|
3878
|
+
readonly default: number;
|
|
3879
|
+
};
|
|
3880
|
+
readonly emissionMode: {
|
|
3881
|
+
readonly type: "integer";
|
|
3882
|
+
readonly minimum: 0;
|
|
3883
|
+
readonly maximum: 4294967295;
|
|
3884
|
+
readonly default: number;
|
|
3885
|
+
};
|
|
3886
|
+
readonly baseColorUrl: {
|
|
3887
|
+
readonly type: "string";
|
|
3888
|
+
};
|
|
3889
|
+
readonly metallicRoughnessUrl: {
|
|
3890
|
+
readonly type: "string";
|
|
3891
|
+
};
|
|
3892
|
+
readonly normalUrl: {
|
|
3893
|
+
readonly type: "string";
|
|
3894
|
+
};
|
|
3895
|
+
readonly occlusionUrl: {
|
|
3896
|
+
readonly type: "string";
|
|
3897
|
+
};
|
|
3898
|
+
readonly emissiveUrl: {
|
|
3899
|
+
readonly type: "string";
|
|
3900
|
+
};
|
|
3901
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
3902
|
+
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"];
|
|
3903
|
+
}, {
|
|
3904
|
+
readonly materialByName: {
|
|
3905
|
+
readonly key: "name";
|
|
3906
|
+
readonly unique: true;
|
|
3907
|
+
readonly archetype: "Material";
|
|
3908
|
+
};
|
|
3909
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
3910
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3911
|
+
readonly material: {
|
|
3912
|
+
readonly type: "integer";
|
|
3913
|
+
readonly minimum: -2147483648;
|
|
3914
|
+
readonly maximum: 2147483647;
|
|
3915
|
+
readonly default: number;
|
|
3916
|
+
};
|
|
3917
|
+
readonly name: {
|
|
3918
|
+
readonly type: "string";
|
|
3919
|
+
};
|
|
3920
|
+
readonly density: {
|
|
3921
|
+
readonly type: "number";
|
|
3922
|
+
readonly precision: 1;
|
|
3923
|
+
readonly default: number;
|
|
3924
|
+
};
|
|
3925
|
+
readonly restitution: {
|
|
3926
|
+
readonly type: "number";
|
|
3927
|
+
readonly precision: 1;
|
|
3928
|
+
readonly default: number;
|
|
3929
|
+
};
|
|
3930
|
+
readonly friction: {
|
|
3931
|
+
readonly type: "number";
|
|
3932
|
+
readonly precision: 1;
|
|
3933
|
+
readonly default: number;
|
|
3934
|
+
};
|
|
3935
|
+
readonly compliance: {
|
|
3936
|
+
readonly type: "number";
|
|
3937
|
+
readonly precision: 1;
|
|
3938
|
+
readonly default: number;
|
|
3939
|
+
};
|
|
3940
|
+
readonly heatCapacity: {
|
|
3941
|
+
readonly type: "number";
|
|
3942
|
+
readonly precision: 1;
|
|
3943
|
+
readonly default: number;
|
|
3944
|
+
};
|
|
3945
|
+
readonly viscosity: {
|
|
3946
|
+
readonly type: "number";
|
|
3947
|
+
readonly precision: 1;
|
|
3948
|
+
readonly default: number;
|
|
3949
|
+
};
|
|
3950
|
+
readonly thermalConductivity: {
|
|
3951
|
+
readonly type: "number";
|
|
3952
|
+
readonly precision: 1;
|
|
3953
|
+
readonly default: number;
|
|
3954
|
+
};
|
|
3955
|
+
readonly stressStrainCurve: {
|
|
3956
|
+
readonly type: "object";
|
|
3957
|
+
readonly layout: "packed";
|
|
3958
|
+
readonly properties: {
|
|
3959
|
+
readonly tensileYieldStrainStress: {
|
|
3960
|
+
readonly type: "array";
|
|
3961
|
+
readonly items: {
|
|
3962
|
+
readonly type: "number";
|
|
3963
|
+
readonly precision: 1;
|
|
3964
|
+
readonly default: number;
|
|
3965
|
+
};
|
|
3966
|
+
readonly minItems: 2;
|
|
3967
|
+
readonly maxItems: 2;
|
|
3968
|
+
readonly default: readonly [0, 0];
|
|
3969
|
+
};
|
|
3970
|
+
readonly tensileFractureStrainStress: {
|
|
3971
|
+
readonly type: "array";
|
|
3972
|
+
readonly items: {
|
|
3973
|
+
readonly type: "number";
|
|
3974
|
+
readonly precision: 1;
|
|
3975
|
+
readonly default: number;
|
|
3976
|
+
};
|
|
3977
|
+
readonly minItems: 2;
|
|
3978
|
+
readonly maxItems: 2;
|
|
3979
|
+
readonly default: readonly [0, 0];
|
|
3980
|
+
};
|
|
3981
|
+
readonly compressiveYieldStrainStress: {
|
|
3982
|
+
readonly type: "array";
|
|
3983
|
+
readonly items: {
|
|
3984
|
+
readonly type: "number";
|
|
3985
|
+
readonly precision: 1;
|
|
3986
|
+
readonly default: number;
|
|
3987
|
+
};
|
|
3988
|
+
readonly minItems: 2;
|
|
3989
|
+
readonly maxItems: 2;
|
|
3990
|
+
readonly default: readonly [0, 0];
|
|
3991
|
+
};
|
|
3992
|
+
readonly compressiveFractureStrainStress: {
|
|
3993
|
+
readonly type: "array";
|
|
3994
|
+
readonly items: {
|
|
3995
|
+
readonly type: "number";
|
|
3996
|
+
readonly precision: 1;
|
|
3997
|
+
readonly default: number;
|
|
3998
|
+
};
|
|
3999
|
+
readonly minItems: 2;
|
|
4000
|
+
readonly maxItems: 2;
|
|
4001
|
+
readonly default: readonly [0, 0];
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4005
|
+
};
|
|
4006
|
+
readonly baseColorFactor: {
|
|
4007
|
+
readonly type: "array";
|
|
4008
|
+
readonly items: {
|
|
4009
|
+
readonly type: "number";
|
|
4010
|
+
readonly precision: 1;
|
|
4011
|
+
readonly default: number;
|
|
4012
|
+
};
|
|
4013
|
+
readonly minItems: 4;
|
|
4014
|
+
readonly maxItems: 4;
|
|
4015
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4016
|
+
};
|
|
4017
|
+
readonly emissiveFactor: {
|
|
4018
|
+
readonly type: "array";
|
|
4019
|
+
readonly items: {
|
|
4020
|
+
readonly type: "number";
|
|
4021
|
+
readonly precision: 1;
|
|
4022
|
+
readonly default: number;
|
|
4023
|
+
};
|
|
4024
|
+
readonly minItems: 3;
|
|
4025
|
+
readonly maxItems: 3;
|
|
4026
|
+
readonly default: readonly [0, 0, 0];
|
|
4027
|
+
};
|
|
4028
|
+
readonly metallicFactor: {
|
|
4029
|
+
readonly type: "number";
|
|
4030
|
+
readonly precision: 1;
|
|
4031
|
+
readonly default: number;
|
|
4032
|
+
};
|
|
4033
|
+
readonly roughnessFactor: {
|
|
4034
|
+
readonly type: "number";
|
|
4035
|
+
readonly precision: 1;
|
|
4036
|
+
readonly default: number;
|
|
4037
|
+
};
|
|
4038
|
+
readonly normalScale: {
|
|
4039
|
+
readonly type: "number";
|
|
4040
|
+
readonly precision: 1;
|
|
4041
|
+
readonly default: number;
|
|
4042
|
+
};
|
|
4043
|
+
readonly occlusionStrength: {
|
|
4044
|
+
readonly type: "number";
|
|
4045
|
+
readonly precision: 1;
|
|
4046
|
+
readonly default: number;
|
|
4047
|
+
};
|
|
4048
|
+
readonly irReflectance: {
|
|
4049
|
+
readonly type: "number";
|
|
4050
|
+
readonly precision: 1;
|
|
4051
|
+
readonly default: number;
|
|
4052
|
+
};
|
|
4053
|
+
readonly irEmission: {
|
|
4054
|
+
readonly type: "number";
|
|
4055
|
+
readonly precision: 1;
|
|
4056
|
+
readonly default: number;
|
|
4057
|
+
};
|
|
4058
|
+
readonly emissionMode: {
|
|
4059
|
+
readonly type: "integer";
|
|
4060
|
+
readonly minimum: 0;
|
|
4061
|
+
readonly maximum: 4294967295;
|
|
4062
|
+
readonly default: number;
|
|
4063
|
+
};
|
|
4064
|
+
readonly baseColorUrl: {
|
|
4065
|
+
readonly type: "string";
|
|
4066
|
+
};
|
|
4067
|
+
readonly metallicRoughnessUrl: {
|
|
4068
|
+
readonly type: "string";
|
|
4069
|
+
};
|
|
4070
|
+
readonly normalUrl: {
|
|
4071
|
+
readonly type: "string";
|
|
4072
|
+
};
|
|
4073
|
+
readonly occlusionUrl: {
|
|
4074
|
+
readonly type: "string";
|
|
4075
|
+
};
|
|
4076
|
+
readonly emissiveUrl: {
|
|
4077
|
+
readonly type: "string";
|
|
4078
|
+
};
|
|
4079
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4080
|
+
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"];
|
|
4081
|
+
}, {
|
|
4082
|
+
readonly materialByName: {
|
|
4083
|
+
readonly key: "name";
|
|
4084
|
+
readonly unique: true;
|
|
4085
|
+
readonly archetype: "Material";
|
|
4086
|
+
};
|
|
4087
|
+
}, never>, args: {
|
|
4088
|
+
name: string;
|
|
4089
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
4090
|
+
}) => Entity;
|
|
4091
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4092
|
+
readonly material: {
|
|
4093
|
+
readonly type: "integer";
|
|
4094
|
+
readonly minimum: -2147483648;
|
|
4095
|
+
readonly maximum: 2147483647;
|
|
4096
|
+
readonly default: number;
|
|
4097
|
+
};
|
|
4098
|
+
readonly name: {
|
|
4099
|
+
readonly type: "string";
|
|
4100
|
+
};
|
|
4101
|
+
readonly density: {
|
|
4102
|
+
readonly type: "number";
|
|
4103
|
+
readonly precision: 1;
|
|
4104
|
+
readonly default: number;
|
|
4105
|
+
};
|
|
4106
|
+
readonly restitution: {
|
|
4107
|
+
readonly type: "number";
|
|
4108
|
+
readonly precision: 1;
|
|
4109
|
+
readonly default: number;
|
|
4110
|
+
};
|
|
4111
|
+
readonly friction: {
|
|
4112
|
+
readonly type: "number";
|
|
4113
|
+
readonly precision: 1;
|
|
4114
|
+
readonly default: number;
|
|
4115
|
+
};
|
|
4116
|
+
readonly compliance: {
|
|
4117
|
+
readonly type: "number";
|
|
4118
|
+
readonly precision: 1;
|
|
4119
|
+
readonly default: number;
|
|
4120
|
+
};
|
|
4121
|
+
readonly heatCapacity: {
|
|
4122
|
+
readonly type: "number";
|
|
4123
|
+
readonly precision: 1;
|
|
4124
|
+
readonly default: number;
|
|
4125
|
+
};
|
|
4126
|
+
readonly viscosity: {
|
|
4127
|
+
readonly type: "number";
|
|
4128
|
+
readonly precision: 1;
|
|
4129
|
+
readonly default: number;
|
|
4130
|
+
};
|
|
4131
|
+
readonly thermalConductivity: {
|
|
4132
|
+
readonly type: "number";
|
|
4133
|
+
readonly precision: 1;
|
|
4134
|
+
readonly default: number;
|
|
4135
|
+
};
|
|
4136
|
+
readonly stressStrainCurve: {
|
|
4137
|
+
readonly type: "object";
|
|
4138
|
+
readonly layout: "packed";
|
|
4139
|
+
readonly properties: {
|
|
4140
|
+
readonly tensileYieldStrainStress: {
|
|
4141
|
+
readonly type: "array";
|
|
4142
|
+
readonly items: {
|
|
4143
|
+
readonly type: "number";
|
|
4144
|
+
readonly precision: 1;
|
|
4145
|
+
readonly default: number;
|
|
4146
|
+
};
|
|
4147
|
+
readonly minItems: 2;
|
|
4148
|
+
readonly maxItems: 2;
|
|
4149
|
+
readonly default: readonly [0, 0];
|
|
4150
|
+
};
|
|
4151
|
+
readonly tensileFractureStrainStress: {
|
|
4152
|
+
readonly type: "array";
|
|
4153
|
+
readonly items: {
|
|
4154
|
+
readonly type: "number";
|
|
4155
|
+
readonly precision: 1;
|
|
4156
|
+
readonly default: number;
|
|
4157
|
+
};
|
|
4158
|
+
readonly minItems: 2;
|
|
4159
|
+
readonly maxItems: 2;
|
|
4160
|
+
readonly default: readonly [0, 0];
|
|
4161
|
+
};
|
|
4162
|
+
readonly compressiveYieldStrainStress: {
|
|
4163
|
+
readonly type: "array";
|
|
4164
|
+
readonly items: {
|
|
4165
|
+
readonly type: "number";
|
|
4166
|
+
readonly precision: 1;
|
|
4167
|
+
readonly default: number;
|
|
4168
|
+
};
|
|
4169
|
+
readonly minItems: 2;
|
|
4170
|
+
readonly maxItems: 2;
|
|
4171
|
+
readonly default: readonly [0, 0];
|
|
4172
|
+
};
|
|
4173
|
+
readonly compressiveFractureStrainStress: {
|
|
4174
|
+
readonly type: "array";
|
|
4175
|
+
readonly items: {
|
|
4176
|
+
readonly type: "number";
|
|
4177
|
+
readonly precision: 1;
|
|
4178
|
+
readonly default: number;
|
|
4179
|
+
};
|
|
4180
|
+
readonly minItems: 2;
|
|
4181
|
+
readonly maxItems: 2;
|
|
4182
|
+
readonly default: readonly [0, 0];
|
|
4183
|
+
};
|
|
4184
|
+
};
|
|
4185
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4186
|
+
};
|
|
4187
|
+
readonly baseColorFactor: {
|
|
4188
|
+
readonly type: "array";
|
|
4189
|
+
readonly items: {
|
|
4190
|
+
readonly type: "number";
|
|
4191
|
+
readonly precision: 1;
|
|
4192
|
+
readonly default: number;
|
|
4193
|
+
};
|
|
4194
|
+
readonly minItems: 4;
|
|
4195
|
+
readonly maxItems: 4;
|
|
4196
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4197
|
+
};
|
|
4198
|
+
readonly emissiveFactor: {
|
|
4199
|
+
readonly type: "array";
|
|
4200
|
+
readonly items: {
|
|
4201
|
+
readonly type: "number";
|
|
4202
|
+
readonly precision: 1;
|
|
4203
|
+
readonly default: number;
|
|
4204
|
+
};
|
|
4205
|
+
readonly minItems: 3;
|
|
4206
|
+
readonly maxItems: 3;
|
|
4207
|
+
readonly default: readonly [0, 0, 0];
|
|
4208
|
+
};
|
|
4209
|
+
readonly metallicFactor: {
|
|
4210
|
+
readonly type: "number";
|
|
4211
|
+
readonly precision: 1;
|
|
4212
|
+
readonly default: number;
|
|
4213
|
+
};
|
|
4214
|
+
readonly roughnessFactor: {
|
|
4215
|
+
readonly type: "number";
|
|
4216
|
+
readonly precision: 1;
|
|
4217
|
+
readonly default: number;
|
|
4218
|
+
};
|
|
4219
|
+
readonly normalScale: {
|
|
4220
|
+
readonly type: "number";
|
|
4221
|
+
readonly precision: 1;
|
|
4222
|
+
readonly default: number;
|
|
4223
|
+
};
|
|
4224
|
+
readonly occlusionStrength: {
|
|
4225
|
+
readonly type: "number";
|
|
4226
|
+
readonly precision: 1;
|
|
4227
|
+
readonly default: number;
|
|
4228
|
+
};
|
|
4229
|
+
readonly irReflectance: {
|
|
4230
|
+
readonly type: "number";
|
|
4231
|
+
readonly precision: 1;
|
|
4232
|
+
readonly default: number;
|
|
4233
|
+
};
|
|
4234
|
+
readonly irEmission: {
|
|
4235
|
+
readonly type: "number";
|
|
4236
|
+
readonly precision: 1;
|
|
4237
|
+
readonly default: number;
|
|
4238
|
+
};
|
|
4239
|
+
readonly emissionMode: {
|
|
4240
|
+
readonly type: "integer";
|
|
4241
|
+
readonly minimum: 0;
|
|
4242
|
+
readonly maximum: 4294967295;
|
|
4243
|
+
readonly default: number;
|
|
4244
|
+
};
|
|
4245
|
+
readonly baseColorUrl: {
|
|
4246
|
+
readonly type: "string";
|
|
4247
|
+
};
|
|
4248
|
+
readonly metallicRoughnessUrl: {
|
|
4249
|
+
readonly type: "string";
|
|
4250
|
+
};
|
|
4251
|
+
readonly normalUrl: {
|
|
4252
|
+
readonly type: "string";
|
|
4253
|
+
};
|
|
4254
|
+
readonly occlusionUrl: {
|
|
4255
|
+
readonly type: "string";
|
|
4256
|
+
};
|
|
4257
|
+
readonly emissiveUrl: {
|
|
4258
|
+
readonly type: "string";
|
|
4259
|
+
};
|
|
4260
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4261
|
+
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"];
|
|
4262
|
+
}, {
|
|
4263
|
+
readonly materialByName: {
|
|
4264
|
+
readonly key: "name";
|
|
4265
|
+
readonly unique: true;
|
|
4266
|
+
readonly archetype: "Material";
|
|
4267
|
+
};
|
|
4268
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
4269
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4270
|
+
readonly material: {
|
|
4271
|
+
readonly type: "integer";
|
|
4272
|
+
readonly minimum: -2147483648;
|
|
4273
|
+
readonly maximum: 2147483647;
|
|
4274
|
+
readonly default: number;
|
|
4275
|
+
};
|
|
4276
|
+
readonly name: {
|
|
4277
|
+
readonly type: "string";
|
|
4278
|
+
};
|
|
4279
|
+
readonly density: {
|
|
4280
|
+
readonly type: "number";
|
|
4281
|
+
readonly precision: 1;
|
|
4282
|
+
readonly default: number;
|
|
4283
|
+
};
|
|
4284
|
+
readonly restitution: {
|
|
4285
|
+
readonly type: "number";
|
|
4286
|
+
readonly precision: 1;
|
|
4287
|
+
readonly default: number;
|
|
4288
|
+
};
|
|
4289
|
+
readonly friction: {
|
|
4290
|
+
readonly type: "number";
|
|
4291
|
+
readonly precision: 1;
|
|
4292
|
+
readonly default: number;
|
|
4293
|
+
};
|
|
4294
|
+
readonly compliance: {
|
|
4295
|
+
readonly type: "number";
|
|
4296
|
+
readonly precision: 1;
|
|
4297
|
+
readonly default: number;
|
|
4298
|
+
};
|
|
4299
|
+
readonly heatCapacity: {
|
|
4300
|
+
readonly type: "number";
|
|
4301
|
+
readonly precision: 1;
|
|
4302
|
+
readonly default: number;
|
|
4303
|
+
};
|
|
4304
|
+
readonly viscosity: {
|
|
4305
|
+
readonly type: "number";
|
|
4306
|
+
readonly precision: 1;
|
|
4307
|
+
readonly default: number;
|
|
4308
|
+
};
|
|
4309
|
+
readonly thermalConductivity: {
|
|
4310
|
+
readonly type: "number";
|
|
4311
|
+
readonly precision: 1;
|
|
4312
|
+
readonly default: number;
|
|
4313
|
+
};
|
|
4314
|
+
readonly stressStrainCurve: {
|
|
4315
|
+
readonly type: "object";
|
|
4316
|
+
readonly layout: "packed";
|
|
4317
|
+
readonly properties: {
|
|
4318
|
+
readonly tensileYieldStrainStress: {
|
|
4319
|
+
readonly type: "array";
|
|
4320
|
+
readonly items: {
|
|
4321
|
+
readonly type: "number";
|
|
4322
|
+
readonly precision: 1;
|
|
4323
|
+
readonly default: number;
|
|
4324
|
+
};
|
|
4325
|
+
readonly minItems: 2;
|
|
4326
|
+
readonly maxItems: 2;
|
|
4327
|
+
readonly default: readonly [0, 0];
|
|
4328
|
+
};
|
|
4329
|
+
readonly tensileFractureStrainStress: {
|
|
4330
|
+
readonly type: "array";
|
|
4331
|
+
readonly items: {
|
|
4332
|
+
readonly type: "number";
|
|
4333
|
+
readonly precision: 1;
|
|
4334
|
+
readonly default: number;
|
|
4335
|
+
};
|
|
4336
|
+
readonly minItems: 2;
|
|
4337
|
+
readonly maxItems: 2;
|
|
4338
|
+
readonly default: readonly [0, 0];
|
|
4339
|
+
};
|
|
4340
|
+
readonly compressiveYieldStrainStress: {
|
|
4341
|
+
readonly type: "array";
|
|
4342
|
+
readonly items: {
|
|
4343
|
+
readonly type: "number";
|
|
4344
|
+
readonly precision: 1;
|
|
4345
|
+
readonly default: number;
|
|
4346
|
+
};
|
|
4347
|
+
readonly minItems: 2;
|
|
4348
|
+
readonly maxItems: 2;
|
|
4349
|
+
readonly default: readonly [0, 0];
|
|
4350
|
+
};
|
|
4351
|
+
readonly compressiveFractureStrainStress: {
|
|
4352
|
+
readonly type: "array";
|
|
4353
|
+
readonly items: {
|
|
4354
|
+
readonly type: "number";
|
|
4355
|
+
readonly precision: 1;
|
|
4356
|
+
readonly default: number;
|
|
4357
|
+
};
|
|
4358
|
+
readonly minItems: 2;
|
|
4359
|
+
readonly maxItems: 2;
|
|
4360
|
+
readonly default: readonly [0, 0];
|
|
4361
|
+
};
|
|
4362
|
+
};
|
|
4363
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4364
|
+
};
|
|
4365
|
+
readonly baseColorFactor: {
|
|
4366
|
+
readonly type: "array";
|
|
4367
|
+
readonly items: {
|
|
4368
|
+
readonly type: "number";
|
|
4369
|
+
readonly precision: 1;
|
|
4370
|
+
readonly default: number;
|
|
4371
|
+
};
|
|
4372
|
+
readonly minItems: 4;
|
|
4373
|
+
readonly maxItems: 4;
|
|
4374
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4375
|
+
};
|
|
4376
|
+
readonly emissiveFactor: {
|
|
4377
|
+
readonly type: "array";
|
|
4378
|
+
readonly items: {
|
|
4379
|
+
readonly type: "number";
|
|
4380
|
+
readonly precision: 1;
|
|
4381
|
+
readonly default: number;
|
|
4382
|
+
};
|
|
4383
|
+
readonly minItems: 3;
|
|
4384
|
+
readonly maxItems: 3;
|
|
4385
|
+
readonly default: readonly [0, 0, 0];
|
|
4386
|
+
};
|
|
4387
|
+
readonly metallicFactor: {
|
|
4388
|
+
readonly type: "number";
|
|
4389
|
+
readonly precision: 1;
|
|
4390
|
+
readonly default: number;
|
|
4391
|
+
};
|
|
4392
|
+
readonly roughnessFactor: {
|
|
4393
|
+
readonly type: "number";
|
|
4394
|
+
readonly precision: 1;
|
|
4395
|
+
readonly default: number;
|
|
4396
|
+
};
|
|
4397
|
+
readonly normalScale: {
|
|
4398
|
+
readonly type: "number";
|
|
4399
|
+
readonly precision: 1;
|
|
4400
|
+
readonly default: number;
|
|
4401
|
+
};
|
|
4402
|
+
readonly occlusionStrength: {
|
|
4403
|
+
readonly type: "number";
|
|
4404
|
+
readonly precision: 1;
|
|
4405
|
+
readonly default: number;
|
|
4406
|
+
};
|
|
4407
|
+
readonly irReflectance: {
|
|
4408
|
+
readonly type: "number";
|
|
4409
|
+
readonly precision: 1;
|
|
4410
|
+
readonly default: number;
|
|
4411
|
+
};
|
|
4412
|
+
readonly irEmission: {
|
|
4413
|
+
readonly type: "number";
|
|
4414
|
+
readonly precision: 1;
|
|
4415
|
+
readonly default: number;
|
|
4416
|
+
};
|
|
4417
|
+
readonly emissionMode: {
|
|
4418
|
+
readonly type: "integer";
|
|
4419
|
+
readonly minimum: 0;
|
|
4420
|
+
readonly maximum: 4294967295;
|
|
4421
|
+
readonly default: number;
|
|
4422
|
+
};
|
|
4423
|
+
readonly baseColorUrl: {
|
|
4424
|
+
readonly type: "string";
|
|
4425
|
+
};
|
|
4426
|
+
readonly metallicRoughnessUrl: {
|
|
4427
|
+
readonly type: "string";
|
|
4428
|
+
};
|
|
4429
|
+
readonly normalUrl: {
|
|
4430
|
+
readonly type: "string";
|
|
4431
|
+
};
|
|
4432
|
+
readonly occlusionUrl: {
|
|
4433
|
+
readonly type: "string";
|
|
4434
|
+
};
|
|
4435
|
+
readonly emissiveUrl: {
|
|
4436
|
+
readonly type: "string";
|
|
4437
|
+
};
|
|
4438
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4439
|
+
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"];
|
|
4440
|
+
}, {
|
|
4441
|
+
readonly materialByName: {
|
|
4442
|
+
readonly key: "name";
|
|
4443
|
+
readonly unique: true;
|
|
4444
|
+
readonly archetype: "Material";
|
|
4445
|
+
};
|
|
4446
|
+
}, never>) => void;
|
|
4447
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4448
|
+
readonly material: {
|
|
4449
|
+
readonly type: "integer";
|
|
4450
|
+
readonly minimum: -2147483648;
|
|
4451
|
+
readonly maximum: 2147483647;
|
|
4452
|
+
readonly default: number;
|
|
4453
|
+
};
|
|
4454
|
+
readonly name: {
|
|
4455
|
+
readonly type: "string";
|
|
4456
|
+
};
|
|
4457
|
+
readonly density: {
|
|
4458
|
+
readonly type: "number";
|
|
4459
|
+
readonly precision: 1;
|
|
4460
|
+
readonly default: number;
|
|
4461
|
+
};
|
|
4462
|
+
readonly restitution: {
|
|
4463
|
+
readonly type: "number";
|
|
4464
|
+
readonly precision: 1;
|
|
4465
|
+
readonly default: number;
|
|
4466
|
+
};
|
|
4467
|
+
readonly friction: {
|
|
4468
|
+
readonly type: "number";
|
|
4469
|
+
readonly precision: 1;
|
|
4470
|
+
readonly default: number;
|
|
4471
|
+
};
|
|
4472
|
+
readonly compliance: {
|
|
4473
|
+
readonly type: "number";
|
|
4474
|
+
readonly precision: 1;
|
|
4475
|
+
readonly default: number;
|
|
4476
|
+
};
|
|
4477
|
+
readonly heatCapacity: {
|
|
4478
|
+
readonly type: "number";
|
|
4479
|
+
readonly precision: 1;
|
|
4480
|
+
readonly default: number;
|
|
4481
|
+
};
|
|
4482
|
+
readonly viscosity: {
|
|
4483
|
+
readonly type: "number";
|
|
4484
|
+
readonly precision: 1;
|
|
4485
|
+
readonly default: number;
|
|
4486
|
+
};
|
|
4487
|
+
readonly thermalConductivity: {
|
|
4488
|
+
readonly type: "number";
|
|
4489
|
+
readonly precision: 1;
|
|
4490
|
+
readonly default: number;
|
|
4491
|
+
};
|
|
4492
|
+
readonly stressStrainCurve: {
|
|
4493
|
+
readonly type: "object";
|
|
4494
|
+
readonly layout: "packed";
|
|
4495
|
+
readonly properties: {
|
|
4496
|
+
readonly tensileYieldStrainStress: {
|
|
4497
|
+
readonly type: "array";
|
|
4498
|
+
readonly items: {
|
|
4499
|
+
readonly type: "number";
|
|
4500
|
+
readonly precision: 1;
|
|
4501
|
+
readonly default: number;
|
|
4502
|
+
};
|
|
4503
|
+
readonly minItems: 2;
|
|
4504
|
+
readonly maxItems: 2;
|
|
4505
|
+
readonly default: readonly [0, 0];
|
|
4506
|
+
};
|
|
4507
|
+
readonly tensileFractureStrainStress: {
|
|
4508
|
+
readonly type: "array";
|
|
4509
|
+
readonly items: {
|
|
4510
|
+
readonly type: "number";
|
|
4511
|
+
readonly precision: 1;
|
|
4512
|
+
readonly default: number;
|
|
4513
|
+
};
|
|
4514
|
+
readonly minItems: 2;
|
|
4515
|
+
readonly maxItems: 2;
|
|
4516
|
+
readonly default: readonly [0, 0];
|
|
4517
|
+
};
|
|
4518
|
+
readonly compressiveYieldStrainStress: {
|
|
4519
|
+
readonly type: "array";
|
|
4520
|
+
readonly items: {
|
|
4521
|
+
readonly type: "number";
|
|
4522
|
+
readonly precision: 1;
|
|
4523
|
+
readonly default: number;
|
|
4524
|
+
};
|
|
4525
|
+
readonly minItems: 2;
|
|
4526
|
+
readonly maxItems: 2;
|
|
4527
|
+
readonly default: readonly [0, 0];
|
|
4528
|
+
};
|
|
4529
|
+
readonly compressiveFractureStrainStress: {
|
|
4530
|
+
readonly type: "array";
|
|
4531
|
+
readonly items: {
|
|
4532
|
+
readonly type: "number";
|
|
4533
|
+
readonly precision: 1;
|
|
4534
|
+
readonly default: number;
|
|
4535
|
+
};
|
|
4536
|
+
readonly minItems: 2;
|
|
4537
|
+
readonly maxItems: 2;
|
|
4538
|
+
readonly default: readonly [0, 0];
|
|
4539
|
+
};
|
|
4540
|
+
};
|
|
4541
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4542
|
+
};
|
|
4543
|
+
readonly baseColorFactor: {
|
|
4544
|
+
readonly type: "array";
|
|
4545
|
+
readonly items: {
|
|
4546
|
+
readonly type: "number";
|
|
4547
|
+
readonly precision: 1;
|
|
4548
|
+
readonly default: number;
|
|
4549
|
+
};
|
|
4550
|
+
readonly minItems: 4;
|
|
4551
|
+
readonly maxItems: 4;
|
|
4552
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4553
|
+
};
|
|
4554
|
+
readonly emissiveFactor: {
|
|
4555
|
+
readonly type: "array";
|
|
4556
|
+
readonly items: {
|
|
4557
|
+
readonly type: "number";
|
|
4558
|
+
readonly precision: 1;
|
|
4559
|
+
readonly default: number;
|
|
4560
|
+
};
|
|
4561
|
+
readonly minItems: 3;
|
|
4562
|
+
readonly maxItems: 3;
|
|
4563
|
+
readonly default: readonly [0, 0, 0];
|
|
4564
|
+
};
|
|
4565
|
+
readonly metallicFactor: {
|
|
4566
|
+
readonly type: "number";
|
|
4567
|
+
readonly precision: 1;
|
|
4568
|
+
readonly default: number;
|
|
4569
|
+
};
|
|
4570
|
+
readonly roughnessFactor: {
|
|
4571
|
+
readonly type: "number";
|
|
4572
|
+
readonly precision: 1;
|
|
4573
|
+
readonly default: number;
|
|
4574
|
+
};
|
|
4575
|
+
readonly normalScale: {
|
|
4576
|
+
readonly type: "number";
|
|
4577
|
+
readonly precision: 1;
|
|
4578
|
+
readonly default: number;
|
|
4579
|
+
};
|
|
4580
|
+
readonly occlusionStrength: {
|
|
4581
|
+
readonly type: "number";
|
|
4582
|
+
readonly precision: 1;
|
|
4583
|
+
readonly default: number;
|
|
4584
|
+
};
|
|
4585
|
+
readonly irReflectance: {
|
|
4586
|
+
readonly type: "number";
|
|
4587
|
+
readonly precision: 1;
|
|
4588
|
+
readonly default: number;
|
|
4589
|
+
};
|
|
4590
|
+
readonly irEmission: {
|
|
4591
|
+
readonly type: "number";
|
|
4592
|
+
readonly precision: 1;
|
|
4593
|
+
readonly default: number;
|
|
4594
|
+
};
|
|
4595
|
+
readonly emissionMode: {
|
|
4596
|
+
readonly type: "integer";
|
|
4597
|
+
readonly minimum: 0;
|
|
4598
|
+
readonly maximum: 4294967295;
|
|
4599
|
+
readonly default: number;
|
|
4600
|
+
};
|
|
4601
|
+
readonly baseColorUrl: {
|
|
4602
|
+
readonly type: "string";
|
|
4603
|
+
};
|
|
4604
|
+
readonly metallicRoughnessUrl: {
|
|
4605
|
+
readonly type: "string";
|
|
4606
|
+
};
|
|
4607
|
+
readonly normalUrl: {
|
|
4608
|
+
readonly type: "string";
|
|
4609
|
+
};
|
|
4610
|
+
readonly occlusionUrl: {
|
|
4611
|
+
readonly type: "string";
|
|
4612
|
+
};
|
|
4613
|
+
readonly emissiveUrl: {
|
|
4614
|
+
readonly type: "string";
|
|
4615
|
+
};
|
|
4616
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
4617
|
+
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"];
|
|
4618
|
+
}, {
|
|
4619
|
+
readonly materialByName: {
|
|
4620
|
+
readonly key: "name";
|
|
4621
|
+
readonly unique: true;
|
|
4622
|
+
readonly archetype: "Material";
|
|
4623
|
+
};
|
|
4624
|
+
}, never>) => void;
|
|
4625
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
4626
|
+
readonly materialByName: {
|
|
4627
|
+
readonly key: "name";
|
|
4628
|
+
readonly unique: true;
|
|
4629
|
+
readonly archetype: "Material";
|
|
4630
|
+
};
|
|
4631
|
+
}, never>, args: {
|
|
4632
|
+
ray: {
|
|
4633
|
+
readonly a: readonly [number, number, number];
|
|
4634
|
+
readonly b: readonly [number, number, number];
|
|
4635
|
+
};
|
|
4636
|
+
radius?: number;
|
|
4637
|
+
}) => import("../../physics/physics-hit.js").PhysicsHit | null;
|
|
4638
|
+
readonly pickRayEach: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
4639
|
+
readonly bodyType: {
|
|
4640
|
+
readonly type: "string";
|
|
4641
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
4642
|
+
};
|
|
4643
|
+
readonly colliderShape: {
|
|
4644
|
+
readonly type: "string";
|
|
4645
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
4646
|
+
};
|
|
4647
|
+
readonly halfExtents: {
|
|
4648
|
+
readonly type: "array";
|
|
4649
|
+
readonly items: {
|
|
4650
|
+
readonly type: "number";
|
|
4651
|
+
readonly precision: 1;
|
|
4652
|
+
readonly default: number;
|
|
4653
|
+
};
|
|
4654
|
+
readonly minItems: 3;
|
|
4655
|
+
readonly maxItems: 3;
|
|
4656
|
+
readonly default: readonly [0, 0, 0];
|
|
4657
|
+
};
|
|
4658
|
+
readonly position: {
|
|
4659
|
+
readonly type: "array";
|
|
4660
|
+
readonly items: {
|
|
4661
|
+
readonly type: "number";
|
|
4662
|
+
readonly precision: 1;
|
|
4663
|
+
readonly default: number;
|
|
4664
|
+
};
|
|
4665
|
+
readonly minItems: 3;
|
|
4666
|
+
readonly maxItems: 3;
|
|
4667
|
+
readonly default: readonly [0, 0, 0];
|
|
4668
|
+
};
|
|
4669
|
+
readonly rotation: {
|
|
4670
|
+
readonly type: "array";
|
|
4671
|
+
readonly items: {
|
|
4672
|
+
readonly type: "number";
|
|
4673
|
+
readonly precision: 1;
|
|
4674
|
+
readonly default: number;
|
|
4675
|
+
};
|
|
4676
|
+
readonly minItems: 4;
|
|
4677
|
+
readonly maxItems: 4;
|
|
4678
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
4679
|
+
readonly interpolators: {
|
|
4680
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4681
|
+
};
|
|
4682
|
+
};
|
|
4683
|
+
readonly linearVelocity: {
|
|
4684
|
+
readonly type: "array";
|
|
4685
|
+
readonly items: {
|
|
4686
|
+
readonly type: "number";
|
|
4687
|
+
readonly precision: 1;
|
|
4688
|
+
readonly default: number;
|
|
4689
|
+
};
|
|
4690
|
+
readonly minItems: 3;
|
|
4691
|
+
readonly maxItems: 3;
|
|
4692
|
+
readonly default: readonly [0, 0, 0];
|
|
4693
|
+
};
|
|
4694
|
+
readonly angularVelocity: {
|
|
4695
|
+
readonly type: "array";
|
|
4696
|
+
readonly items: {
|
|
4697
|
+
readonly type: "number";
|
|
4698
|
+
readonly precision: 1;
|
|
4699
|
+
readonly default: number;
|
|
4700
|
+
};
|
|
4701
|
+
readonly minItems: 3;
|
|
4702
|
+
readonly maxItems: 3;
|
|
4703
|
+
readonly default: readonly [0, 0, 0];
|
|
4704
|
+
};
|
|
4705
|
+
readonly _prevPosition: {
|
|
4706
|
+
readonly default: undefined;
|
|
4707
|
+
readonly nonPersistent: true;
|
|
4708
|
+
readonly type: "array";
|
|
4709
|
+
readonly items: {
|
|
4710
|
+
readonly type: "number";
|
|
4711
|
+
readonly precision: 1;
|
|
4712
|
+
readonly default: number;
|
|
4713
|
+
};
|
|
4714
|
+
readonly minItems: 3;
|
|
4715
|
+
readonly maxItems: 3;
|
|
4716
|
+
};
|
|
4717
|
+
readonly _prevRotation: {
|
|
4718
|
+
readonly default: undefined;
|
|
4719
|
+
readonly nonPersistent: true;
|
|
4720
|
+
readonly type: "array";
|
|
4721
|
+
readonly items: {
|
|
4722
|
+
readonly type: "number";
|
|
4723
|
+
readonly precision: 1;
|
|
4724
|
+
readonly default: number;
|
|
4725
|
+
};
|
|
4726
|
+
readonly minItems: 4;
|
|
4727
|
+
readonly maxItems: 4;
|
|
4728
|
+
readonly interpolators: {
|
|
4729
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4730
|
+
};
|
|
4731
|
+
};
|
|
4732
|
+
readonly collisionGroup: {
|
|
4733
|
+
readonly type: "number";
|
|
4734
|
+
readonly precision: 1;
|
|
4735
|
+
readonly default: number;
|
|
4736
|
+
};
|
|
4737
|
+
readonly convexPoints: {
|
|
4738
|
+
readonly default: Float32Array | null;
|
|
4739
|
+
};
|
|
4740
|
+
readonly colliderMesh: {
|
|
4741
|
+
readonly default: ColliderMesh | null;
|
|
4742
|
+
};
|
|
4743
|
+
} & {
|
|
4744
|
+
readonly material: {
|
|
4745
|
+
readonly type: "integer";
|
|
4746
|
+
readonly minimum: -2147483648;
|
|
4747
|
+
readonly maximum: 2147483647;
|
|
4748
|
+
readonly default: number;
|
|
4749
|
+
};
|
|
4750
|
+
readonly name: {
|
|
4751
|
+
readonly type: "string";
|
|
4752
|
+
};
|
|
4753
|
+
readonly density: {
|
|
4754
|
+
readonly type: "number";
|
|
4755
|
+
readonly precision: 1;
|
|
4756
|
+
readonly default: number;
|
|
4757
|
+
};
|
|
4758
|
+
readonly restitution: {
|
|
4759
|
+
readonly type: "number";
|
|
4760
|
+
readonly precision: 1;
|
|
4761
|
+
readonly default: number;
|
|
4762
|
+
};
|
|
4763
|
+
readonly friction: {
|
|
4764
|
+
readonly type: "number";
|
|
4765
|
+
readonly precision: 1;
|
|
4766
|
+
readonly default: number;
|
|
4767
|
+
};
|
|
4768
|
+
readonly compliance: {
|
|
4769
|
+
readonly type: "number";
|
|
4770
|
+
readonly precision: 1;
|
|
4771
|
+
readonly default: number;
|
|
4772
|
+
};
|
|
4773
|
+
readonly heatCapacity: {
|
|
4774
|
+
readonly type: "number";
|
|
4775
|
+
readonly precision: 1;
|
|
4776
|
+
readonly default: number;
|
|
4777
|
+
};
|
|
4778
|
+
readonly viscosity: {
|
|
4779
|
+
readonly type: "number";
|
|
4780
|
+
readonly precision: 1;
|
|
4781
|
+
readonly default: number;
|
|
4782
|
+
};
|
|
4783
|
+
readonly thermalConductivity: {
|
|
4784
|
+
readonly type: "number";
|
|
4785
|
+
readonly precision: 1;
|
|
4786
|
+
readonly default: number;
|
|
4787
|
+
};
|
|
4788
|
+
readonly stressStrainCurve: {
|
|
4789
|
+
readonly type: "object";
|
|
4790
|
+
readonly layout: "packed";
|
|
4791
|
+
readonly properties: {
|
|
4792
|
+
readonly tensileYieldStrainStress: {
|
|
4793
|
+
readonly type: "array";
|
|
4794
|
+
readonly items: {
|
|
4795
|
+
readonly type: "number";
|
|
4796
|
+
readonly precision: 1;
|
|
4797
|
+
readonly default: number;
|
|
4798
|
+
};
|
|
4799
|
+
readonly minItems: 2;
|
|
4800
|
+
readonly maxItems: 2;
|
|
4801
|
+
readonly default: readonly [0, 0];
|
|
4802
|
+
};
|
|
4803
|
+
readonly tensileFractureStrainStress: {
|
|
4804
|
+
readonly type: "array";
|
|
4805
|
+
readonly items: {
|
|
4806
|
+
readonly type: "number";
|
|
4807
|
+
readonly precision: 1;
|
|
4808
|
+
readonly default: number;
|
|
4809
|
+
};
|
|
4810
|
+
readonly minItems: 2;
|
|
4811
|
+
readonly maxItems: 2;
|
|
4812
|
+
readonly default: readonly [0, 0];
|
|
4813
|
+
};
|
|
4814
|
+
readonly compressiveYieldStrainStress: {
|
|
4815
|
+
readonly type: "array";
|
|
4816
|
+
readonly items: {
|
|
4817
|
+
readonly type: "number";
|
|
4818
|
+
readonly precision: 1;
|
|
4819
|
+
readonly default: number;
|
|
4820
|
+
};
|
|
4821
|
+
readonly minItems: 2;
|
|
4822
|
+
readonly maxItems: 2;
|
|
4823
|
+
readonly default: readonly [0, 0];
|
|
4824
|
+
};
|
|
4825
|
+
readonly compressiveFractureStrainStress: {
|
|
4826
|
+
readonly type: "array";
|
|
4827
|
+
readonly items: {
|
|
4828
|
+
readonly type: "number";
|
|
4829
|
+
readonly precision: 1;
|
|
4830
|
+
readonly default: number;
|
|
4831
|
+
};
|
|
4832
|
+
readonly minItems: 2;
|
|
4833
|
+
readonly maxItems: 2;
|
|
4834
|
+
readonly default: readonly [0, 0];
|
|
4835
|
+
};
|
|
4836
|
+
};
|
|
4837
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
4838
|
+
};
|
|
4839
|
+
readonly baseColorFactor: {
|
|
4840
|
+
readonly type: "array";
|
|
4841
|
+
readonly items: {
|
|
4842
|
+
readonly type: "number";
|
|
4843
|
+
readonly precision: 1;
|
|
4844
|
+
readonly default: number;
|
|
4845
|
+
};
|
|
4846
|
+
readonly minItems: 4;
|
|
4847
|
+
readonly maxItems: 4;
|
|
4848
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
4849
|
+
};
|
|
4850
|
+
readonly emissiveFactor: {
|
|
4851
|
+
readonly type: "array";
|
|
4852
|
+
readonly items: {
|
|
4853
|
+
readonly type: "number";
|
|
4854
|
+
readonly precision: 1;
|
|
4855
|
+
readonly default: number;
|
|
4856
|
+
};
|
|
4857
|
+
readonly minItems: 3;
|
|
4858
|
+
readonly maxItems: 3;
|
|
4859
|
+
readonly default: readonly [0, 0, 0];
|
|
4860
|
+
};
|
|
4861
|
+
readonly metallicFactor: {
|
|
4862
|
+
readonly type: "number";
|
|
4863
|
+
readonly precision: 1;
|
|
4864
|
+
readonly default: number;
|
|
4865
|
+
};
|
|
4866
|
+
readonly roughnessFactor: {
|
|
4867
|
+
readonly type: "number";
|
|
4868
|
+
readonly precision: 1;
|
|
4869
|
+
readonly default: number;
|
|
4870
|
+
};
|
|
4871
|
+
readonly normalScale: {
|
|
4872
|
+
readonly type: "number";
|
|
4873
|
+
readonly precision: 1;
|
|
4874
|
+
readonly default: number;
|
|
4875
|
+
};
|
|
4876
|
+
readonly occlusionStrength: {
|
|
4877
|
+
readonly type: "number";
|
|
4878
|
+
readonly precision: 1;
|
|
4879
|
+
readonly default: number;
|
|
4880
|
+
};
|
|
4881
|
+
readonly irReflectance: {
|
|
4882
|
+
readonly type: "number";
|
|
4883
|
+
readonly precision: 1;
|
|
4884
|
+
readonly default: number;
|
|
4885
|
+
};
|
|
4886
|
+
readonly irEmission: {
|
|
4887
|
+
readonly type: "number";
|
|
4888
|
+
readonly precision: 1;
|
|
4889
|
+
readonly default: number;
|
|
4890
|
+
};
|
|
4891
|
+
readonly emissionMode: {
|
|
4892
|
+
readonly type: "integer";
|
|
4893
|
+
readonly minimum: 0;
|
|
4894
|
+
readonly maximum: 4294967295;
|
|
4895
|
+
readonly default: number;
|
|
4896
|
+
};
|
|
4897
|
+
readonly baseColorUrl: {
|
|
4898
|
+
readonly type: "string";
|
|
4899
|
+
};
|
|
4900
|
+
readonly metallicRoughnessUrl: {
|
|
4901
|
+
readonly type: "string";
|
|
4902
|
+
};
|
|
4903
|
+
readonly normalUrl: {
|
|
4904
|
+
readonly type: "string";
|
|
4905
|
+
};
|
|
4906
|
+
readonly occlusionUrl: {
|
|
4907
|
+
readonly type: "string";
|
|
4908
|
+
};
|
|
4909
|
+
readonly emissiveUrl: {
|
|
4910
|
+
readonly type: "string";
|
|
4911
|
+
};
|
|
4912
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
4913
|
+
readonly physicsQuery: {
|
|
4914
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
4915
|
+
readonly nonPersistent: true;
|
|
4916
|
+
};
|
|
4917
|
+
} & {}>, {
|
|
4918
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
4919
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
4920
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
4921
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
4922
|
+
} & {
|
|
4923
|
+
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"];
|
|
4924
|
+
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
4925
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
4926
|
+
readonly material: {
|
|
4927
|
+
readonly type: "integer";
|
|
4928
|
+
readonly minimum: -2147483648;
|
|
4929
|
+
readonly maximum: 2147483647;
|
|
4930
|
+
readonly default: number;
|
|
4931
|
+
};
|
|
4932
|
+
readonly name: {
|
|
4933
|
+
readonly type: "string";
|
|
4934
|
+
};
|
|
4935
|
+
readonly density: {
|
|
4936
|
+
readonly type: "number";
|
|
4937
|
+
readonly precision: 1;
|
|
4938
|
+
readonly default: number;
|
|
4939
|
+
};
|
|
4940
|
+
readonly restitution: {
|
|
4941
|
+
readonly type: "number";
|
|
4942
|
+
readonly precision: 1;
|
|
4943
|
+
readonly default: number;
|
|
4944
|
+
};
|
|
4945
|
+
readonly friction: {
|
|
4946
|
+
readonly type: "number";
|
|
4947
|
+
readonly precision: 1;
|
|
4948
|
+
readonly default: number;
|
|
4949
|
+
};
|
|
4950
|
+
readonly compliance: {
|
|
4951
|
+
readonly type: "number";
|
|
4952
|
+
readonly precision: 1;
|
|
4953
|
+
readonly default: number;
|
|
4954
|
+
};
|
|
4955
|
+
readonly heatCapacity: {
|
|
4956
|
+
readonly type: "number";
|
|
4957
|
+
readonly precision: 1;
|
|
4958
|
+
readonly default: number;
|
|
4959
|
+
};
|
|
4960
|
+
readonly viscosity: {
|
|
4961
|
+
readonly type: "number";
|
|
4962
|
+
readonly precision: 1;
|
|
4963
|
+
readonly default: number;
|
|
4964
|
+
};
|
|
4965
|
+
readonly thermalConductivity: {
|
|
4966
|
+
readonly type: "number";
|
|
4967
|
+
readonly precision: 1;
|
|
4968
|
+
readonly default: number;
|
|
4969
|
+
};
|
|
4970
|
+
readonly stressStrainCurve: {
|
|
4971
|
+
readonly type: "object";
|
|
4972
|
+
readonly layout: "packed";
|
|
4973
|
+
readonly properties: {
|
|
4974
|
+
readonly tensileYieldStrainStress: {
|
|
4975
|
+
readonly type: "array";
|
|
4976
|
+
readonly items: {
|
|
4977
|
+
readonly type: "number";
|
|
4978
|
+
readonly precision: 1;
|
|
4979
|
+
readonly default: number;
|
|
4980
|
+
};
|
|
4981
|
+
readonly minItems: 2;
|
|
4982
|
+
readonly maxItems: 2;
|
|
4983
|
+
readonly default: readonly [0, 0];
|
|
4984
|
+
};
|
|
4985
|
+
readonly tensileFractureStrainStress: {
|
|
4986
|
+
readonly type: "array";
|
|
4987
|
+
readonly items: {
|
|
4988
|
+
readonly type: "number";
|
|
4989
|
+
readonly precision: 1;
|
|
4990
|
+
readonly default: number;
|
|
4991
|
+
};
|
|
4992
|
+
readonly minItems: 2;
|
|
4993
|
+
readonly maxItems: 2;
|
|
4994
|
+
readonly default: readonly [0, 0];
|
|
4995
|
+
};
|
|
4996
|
+
readonly compressiveYieldStrainStress: {
|
|
4997
|
+
readonly type: "array";
|
|
4998
|
+
readonly items: {
|
|
4999
|
+
readonly type: "number";
|
|
5000
|
+
readonly precision: 1;
|
|
5001
|
+
readonly default: number;
|
|
5002
|
+
};
|
|
5003
|
+
readonly minItems: 2;
|
|
5004
|
+
readonly maxItems: 2;
|
|
5005
|
+
readonly default: readonly [0, 0];
|
|
5006
|
+
};
|
|
5007
|
+
readonly compressiveFractureStrainStress: {
|
|
5008
|
+
readonly type: "array";
|
|
5009
|
+
readonly items: {
|
|
5010
|
+
readonly type: "number";
|
|
5011
|
+
readonly precision: 1;
|
|
5012
|
+
readonly default: number;
|
|
5013
|
+
};
|
|
5014
|
+
readonly minItems: 2;
|
|
5015
|
+
readonly maxItems: 2;
|
|
5016
|
+
readonly default: readonly [0, 0];
|
|
5017
|
+
};
|
|
5018
|
+
};
|
|
5019
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5020
|
+
};
|
|
5021
|
+
readonly baseColorFactor: {
|
|
5022
|
+
readonly type: "array";
|
|
5023
|
+
readonly items: {
|
|
5024
|
+
readonly type: "number";
|
|
5025
|
+
readonly precision: 1;
|
|
5026
|
+
readonly default: number;
|
|
5027
|
+
};
|
|
5028
|
+
readonly minItems: 4;
|
|
5029
|
+
readonly maxItems: 4;
|
|
5030
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5031
|
+
};
|
|
5032
|
+
readonly emissiveFactor: {
|
|
5033
|
+
readonly type: "array";
|
|
5034
|
+
readonly items: {
|
|
5035
|
+
readonly type: "number";
|
|
5036
|
+
readonly precision: 1;
|
|
5037
|
+
readonly default: number;
|
|
5038
|
+
};
|
|
5039
|
+
readonly minItems: 3;
|
|
5040
|
+
readonly maxItems: 3;
|
|
5041
|
+
readonly default: readonly [0, 0, 0];
|
|
5042
|
+
};
|
|
5043
|
+
readonly metallicFactor: {
|
|
5044
|
+
readonly type: "number";
|
|
5045
|
+
readonly precision: 1;
|
|
5046
|
+
readonly default: number;
|
|
5047
|
+
};
|
|
5048
|
+
readonly roughnessFactor: {
|
|
5049
|
+
readonly type: "number";
|
|
5050
|
+
readonly precision: 1;
|
|
5051
|
+
readonly default: number;
|
|
5052
|
+
};
|
|
5053
|
+
readonly normalScale: {
|
|
5054
|
+
readonly type: "number";
|
|
5055
|
+
readonly precision: 1;
|
|
5056
|
+
readonly default: number;
|
|
5057
|
+
};
|
|
5058
|
+
readonly occlusionStrength: {
|
|
5059
|
+
readonly type: "number";
|
|
5060
|
+
readonly precision: 1;
|
|
5061
|
+
readonly default: number;
|
|
5062
|
+
};
|
|
5063
|
+
readonly irReflectance: {
|
|
5064
|
+
readonly type: "number";
|
|
5065
|
+
readonly precision: 1;
|
|
5066
|
+
readonly default: number;
|
|
5067
|
+
};
|
|
5068
|
+
readonly irEmission: {
|
|
5069
|
+
readonly type: "number";
|
|
5070
|
+
readonly precision: 1;
|
|
5071
|
+
readonly default: number;
|
|
5072
|
+
};
|
|
5073
|
+
readonly emissionMode: {
|
|
5074
|
+
readonly type: "integer";
|
|
5075
|
+
readonly minimum: 0;
|
|
5076
|
+
readonly maximum: 4294967295;
|
|
5077
|
+
readonly default: number;
|
|
5078
|
+
};
|
|
5079
|
+
readonly baseColorUrl: {
|
|
5080
|
+
readonly type: "string";
|
|
5081
|
+
};
|
|
5082
|
+
readonly metallicRoughnessUrl: {
|
|
5083
|
+
readonly type: "string";
|
|
5084
|
+
};
|
|
5085
|
+
readonly normalUrl: {
|
|
5086
|
+
readonly type: "string";
|
|
5087
|
+
};
|
|
5088
|
+
readonly occlusionUrl: {
|
|
5089
|
+
readonly type: "string";
|
|
5090
|
+
};
|
|
5091
|
+
readonly emissiveUrl: {
|
|
5092
|
+
readonly type: "string";
|
|
5093
|
+
};
|
|
5094
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5095
|
+
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"];
|
|
5096
|
+
}, {
|
|
5097
|
+
readonly materialByName: {
|
|
5098
|
+
readonly key: "name";
|
|
5099
|
+
readonly unique: true;
|
|
5100
|
+
readonly archetype: "Material";
|
|
5101
|
+
};
|
|
5102
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
5103
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5104
|
+
readonly material: {
|
|
5105
|
+
readonly type: "integer";
|
|
5106
|
+
readonly minimum: -2147483648;
|
|
5107
|
+
readonly maximum: 2147483647;
|
|
5108
|
+
readonly default: number;
|
|
5109
|
+
};
|
|
5110
|
+
readonly name: {
|
|
5111
|
+
readonly type: "string";
|
|
5112
|
+
};
|
|
5113
|
+
readonly density: {
|
|
5114
|
+
readonly type: "number";
|
|
5115
|
+
readonly precision: 1;
|
|
5116
|
+
readonly default: number;
|
|
5117
|
+
};
|
|
5118
|
+
readonly restitution: {
|
|
5119
|
+
readonly type: "number";
|
|
5120
|
+
readonly precision: 1;
|
|
5121
|
+
readonly default: number;
|
|
5122
|
+
};
|
|
5123
|
+
readonly friction: {
|
|
5124
|
+
readonly type: "number";
|
|
5125
|
+
readonly precision: 1;
|
|
5126
|
+
readonly default: number;
|
|
5127
|
+
};
|
|
5128
|
+
readonly compliance: {
|
|
5129
|
+
readonly type: "number";
|
|
5130
|
+
readonly precision: 1;
|
|
5131
|
+
readonly default: number;
|
|
5132
|
+
};
|
|
5133
|
+
readonly heatCapacity: {
|
|
5134
|
+
readonly type: "number";
|
|
5135
|
+
readonly precision: 1;
|
|
5136
|
+
readonly default: number;
|
|
5137
|
+
};
|
|
5138
|
+
readonly viscosity: {
|
|
5139
|
+
readonly type: "number";
|
|
5140
|
+
readonly precision: 1;
|
|
5141
|
+
readonly default: number;
|
|
5142
|
+
};
|
|
5143
|
+
readonly thermalConductivity: {
|
|
5144
|
+
readonly type: "number";
|
|
5145
|
+
readonly precision: 1;
|
|
5146
|
+
readonly default: number;
|
|
5147
|
+
};
|
|
5148
|
+
readonly stressStrainCurve: {
|
|
5149
|
+
readonly type: "object";
|
|
5150
|
+
readonly layout: "packed";
|
|
5151
|
+
readonly properties: {
|
|
5152
|
+
readonly tensileYieldStrainStress: {
|
|
5153
|
+
readonly type: "array";
|
|
5154
|
+
readonly items: {
|
|
5155
|
+
readonly type: "number";
|
|
5156
|
+
readonly precision: 1;
|
|
5157
|
+
readonly default: number;
|
|
5158
|
+
};
|
|
5159
|
+
readonly minItems: 2;
|
|
5160
|
+
readonly maxItems: 2;
|
|
5161
|
+
readonly default: readonly [0, 0];
|
|
5162
|
+
};
|
|
5163
|
+
readonly tensileFractureStrainStress: {
|
|
5164
|
+
readonly type: "array";
|
|
5165
|
+
readonly items: {
|
|
5166
|
+
readonly type: "number";
|
|
5167
|
+
readonly precision: 1;
|
|
5168
|
+
readonly default: number;
|
|
5169
|
+
};
|
|
5170
|
+
readonly minItems: 2;
|
|
5171
|
+
readonly maxItems: 2;
|
|
5172
|
+
readonly default: readonly [0, 0];
|
|
5173
|
+
};
|
|
5174
|
+
readonly compressiveYieldStrainStress: {
|
|
5175
|
+
readonly type: "array";
|
|
5176
|
+
readonly items: {
|
|
5177
|
+
readonly type: "number";
|
|
5178
|
+
readonly precision: 1;
|
|
5179
|
+
readonly default: number;
|
|
5180
|
+
};
|
|
5181
|
+
readonly minItems: 2;
|
|
5182
|
+
readonly maxItems: 2;
|
|
5183
|
+
readonly default: readonly [0, 0];
|
|
5184
|
+
};
|
|
5185
|
+
readonly compressiveFractureStrainStress: {
|
|
5186
|
+
readonly type: "array";
|
|
5187
|
+
readonly items: {
|
|
5188
|
+
readonly type: "number";
|
|
5189
|
+
readonly precision: 1;
|
|
5190
|
+
readonly default: number;
|
|
5191
|
+
};
|
|
5192
|
+
readonly minItems: 2;
|
|
5193
|
+
readonly maxItems: 2;
|
|
5194
|
+
readonly default: readonly [0, 0];
|
|
5195
|
+
};
|
|
5196
|
+
};
|
|
5197
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5198
|
+
};
|
|
5199
|
+
readonly baseColorFactor: {
|
|
5200
|
+
readonly type: "array";
|
|
5201
|
+
readonly items: {
|
|
5202
|
+
readonly type: "number";
|
|
5203
|
+
readonly precision: 1;
|
|
5204
|
+
readonly default: number;
|
|
5205
|
+
};
|
|
5206
|
+
readonly minItems: 4;
|
|
5207
|
+
readonly maxItems: 4;
|
|
5208
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5209
|
+
};
|
|
5210
|
+
readonly emissiveFactor: {
|
|
5211
|
+
readonly type: "array";
|
|
5212
|
+
readonly items: {
|
|
5213
|
+
readonly type: "number";
|
|
5214
|
+
readonly precision: 1;
|
|
5215
|
+
readonly default: number;
|
|
5216
|
+
};
|
|
5217
|
+
readonly minItems: 3;
|
|
5218
|
+
readonly maxItems: 3;
|
|
5219
|
+
readonly default: readonly [0, 0, 0];
|
|
5220
|
+
};
|
|
5221
|
+
readonly metallicFactor: {
|
|
5222
|
+
readonly type: "number";
|
|
5223
|
+
readonly precision: 1;
|
|
5224
|
+
readonly default: number;
|
|
5225
|
+
};
|
|
5226
|
+
readonly roughnessFactor: {
|
|
5227
|
+
readonly type: "number";
|
|
5228
|
+
readonly precision: 1;
|
|
5229
|
+
readonly default: number;
|
|
5230
|
+
};
|
|
5231
|
+
readonly normalScale: {
|
|
5232
|
+
readonly type: "number";
|
|
5233
|
+
readonly precision: 1;
|
|
5234
|
+
readonly default: number;
|
|
5235
|
+
};
|
|
5236
|
+
readonly occlusionStrength: {
|
|
5237
|
+
readonly type: "number";
|
|
5238
|
+
readonly precision: 1;
|
|
5239
|
+
readonly default: number;
|
|
5240
|
+
};
|
|
5241
|
+
readonly irReflectance: {
|
|
5242
|
+
readonly type: "number";
|
|
5243
|
+
readonly precision: 1;
|
|
5244
|
+
readonly default: number;
|
|
5245
|
+
};
|
|
5246
|
+
readonly irEmission: {
|
|
5247
|
+
readonly type: "number";
|
|
5248
|
+
readonly precision: 1;
|
|
5249
|
+
readonly default: number;
|
|
5250
|
+
};
|
|
5251
|
+
readonly emissionMode: {
|
|
5252
|
+
readonly type: "integer";
|
|
5253
|
+
readonly minimum: 0;
|
|
5254
|
+
readonly maximum: 4294967295;
|
|
5255
|
+
readonly default: number;
|
|
5256
|
+
};
|
|
5257
|
+
readonly baseColorUrl: {
|
|
5258
|
+
readonly type: "string";
|
|
5259
|
+
};
|
|
5260
|
+
readonly metallicRoughnessUrl: {
|
|
5261
|
+
readonly type: "string";
|
|
5262
|
+
};
|
|
5263
|
+
readonly normalUrl: {
|
|
5264
|
+
readonly type: "string";
|
|
5265
|
+
};
|
|
5266
|
+
readonly occlusionUrl: {
|
|
5267
|
+
readonly type: "string";
|
|
5268
|
+
};
|
|
5269
|
+
readonly emissiveUrl: {
|
|
5270
|
+
readonly type: "string";
|
|
5271
|
+
};
|
|
5272
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5273
|
+
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"];
|
|
5274
|
+
}, {
|
|
5275
|
+
readonly materialByName: {
|
|
5276
|
+
readonly key: "name";
|
|
5277
|
+
readonly unique: true;
|
|
5278
|
+
readonly archetype: "Material";
|
|
5279
|
+
};
|
|
5280
|
+
}, never>, args: {
|
|
5281
|
+
name: string;
|
|
5282
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
5283
|
+
}) => Entity;
|
|
5284
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5285
|
+
readonly material: {
|
|
5286
|
+
readonly type: "integer";
|
|
5287
|
+
readonly minimum: -2147483648;
|
|
5288
|
+
readonly maximum: 2147483647;
|
|
5289
|
+
readonly default: number;
|
|
5290
|
+
};
|
|
5291
|
+
readonly name: {
|
|
5292
|
+
readonly type: "string";
|
|
5293
|
+
};
|
|
5294
|
+
readonly density: {
|
|
5295
|
+
readonly type: "number";
|
|
5296
|
+
readonly precision: 1;
|
|
5297
|
+
readonly default: number;
|
|
5298
|
+
};
|
|
5299
|
+
readonly restitution: {
|
|
5300
|
+
readonly type: "number";
|
|
5301
|
+
readonly precision: 1;
|
|
5302
|
+
readonly default: number;
|
|
5303
|
+
};
|
|
5304
|
+
readonly friction: {
|
|
5305
|
+
readonly type: "number";
|
|
5306
|
+
readonly precision: 1;
|
|
5307
|
+
readonly default: number;
|
|
5308
|
+
};
|
|
5309
|
+
readonly compliance: {
|
|
5310
|
+
readonly type: "number";
|
|
5311
|
+
readonly precision: 1;
|
|
5312
|
+
readonly default: number;
|
|
5313
|
+
};
|
|
5314
|
+
readonly heatCapacity: {
|
|
5315
|
+
readonly type: "number";
|
|
5316
|
+
readonly precision: 1;
|
|
5317
|
+
readonly default: number;
|
|
5318
|
+
};
|
|
5319
|
+
readonly viscosity: {
|
|
5320
|
+
readonly type: "number";
|
|
5321
|
+
readonly precision: 1;
|
|
5322
|
+
readonly default: number;
|
|
5323
|
+
};
|
|
5324
|
+
readonly thermalConductivity: {
|
|
5325
|
+
readonly type: "number";
|
|
5326
|
+
readonly precision: 1;
|
|
5327
|
+
readonly default: number;
|
|
5328
|
+
};
|
|
5329
|
+
readonly stressStrainCurve: {
|
|
5330
|
+
readonly type: "object";
|
|
5331
|
+
readonly layout: "packed";
|
|
5332
|
+
readonly properties: {
|
|
5333
|
+
readonly tensileYieldStrainStress: {
|
|
5334
|
+
readonly type: "array";
|
|
5335
|
+
readonly items: {
|
|
5336
|
+
readonly type: "number";
|
|
5337
|
+
readonly precision: 1;
|
|
5338
|
+
readonly default: number;
|
|
5339
|
+
};
|
|
5340
|
+
readonly minItems: 2;
|
|
5341
|
+
readonly maxItems: 2;
|
|
5342
|
+
readonly default: readonly [0, 0];
|
|
5343
|
+
};
|
|
5344
|
+
readonly tensileFractureStrainStress: {
|
|
5345
|
+
readonly type: "array";
|
|
5346
|
+
readonly items: {
|
|
5347
|
+
readonly type: "number";
|
|
5348
|
+
readonly precision: 1;
|
|
5349
|
+
readonly default: number;
|
|
5350
|
+
};
|
|
5351
|
+
readonly minItems: 2;
|
|
5352
|
+
readonly maxItems: 2;
|
|
5353
|
+
readonly default: readonly [0, 0];
|
|
5354
|
+
};
|
|
5355
|
+
readonly compressiveYieldStrainStress: {
|
|
5356
|
+
readonly type: "array";
|
|
5357
|
+
readonly items: {
|
|
5358
|
+
readonly type: "number";
|
|
5359
|
+
readonly precision: 1;
|
|
5360
|
+
readonly default: number;
|
|
5361
|
+
};
|
|
5362
|
+
readonly minItems: 2;
|
|
5363
|
+
readonly maxItems: 2;
|
|
5364
|
+
readonly default: readonly [0, 0];
|
|
5365
|
+
};
|
|
5366
|
+
readonly compressiveFractureStrainStress: {
|
|
5367
|
+
readonly type: "array";
|
|
5368
|
+
readonly items: {
|
|
5369
|
+
readonly type: "number";
|
|
5370
|
+
readonly precision: 1;
|
|
5371
|
+
readonly default: number;
|
|
5372
|
+
};
|
|
5373
|
+
readonly minItems: 2;
|
|
5374
|
+
readonly maxItems: 2;
|
|
5375
|
+
readonly default: readonly [0, 0];
|
|
5376
|
+
};
|
|
5377
|
+
};
|
|
5378
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5379
|
+
};
|
|
5380
|
+
readonly baseColorFactor: {
|
|
5381
|
+
readonly type: "array";
|
|
5382
|
+
readonly items: {
|
|
5383
|
+
readonly type: "number";
|
|
5384
|
+
readonly precision: 1;
|
|
5385
|
+
readonly default: number;
|
|
5386
|
+
};
|
|
5387
|
+
readonly minItems: 4;
|
|
5388
|
+
readonly maxItems: 4;
|
|
5389
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5390
|
+
};
|
|
5391
|
+
readonly emissiveFactor: {
|
|
5392
|
+
readonly type: "array";
|
|
5393
|
+
readonly items: {
|
|
5394
|
+
readonly type: "number";
|
|
5395
|
+
readonly precision: 1;
|
|
5396
|
+
readonly default: number;
|
|
5397
|
+
};
|
|
5398
|
+
readonly minItems: 3;
|
|
5399
|
+
readonly maxItems: 3;
|
|
5400
|
+
readonly default: readonly [0, 0, 0];
|
|
5401
|
+
};
|
|
5402
|
+
readonly metallicFactor: {
|
|
5403
|
+
readonly type: "number";
|
|
5404
|
+
readonly precision: 1;
|
|
5405
|
+
readonly default: number;
|
|
5406
|
+
};
|
|
5407
|
+
readonly roughnessFactor: {
|
|
5408
|
+
readonly type: "number";
|
|
5409
|
+
readonly precision: 1;
|
|
5410
|
+
readonly default: number;
|
|
5411
|
+
};
|
|
5412
|
+
readonly normalScale: {
|
|
5413
|
+
readonly type: "number";
|
|
5414
|
+
readonly precision: 1;
|
|
5415
|
+
readonly default: number;
|
|
5416
|
+
};
|
|
5417
|
+
readonly occlusionStrength: {
|
|
5418
|
+
readonly type: "number";
|
|
5419
|
+
readonly precision: 1;
|
|
5420
|
+
readonly default: number;
|
|
5421
|
+
};
|
|
5422
|
+
readonly irReflectance: {
|
|
5423
|
+
readonly type: "number";
|
|
5424
|
+
readonly precision: 1;
|
|
5425
|
+
readonly default: number;
|
|
5426
|
+
};
|
|
5427
|
+
readonly irEmission: {
|
|
5428
|
+
readonly type: "number";
|
|
5429
|
+
readonly precision: 1;
|
|
5430
|
+
readonly default: number;
|
|
5431
|
+
};
|
|
5432
|
+
readonly emissionMode: {
|
|
5433
|
+
readonly type: "integer";
|
|
5434
|
+
readonly minimum: 0;
|
|
5435
|
+
readonly maximum: 4294967295;
|
|
5436
|
+
readonly default: number;
|
|
5437
|
+
};
|
|
5438
|
+
readonly baseColorUrl: {
|
|
5439
|
+
readonly type: "string";
|
|
5440
|
+
};
|
|
5441
|
+
readonly metallicRoughnessUrl: {
|
|
5442
|
+
readonly type: "string";
|
|
5443
|
+
};
|
|
5444
|
+
readonly normalUrl: {
|
|
5445
|
+
readonly type: "string";
|
|
5446
|
+
};
|
|
5447
|
+
readonly occlusionUrl: {
|
|
5448
|
+
readonly type: "string";
|
|
5449
|
+
};
|
|
5450
|
+
readonly emissiveUrl: {
|
|
5451
|
+
readonly type: "string";
|
|
5452
|
+
};
|
|
5453
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5454
|
+
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"];
|
|
5455
|
+
}, {
|
|
5456
|
+
readonly materialByName: {
|
|
5457
|
+
readonly key: "name";
|
|
5458
|
+
readonly unique: true;
|
|
5459
|
+
readonly archetype: "Material";
|
|
5460
|
+
};
|
|
5461
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
5462
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5463
|
+
readonly material: {
|
|
5464
|
+
readonly type: "integer";
|
|
5465
|
+
readonly minimum: -2147483648;
|
|
5466
|
+
readonly maximum: 2147483647;
|
|
5467
|
+
readonly default: number;
|
|
5468
|
+
};
|
|
5469
|
+
readonly name: {
|
|
5470
|
+
readonly type: "string";
|
|
5471
|
+
};
|
|
5472
|
+
readonly density: {
|
|
5473
|
+
readonly type: "number";
|
|
5474
|
+
readonly precision: 1;
|
|
5475
|
+
readonly default: number;
|
|
5476
|
+
};
|
|
5477
|
+
readonly restitution: {
|
|
5478
|
+
readonly type: "number";
|
|
5479
|
+
readonly precision: 1;
|
|
5480
|
+
readonly default: number;
|
|
5481
|
+
};
|
|
5482
|
+
readonly friction: {
|
|
5483
|
+
readonly type: "number";
|
|
5484
|
+
readonly precision: 1;
|
|
5485
|
+
readonly default: number;
|
|
5486
|
+
};
|
|
5487
|
+
readonly compliance: {
|
|
5488
|
+
readonly type: "number";
|
|
5489
|
+
readonly precision: 1;
|
|
5490
|
+
readonly default: number;
|
|
5491
|
+
};
|
|
5492
|
+
readonly heatCapacity: {
|
|
5493
|
+
readonly type: "number";
|
|
5494
|
+
readonly precision: 1;
|
|
5495
|
+
readonly default: number;
|
|
5496
|
+
};
|
|
5497
|
+
readonly viscosity: {
|
|
5498
|
+
readonly type: "number";
|
|
5499
|
+
readonly precision: 1;
|
|
5500
|
+
readonly default: number;
|
|
5501
|
+
};
|
|
5502
|
+
readonly thermalConductivity: {
|
|
5503
|
+
readonly type: "number";
|
|
5504
|
+
readonly precision: 1;
|
|
5505
|
+
readonly default: number;
|
|
5506
|
+
};
|
|
5507
|
+
readonly stressStrainCurve: {
|
|
5508
|
+
readonly type: "object";
|
|
5509
|
+
readonly layout: "packed";
|
|
5510
|
+
readonly properties: {
|
|
5511
|
+
readonly tensileYieldStrainStress: {
|
|
5512
|
+
readonly type: "array";
|
|
5513
|
+
readonly items: {
|
|
5514
|
+
readonly type: "number";
|
|
5515
|
+
readonly precision: 1;
|
|
5516
|
+
readonly default: number;
|
|
5517
|
+
};
|
|
5518
|
+
readonly minItems: 2;
|
|
5519
|
+
readonly maxItems: 2;
|
|
5520
|
+
readonly default: readonly [0, 0];
|
|
5521
|
+
};
|
|
5522
|
+
readonly tensileFractureStrainStress: {
|
|
5523
|
+
readonly type: "array";
|
|
5524
|
+
readonly items: {
|
|
5525
|
+
readonly type: "number";
|
|
5526
|
+
readonly precision: 1;
|
|
5527
|
+
readonly default: number;
|
|
5528
|
+
};
|
|
5529
|
+
readonly minItems: 2;
|
|
5530
|
+
readonly maxItems: 2;
|
|
5531
|
+
readonly default: readonly [0, 0];
|
|
5532
|
+
};
|
|
5533
|
+
readonly compressiveYieldStrainStress: {
|
|
5534
|
+
readonly type: "array";
|
|
5535
|
+
readonly items: {
|
|
5536
|
+
readonly type: "number";
|
|
5537
|
+
readonly precision: 1;
|
|
5538
|
+
readonly default: number;
|
|
5539
|
+
};
|
|
5540
|
+
readonly minItems: 2;
|
|
5541
|
+
readonly maxItems: 2;
|
|
5542
|
+
readonly default: readonly [0, 0];
|
|
5543
|
+
};
|
|
5544
|
+
readonly compressiveFractureStrainStress: {
|
|
5545
|
+
readonly type: "array";
|
|
5546
|
+
readonly items: {
|
|
5547
|
+
readonly type: "number";
|
|
5548
|
+
readonly precision: 1;
|
|
5549
|
+
readonly default: number;
|
|
5550
|
+
};
|
|
5551
|
+
readonly minItems: 2;
|
|
5552
|
+
readonly maxItems: 2;
|
|
5553
|
+
readonly default: readonly [0, 0];
|
|
5554
|
+
};
|
|
5555
|
+
};
|
|
5556
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5557
|
+
};
|
|
5558
|
+
readonly baseColorFactor: {
|
|
5559
|
+
readonly type: "array";
|
|
5560
|
+
readonly items: {
|
|
5561
|
+
readonly type: "number";
|
|
5562
|
+
readonly precision: 1;
|
|
5563
|
+
readonly default: number;
|
|
5564
|
+
};
|
|
5565
|
+
readonly minItems: 4;
|
|
5566
|
+
readonly maxItems: 4;
|
|
5567
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5568
|
+
};
|
|
5569
|
+
readonly emissiveFactor: {
|
|
5570
|
+
readonly type: "array";
|
|
5571
|
+
readonly items: {
|
|
5572
|
+
readonly type: "number";
|
|
5573
|
+
readonly precision: 1;
|
|
5574
|
+
readonly default: number;
|
|
5575
|
+
};
|
|
5576
|
+
readonly minItems: 3;
|
|
5577
|
+
readonly maxItems: 3;
|
|
5578
|
+
readonly default: readonly [0, 0, 0];
|
|
5579
|
+
};
|
|
5580
|
+
readonly metallicFactor: {
|
|
5581
|
+
readonly type: "number";
|
|
5582
|
+
readonly precision: 1;
|
|
5583
|
+
readonly default: number;
|
|
5584
|
+
};
|
|
5585
|
+
readonly roughnessFactor: {
|
|
5586
|
+
readonly type: "number";
|
|
5587
|
+
readonly precision: 1;
|
|
5588
|
+
readonly default: number;
|
|
5589
|
+
};
|
|
5590
|
+
readonly normalScale: {
|
|
5591
|
+
readonly type: "number";
|
|
5592
|
+
readonly precision: 1;
|
|
5593
|
+
readonly default: number;
|
|
5594
|
+
};
|
|
5595
|
+
readonly occlusionStrength: {
|
|
5596
|
+
readonly type: "number";
|
|
5597
|
+
readonly precision: 1;
|
|
5598
|
+
readonly default: number;
|
|
5599
|
+
};
|
|
5600
|
+
readonly irReflectance: {
|
|
5601
|
+
readonly type: "number";
|
|
5602
|
+
readonly precision: 1;
|
|
5603
|
+
readonly default: number;
|
|
5604
|
+
};
|
|
5605
|
+
readonly irEmission: {
|
|
5606
|
+
readonly type: "number";
|
|
5607
|
+
readonly precision: 1;
|
|
5608
|
+
readonly default: number;
|
|
5609
|
+
};
|
|
5610
|
+
readonly emissionMode: {
|
|
5611
|
+
readonly type: "integer";
|
|
5612
|
+
readonly minimum: 0;
|
|
5613
|
+
readonly maximum: 4294967295;
|
|
5614
|
+
readonly default: number;
|
|
5615
|
+
};
|
|
5616
|
+
readonly baseColorUrl: {
|
|
5617
|
+
readonly type: "string";
|
|
5618
|
+
};
|
|
5619
|
+
readonly metallicRoughnessUrl: {
|
|
5620
|
+
readonly type: "string";
|
|
5621
|
+
};
|
|
5622
|
+
readonly normalUrl: {
|
|
5623
|
+
readonly type: "string";
|
|
5624
|
+
};
|
|
5625
|
+
readonly occlusionUrl: {
|
|
5626
|
+
readonly type: "string";
|
|
5627
|
+
};
|
|
5628
|
+
readonly emissiveUrl: {
|
|
5629
|
+
readonly type: "string";
|
|
5630
|
+
};
|
|
5631
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5632
|
+
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"];
|
|
5633
|
+
}, {
|
|
5634
|
+
readonly materialByName: {
|
|
5635
|
+
readonly key: "name";
|
|
5636
|
+
readonly unique: true;
|
|
5637
|
+
readonly archetype: "Material";
|
|
5638
|
+
};
|
|
5639
|
+
}, never>) => void;
|
|
5640
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
5641
|
+
readonly material: {
|
|
5642
|
+
readonly type: "integer";
|
|
5643
|
+
readonly minimum: -2147483648;
|
|
5644
|
+
readonly maximum: 2147483647;
|
|
5645
|
+
readonly default: number;
|
|
5646
|
+
};
|
|
5647
|
+
readonly name: {
|
|
5648
|
+
readonly type: "string";
|
|
5649
|
+
};
|
|
5650
|
+
readonly density: {
|
|
5651
|
+
readonly type: "number";
|
|
5652
|
+
readonly precision: 1;
|
|
5653
|
+
readonly default: number;
|
|
5654
|
+
};
|
|
5655
|
+
readonly restitution: {
|
|
5656
|
+
readonly type: "number";
|
|
5657
|
+
readonly precision: 1;
|
|
5658
|
+
readonly default: number;
|
|
5659
|
+
};
|
|
5660
|
+
readonly friction: {
|
|
5661
|
+
readonly type: "number";
|
|
5662
|
+
readonly precision: 1;
|
|
5663
|
+
readonly default: number;
|
|
5664
|
+
};
|
|
5665
|
+
readonly compliance: {
|
|
5666
|
+
readonly type: "number";
|
|
5667
|
+
readonly precision: 1;
|
|
5668
|
+
readonly default: number;
|
|
5669
|
+
};
|
|
5670
|
+
readonly heatCapacity: {
|
|
5671
|
+
readonly type: "number";
|
|
5672
|
+
readonly precision: 1;
|
|
5673
|
+
readonly default: number;
|
|
5674
|
+
};
|
|
5675
|
+
readonly viscosity: {
|
|
5676
|
+
readonly type: "number";
|
|
5677
|
+
readonly precision: 1;
|
|
5678
|
+
readonly default: number;
|
|
5679
|
+
};
|
|
5680
|
+
readonly thermalConductivity: {
|
|
5681
|
+
readonly type: "number";
|
|
5682
|
+
readonly precision: 1;
|
|
5683
|
+
readonly default: number;
|
|
5684
|
+
};
|
|
5685
|
+
readonly stressStrainCurve: {
|
|
5686
|
+
readonly type: "object";
|
|
5687
|
+
readonly layout: "packed";
|
|
5688
|
+
readonly properties: {
|
|
5689
|
+
readonly tensileYieldStrainStress: {
|
|
5690
|
+
readonly type: "array";
|
|
5691
|
+
readonly items: {
|
|
5692
|
+
readonly type: "number";
|
|
5693
|
+
readonly precision: 1;
|
|
5694
|
+
readonly default: number;
|
|
5695
|
+
};
|
|
5696
|
+
readonly minItems: 2;
|
|
5697
|
+
readonly maxItems: 2;
|
|
5698
|
+
readonly default: readonly [0, 0];
|
|
5699
|
+
};
|
|
5700
|
+
readonly tensileFractureStrainStress: {
|
|
5701
|
+
readonly type: "array";
|
|
5702
|
+
readonly items: {
|
|
5703
|
+
readonly type: "number";
|
|
5704
|
+
readonly precision: 1;
|
|
5705
|
+
readonly default: number;
|
|
5706
|
+
};
|
|
5707
|
+
readonly minItems: 2;
|
|
5708
|
+
readonly maxItems: 2;
|
|
5709
|
+
readonly default: readonly [0, 0];
|
|
5710
|
+
};
|
|
5711
|
+
readonly compressiveYieldStrainStress: {
|
|
5712
|
+
readonly type: "array";
|
|
5713
|
+
readonly items: {
|
|
5714
|
+
readonly type: "number";
|
|
5715
|
+
readonly precision: 1;
|
|
5716
|
+
readonly default: number;
|
|
5717
|
+
};
|
|
5718
|
+
readonly minItems: 2;
|
|
5719
|
+
readonly maxItems: 2;
|
|
5720
|
+
readonly default: readonly [0, 0];
|
|
5721
|
+
};
|
|
5722
|
+
readonly compressiveFractureStrainStress: {
|
|
5723
|
+
readonly type: "array";
|
|
5724
|
+
readonly items: {
|
|
5725
|
+
readonly type: "number";
|
|
5726
|
+
readonly precision: 1;
|
|
5727
|
+
readonly default: number;
|
|
5728
|
+
};
|
|
5729
|
+
readonly minItems: 2;
|
|
5730
|
+
readonly maxItems: 2;
|
|
5731
|
+
readonly default: readonly [0, 0];
|
|
5732
|
+
};
|
|
5733
|
+
};
|
|
5734
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
5735
|
+
};
|
|
5736
|
+
readonly baseColorFactor: {
|
|
5737
|
+
readonly type: "array";
|
|
5738
|
+
readonly items: {
|
|
5739
|
+
readonly type: "number";
|
|
5740
|
+
readonly precision: 1;
|
|
5741
|
+
readonly default: number;
|
|
5742
|
+
};
|
|
5743
|
+
readonly minItems: 4;
|
|
5744
|
+
readonly maxItems: 4;
|
|
5745
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
5746
|
+
};
|
|
5747
|
+
readonly emissiveFactor: {
|
|
5748
|
+
readonly type: "array";
|
|
5749
|
+
readonly items: {
|
|
5750
|
+
readonly type: "number";
|
|
5751
|
+
readonly precision: 1;
|
|
5752
|
+
readonly default: number;
|
|
5753
|
+
};
|
|
5754
|
+
readonly minItems: 3;
|
|
5755
|
+
readonly maxItems: 3;
|
|
5756
|
+
readonly default: readonly [0, 0, 0];
|
|
5757
|
+
};
|
|
5758
|
+
readonly metallicFactor: {
|
|
5759
|
+
readonly type: "number";
|
|
5760
|
+
readonly precision: 1;
|
|
5761
|
+
readonly default: number;
|
|
5762
|
+
};
|
|
5763
|
+
readonly roughnessFactor: {
|
|
5764
|
+
readonly type: "number";
|
|
5765
|
+
readonly precision: 1;
|
|
5766
|
+
readonly default: number;
|
|
5767
|
+
};
|
|
5768
|
+
readonly normalScale: {
|
|
5769
|
+
readonly type: "number";
|
|
5770
|
+
readonly precision: 1;
|
|
5771
|
+
readonly default: number;
|
|
5772
|
+
};
|
|
5773
|
+
readonly occlusionStrength: {
|
|
5774
|
+
readonly type: "number";
|
|
5775
|
+
readonly precision: 1;
|
|
5776
|
+
readonly default: number;
|
|
5777
|
+
};
|
|
5778
|
+
readonly irReflectance: {
|
|
5779
|
+
readonly type: "number";
|
|
5780
|
+
readonly precision: 1;
|
|
5781
|
+
readonly default: number;
|
|
5782
|
+
};
|
|
5783
|
+
readonly irEmission: {
|
|
5784
|
+
readonly type: "number";
|
|
5785
|
+
readonly precision: 1;
|
|
5786
|
+
readonly default: number;
|
|
5787
|
+
};
|
|
5788
|
+
readonly emissionMode: {
|
|
5789
|
+
readonly type: "integer";
|
|
5790
|
+
readonly minimum: 0;
|
|
5791
|
+
readonly maximum: 4294967295;
|
|
5792
|
+
readonly default: number;
|
|
5793
|
+
};
|
|
5794
|
+
readonly baseColorUrl: {
|
|
5795
|
+
readonly type: "string";
|
|
5796
|
+
};
|
|
5797
|
+
readonly metallicRoughnessUrl: {
|
|
5798
|
+
readonly type: "string";
|
|
5799
|
+
};
|
|
5800
|
+
readonly normalUrl: {
|
|
5801
|
+
readonly type: "string";
|
|
5802
|
+
};
|
|
5803
|
+
readonly occlusionUrl: {
|
|
5804
|
+
readonly type: "string";
|
|
5805
|
+
};
|
|
5806
|
+
readonly emissiveUrl: {
|
|
5807
|
+
readonly type: "string";
|
|
5808
|
+
};
|
|
5809
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
5810
|
+
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"];
|
|
5811
|
+
}, {
|
|
5812
|
+
readonly materialByName: {
|
|
5813
|
+
readonly key: "name";
|
|
5814
|
+
readonly unique: true;
|
|
5815
|
+
readonly archetype: "Material";
|
|
5816
|
+
};
|
|
5817
|
+
}, never>) => void;
|
|
5818
|
+
}>, never, import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {
|
|
5819
|
+
readonly materialByName: {
|
|
5820
|
+
readonly key: "name";
|
|
5821
|
+
readonly unique: true;
|
|
5822
|
+
readonly archetype: "Material";
|
|
5823
|
+
};
|
|
5824
|
+
}, never>, args: {
|
|
5825
|
+
ray: {
|
|
5826
|
+
readonly a: readonly [number, number, number];
|
|
5827
|
+
readonly b: readonly [number, number, number];
|
|
5828
|
+
};
|
|
5829
|
+
visit: (hit: import("../../physics/physics-hit.js").PhysicsHit) => boolean | void;
|
|
5830
|
+
radius?: number;
|
|
5831
|
+
}) => void;
|
|
5832
|
+
};
|
|
3458
5833
|
readonly services: {};
|
|
3459
5834
|
readonly computed: {};
|
|
3460
|
-
readonly indexes: {} & {
|
|
5835
|
+
readonly indexes: {} & {} & {
|
|
3461
5836
|
readonly nodeChildrenOf: {
|
|
3462
5837
|
readonly key: "parent";
|
|
3463
5838
|
readonly archetype: "Node";
|
|
@@ -3468,5 +5843,5 @@ export declare const modelCollider: {
|
|
|
3468
5843
|
readonly unique: true;
|
|
3469
5844
|
readonly archetype: "Material";
|
|
3470
5845
|
};
|
|
3471
|
-
} & {} & {} & {} & {} & {} & {} & {}
|
|
5846
|
+
} & {} & {} & {} & {} & {} & {} & {};
|
|
3472
5847
|
};
|