@adobe/data-gpu 0.9.96 → 0.9.98
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/graphics/picking/picking-plugin.d.ts +774 -753
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +206 -199
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +142 -136
- package/dist/graphics/rendering/interpolation-plugin.d.ts +34 -34
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +197 -190
- package/dist/graphics/rendering/model-collider-plugin.d.ts +149 -143
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +152 -146
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +169 -162
- package/dist/graphics/scene/model/mesh-plugin.d.ts +10 -0
- package/dist/graphics/scene/model/mesh-plugin.js +1 -1
- package/dist/graphics/scene/model/mesh-plugin.js.map +1 -1
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +149 -143
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +71 -70
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +149 -143
- package/dist/graphics/scene/scene-plugin.d.ts +5 -0
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +2 -2
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +2 -2
- package/package.json +2 -2
- package/src/graphics/scene/model/mesh-plugin.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -97,6 +97,47 @@ export declare const pbrSkinning: {
|
|
|
97
97
|
readonly additionalProperties: false;
|
|
98
98
|
};
|
|
99
99
|
} & {} & {
|
|
100
|
+
readonly animationClipTracks: {
|
|
101
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
102
|
+
};
|
|
103
|
+
readonly animationClipDuration: {
|
|
104
|
+
readonly type: "number";
|
|
105
|
+
readonly precision: 2;
|
|
106
|
+
readonly default: number;
|
|
107
|
+
};
|
|
108
|
+
readonly animationClipRef: {
|
|
109
|
+
readonly type: "integer";
|
|
110
|
+
readonly minimum: -2147483648;
|
|
111
|
+
readonly maximum: 2147483647;
|
|
112
|
+
readonly default: number;
|
|
113
|
+
};
|
|
114
|
+
readonly animationTargets: {
|
|
115
|
+
readonly default: Entity[];
|
|
116
|
+
};
|
|
117
|
+
readonly animationTime: {
|
|
118
|
+
readonly type: "number";
|
|
119
|
+
readonly precision: 2;
|
|
120
|
+
readonly default: number;
|
|
121
|
+
};
|
|
122
|
+
readonly animationSpeed: {
|
|
123
|
+
readonly default: 1;
|
|
124
|
+
readonly type: "number";
|
|
125
|
+
readonly precision: 1;
|
|
126
|
+
};
|
|
127
|
+
readonly animationLoop: {
|
|
128
|
+
readonly type: "boolean";
|
|
129
|
+
readonly default: boolean;
|
|
130
|
+
};
|
|
131
|
+
readonly animationPlaying: {
|
|
132
|
+
readonly type: "boolean";
|
|
133
|
+
readonly default: boolean;
|
|
134
|
+
};
|
|
135
|
+
readonly animationObservable: {
|
|
136
|
+
readonly type: "boolean";
|
|
137
|
+
readonly const: true;
|
|
138
|
+
readonly default: true;
|
|
139
|
+
};
|
|
140
|
+
} & {
|
|
100
141
|
readonly _vertexBuffer: {
|
|
101
142
|
readonly default: GPUBuffer | null;
|
|
102
143
|
readonly nonPersistent: true;
|
|
@@ -161,47 +202,6 @@ export declare const pbrSkinning: {
|
|
|
161
202
|
readonly default: GPUBindGroup | null;
|
|
162
203
|
readonly nonPersistent: true;
|
|
163
204
|
};
|
|
164
|
-
} & {
|
|
165
|
-
readonly animationClipTracks: {
|
|
166
|
-
readonly default: import("../../animation/animation-track/public.js")[];
|
|
167
|
-
};
|
|
168
|
-
readonly animationClipDuration: {
|
|
169
|
-
readonly type: "number";
|
|
170
|
-
readonly precision: 2;
|
|
171
|
-
readonly default: number;
|
|
172
|
-
};
|
|
173
|
-
readonly animationClipRef: {
|
|
174
|
-
readonly type: "integer";
|
|
175
|
-
readonly minimum: -2147483648;
|
|
176
|
-
readonly maximum: 2147483647;
|
|
177
|
-
readonly default: number;
|
|
178
|
-
};
|
|
179
|
-
readonly animationTargets: {
|
|
180
|
-
readonly default: Entity[];
|
|
181
|
-
};
|
|
182
|
-
readonly animationTime: {
|
|
183
|
-
readonly type: "number";
|
|
184
|
-
readonly precision: 2;
|
|
185
|
-
readonly default: number;
|
|
186
|
-
};
|
|
187
|
-
readonly animationSpeed: {
|
|
188
|
-
readonly default: 1;
|
|
189
|
-
readonly type: "number";
|
|
190
|
-
readonly precision: 1;
|
|
191
|
-
};
|
|
192
|
-
readonly animationLoop: {
|
|
193
|
-
readonly type: "boolean";
|
|
194
|
-
readonly default: boolean;
|
|
195
|
-
};
|
|
196
|
-
readonly animationPlaying: {
|
|
197
|
-
readonly type: "boolean";
|
|
198
|
-
readonly default: boolean;
|
|
199
|
-
};
|
|
200
|
-
readonly animationObservable: {
|
|
201
|
-
readonly type: "boolean";
|
|
202
|
-
readonly const: true;
|
|
203
|
-
readonly default: true;
|
|
204
|
-
};
|
|
205
205
|
} & {
|
|
206
206
|
readonly material: {
|
|
207
207
|
readonly type: "integer";
|
|
@@ -445,6 +445,7 @@ export declare const pbrSkinning: {
|
|
|
445
445
|
readonly _gltfMeshByUrl: {
|
|
446
446
|
readonly default: Map<string, Entity> | null;
|
|
447
447
|
readonly nonPersistent: true;
|
|
448
|
+
readonly mutable: true;
|
|
448
449
|
};
|
|
449
450
|
} & {
|
|
450
451
|
readonly schedulerState: {
|
|
@@ -462,14 +463,14 @@ export declare const pbrSkinning: {
|
|
|
462
463
|
};
|
|
463
464
|
readonly archetypes: {
|
|
464
465
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
465
|
-
} & {} & {
|
|
466
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
467
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
468
|
-
} & {} & {
|
|
466
|
+
} & {} & {} & {
|
|
469
467
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
470
468
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
471
469
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
472
470
|
} & {} & {
|
|
471
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
472
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
473
|
+
} & {
|
|
473
474
|
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"];
|
|
474
475
|
} & {
|
|
475
476
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -481,7 +482,7 @@ export declare const pbrSkinning: {
|
|
|
481
482
|
} & {} & {
|
|
482
483
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
483
484
|
};
|
|
484
|
-
readonly transactions: {} & {} & {} & {} & {
|
|
485
|
+
readonly transactions: {} & {} & {} & {} & {
|
|
485
486
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
486
487
|
readonly animationClipTracks: {
|
|
487
488
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -634,7 +635,7 @@ export declare const pbrSkinning: {
|
|
|
634
635
|
dt: number;
|
|
635
636
|
observable: boolean;
|
|
636
637
|
}) => void;
|
|
637
|
-
} & {} & {
|
|
638
|
+
} & {} & {} & {
|
|
638
639
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
639
640
|
readonly material: {
|
|
640
641
|
readonly type: "integer";
|
|
@@ -1837,6 +1838,7 @@ export declare const pbrSkinning: {
|
|
|
1837
1838
|
readonly _gltfMeshByUrl: {
|
|
1838
1839
|
readonly default: Map<string, Entity> | null;
|
|
1839
1840
|
readonly nonPersistent: true;
|
|
1841
|
+
readonly mutable: true;
|
|
1840
1842
|
};
|
|
1841
1843
|
} & {}>, {
|
|
1842
1844
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2171,6 +2173,7 @@ export declare const pbrSkinning: {
|
|
|
2171
2173
|
readonly _gltfMeshByUrl: {
|
|
2172
2174
|
readonly default: Map<string, Entity> | null;
|
|
2173
2175
|
readonly nonPersistent: true;
|
|
2176
|
+
readonly mutable: true;
|
|
2174
2177
|
};
|
|
2175
2178
|
} & {}>, {
|
|
2176
2179
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2505,6 +2508,7 @@ export declare const pbrSkinning: {
|
|
|
2505
2508
|
readonly _gltfMeshByUrl: {
|
|
2506
2509
|
readonly default: Map<string, Entity> | null;
|
|
2507
2510
|
readonly nonPersistent: true;
|
|
2511
|
+
readonly mutable: true;
|
|
2508
2512
|
};
|
|
2509
2513
|
} & {}>, {
|
|
2510
2514
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2843,6 +2847,7 @@ export declare const pbrSkinning: {
|
|
|
2843
2847
|
readonly _gltfMeshByUrl: {
|
|
2844
2848
|
readonly default: Map<string, Entity> | null;
|
|
2845
2849
|
readonly nonPersistent: true;
|
|
2850
|
+
readonly mutable: true;
|
|
2846
2851
|
};
|
|
2847
2852
|
} & {}>, {
|
|
2848
2853
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2875,71 +2880,6 @@ export declare const pbrSkinning: {
|
|
|
2875
2880
|
}) => Entity;
|
|
2876
2881
|
} & {} & {
|
|
2877
2882
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2878
|
-
readonly _vertexBuffer: {
|
|
2879
|
-
readonly default: GPUBuffer | null;
|
|
2880
|
-
readonly nonPersistent: true;
|
|
2881
|
-
};
|
|
2882
|
-
readonly _skinVertexBuffer: {
|
|
2883
|
-
readonly default: GPUBuffer | null;
|
|
2884
|
-
readonly nonPersistent: true;
|
|
2885
|
-
};
|
|
2886
|
-
readonly _indexBuffer: {
|
|
2887
|
-
readonly default: GPUBuffer | null;
|
|
2888
|
-
readonly nonPersistent: true;
|
|
2889
|
-
};
|
|
2890
|
-
readonly _indexCount: {
|
|
2891
|
-
readonly default: undefined;
|
|
2892
|
-
readonly nonPersistent: true;
|
|
2893
|
-
readonly type: "integer";
|
|
2894
|
-
readonly minimum: 0;
|
|
2895
|
-
readonly maximum: 4294967295;
|
|
2896
|
-
};
|
|
2897
|
-
readonly _indexFormat: {
|
|
2898
|
-
readonly default: GPUIndexFormat;
|
|
2899
|
-
readonly nonPersistent: true;
|
|
2900
|
-
};
|
|
2901
|
-
readonly _materialBindGroup: {
|
|
2902
|
-
readonly default: GPUBindGroup | null;
|
|
2903
|
-
readonly nonPersistent: true;
|
|
2904
|
-
};
|
|
2905
|
-
readonly _mesh: {
|
|
2906
|
-
readonly default: undefined;
|
|
2907
|
-
readonly nonPersistent: true;
|
|
2908
|
-
readonly type: "integer";
|
|
2909
|
-
readonly minimum: -2147483648;
|
|
2910
|
-
readonly maximum: 2147483647;
|
|
2911
|
-
};
|
|
2912
|
-
readonly _material: {
|
|
2913
|
-
readonly default: undefined;
|
|
2914
|
-
readonly nonPersistent: true;
|
|
2915
|
-
readonly type: "integer";
|
|
2916
|
-
readonly minimum: -2147483648;
|
|
2917
|
-
readonly maximum: 2147483647;
|
|
2918
|
-
};
|
|
2919
|
-
readonly _nodeLocalMatrix: {
|
|
2920
|
-
readonly default: undefined;
|
|
2921
|
-
readonly nonPersistent: true;
|
|
2922
|
-
readonly type: "array";
|
|
2923
|
-
readonly items: {
|
|
2924
|
-
readonly type: "number";
|
|
2925
|
-
readonly precision: 1;
|
|
2926
|
-
readonly default: number;
|
|
2927
|
-
};
|
|
2928
|
-
readonly minItems: 16;
|
|
2929
|
-
readonly maxItems: 16;
|
|
2930
|
-
};
|
|
2931
|
-
readonly _skeletonModelRef: {
|
|
2932
|
-
readonly default: undefined;
|
|
2933
|
-
readonly nonPersistent: true;
|
|
2934
|
-
readonly type: "integer";
|
|
2935
|
-
readonly minimum: -2147483648;
|
|
2936
|
-
readonly maximum: 2147483647;
|
|
2937
|
-
};
|
|
2938
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
2939
|
-
readonly default: GPUBindGroup | null;
|
|
2940
|
-
readonly nonPersistent: true;
|
|
2941
|
-
};
|
|
2942
|
-
} & {
|
|
2943
2883
|
readonly visible: {
|
|
2944
2884
|
readonly type: "boolean";
|
|
2945
2885
|
readonly const: true;
|
|
@@ -3284,10 +3224,76 @@ export declare const pbrSkinning: {
|
|
|
3284
3224
|
readonly const: true;
|
|
3285
3225
|
readonly default: true;
|
|
3286
3226
|
};
|
|
3227
|
+
} & {
|
|
3228
|
+
readonly _vertexBuffer: {
|
|
3229
|
+
readonly default: GPUBuffer | null;
|
|
3230
|
+
readonly nonPersistent: true;
|
|
3231
|
+
};
|
|
3232
|
+
readonly _skinVertexBuffer: {
|
|
3233
|
+
readonly default: GPUBuffer | null;
|
|
3234
|
+
readonly nonPersistent: true;
|
|
3235
|
+
};
|
|
3236
|
+
readonly _indexBuffer: {
|
|
3237
|
+
readonly default: GPUBuffer | null;
|
|
3238
|
+
readonly nonPersistent: true;
|
|
3239
|
+
};
|
|
3240
|
+
readonly _indexCount: {
|
|
3241
|
+
readonly default: undefined;
|
|
3242
|
+
readonly nonPersistent: true;
|
|
3243
|
+
readonly type: "integer";
|
|
3244
|
+
readonly minimum: 0;
|
|
3245
|
+
readonly maximum: 4294967295;
|
|
3246
|
+
};
|
|
3247
|
+
readonly _indexFormat: {
|
|
3248
|
+
readonly default: GPUIndexFormat;
|
|
3249
|
+
readonly nonPersistent: true;
|
|
3250
|
+
};
|
|
3251
|
+
readonly _materialBindGroup: {
|
|
3252
|
+
readonly default: GPUBindGroup | null;
|
|
3253
|
+
readonly nonPersistent: true;
|
|
3254
|
+
};
|
|
3255
|
+
readonly _mesh: {
|
|
3256
|
+
readonly default: undefined;
|
|
3257
|
+
readonly nonPersistent: true;
|
|
3258
|
+
readonly type: "integer";
|
|
3259
|
+
readonly minimum: -2147483648;
|
|
3260
|
+
readonly maximum: 2147483647;
|
|
3261
|
+
};
|
|
3262
|
+
readonly _material: {
|
|
3263
|
+
readonly default: undefined;
|
|
3264
|
+
readonly nonPersistent: true;
|
|
3265
|
+
readonly type: "integer";
|
|
3266
|
+
readonly minimum: -2147483648;
|
|
3267
|
+
readonly maximum: 2147483647;
|
|
3268
|
+
};
|
|
3269
|
+
readonly _nodeLocalMatrix: {
|
|
3270
|
+
readonly default: undefined;
|
|
3271
|
+
readonly nonPersistent: true;
|
|
3272
|
+
readonly type: "array";
|
|
3273
|
+
readonly items: {
|
|
3274
|
+
readonly type: "number";
|
|
3275
|
+
readonly precision: 1;
|
|
3276
|
+
readonly default: number;
|
|
3277
|
+
};
|
|
3278
|
+
readonly minItems: 16;
|
|
3279
|
+
readonly maxItems: 16;
|
|
3280
|
+
};
|
|
3281
|
+
readonly _skeletonModelRef: {
|
|
3282
|
+
readonly default: undefined;
|
|
3283
|
+
readonly nonPersistent: true;
|
|
3284
|
+
readonly type: "integer";
|
|
3285
|
+
readonly minimum: -2147483648;
|
|
3286
|
+
readonly maximum: 2147483647;
|
|
3287
|
+
};
|
|
3288
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3289
|
+
readonly default: GPUBindGroup | null;
|
|
3290
|
+
readonly nonPersistent: true;
|
|
3291
|
+
};
|
|
3287
3292
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3288
3293
|
readonly _gltfMeshByUrl: {
|
|
3289
3294
|
readonly default: Map<string, Entity> | null;
|
|
3290
3295
|
readonly nonPersistent: true;
|
|
3296
|
+
readonly mutable: true;
|
|
3291
3297
|
};
|
|
3292
3298
|
} & {
|
|
3293
3299
|
readonly frameTime: {
|
|
@@ -3308,9 +3314,6 @@ export declare const pbrSkinning: {
|
|
|
3308
3314
|
readonly nonPersistent: true;
|
|
3309
3315
|
};
|
|
3310
3316
|
}>, {} & {} & {
|
|
3311
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3312
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3313
|
-
} & {
|
|
3314
3317
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3315
3318
|
} & {} & {
|
|
3316
3319
|
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"];
|
|
@@ -3325,7 +3328,10 @@ export declare const pbrSkinning: {
|
|
|
3325
3328
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3326
3329
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3327
3330
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3328
|
-
} & {}
|
|
3331
|
+
} & {} & {
|
|
3332
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3333
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3334
|
+
}, {} & {} & {
|
|
3329
3335
|
readonly nodeChildrenOf: {
|
|
3330
3336
|
readonly key: "parent";
|
|
3331
3337
|
readonly archetype: "Node";
|
|
@@ -3336,7 +3342,7 @@ export declare const pbrSkinning: {
|
|
|
3336
3342
|
readonly unique: true;
|
|
3337
3343
|
readonly archetype: "Material";
|
|
3338
3344
|
};
|
|
3339
|
-
} & {} & {} & {} & {}, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3345
|
+
} & {} & {} & {} & {} & {}, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3340
3346
|
} & {
|
|
3341
3347
|
readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3342
3348
|
readonly _skeletonJoints: {
|
|
@@ -3450,6 +3456,47 @@ export declare const pbrSkinning: {
|
|
|
3450
3456
|
readonly additionalProperties: false;
|
|
3451
3457
|
};
|
|
3452
3458
|
} & {} & {
|
|
3459
|
+
readonly animationClipTracks: {
|
|
3460
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
3461
|
+
};
|
|
3462
|
+
readonly animationClipDuration: {
|
|
3463
|
+
readonly type: "number";
|
|
3464
|
+
readonly precision: 2;
|
|
3465
|
+
readonly default: number;
|
|
3466
|
+
};
|
|
3467
|
+
readonly animationClipRef: {
|
|
3468
|
+
readonly type: "integer";
|
|
3469
|
+
readonly minimum: -2147483648;
|
|
3470
|
+
readonly maximum: 2147483647;
|
|
3471
|
+
readonly default: number;
|
|
3472
|
+
};
|
|
3473
|
+
readonly animationTargets: {
|
|
3474
|
+
readonly default: Entity[];
|
|
3475
|
+
};
|
|
3476
|
+
readonly animationTime: {
|
|
3477
|
+
readonly type: "number";
|
|
3478
|
+
readonly precision: 2;
|
|
3479
|
+
readonly default: number;
|
|
3480
|
+
};
|
|
3481
|
+
readonly animationSpeed: {
|
|
3482
|
+
readonly default: 1;
|
|
3483
|
+
readonly type: "number";
|
|
3484
|
+
readonly precision: 1;
|
|
3485
|
+
};
|
|
3486
|
+
readonly animationLoop: {
|
|
3487
|
+
readonly type: "boolean";
|
|
3488
|
+
readonly default: boolean;
|
|
3489
|
+
};
|
|
3490
|
+
readonly animationPlaying: {
|
|
3491
|
+
readonly type: "boolean";
|
|
3492
|
+
readonly default: boolean;
|
|
3493
|
+
};
|
|
3494
|
+
readonly animationObservable: {
|
|
3495
|
+
readonly type: "boolean";
|
|
3496
|
+
readonly const: true;
|
|
3497
|
+
readonly default: true;
|
|
3498
|
+
};
|
|
3499
|
+
} & {
|
|
3453
3500
|
readonly _vertexBuffer: {
|
|
3454
3501
|
readonly default: GPUBuffer | null;
|
|
3455
3502
|
readonly nonPersistent: true;
|
|
@@ -3514,47 +3561,6 @@ export declare const pbrSkinning: {
|
|
|
3514
3561
|
readonly default: GPUBindGroup | null;
|
|
3515
3562
|
readonly nonPersistent: true;
|
|
3516
3563
|
};
|
|
3517
|
-
} & {
|
|
3518
|
-
readonly animationClipTracks: {
|
|
3519
|
-
readonly default: import("../../animation/animation-track/public.js")[];
|
|
3520
|
-
};
|
|
3521
|
-
readonly animationClipDuration: {
|
|
3522
|
-
readonly type: "number";
|
|
3523
|
-
readonly precision: 2;
|
|
3524
|
-
readonly default: number;
|
|
3525
|
-
};
|
|
3526
|
-
readonly animationClipRef: {
|
|
3527
|
-
readonly type: "integer";
|
|
3528
|
-
readonly minimum: -2147483648;
|
|
3529
|
-
readonly maximum: 2147483647;
|
|
3530
|
-
readonly default: number;
|
|
3531
|
-
};
|
|
3532
|
-
readonly animationTargets: {
|
|
3533
|
-
readonly default: Entity[];
|
|
3534
|
-
};
|
|
3535
|
-
readonly animationTime: {
|
|
3536
|
-
readonly type: "number";
|
|
3537
|
-
readonly precision: 2;
|
|
3538
|
-
readonly default: number;
|
|
3539
|
-
};
|
|
3540
|
-
readonly animationSpeed: {
|
|
3541
|
-
readonly default: 1;
|
|
3542
|
-
readonly type: "number";
|
|
3543
|
-
readonly precision: 1;
|
|
3544
|
-
};
|
|
3545
|
-
readonly animationLoop: {
|
|
3546
|
-
readonly type: "boolean";
|
|
3547
|
-
readonly default: boolean;
|
|
3548
|
-
};
|
|
3549
|
-
readonly animationPlaying: {
|
|
3550
|
-
readonly type: "boolean";
|
|
3551
|
-
readonly default: boolean;
|
|
3552
|
-
};
|
|
3553
|
-
readonly animationObservable: {
|
|
3554
|
-
readonly type: "boolean";
|
|
3555
|
-
readonly const: true;
|
|
3556
|
-
readonly default: true;
|
|
3557
|
-
};
|
|
3558
3564
|
} & {
|
|
3559
3565
|
readonly material: {
|
|
3560
3566
|
readonly type: "integer";
|
|
@@ -3777,6 +3783,7 @@ export declare const pbrSkinning: {
|
|
|
3777
3783
|
readonly _gltfMeshByUrl: {
|
|
3778
3784
|
readonly default: Map<string, Entity> | null;
|
|
3779
3785
|
readonly nonPersistent: true;
|
|
3786
|
+
readonly mutable: true;
|
|
3780
3787
|
};
|
|
3781
3788
|
} & {
|
|
3782
3789
|
readonly schedulerState: {
|
|
@@ -3795,14 +3802,14 @@ export declare const pbrSkinning: {
|
|
|
3795
3802
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
3796
3803
|
} & {
|
|
3797
3804
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3798
|
-
} & {} & {
|
|
3799
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3800
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3801
|
-
} & {} & {
|
|
3805
|
+
} & {} & {} & {
|
|
3802
3806
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3803
3807
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3804
3808
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3805
3809
|
} & {} & {
|
|
3810
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3811
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3812
|
+
} & {
|
|
3806
3813
|
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"];
|
|
3807
3814
|
} & {
|
|
3808
3815
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -319,6 +319,7 @@ export declare const mesh: {
|
|
|
319
319
|
readonly _gltfMeshByUrl: {
|
|
320
320
|
readonly default: Map<string, Entity> | null;
|
|
321
321
|
readonly nonPersistent: true;
|
|
322
|
+
readonly mutable: true;
|
|
322
323
|
};
|
|
323
324
|
};
|
|
324
325
|
readonly archetypes: {
|
|
@@ -1533,6 +1534,7 @@ export declare const mesh: {
|
|
|
1533
1534
|
readonly _gltfMeshByUrl: {
|
|
1534
1535
|
readonly default: Map<string, Entity> | null;
|
|
1535
1536
|
readonly nonPersistent: true;
|
|
1537
|
+
readonly mutable: true;
|
|
1536
1538
|
};
|
|
1537
1539
|
} & {}>, {
|
|
1538
1540
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -1864,6 +1866,7 @@ export declare const mesh: {
|
|
|
1864
1866
|
readonly _gltfMeshByUrl: {
|
|
1865
1867
|
readonly default: Map<string, Entity> | null;
|
|
1866
1868
|
readonly nonPersistent: true;
|
|
1869
|
+
readonly mutable: true;
|
|
1867
1870
|
};
|
|
1868
1871
|
} & {}>, {
|
|
1869
1872
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2195,6 +2198,7 @@ export declare const mesh: {
|
|
|
2195
2198
|
readonly _gltfMeshByUrl: {
|
|
2196
2199
|
readonly default: Map<string, Entity> | null;
|
|
2197
2200
|
readonly nonPersistent: true;
|
|
2201
|
+
readonly mutable: true;
|
|
2198
2202
|
};
|
|
2199
2203
|
} & {}>, {
|
|
2200
2204
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2530,6 +2534,7 @@ export declare const mesh: {
|
|
|
2530
2534
|
readonly _gltfMeshByUrl: {
|
|
2531
2535
|
readonly default: Map<string, Entity> | null;
|
|
2532
2536
|
readonly nonPersistent: true;
|
|
2537
|
+
readonly mutable: true;
|
|
2533
2538
|
};
|
|
2534
2539
|
} & {}>, {
|
|
2535
2540
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2886,6 +2891,7 @@ export declare const model: {
|
|
|
2886
2891
|
readonly _gltfMeshByUrl: {
|
|
2887
2892
|
readonly default: Map<string, Entity> | null;
|
|
2888
2893
|
readonly nonPersistent: true;
|
|
2894
|
+
readonly mutable: true;
|
|
2889
2895
|
};
|
|
2890
2896
|
};
|
|
2891
2897
|
readonly archetypes: {
|
|
@@ -4100,6 +4106,7 @@ export declare const model: {
|
|
|
4100
4106
|
readonly _gltfMeshByUrl: {
|
|
4101
4107
|
readonly default: Map<string, Entity> | null;
|
|
4102
4108
|
readonly nonPersistent: true;
|
|
4109
|
+
readonly mutable: true;
|
|
4103
4110
|
};
|
|
4104
4111
|
} & {}>, {
|
|
4105
4112
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -4431,6 +4438,7 @@ export declare const model: {
|
|
|
4431
4438
|
readonly _gltfMeshByUrl: {
|
|
4432
4439
|
readonly default: Map<string, Entity> | null;
|
|
4433
4440
|
readonly nonPersistent: true;
|
|
4441
|
+
readonly mutable: true;
|
|
4434
4442
|
};
|
|
4435
4443
|
} & {}>, {
|
|
4436
4444
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -4762,6 +4770,7 @@ export declare const model: {
|
|
|
4762
4770
|
readonly _gltfMeshByUrl: {
|
|
4763
4771
|
readonly default: Map<string, Entity> | null;
|
|
4764
4772
|
readonly nonPersistent: true;
|
|
4773
|
+
readonly mutable: true;
|
|
4765
4774
|
};
|
|
4766
4775
|
} & {}>, {
|
|
4767
4776
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -5097,6 +5106,7 @@ export declare const model: {
|
|
|
5097
5106
|
readonly _gltfMeshByUrl: {
|
|
5098
5107
|
readonly default: Map<string, Entity> | null;
|
|
5099
5108
|
readonly nonPersistent: true;
|
|
5109
|
+
readonly mutable: true;
|
|
5100
5110
|
};
|
|
5101
5111
|
} & {}>, {
|
|
5102
5112
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -37,7 +37,7 @@ export const mesh = Database.Plugin.create({
|
|
|
37
37
|
cpuSkin: { default: null },
|
|
38
38
|
},
|
|
39
39
|
resources: {
|
|
40
|
-
_gltfMeshByUrl: { default: null, nonPersistent: true },
|
|
40
|
+
_gltfMeshByUrl: { default: null, nonPersistent: true, mutable: true },
|
|
41
41
|
},
|
|
42
42
|
archetypes: {
|
|
43
43
|
GltfMeshPending: ["gltfUrl"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":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