@adobe/data-gpu 0.9.88 → 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 +435 -456
- 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 +113 -116
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +221 -242
- 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 +353 -371
- 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 +6 -6
- 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 +6 -6
- package/dist/physics/physics-data-plugin.js +2 -2
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/jolt-solver-plugin.js +2 -2
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/rapier-solver-plugin.js +2 -2
- 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/physics-data-plugin.ts +2 -2
- package/src/physics/solvers/jolt-solver-plugin.ts +2 -2
- package/src/physics/solvers/rapier-solver-plugin.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -4,7 +4,163 @@ import type { ColliderMesh } from "../../physics/body/collider-mesh.js";
|
|
|
4
4
|
* modelCollider — auto-generates physics colliders from loaded mesh CPU data.
|
|
5
5
|
*/
|
|
6
6
|
export declare const modelCollider: {
|
|
7
|
-
readonly components: {
|
|
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
|
+
} & {
|
|
73
|
+
readonly visible: {
|
|
74
|
+
readonly type: "boolean";
|
|
75
|
+
readonly const: true;
|
|
76
|
+
readonly default: true;
|
|
77
|
+
};
|
|
78
|
+
readonly position: {
|
|
79
|
+
readonly type: "array";
|
|
80
|
+
readonly items: {
|
|
81
|
+
readonly type: "number";
|
|
82
|
+
readonly precision: 1;
|
|
83
|
+
readonly default: number;
|
|
84
|
+
};
|
|
85
|
+
readonly minItems: 3;
|
|
86
|
+
readonly maxItems: 3;
|
|
87
|
+
readonly default: readonly [0, 0, 0];
|
|
88
|
+
};
|
|
89
|
+
readonly rotation: {
|
|
90
|
+
readonly type: "array";
|
|
91
|
+
readonly items: {
|
|
92
|
+
readonly type: "number";
|
|
93
|
+
readonly precision: 1;
|
|
94
|
+
readonly default: number;
|
|
95
|
+
};
|
|
96
|
+
readonly minItems: 4;
|
|
97
|
+
readonly maxItems: 4;
|
|
98
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
99
|
+
readonly interpolators: {
|
|
100
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
readonly scale: {
|
|
104
|
+
readonly type: "array";
|
|
105
|
+
readonly items: {
|
|
106
|
+
readonly type: "number";
|
|
107
|
+
readonly precision: 1;
|
|
108
|
+
readonly default: number;
|
|
109
|
+
};
|
|
110
|
+
readonly minItems: 3;
|
|
111
|
+
readonly maxItems: 3;
|
|
112
|
+
readonly default: readonly [0, 0, 0];
|
|
113
|
+
};
|
|
114
|
+
readonly parent: {
|
|
115
|
+
readonly type: "integer";
|
|
116
|
+
readonly minimum: -2147483648;
|
|
117
|
+
readonly maximum: 2147483647;
|
|
118
|
+
readonly default: number;
|
|
119
|
+
};
|
|
120
|
+
readonly _worldMatrix: {
|
|
121
|
+
readonly default: undefined;
|
|
122
|
+
readonly nonPersistent: true;
|
|
123
|
+
readonly type: "array";
|
|
124
|
+
readonly items: {
|
|
125
|
+
readonly type: "number";
|
|
126
|
+
readonly precision: 1;
|
|
127
|
+
readonly default: number;
|
|
128
|
+
};
|
|
129
|
+
readonly minItems: 16;
|
|
130
|
+
readonly maxItems: 16;
|
|
131
|
+
};
|
|
132
|
+
readonly _worldBounds: {
|
|
133
|
+
readonly default: undefined;
|
|
134
|
+
readonly nonPersistent: true;
|
|
135
|
+
readonly type: "object";
|
|
136
|
+
readonly properties: {
|
|
137
|
+
readonly min: {
|
|
138
|
+
readonly type: "array";
|
|
139
|
+
readonly items: {
|
|
140
|
+
readonly type: "number";
|
|
141
|
+
readonly precision: 1;
|
|
142
|
+
readonly default: number;
|
|
143
|
+
};
|
|
144
|
+
readonly minItems: 3;
|
|
145
|
+
readonly maxItems: 3;
|
|
146
|
+
readonly default: readonly [0, 0, 0];
|
|
147
|
+
};
|
|
148
|
+
readonly max: {
|
|
149
|
+
readonly type: "array";
|
|
150
|
+
readonly items: {
|
|
151
|
+
readonly type: "number";
|
|
152
|
+
readonly precision: 1;
|
|
153
|
+
readonly default: number;
|
|
154
|
+
};
|
|
155
|
+
readonly minItems: 3;
|
|
156
|
+
readonly maxItems: 3;
|
|
157
|
+
readonly default: readonly [0, 0, 0];
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
readonly required: readonly ["min", "max"];
|
|
161
|
+
readonly additionalProperties: false;
|
|
162
|
+
};
|
|
163
|
+
} & {
|
|
8
164
|
readonly material: {
|
|
9
165
|
readonly type: "integer";
|
|
10
166
|
readonly minimum: -2147483648;
|
|
@@ -173,205 +329,6 @@ export declare const modelCollider: {
|
|
|
173
329
|
readonly emissiveUrl: {
|
|
174
330
|
readonly type: "string";
|
|
175
331
|
};
|
|
176
|
-
} & {
|
|
177
|
-
readonly bodyType: {
|
|
178
|
-
readonly type: "string";
|
|
179
|
-
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
180
|
-
};
|
|
181
|
-
readonly colliderShape: {
|
|
182
|
-
readonly type: "string";
|
|
183
|
-
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
184
|
-
};
|
|
185
|
-
readonly halfExtents: {
|
|
186
|
-
readonly type: "array";
|
|
187
|
-
readonly items: {
|
|
188
|
-
readonly type: "number";
|
|
189
|
-
readonly precision: 1;
|
|
190
|
-
readonly default: number;
|
|
191
|
-
};
|
|
192
|
-
readonly minItems: 3;
|
|
193
|
-
readonly maxItems: 3;
|
|
194
|
-
readonly default: readonly [0, 0, 0];
|
|
195
|
-
};
|
|
196
|
-
readonly position: {
|
|
197
|
-
readonly type: "array";
|
|
198
|
-
readonly items: {
|
|
199
|
-
readonly type: "number";
|
|
200
|
-
readonly precision: 1;
|
|
201
|
-
readonly default: number;
|
|
202
|
-
};
|
|
203
|
-
readonly minItems: 3;
|
|
204
|
-
readonly maxItems: 3;
|
|
205
|
-
readonly default: readonly [0, 0, 0];
|
|
206
|
-
};
|
|
207
|
-
readonly rotation: {
|
|
208
|
-
readonly type: "array";
|
|
209
|
-
readonly items: {
|
|
210
|
-
readonly type: "number";
|
|
211
|
-
readonly precision: 1;
|
|
212
|
-
readonly default: number;
|
|
213
|
-
};
|
|
214
|
-
readonly minItems: 4;
|
|
215
|
-
readonly maxItems: 4;
|
|
216
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
217
|
-
readonly interpolators: {
|
|
218
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
readonly linearVelocity: {
|
|
222
|
-
readonly type: "array";
|
|
223
|
-
readonly items: {
|
|
224
|
-
readonly type: "number";
|
|
225
|
-
readonly precision: 1;
|
|
226
|
-
readonly default: number;
|
|
227
|
-
};
|
|
228
|
-
readonly minItems: 3;
|
|
229
|
-
readonly maxItems: 3;
|
|
230
|
-
readonly default: readonly [0, 0, 0];
|
|
231
|
-
};
|
|
232
|
-
readonly angularVelocity: {
|
|
233
|
-
readonly type: "array";
|
|
234
|
-
readonly items: {
|
|
235
|
-
readonly type: "number";
|
|
236
|
-
readonly precision: 1;
|
|
237
|
-
readonly default: number;
|
|
238
|
-
};
|
|
239
|
-
readonly minItems: 3;
|
|
240
|
-
readonly maxItems: 3;
|
|
241
|
-
readonly default: readonly [0, 0, 0];
|
|
242
|
-
};
|
|
243
|
-
readonly _prevPosition: {
|
|
244
|
-
readonly nonPersistent: true;
|
|
245
|
-
readonly type: "array";
|
|
246
|
-
readonly items: {
|
|
247
|
-
readonly type: "number";
|
|
248
|
-
readonly precision: 1;
|
|
249
|
-
readonly default: number;
|
|
250
|
-
};
|
|
251
|
-
readonly minItems: 3;
|
|
252
|
-
readonly maxItems: 3;
|
|
253
|
-
readonly default: readonly [0, 0, 0];
|
|
254
|
-
};
|
|
255
|
-
readonly _prevRotation: {
|
|
256
|
-
readonly nonPersistent: true;
|
|
257
|
-
readonly type: "array";
|
|
258
|
-
readonly items: {
|
|
259
|
-
readonly type: "number";
|
|
260
|
-
readonly precision: 1;
|
|
261
|
-
readonly default: number;
|
|
262
|
-
};
|
|
263
|
-
readonly minItems: 4;
|
|
264
|
-
readonly maxItems: 4;
|
|
265
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
266
|
-
readonly interpolators: {
|
|
267
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
readonly collisionGroup: {
|
|
271
|
-
readonly type: "number";
|
|
272
|
-
readonly precision: 1;
|
|
273
|
-
readonly default: number;
|
|
274
|
-
};
|
|
275
|
-
readonly convexPoints: {
|
|
276
|
-
readonly default: Float32Array | null;
|
|
277
|
-
};
|
|
278
|
-
readonly colliderMesh: {
|
|
279
|
-
readonly default: ColliderMesh | null;
|
|
280
|
-
};
|
|
281
|
-
} & {} & {
|
|
282
|
-
readonly visible: {
|
|
283
|
-
readonly type: "boolean";
|
|
284
|
-
readonly const: true;
|
|
285
|
-
readonly default: true;
|
|
286
|
-
};
|
|
287
|
-
readonly position: {
|
|
288
|
-
readonly type: "array";
|
|
289
|
-
readonly items: {
|
|
290
|
-
readonly type: "number";
|
|
291
|
-
readonly precision: 1;
|
|
292
|
-
readonly default: number;
|
|
293
|
-
};
|
|
294
|
-
readonly minItems: 3;
|
|
295
|
-
readonly maxItems: 3;
|
|
296
|
-
readonly default: readonly [0, 0, 0];
|
|
297
|
-
};
|
|
298
|
-
readonly rotation: {
|
|
299
|
-
readonly type: "array";
|
|
300
|
-
readonly items: {
|
|
301
|
-
readonly type: "number";
|
|
302
|
-
readonly precision: 1;
|
|
303
|
-
readonly default: number;
|
|
304
|
-
};
|
|
305
|
-
readonly minItems: 4;
|
|
306
|
-
readonly maxItems: 4;
|
|
307
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
308
|
-
readonly interpolators: {
|
|
309
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
readonly scale: {
|
|
313
|
-
readonly type: "array";
|
|
314
|
-
readonly items: {
|
|
315
|
-
readonly type: "number";
|
|
316
|
-
readonly precision: 1;
|
|
317
|
-
readonly default: number;
|
|
318
|
-
};
|
|
319
|
-
readonly minItems: 3;
|
|
320
|
-
readonly maxItems: 3;
|
|
321
|
-
readonly default: readonly [0, 0, 0];
|
|
322
|
-
};
|
|
323
|
-
readonly parent: {
|
|
324
|
-
readonly type: "integer";
|
|
325
|
-
readonly minimum: -2147483648;
|
|
326
|
-
readonly maximum: 2147483647;
|
|
327
|
-
readonly default: number;
|
|
328
|
-
};
|
|
329
|
-
readonly _worldMatrix: {
|
|
330
|
-
readonly nonPersistent: true;
|
|
331
|
-
readonly type: "array";
|
|
332
|
-
readonly items: {
|
|
333
|
-
readonly type: "number";
|
|
334
|
-
readonly precision: 1;
|
|
335
|
-
readonly default: number;
|
|
336
|
-
};
|
|
337
|
-
readonly minItems: 16;
|
|
338
|
-
readonly maxItems: 16;
|
|
339
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
340
|
-
};
|
|
341
|
-
readonly _worldBounds: {
|
|
342
|
-
readonly nonPersistent: true;
|
|
343
|
-
readonly type: "object";
|
|
344
|
-
readonly properties: {
|
|
345
|
-
readonly min: {
|
|
346
|
-
readonly type: "array";
|
|
347
|
-
readonly items: {
|
|
348
|
-
readonly type: "number";
|
|
349
|
-
readonly precision: 1;
|
|
350
|
-
readonly default: number;
|
|
351
|
-
};
|
|
352
|
-
readonly minItems: 3;
|
|
353
|
-
readonly maxItems: 3;
|
|
354
|
-
readonly default: readonly [0, 0, 0];
|
|
355
|
-
};
|
|
356
|
-
readonly max: {
|
|
357
|
-
readonly type: "array";
|
|
358
|
-
readonly items: {
|
|
359
|
-
readonly type: "number";
|
|
360
|
-
readonly precision: 1;
|
|
361
|
-
readonly default: number;
|
|
362
|
-
};
|
|
363
|
-
readonly minItems: 3;
|
|
364
|
-
readonly maxItems: 3;
|
|
365
|
-
readonly default: readonly [0, 0, 0];
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
readonly required: readonly ["min", "max"];
|
|
369
|
-
readonly additionalProperties: false;
|
|
370
|
-
readonly default: {
|
|
371
|
-
readonly min: readonly [0, 0, 0];
|
|
372
|
-
readonly max: readonly [0, 0, 0];
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
332
|
} & {
|
|
376
333
|
readonly mesh: {
|
|
377
334
|
readonly type: "integer";
|
|
@@ -458,48 +415,86 @@ export declare const modelCollider: {
|
|
|
458
415
|
readonly default: true;
|
|
459
416
|
};
|
|
460
417
|
} & {
|
|
461
|
-
readonly
|
|
462
|
-
readonly
|
|
463
|
-
readonly
|
|
418
|
+
readonly bodyType: {
|
|
419
|
+
readonly type: "string";
|
|
420
|
+
readonly enum: readonly ["static", "dynamic", "kinematic"];
|
|
464
421
|
};
|
|
465
|
-
readonly
|
|
466
|
-
readonly
|
|
467
|
-
readonly
|
|
422
|
+
readonly colliderShape: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly enum: readonly ["sphere", "box", "capsule", "hull", "mesh"];
|
|
468
425
|
};
|
|
469
|
-
readonly
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
426
|
+
readonly halfExtents: {
|
|
427
|
+
readonly type: "array";
|
|
428
|
+
readonly items: {
|
|
429
|
+
readonly type: "number";
|
|
430
|
+
readonly precision: 1;
|
|
431
|
+
readonly default: number;
|
|
432
|
+
};
|
|
433
|
+
readonly minItems: 3;
|
|
434
|
+
readonly maxItems: 3;
|
|
435
|
+
readonly default: readonly [0, 0, 0];
|
|
472
436
|
};
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
readonly
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
437
|
+
readonly position: {
|
|
438
|
+
readonly type: "array";
|
|
439
|
+
readonly items: {
|
|
440
|
+
readonly type: "number";
|
|
441
|
+
readonly precision: 1;
|
|
442
|
+
readonly default: number;
|
|
443
|
+
};
|
|
444
|
+
readonly minItems: 3;
|
|
445
|
+
readonly maxItems: 3;
|
|
446
|
+
readonly default: readonly [0, 0, 0];
|
|
479
447
|
};
|
|
480
|
-
readonly
|
|
481
|
-
readonly
|
|
482
|
-
readonly
|
|
448
|
+
readonly rotation: {
|
|
449
|
+
readonly type: "array";
|
|
450
|
+
readonly items: {
|
|
451
|
+
readonly type: "number";
|
|
452
|
+
readonly precision: 1;
|
|
453
|
+
readonly default: number;
|
|
454
|
+
};
|
|
455
|
+
readonly minItems: 4;
|
|
456
|
+
readonly maxItems: 4;
|
|
457
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
458
|
+
readonly interpolators: {
|
|
459
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
460
|
+
};
|
|
483
461
|
};
|
|
484
|
-
readonly
|
|
485
|
-
readonly
|
|
486
|
-
readonly
|
|
462
|
+
readonly linearVelocity: {
|
|
463
|
+
readonly type: "array";
|
|
464
|
+
readonly items: {
|
|
465
|
+
readonly type: "number";
|
|
466
|
+
readonly precision: 1;
|
|
467
|
+
readonly default: number;
|
|
468
|
+
};
|
|
469
|
+
readonly minItems: 3;
|
|
470
|
+
readonly maxItems: 3;
|
|
471
|
+
readonly default: readonly [0, 0, 0];
|
|
487
472
|
};
|
|
488
|
-
readonly
|
|
489
|
-
readonly
|
|
490
|
-
readonly
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
473
|
+
readonly angularVelocity: {
|
|
474
|
+
readonly type: "array";
|
|
475
|
+
readonly items: {
|
|
476
|
+
readonly type: "number";
|
|
477
|
+
readonly precision: 1;
|
|
478
|
+
readonly default: number;
|
|
479
|
+
};
|
|
480
|
+
readonly minItems: 3;
|
|
481
|
+
readonly maxItems: 3;
|
|
482
|
+
readonly default: readonly [0, 0, 0];
|
|
494
483
|
};
|
|
495
|
-
readonly
|
|
484
|
+
readonly _prevPosition: {
|
|
485
|
+
readonly default: undefined;
|
|
496
486
|
readonly nonPersistent: true;
|
|
497
|
-
readonly type: "
|
|
498
|
-
readonly
|
|
499
|
-
|
|
500
|
-
|
|
487
|
+
readonly type: "array";
|
|
488
|
+
readonly items: {
|
|
489
|
+
readonly type: "number";
|
|
490
|
+
readonly precision: 1;
|
|
491
|
+
readonly default: number;
|
|
492
|
+
};
|
|
493
|
+
readonly minItems: 3;
|
|
494
|
+
readonly maxItems: 3;
|
|
501
495
|
};
|
|
502
|
-
readonly
|
|
496
|
+
readonly _prevRotation: {
|
|
497
|
+
readonly default: undefined;
|
|
503
498
|
readonly nonPersistent: true;
|
|
504
499
|
readonly type: "array";
|
|
505
500
|
readonly items: {
|
|
@@ -507,20 +502,22 @@ export declare const modelCollider: {
|
|
|
507
502
|
readonly precision: 1;
|
|
508
503
|
readonly default: number;
|
|
509
504
|
};
|
|
510
|
-
readonly minItems:
|
|
511
|
-
readonly maxItems:
|
|
512
|
-
readonly
|
|
505
|
+
readonly minItems: 4;
|
|
506
|
+
readonly maxItems: 4;
|
|
507
|
+
readonly interpolators: {
|
|
508
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
509
|
+
};
|
|
513
510
|
};
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
readonly
|
|
517
|
-
readonly minimum: -2147483648;
|
|
518
|
-
readonly maximum: 2147483647;
|
|
511
|
+
readonly collisionGroup: {
|
|
512
|
+
readonly type: "number";
|
|
513
|
+
readonly precision: 1;
|
|
519
514
|
readonly default: number;
|
|
520
515
|
};
|
|
521
|
-
readonly
|
|
522
|
-
readonly default:
|
|
523
|
-
|
|
516
|
+
readonly convexPoints: {
|
|
517
|
+
readonly default: Float32Array | null;
|
|
518
|
+
};
|
|
519
|
+
readonly colliderMesh: {
|
|
520
|
+
readonly default: ColliderMesh | null;
|
|
524
521
|
};
|
|
525
522
|
} & {
|
|
526
523
|
readonly collisionMesh: {
|
|
@@ -531,11 +528,6 @@ export declare const modelCollider: {
|
|
|
531
528
|
};
|
|
532
529
|
};
|
|
533
530
|
readonly resources: {} & {
|
|
534
|
-
readonly physicsQuery: {
|
|
535
|
-
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
536
|
-
readonly nonPersistent: true;
|
|
537
|
-
};
|
|
538
|
-
} & {
|
|
539
531
|
readonly _gltfMeshByUrl: {
|
|
540
532
|
readonly default: Map<string, Entity> | null;
|
|
541
533
|
readonly nonPersistent: true;
|
|
@@ -558,17 +550,20 @@ export declare const modelCollider: {
|
|
|
558
550
|
readonly default: GPUCommandEncoder | null;
|
|
559
551
|
readonly nonPersistent: true;
|
|
560
552
|
};
|
|
553
|
+
} & {
|
|
554
|
+
readonly physicsQuery: {
|
|
555
|
+
readonly default: import("../../physics/physics-query.js").PhysicsQuery | null;
|
|
556
|
+
readonly nonPersistent: true;
|
|
557
|
+
};
|
|
561
558
|
};
|
|
562
|
-
readonly archetypes: {
|
|
563
|
-
readonly
|
|
559
|
+
readonly archetypes: {} & {
|
|
560
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
561
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
564
562
|
} & {
|
|
565
|
-
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
566
|
-
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
567
|
-
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
568
|
-
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
569
|
-
} & {} & {
|
|
570
563
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
571
564
|
} & {} & {
|
|
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"];
|
|
566
|
+
} & {
|
|
572
567
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
573
568
|
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
574
569
|
readonly StaticMesh: readonly ["localBounds"];
|
|
@@ -579,14 +574,16 @@ export declare const modelCollider: {
|
|
|
579
574
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
580
575
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
581
576
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
582
|
-
} & {} & {
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
585
|
-
|
|
577
|
+
} & {} & {} & {
|
|
578
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
579
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
580
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
581
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
582
|
+
} & {
|
|
586
583
|
readonly ModelBody: readonly ["mesh", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
587
584
|
readonly StaticModelCollider: readonly ["mesh", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
588
585
|
};
|
|
589
|
-
readonly transactions: {
|
|
586
|
+
readonly transactions: {} & {} & {} & {
|
|
590
587
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
591
588
|
readonly material: {
|
|
592
589
|
readonly type: "integer";
|
|
@@ -1480,7 +1477,7 @@ export declare const modelCollider: {
|
|
|
1480
1477
|
readonly archetype: "Material";
|
|
1481
1478
|
};
|
|
1482
1479
|
}, never>) => void;
|
|
1483
|
-
} & {
|
|
1480
|
+
} & {
|
|
1484
1481
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1485
1482
|
readonly mesh: {
|
|
1486
1483
|
readonly type: "integer";
|
|
@@ -1574,6 +1571,7 @@ export declare const modelCollider: {
|
|
|
1574
1571
|
readonly default: number;
|
|
1575
1572
|
};
|
|
1576
1573
|
readonly _worldMatrix: {
|
|
1574
|
+
readonly default: undefined;
|
|
1577
1575
|
readonly nonPersistent: true;
|
|
1578
1576
|
readonly type: "array";
|
|
1579
1577
|
readonly items: {
|
|
@@ -1583,9 +1581,9 @@ export declare const modelCollider: {
|
|
|
1583
1581
|
};
|
|
1584
1582
|
readonly minItems: 16;
|
|
1585
1583
|
readonly maxItems: 16;
|
|
1586
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1587
1584
|
};
|
|
1588
1585
|
readonly _worldBounds: {
|
|
1586
|
+
readonly default: undefined;
|
|
1589
1587
|
readonly nonPersistent: true;
|
|
1590
1588
|
readonly type: "object";
|
|
1591
1589
|
readonly properties: {
|
|
@@ -1614,10 +1612,6 @@ export declare const modelCollider: {
|
|
|
1614
1612
|
};
|
|
1615
1613
|
readonly required: readonly ["min", "max"];
|
|
1616
1614
|
readonly additionalProperties: false;
|
|
1617
|
-
readonly default: {
|
|
1618
|
-
readonly min: readonly [0, 0, 0];
|
|
1619
|
-
readonly max: readonly [0, 0, 0];
|
|
1620
|
-
};
|
|
1621
1615
|
};
|
|
1622
1616
|
} & {} & {
|
|
1623
1617
|
readonly material: {
|
|
@@ -1911,6 +1905,7 @@ export declare const modelCollider: {
|
|
|
1911
1905
|
readonly default: number;
|
|
1912
1906
|
};
|
|
1913
1907
|
readonly _worldMatrix: {
|
|
1908
|
+
readonly default: undefined;
|
|
1914
1909
|
readonly nonPersistent: true;
|
|
1915
1910
|
readonly type: "array";
|
|
1916
1911
|
readonly items: {
|
|
@@ -1920,9 +1915,9 @@ export declare const modelCollider: {
|
|
|
1920
1915
|
};
|
|
1921
1916
|
readonly minItems: 16;
|
|
1922
1917
|
readonly maxItems: 16;
|
|
1923
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1924
1918
|
};
|
|
1925
1919
|
readonly _worldBounds: {
|
|
1920
|
+
readonly default: undefined;
|
|
1926
1921
|
readonly nonPersistent: true;
|
|
1927
1922
|
readonly type: "object";
|
|
1928
1923
|
readonly properties: {
|
|
@@ -1951,10 +1946,6 @@ export declare const modelCollider: {
|
|
|
1951
1946
|
};
|
|
1952
1947
|
readonly required: readonly ["min", "max"];
|
|
1953
1948
|
readonly additionalProperties: false;
|
|
1954
|
-
readonly default: {
|
|
1955
|
-
readonly min: readonly [0, 0, 0];
|
|
1956
|
-
readonly max: readonly [0, 0, 0];
|
|
1957
|
-
};
|
|
1958
1949
|
};
|
|
1959
1950
|
} & {} & {
|
|
1960
1951
|
readonly material: {
|
|
@@ -2248,6 +2239,7 @@ export declare const modelCollider: {
|
|
|
2248
2239
|
readonly default: number;
|
|
2249
2240
|
};
|
|
2250
2241
|
readonly _worldMatrix: {
|
|
2242
|
+
readonly default: undefined;
|
|
2251
2243
|
readonly nonPersistent: true;
|
|
2252
2244
|
readonly type: "array";
|
|
2253
2245
|
readonly items: {
|
|
@@ -2257,9 +2249,9 @@ export declare const modelCollider: {
|
|
|
2257
2249
|
};
|
|
2258
2250
|
readonly minItems: 16;
|
|
2259
2251
|
readonly maxItems: 16;
|
|
2260
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2261
2252
|
};
|
|
2262
2253
|
readonly _worldBounds: {
|
|
2254
|
+
readonly default: undefined;
|
|
2263
2255
|
readonly nonPersistent: true;
|
|
2264
2256
|
readonly type: "object";
|
|
2265
2257
|
readonly properties: {
|
|
@@ -2288,10 +2280,6 @@ export declare const modelCollider: {
|
|
|
2288
2280
|
};
|
|
2289
2281
|
readonly required: readonly ["min", "max"];
|
|
2290
2282
|
readonly additionalProperties: false;
|
|
2291
|
-
readonly default: {
|
|
2292
|
-
readonly min: readonly [0, 0, 0];
|
|
2293
|
-
readonly max: readonly [0, 0, 0];
|
|
2294
|
-
};
|
|
2295
2283
|
};
|
|
2296
2284
|
} & {} & {
|
|
2297
2285
|
readonly material: {
|
|
@@ -2589,6 +2577,7 @@ export declare const modelCollider: {
|
|
|
2589
2577
|
readonly default: number;
|
|
2590
2578
|
};
|
|
2591
2579
|
readonly _worldMatrix: {
|
|
2580
|
+
readonly default: undefined;
|
|
2592
2581
|
readonly nonPersistent: true;
|
|
2593
2582
|
readonly type: "array";
|
|
2594
2583
|
readonly items: {
|
|
@@ -2598,9 +2587,9 @@ export declare const modelCollider: {
|
|
|
2598
2587
|
};
|
|
2599
2588
|
readonly minItems: 16;
|
|
2600
2589
|
readonly maxItems: 16;
|
|
2601
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2602
2590
|
};
|
|
2603
2591
|
readonly _worldBounds: {
|
|
2592
|
+
readonly default: undefined;
|
|
2604
2593
|
readonly nonPersistent: true;
|
|
2605
2594
|
readonly type: "object";
|
|
2606
2595
|
readonly properties: {
|
|
@@ -2629,10 +2618,6 @@ export declare const modelCollider: {
|
|
|
2629
2618
|
};
|
|
2630
2619
|
readonly required: readonly ["min", "max"];
|
|
2631
2620
|
readonly additionalProperties: false;
|
|
2632
|
-
readonly default: {
|
|
2633
|
-
readonly min: readonly [0, 0, 0];
|
|
2634
|
-
readonly max: readonly [0, 0, 0];
|
|
2635
|
-
};
|
|
2636
2621
|
};
|
|
2637
2622
|
} & {} & {
|
|
2638
2623
|
readonly material: {
|
|
@@ -2990,8 +2975,73 @@ export declare const modelCollider: {
|
|
|
2990
2975
|
dt: number;
|
|
2991
2976
|
observable: boolean;
|
|
2992
2977
|
}) => void;
|
|
2993
|
-
} & {} & {
|
|
2978
|
+
} & {} & {
|
|
2994
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
|
+
} & {
|
|
2995
3045
|
readonly visible: {
|
|
2996
3046
|
readonly type: "boolean";
|
|
2997
3047
|
readonly const: true;
|
|
@@ -3040,6 +3090,7 @@ export declare const modelCollider: {
|
|
|
3040
3090
|
readonly default: number;
|
|
3041
3091
|
};
|
|
3042
3092
|
readonly _worldMatrix: {
|
|
3093
|
+
readonly default: undefined;
|
|
3043
3094
|
readonly nonPersistent: true;
|
|
3044
3095
|
readonly type: "array";
|
|
3045
3096
|
readonly items: {
|
|
@@ -3049,9 +3100,9 @@ export declare const modelCollider: {
|
|
|
3049
3100
|
};
|
|
3050
3101
|
readonly minItems: 16;
|
|
3051
3102
|
readonly maxItems: 16;
|
|
3052
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3053
3103
|
};
|
|
3054
3104
|
readonly _worldBounds: {
|
|
3105
|
+
readonly default: undefined;
|
|
3055
3106
|
readonly nonPersistent: true;
|
|
3056
3107
|
readonly type: "object";
|
|
3057
3108
|
readonly properties: {
|
|
@@ -3080,10 +3131,6 @@ export declare const modelCollider: {
|
|
|
3080
3131
|
};
|
|
3081
3132
|
readonly required: readonly ["min", "max"];
|
|
3082
3133
|
readonly additionalProperties: false;
|
|
3083
|
-
readonly default: {
|
|
3084
|
-
readonly min: readonly [0, 0, 0];
|
|
3085
|
-
readonly max: readonly [0, 0, 0];
|
|
3086
|
-
};
|
|
3087
3134
|
};
|
|
3088
3135
|
} & {
|
|
3089
3136
|
readonly material: {
|
|
@@ -3339,71 +3386,6 @@ export declare const modelCollider: {
|
|
|
3339
3386
|
readonly const: true;
|
|
3340
3387
|
readonly default: true;
|
|
3341
3388
|
};
|
|
3342
|
-
} & {
|
|
3343
|
-
readonly _vertexBuffer: {
|
|
3344
|
-
readonly default: GPUBuffer | null;
|
|
3345
|
-
readonly nonPersistent: true;
|
|
3346
|
-
};
|
|
3347
|
-
readonly _skinVertexBuffer: {
|
|
3348
|
-
readonly default: GPUBuffer | null;
|
|
3349
|
-
readonly nonPersistent: true;
|
|
3350
|
-
};
|
|
3351
|
-
readonly _indexBuffer: {
|
|
3352
|
-
readonly default: GPUBuffer | null;
|
|
3353
|
-
readonly nonPersistent: true;
|
|
3354
|
-
};
|
|
3355
|
-
readonly _indexCount: {
|
|
3356
|
-
readonly nonPersistent: true;
|
|
3357
|
-
readonly type: "integer";
|
|
3358
|
-
readonly minimum: 0;
|
|
3359
|
-
readonly maximum: 4294967295;
|
|
3360
|
-
readonly default: number;
|
|
3361
|
-
};
|
|
3362
|
-
readonly _indexFormat: {
|
|
3363
|
-
readonly default: GPUIndexFormat;
|
|
3364
|
-
readonly nonPersistent: true;
|
|
3365
|
-
};
|
|
3366
|
-
readonly _materialBindGroup: {
|
|
3367
|
-
readonly default: GPUBindGroup | null;
|
|
3368
|
-
readonly nonPersistent: true;
|
|
3369
|
-
};
|
|
3370
|
-
readonly _mesh: {
|
|
3371
|
-
readonly nonPersistent: true;
|
|
3372
|
-
readonly type: "integer";
|
|
3373
|
-
readonly minimum: -2147483648;
|
|
3374
|
-
readonly maximum: 2147483647;
|
|
3375
|
-
readonly default: number;
|
|
3376
|
-
};
|
|
3377
|
-
readonly _material: {
|
|
3378
|
-
readonly nonPersistent: true;
|
|
3379
|
-
readonly type: "integer";
|
|
3380
|
-
readonly minimum: -2147483648;
|
|
3381
|
-
readonly maximum: 2147483647;
|
|
3382
|
-
readonly default: number;
|
|
3383
|
-
};
|
|
3384
|
-
readonly _nodeLocalMatrix: {
|
|
3385
|
-
readonly nonPersistent: true;
|
|
3386
|
-
readonly type: "array";
|
|
3387
|
-
readonly items: {
|
|
3388
|
-
readonly type: "number";
|
|
3389
|
-
readonly precision: 1;
|
|
3390
|
-
readonly default: number;
|
|
3391
|
-
};
|
|
3392
|
-
readonly minItems: 16;
|
|
3393
|
-
readonly maxItems: 16;
|
|
3394
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
3395
|
-
};
|
|
3396
|
-
readonly _skeletonModelRef: {
|
|
3397
|
-
readonly nonPersistent: true;
|
|
3398
|
-
readonly type: "integer";
|
|
3399
|
-
readonly minimum: -2147483648;
|
|
3400
|
-
readonly maximum: 2147483647;
|
|
3401
|
-
readonly default: number;
|
|
3402
|
-
};
|
|
3403
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3404
|
-
readonly default: GPUBindGroup | null;
|
|
3405
|
-
readonly nonPersistent: true;
|
|
3406
|
-
};
|
|
3407
3389
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3408
3390
|
readonly _gltfMeshByUrl: {
|
|
3409
3391
|
readonly default: Map<string, Entity> | null;
|
|
@@ -3428,6 +3410,9 @@ export declare const modelCollider: {
|
|
|
3428
3410
|
readonly nonPersistent: true;
|
|
3429
3411
|
};
|
|
3430
3412
|
}>, {} & {} & {
|
|
3413
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3414
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3415
|
+
} & {
|
|
3431
3416
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3432
3417
|
} & {} & {
|
|
3433
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"];
|
|
@@ -3442,10 +3427,7 @@ export declare const modelCollider: {
|
|
|
3442
3427
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3443
3428
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3444
3429
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3445
|
-
} & {} & {
|
|
3446
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3447
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3448
|
-
}, {} & {} & {
|
|
3430
|
+
} & {}, {} & {} & {} & {
|
|
3449
3431
|
readonly nodeChildrenOf: {
|
|
3450
3432
|
readonly key: "parent";
|
|
3451
3433
|
readonly archetype: "Node";
|
|
@@ -3456,9 +3438,9 @@ export declare const modelCollider: {
|
|
|
3456
3438
|
readonly unique: true;
|
|
3457
3439
|
readonly archetype: "Material";
|
|
3458
3440
|
};
|
|
3459
|
-
} & {} & {} & {} & {}
|
|
3460
|
-
} & {};
|
|
3461
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3441
|
+
} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3442
|
+
} & {} & {};
|
|
3443
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
|
|
3462
3444
|
readonly actions: {
|
|
3463
3445
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
3464
3446
|
readonly bodyType: {
|
|
@@ -3528,6 +3510,7 @@ export declare const modelCollider: {
|
|
|
3528
3510
|
readonly default: readonly [0, 0, 0];
|
|
3529
3511
|
};
|
|
3530
3512
|
readonly _prevPosition: {
|
|
3513
|
+
readonly default: undefined;
|
|
3531
3514
|
readonly nonPersistent: true;
|
|
3532
3515
|
readonly type: "array";
|
|
3533
3516
|
readonly items: {
|
|
@@ -3537,9 +3520,9 @@ export declare const modelCollider: {
|
|
|
3537
3520
|
};
|
|
3538
3521
|
readonly minItems: 3;
|
|
3539
3522
|
readonly maxItems: 3;
|
|
3540
|
-
readonly default: readonly [0, 0, 0];
|
|
3541
3523
|
};
|
|
3542
3524
|
readonly _prevRotation: {
|
|
3525
|
+
readonly default: undefined;
|
|
3543
3526
|
readonly nonPersistent: true;
|
|
3544
3527
|
readonly type: "array";
|
|
3545
3528
|
readonly items: {
|
|
@@ -3549,7 +3532,6 @@ export declare const modelCollider: {
|
|
|
3549
3532
|
};
|
|
3550
3533
|
readonly minItems: 4;
|
|
3551
3534
|
readonly maxItems: 4;
|
|
3552
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
3553
3535
|
readonly interpolators: {
|
|
3554
3536
|
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
3555
3537
|
};
|
|
@@ -4721,6 +4703,7 @@ export declare const modelCollider: {
|
|
|
4721
4703
|
readonly default: readonly [0, 0, 0];
|
|
4722
4704
|
};
|
|
4723
4705
|
readonly _prevPosition: {
|
|
4706
|
+
readonly default: undefined;
|
|
4724
4707
|
readonly nonPersistent: true;
|
|
4725
4708
|
readonly type: "array";
|
|
4726
4709
|
readonly items: {
|
|
@@ -4730,9 +4713,9 @@ export declare const modelCollider: {
|
|
|
4730
4713
|
};
|
|
4731
4714
|
readonly minItems: 3;
|
|
4732
4715
|
readonly maxItems: 3;
|
|
4733
|
-
readonly default: readonly [0, 0, 0];
|
|
4734
4716
|
};
|
|
4735
4717
|
readonly _prevRotation: {
|
|
4718
|
+
readonly default: undefined;
|
|
4736
4719
|
readonly nonPersistent: true;
|
|
4737
4720
|
readonly type: "array";
|
|
4738
4721
|
readonly items: {
|
|
@@ -4742,7 +4725,6 @@ export declare const modelCollider: {
|
|
|
4742
4725
|
};
|
|
4743
4726
|
readonly minItems: 4;
|
|
4744
4727
|
readonly maxItems: 4;
|
|
4745
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
4746
4728
|
readonly interpolators: {
|
|
4747
4729
|
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
4748
4730
|
};
|
|
@@ -5850,16 +5832,16 @@ export declare const modelCollider: {
|
|
|
5850
5832
|
};
|
|
5851
5833
|
readonly services: {};
|
|
5852
5834
|
readonly computed: {};
|
|
5853
|
-
readonly indexes: {
|
|
5835
|
+
readonly indexes: {} & {} & {
|
|
5836
|
+
readonly nodeChildrenOf: {
|
|
5837
|
+
readonly key: "parent";
|
|
5838
|
+
readonly archetype: "Node";
|
|
5839
|
+
};
|
|
5840
|
+
} & {} & {
|
|
5854
5841
|
readonly materialByName: {
|
|
5855
5842
|
readonly key: "name";
|
|
5856
5843
|
readonly unique: true;
|
|
5857
5844
|
readonly archetype: "Material";
|
|
5858
5845
|
};
|
|
5859
|
-
} & {} & {} & {
|
|
5860
|
-
readonly nodeChildrenOf: {
|
|
5861
|
-
readonly key: "parent";
|
|
5862
|
-
readonly archetype: "Node";
|
|
5863
|
-
};
|
|
5864
|
-
} & {} & {} & {} & {} & {} & {} & {} & {};
|
|
5846
|
+
} & {} & {} & {} & {} & {} & {} & {};
|
|
5865
5847
|
};
|