@adobe/data-gpu 0.9.69 → 0.9.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/core-plugin.d.ts +4 -4
- package/dist/core/core-plugin.js +2 -2
- package/dist/core/core-plugin.js.map +1 -1
- package/dist/core/frame-time/frame-time-plugin.d.ts +1 -1
- package/dist/core/frame-time/frame-time-plugin.js +1 -1
- package/dist/core/frame-time/frame-time-plugin.js.map +1 -1
- package/dist/graphics/animation/animation-plugin.d.ts +3 -3
- package/dist/graphics/camera/camera-plugin.d.ts +21 -21
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +51 -51
- package/dist/graphics/graphics-plugin.d.ts +21 -21
- package/dist/graphics/graphics-plugin.js +7 -7
- package/dist/graphics/graphics-plugin.js.map +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +622 -622
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +260 -260
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +103 -103
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +4 -4
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/interpolation-plugin.d.ts +133 -133
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +208 -208
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +7 -7
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +3 -3
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +126 -126
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +106 -106
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +261 -261
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js +1 -1
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js.map +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +156 -156
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +126 -126
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +125 -125
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +1 -1
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +121 -121
- package/dist/graphics/scene/scene-plugin.d.ts +36 -36
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +34 -34
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js +1 -1
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js.map +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +9 -9
- package/dist/physics/physics-clock-plugin.js +1 -1
- package/dist/physics/physics-clock-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +38 -38
- package/dist/physics/solvers/jolt-solver-plugin.js +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +37 -37
- package/package.json +2 -2
- package/src/core/core-plugin.ts +2 -2
- package/src/core/frame-time/frame-time-plugin.ts +1 -1
- package/src/graphics/graphics-plugin.ts +7 -7
- package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +4 -4
- package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +3 -3
- package/src/graphics/rendering/ragdoll-trigger-plugin.ts +1 -1
- package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +1 -1
- package/src/graphics/scene/scene-uniforms/scene-uniforms-plugin.ts +1 -1
- package/src/physics/physics-clock-plugin.ts +1 -1
- package/src/physics/solvers/jolt-solver-plugin.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -17,7 +17,7 @@ import { uploadShapeMesh } from "./upload-shape-mesh.js";
|
|
|
17
17
|
export const shapeGeometry = Database.Plugin.create({
|
|
18
18
|
extends: Database.Plugin.combine(pbrCore, model, core),
|
|
19
19
|
resources: {
|
|
20
|
-
_shapeGeometry: { default: null,
|
|
20
|
+
_shapeGeometry: { default: null, nonPersistent: true },
|
|
21
21
|
},
|
|
22
22
|
transactions: {
|
|
23
23
|
insertShapePrimitive(t, args) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-geometry-plugin.js","sourceRoot":"","sources":["../../../../../src/graphics/scene/model/shape/shape-geometry-plugin.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAe,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC;IACtD,SAAS,EAAE;QACP,cAAc,EAAE,EAAE,OAAO,EAAE,IAA+C,EAAE,
|
|
1
|
+
{"version":3,"file":"shape-geometry-plugin.js","sourceRoot":"","sources":["../../../../../src/graphics/scene/model/shape/shape-geometry-plugin.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAe,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC;IACtD,SAAS,EAAE;QACP,cAAc,EAAE,EAAE,OAAO,EAAE,IAA+C,EAAE,aAAa,EAAE,IAAI,EAAE;KACpG;IACD,YAAY,EAAE;QACV,oBAAoB,CAAC,CAAC,EAAE,IAA6E;YACjG,MAAM,QAAQ,GAAG,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;YAChE,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;gBAC9B,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,QAAQ;gBACnB,SAAS,EAAE,CAAC,EAAkB,mDAAmD;gBACjF,aAAa,EAAE,IAAI,CAAC,YAAY;gBAChC,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI,CAAC,WAAW;gBAC9B,WAAW,EAAE,IAAI,CAAC,UAAU;gBAC5B,YAAY,EAAE,QAAQ;gBACtB,gBAAgB,EAAE,MAAM,CAAC,QAAQ;aACpC,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC;QACpB,CAAC;KACJ;IACD,OAAO,EAAE;QACL,iBAAiB,EAAE;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,WAAW,CAAC,EAAE;YACnC,MAAM,EAAE,EAAE,CAAC,EAAE;gBACT,IAAI,IAAI,GAAG,KAAK,CAAC;gBACjB,OAAO,GAAG,EAAE;oBACR,IAAI,IAAI;wBAAE,OAAO;oBACjB,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;oBACtC,IAAI,CAAC,MAAM;wBAAE,OAAO;oBAEpB,MAAM,CAAC,GAAG,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;oBAChD,MAAM,CAAC,GAAG,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;oBAC9C,MAAM,MAAM,GAAG,EAAE,CAAC,YAAY,CAAC,oBAAoB,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;oBACpH,MAAM,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,oBAAoB,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;oBAClH,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;oBACrD,IAAI,GAAG,IAAI,CAAC;gBAChB,CAAC,CAAC;YACN,CAAC;SACJ;KACJ;CACJ,CAAC,CAAC"}
|
|
@@ -114,55 +114,6 @@ export declare const worldBounds: {
|
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
} & {} & {
|
|
117
|
-
readonly modelUrl: {
|
|
118
|
-
readonly type: "string";
|
|
119
|
-
};
|
|
120
|
-
readonly geometry: {
|
|
121
|
-
readonly type: "integer";
|
|
122
|
-
readonly minimum: -2147483648;
|
|
123
|
-
readonly maximum: 2147483647;
|
|
124
|
-
readonly default: number;
|
|
125
|
-
};
|
|
126
|
-
} & {
|
|
127
|
-
readonly animationClipTracks: {
|
|
128
|
-
readonly default: import("../../animation/animation-track/public.js")[];
|
|
129
|
-
};
|
|
130
|
-
readonly animationClipDuration: {
|
|
131
|
-
readonly type: "number";
|
|
132
|
-
readonly precision: 2;
|
|
133
|
-
readonly default: number;
|
|
134
|
-
};
|
|
135
|
-
readonly animationClipRef: {
|
|
136
|
-
readonly type: "integer";
|
|
137
|
-
readonly minimum: -2147483648;
|
|
138
|
-
readonly maximum: 2147483647;
|
|
139
|
-
readonly default: number;
|
|
140
|
-
};
|
|
141
|
-
readonly animationTargets: {
|
|
142
|
-
readonly default: number[];
|
|
143
|
-
};
|
|
144
|
-
readonly animationTime: {
|
|
145
|
-
readonly type: "number";
|
|
146
|
-
readonly precision: 2;
|
|
147
|
-
readonly default: number;
|
|
148
|
-
};
|
|
149
|
-
readonly animationSpeed: {
|
|
150
|
-
readonly default: 1;
|
|
151
|
-
readonly type: "number";
|
|
152
|
-
readonly precision: 1;
|
|
153
|
-
};
|
|
154
|
-
readonly animationLoop: {
|
|
155
|
-
readonly type: "boolean";
|
|
156
|
-
};
|
|
157
|
-
readonly animationPlaying: {
|
|
158
|
-
readonly type: "boolean";
|
|
159
|
-
};
|
|
160
|
-
readonly animationObservable: {
|
|
161
|
-
readonly type: "boolean";
|
|
162
|
-
readonly const: true;
|
|
163
|
-
readonly default: true;
|
|
164
|
-
};
|
|
165
|
-
} & {
|
|
166
117
|
readonly _vertexBuffer: {
|
|
167
118
|
readonly default: GPUBuffer | null;
|
|
168
119
|
};
|
|
@@ -216,6 +167,55 @@ export declare const worldBounds: {
|
|
|
216
167
|
readonly _skeletonJointMatrixBindGroup: {
|
|
217
168
|
readonly default: GPUBindGroup | null;
|
|
218
169
|
};
|
|
170
|
+
} & {
|
|
171
|
+
readonly modelUrl: {
|
|
172
|
+
readonly type: "string";
|
|
173
|
+
};
|
|
174
|
+
readonly geometry: {
|
|
175
|
+
readonly type: "integer";
|
|
176
|
+
readonly minimum: -2147483648;
|
|
177
|
+
readonly maximum: 2147483647;
|
|
178
|
+
readonly default: number;
|
|
179
|
+
};
|
|
180
|
+
} & {
|
|
181
|
+
readonly animationClipTracks: {
|
|
182
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
183
|
+
};
|
|
184
|
+
readonly animationClipDuration: {
|
|
185
|
+
readonly type: "number";
|
|
186
|
+
readonly precision: 2;
|
|
187
|
+
readonly default: number;
|
|
188
|
+
};
|
|
189
|
+
readonly animationClipRef: {
|
|
190
|
+
readonly type: "integer";
|
|
191
|
+
readonly minimum: -2147483648;
|
|
192
|
+
readonly maximum: 2147483647;
|
|
193
|
+
readonly default: number;
|
|
194
|
+
};
|
|
195
|
+
readonly animationTargets: {
|
|
196
|
+
readonly default: number[];
|
|
197
|
+
};
|
|
198
|
+
readonly animationTime: {
|
|
199
|
+
readonly type: "number";
|
|
200
|
+
readonly precision: 2;
|
|
201
|
+
readonly default: number;
|
|
202
|
+
};
|
|
203
|
+
readonly animationSpeed: {
|
|
204
|
+
readonly default: 1;
|
|
205
|
+
readonly type: "number";
|
|
206
|
+
readonly precision: 1;
|
|
207
|
+
};
|
|
208
|
+
readonly animationLoop: {
|
|
209
|
+
readonly type: "boolean";
|
|
210
|
+
};
|
|
211
|
+
readonly animationPlaying: {
|
|
212
|
+
readonly type: "boolean";
|
|
213
|
+
};
|
|
214
|
+
readonly animationObservable: {
|
|
215
|
+
readonly type: "boolean";
|
|
216
|
+
readonly const: true;
|
|
217
|
+
readonly default: true;
|
|
218
|
+
};
|
|
219
219
|
} & {
|
|
220
220
|
readonly _bounds: {
|
|
221
221
|
readonly default: Aabb | null;
|
|
@@ -246,7 +246,7 @@ export declare const worldBounds: {
|
|
|
246
246
|
readonly resources: {} & {
|
|
247
247
|
readonly frameTime: {
|
|
248
248
|
readonly default: import("../../../core/frame-time/public.js");
|
|
249
|
-
readonly
|
|
249
|
+
readonly nonPersistent: true;
|
|
250
250
|
};
|
|
251
251
|
} & {
|
|
252
252
|
readonly schedulerState: {
|
|
@@ -255,27 +255,27 @@ export declare const worldBounds: {
|
|
|
255
255
|
} & {
|
|
256
256
|
readonly device: {
|
|
257
257
|
readonly default: GPUDevice | null;
|
|
258
|
-
readonly
|
|
258
|
+
readonly nonPersistent: true;
|
|
259
259
|
};
|
|
260
260
|
readonly commandEncoder: {
|
|
261
261
|
readonly default: GPUCommandEncoder | null;
|
|
262
|
-
readonly
|
|
262
|
+
readonly nonPersistent: true;
|
|
263
263
|
};
|
|
264
264
|
};
|
|
265
265
|
readonly archetypes: {
|
|
266
266
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
267
267
|
} & {} & {} & {
|
|
268
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
269
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
270
|
+
} & {
|
|
268
271
|
readonly Geometry: readonly ["modelUrl"];
|
|
269
272
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
270
273
|
} & {
|
|
271
274
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
272
275
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
273
276
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
274
|
-
} & {} & {
|
|
275
|
-
|
|
276
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
277
|
-
} & {} & {};
|
|
278
|
-
readonly transactions: {} & {} & {
|
|
277
|
+
} & {} & {} & {};
|
|
278
|
+
readonly transactions: {} & {} & {} & {} & {} & {
|
|
279
279
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
280
280
|
readonly modelUrl: {
|
|
281
281
|
readonly type: "string";
|
|
@@ -500,7 +500,7 @@ export declare const worldBounds: {
|
|
|
500
500
|
scale?: Vec3;
|
|
501
501
|
parent?: number;
|
|
502
502
|
}) => number;
|
|
503
|
-
} & {} & {
|
|
503
|
+
} & {} & {
|
|
504
504
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
505
505
|
readonly animationClipTracks: {
|
|
506
506
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -647,7 +647,7 @@ export declare const worldBounds: {
|
|
|
647
647
|
dt: number;
|
|
648
648
|
observable: boolean;
|
|
649
649
|
}) => void;
|
|
650
|
-
} & {} & {
|
|
650
|
+
} & {} & {
|
|
651
651
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
652
652
|
readonly _bounds: {
|
|
653
653
|
readonly default: Aabb | null;
|
|
@@ -675,6 +675,60 @@ export declare const worldBounds: {
|
|
|
675
675
|
} | null;
|
|
676
676
|
};
|
|
677
677
|
} & {} & {
|
|
678
|
+
readonly _vertexBuffer: {
|
|
679
|
+
readonly default: GPUBuffer | null;
|
|
680
|
+
};
|
|
681
|
+
readonly _skinVertexBuffer: {
|
|
682
|
+
readonly default: GPUBuffer | null;
|
|
683
|
+
};
|
|
684
|
+
readonly _indexBuffer: {
|
|
685
|
+
readonly default: GPUBuffer | null;
|
|
686
|
+
};
|
|
687
|
+
readonly _indexCount: {
|
|
688
|
+
readonly type: "integer";
|
|
689
|
+
readonly minimum: 0;
|
|
690
|
+
readonly maximum: 4294967295;
|
|
691
|
+
readonly default: number;
|
|
692
|
+
};
|
|
693
|
+
readonly _indexFormat: {
|
|
694
|
+
readonly default: GPUIndexFormat;
|
|
695
|
+
};
|
|
696
|
+
readonly _materialBindGroup: {
|
|
697
|
+
readonly default: GPUBindGroup | null;
|
|
698
|
+
};
|
|
699
|
+
readonly _geometry: {
|
|
700
|
+
readonly type: "integer";
|
|
701
|
+
readonly minimum: -2147483648;
|
|
702
|
+
readonly maximum: 2147483647;
|
|
703
|
+
readonly default: number;
|
|
704
|
+
};
|
|
705
|
+
readonly _material: {
|
|
706
|
+
readonly type: "integer";
|
|
707
|
+
readonly minimum: -2147483648;
|
|
708
|
+
readonly maximum: 2147483647;
|
|
709
|
+
readonly default: number;
|
|
710
|
+
};
|
|
711
|
+
readonly _nodeLocalMatrix: {
|
|
712
|
+
readonly type: "array";
|
|
713
|
+
readonly items: {
|
|
714
|
+
readonly type: "number";
|
|
715
|
+
readonly precision: 1;
|
|
716
|
+
readonly default: number;
|
|
717
|
+
};
|
|
718
|
+
readonly minItems: 16;
|
|
719
|
+
readonly maxItems: 16;
|
|
720
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
721
|
+
};
|
|
722
|
+
readonly _skeletonModelRef: {
|
|
723
|
+
readonly type: "integer";
|
|
724
|
+
readonly minimum: -2147483648;
|
|
725
|
+
readonly maximum: 2147483647;
|
|
726
|
+
readonly default: number;
|
|
727
|
+
};
|
|
728
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
729
|
+
readonly default: GPUBindGroup | null;
|
|
730
|
+
};
|
|
731
|
+
} & {
|
|
678
732
|
readonly visible: {
|
|
679
733
|
readonly type: "boolean";
|
|
680
734
|
readonly const: true;
|
|
@@ -815,64 +869,10 @@ export declare const worldBounds: {
|
|
|
815
869
|
readonly const: true;
|
|
816
870
|
readonly default: true;
|
|
817
871
|
};
|
|
818
|
-
} & {
|
|
819
|
-
readonly _vertexBuffer: {
|
|
820
|
-
readonly default: GPUBuffer | null;
|
|
821
|
-
};
|
|
822
|
-
readonly _skinVertexBuffer: {
|
|
823
|
-
readonly default: GPUBuffer | null;
|
|
824
|
-
};
|
|
825
|
-
readonly _indexBuffer: {
|
|
826
|
-
readonly default: GPUBuffer | null;
|
|
827
|
-
};
|
|
828
|
-
readonly _indexCount: {
|
|
829
|
-
readonly type: "integer";
|
|
830
|
-
readonly minimum: 0;
|
|
831
|
-
readonly maximum: 4294967295;
|
|
832
|
-
readonly default: number;
|
|
833
|
-
};
|
|
834
|
-
readonly _indexFormat: {
|
|
835
|
-
readonly default: GPUIndexFormat;
|
|
836
|
-
};
|
|
837
|
-
readonly _materialBindGroup: {
|
|
838
|
-
readonly default: GPUBindGroup | null;
|
|
839
|
-
};
|
|
840
|
-
readonly _geometry: {
|
|
841
|
-
readonly type: "integer";
|
|
842
|
-
readonly minimum: -2147483648;
|
|
843
|
-
readonly maximum: 2147483647;
|
|
844
|
-
readonly default: number;
|
|
845
|
-
};
|
|
846
|
-
readonly _material: {
|
|
847
|
-
readonly type: "integer";
|
|
848
|
-
readonly minimum: -2147483648;
|
|
849
|
-
readonly maximum: 2147483647;
|
|
850
|
-
readonly default: number;
|
|
851
|
-
};
|
|
852
|
-
readonly _nodeLocalMatrix: {
|
|
853
|
-
readonly type: "array";
|
|
854
|
-
readonly items: {
|
|
855
|
-
readonly type: "number";
|
|
856
|
-
readonly precision: 1;
|
|
857
|
-
readonly default: number;
|
|
858
|
-
};
|
|
859
|
-
readonly minItems: 16;
|
|
860
|
-
readonly maxItems: 16;
|
|
861
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
862
|
-
};
|
|
863
|
-
readonly _skeletonModelRef: {
|
|
864
|
-
readonly type: "integer";
|
|
865
|
-
readonly minimum: -2147483648;
|
|
866
|
-
readonly maximum: 2147483647;
|
|
867
|
-
readonly default: number;
|
|
868
|
-
};
|
|
869
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
870
|
-
readonly default: GPUBindGroup | null;
|
|
871
|
-
};
|
|
872
872
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
873
873
|
readonly frameTime: {
|
|
874
874
|
readonly default: import("../../../core/frame-time/public.js");
|
|
875
|
-
readonly
|
|
875
|
+
readonly nonPersistent: true;
|
|
876
876
|
};
|
|
877
877
|
} & {
|
|
878
878
|
readonly schedulerState: {
|
|
@@ -881,13 +881,16 @@ export declare const worldBounds: {
|
|
|
881
881
|
} & {
|
|
882
882
|
readonly device: {
|
|
883
883
|
readonly default: GPUDevice | null;
|
|
884
|
-
readonly
|
|
884
|
+
readonly nonPersistent: true;
|
|
885
885
|
};
|
|
886
886
|
readonly commandEncoder: {
|
|
887
887
|
readonly default: GPUCommandEncoder | null;
|
|
888
|
-
readonly
|
|
888
|
+
readonly nonPersistent: true;
|
|
889
889
|
};
|
|
890
890
|
}>, {} & {} & {
|
|
891
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
892
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
893
|
+
} & {
|
|
891
894
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
892
895
|
} & {} & {
|
|
893
896
|
readonly Geometry: readonly ["modelUrl"];
|
|
@@ -896,12 +899,9 @@ export declare const worldBounds: {
|
|
|
896
899
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
897
900
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
898
901
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
899
|
-
} & {} & {
|
|
900
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
901
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
902
|
-
}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
902
|
+
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
903
903
|
} & {};
|
|
904
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
904
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
|
|
905
905
|
readonly actions: {};
|
|
906
906
|
readonly services: {};
|
|
907
907
|
readonly computed: {};
|
|
@@ -11,7 +11,7 @@ import { Database } from "@adobe/data/ecs";
|
|
|
11
11
|
* Add a camera controller (e.g. `Orbit.plugin`), animation, and a renderer
|
|
12
12
|
* (`pbrIblRender`) to get a working interactive scene.
|
|
13
13
|
*/
|
|
14
|
-
export declare const scene: Database.Plugin<{
|
|
14
|
+
export declare const scene: Database.Plugin<{} & {
|
|
15
15
|
readonly visible: {
|
|
16
16
|
readonly type: "boolean";
|
|
17
17
|
readonly const: true;
|
|
@@ -103,7 +103,7 @@ export declare const scene: Database.Plugin<{
|
|
|
103
103
|
readonly max: readonly [0, 0, 0];
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
} & {
|
|
106
|
+
} & {
|
|
107
107
|
readonly modelUrl: {
|
|
108
108
|
readonly type: "string";
|
|
109
109
|
};
|
|
@@ -114,13 +114,9 @@ export declare const scene: Database.Plugin<{
|
|
|
114
114
|
readonly default: number;
|
|
115
115
|
};
|
|
116
116
|
}, {} & {
|
|
117
|
-
readonly light: {
|
|
118
|
-
readonly default: import("./light/public.js");
|
|
119
|
-
};
|
|
120
|
-
} & {
|
|
121
117
|
readonly frameTime: {
|
|
122
118
|
readonly default: import("../../core/frame-time/public.js");
|
|
123
|
-
readonly
|
|
119
|
+
readonly nonPersistent: true;
|
|
124
120
|
};
|
|
125
121
|
} & {
|
|
126
122
|
readonly schedulerState: {
|
|
@@ -129,53 +125,57 @@ export declare const scene: Database.Plugin<{
|
|
|
129
125
|
} & {
|
|
130
126
|
readonly device: {
|
|
131
127
|
readonly default: GPUDevice | null;
|
|
132
|
-
readonly
|
|
128
|
+
readonly nonPersistent: true;
|
|
133
129
|
};
|
|
134
130
|
readonly commandEncoder: {
|
|
135
131
|
readonly default: GPUCommandEncoder | null;
|
|
136
|
-
readonly
|
|
132
|
+
readonly nonPersistent: true;
|
|
137
133
|
};
|
|
138
134
|
} & {
|
|
139
135
|
readonly renderPassEncoder: {
|
|
140
136
|
readonly default: GPURenderPassEncoder | null;
|
|
141
|
-
readonly
|
|
137
|
+
readonly nonPersistent: true;
|
|
142
138
|
};
|
|
143
139
|
readonly depthTexture: {
|
|
144
140
|
readonly default: GPUTexture | null;
|
|
145
|
-
readonly
|
|
141
|
+
readonly nonPersistent: true;
|
|
146
142
|
};
|
|
147
143
|
readonly clearColor: {
|
|
148
144
|
readonly default: readonly [number, number, number, number];
|
|
149
|
-
readonly
|
|
145
|
+
readonly nonPersistent: true;
|
|
150
146
|
};
|
|
151
147
|
readonly canvas: {
|
|
152
148
|
readonly default: HTMLCanvasElement | null;
|
|
153
|
-
readonly
|
|
149
|
+
readonly nonPersistent: true;
|
|
154
150
|
};
|
|
155
151
|
readonly canvasContext: {
|
|
156
152
|
readonly default: GPUCanvasContext | null;
|
|
157
|
-
readonly
|
|
153
|
+
readonly nonPersistent: true;
|
|
158
154
|
};
|
|
159
155
|
readonly canvasFormat: {
|
|
160
156
|
readonly default: GPUTextureFormat;
|
|
161
|
-
readonly
|
|
157
|
+
readonly nonPersistent: true;
|
|
162
158
|
};
|
|
163
159
|
readonly depthFormat: {
|
|
164
160
|
readonly default: GPUTextureFormat;
|
|
165
|
-
readonly
|
|
161
|
+
readonly nonPersistent: true;
|
|
166
162
|
};
|
|
167
163
|
} & {
|
|
168
164
|
readonly camera: {
|
|
169
165
|
readonly default: import("../camera/public.js");
|
|
170
166
|
};
|
|
167
|
+
} & {
|
|
168
|
+
readonly light: {
|
|
169
|
+
readonly default: import("./light/public.js");
|
|
170
|
+
};
|
|
171
171
|
} & {
|
|
172
172
|
readonly _sceneUniformsBuffer: {
|
|
173
173
|
readonly default: GPUBuffer | null;
|
|
174
|
-
readonly
|
|
174
|
+
readonly nonPersistent: true;
|
|
175
175
|
};
|
|
176
|
-
}, {
|
|
176
|
+
}, {} & {
|
|
177
177
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
178
|
-
} & {} & {
|
|
178
|
+
} & {} & {
|
|
179
179
|
readonly Geometry: readonly ["modelUrl"];
|
|
180
180
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
181
181
|
}, {} & {} & {
|
|
@@ -403,46 +403,40 @@ export declare const scene: Database.Plugin<{
|
|
|
403
403
|
scale?: readonly [number, number, number];
|
|
404
404
|
parent?: number;
|
|
405
405
|
}) => number;
|
|
406
|
-
} & {
|
|
407
|
-
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
408
|
-
readonly light: {
|
|
409
|
-
readonly default: import("./light/public.js");
|
|
410
|
-
};
|
|
411
|
-
}>, {}, {}>, args: Partial<import("./light/public.js")>) => void;
|
|
412
406
|
} & {} & {} & {
|
|
413
407
|
readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
414
408
|
readonly renderPassEncoder: {
|
|
415
409
|
readonly default: GPURenderPassEncoder | null;
|
|
416
|
-
readonly
|
|
410
|
+
readonly nonPersistent: true;
|
|
417
411
|
};
|
|
418
412
|
readonly depthTexture: {
|
|
419
413
|
readonly default: GPUTexture | null;
|
|
420
|
-
readonly
|
|
414
|
+
readonly nonPersistent: true;
|
|
421
415
|
};
|
|
422
416
|
readonly clearColor: {
|
|
423
417
|
readonly default: readonly [number, number, number, number];
|
|
424
|
-
readonly
|
|
418
|
+
readonly nonPersistent: true;
|
|
425
419
|
};
|
|
426
420
|
readonly canvas: {
|
|
427
421
|
readonly default: HTMLCanvasElement | null;
|
|
428
|
-
readonly
|
|
422
|
+
readonly nonPersistent: true;
|
|
429
423
|
};
|
|
430
424
|
readonly canvasContext: {
|
|
431
425
|
readonly default: GPUCanvasContext | null;
|
|
432
|
-
readonly
|
|
426
|
+
readonly nonPersistent: true;
|
|
433
427
|
};
|
|
434
428
|
readonly canvasFormat: {
|
|
435
429
|
readonly default: GPUTextureFormat;
|
|
436
|
-
readonly
|
|
430
|
+
readonly nonPersistent: true;
|
|
437
431
|
};
|
|
438
432
|
readonly depthFormat: {
|
|
439
433
|
readonly default: GPUTextureFormat;
|
|
440
|
-
readonly
|
|
434
|
+
readonly nonPersistent: true;
|
|
441
435
|
};
|
|
442
436
|
} & {
|
|
443
437
|
readonly frameTime: {
|
|
444
438
|
readonly default: import("../../core/frame-time/public.js");
|
|
445
|
-
readonly
|
|
439
|
+
readonly nonPersistent: true;
|
|
446
440
|
};
|
|
447
441
|
} & {
|
|
448
442
|
readonly schedulerState: {
|
|
@@ -451,11 +445,17 @@ export declare const scene: Database.Plugin<{
|
|
|
451
445
|
} & {
|
|
452
446
|
readonly device: {
|
|
453
447
|
readonly default: GPUDevice | null;
|
|
454
|
-
readonly
|
|
448
|
+
readonly nonPersistent: true;
|
|
455
449
|
};
|
|
456
450
|
readonly commandEncoder: {
|
|
457
451
|
readonly default: GPUCommandEncoder | null;
|
|
458
|
-
readonly
|
|
452
|
+
readonly nonPersistent: true;
|
|
459
453
|
};
|
|
460
454
|
}>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
|
|
461
|
-
} & {} & {
|
|
455
|
+
} & {} & {
|
|
456
|
+
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
457
|
+
readonly light: {
|
|
458
|
+
readonly default: import("./light/public.js");
|
|
459
|
+
};
|
|
460
|
+
}>, {}, {}>, args: Partial<import("./light/public.js")>) => void;
|
|
461
|
+
} & {}, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "transformCreateWorldMatrix" | "transformSystem", {}, {}, {}, {} & {} & {} & {}>;
|