@adobe/data-gpu 0.9.83 → 0.9.84
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-data-plugin.d.ts +4 -4
- package/dist/graphics/animation/animation-plugin.d.ts +7 -7
- package/dist/graphics/camera/camera-plugin.d.ts +3 -3
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +9 -9
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +9 -9
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +9 -9
- package/dist/graphics/graphics-plugin.d.ts +3 -3
- package/dist/graphics/picking/picking-plugin.d.ts +518 -518
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +173 -173
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +91 -91
- package/dist/graphics/rendering/interpolation-plugin.d.ts +19 -19
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +175 -175
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +17 -17
- package/dist/graphics/rendering/model-collider-plugin.d.ts +118 -118
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +91 -91
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +10 -10
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +165 -165
- package/dist/graphics/scene/light/light-plugin.d.ts +2 -2
- package/dist/graphics/scene/model/mesh-plugin.d.ts +36 -36
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +118 -118
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +3 -3
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +118 -118
- package/dist/graphics/scene/scene-plugin.d.ts +36 -36
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +15 -15
- package/dist/material/definitions.d.ts +1 -1
- package/dist/material/definitions.js +1 -1
- package/dist/material/material-plugin.d.ts +10 -10
- package/dist/physics/physics-clock-plugin.d.ts +3 -3
- package/dist/physics/physics-data-plugin.d.ts +10 -10
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +13 -13
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +13 -13
- package/package.json +4 -3
- package/src/material/definitions.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3,7 +3,7 @@ import { Quat } from "@adobe/data/math";
|
|
|
3
3
|
import { type JoltContext } from "../../physics/solvers/jolt-solver-plugin.js";
|
|
4
4
|
import type { JointTemplate } from "../scene/model/gltf/parse-skin.js";
|
|
5
5
|
export declare const joltRagdoll: {
|
|
6
|
-
readonly components: {
|
|
6
|
+
readonly components: {} & {
|
|
7
7
|
readonly visible: {
|
|
8
8
|
readonly type: "boolean";
|
|
9
9
|
readonly const: true;
|
|
@@ -97,7 +97,7 @@ export declare const joltRagdoll: {
|
|
|
97
97
|
readonly max: readonly [0, 0, 0];
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
} & {
|
|
100
|
+
} & {
|
|
101
101
|
readonly material: {
|
|
102
102
|
readonly type: "integer";
|
|
103
103
|
readonly minimum: -2147483648;
|
|
@@ -310,6 +310,47 @@ export declare const joltRagdoll: {
|
|
|
310
310
|
weights: Float32Array;
|
|
311
311
|
} | null;
|
|
312
312
|
};
|
|
313
|
+
} & {
|
|
314
|
+
readonly animationClipTracks: {
|
|
315
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
316
|
+
};
|
|
317
|
+
readonly animationClipDuration: {
|
|
318
|
+
readonly type: "number";
|
|
319
|
+
readonly precision: 2;
|
|
320
|
+
readonly default: number;
|
|
321
|
+
};
|
|
322
|
+
readonly animationClipRef: {
|
|
323
|
+
readonly type: "integer";
|
|
324
|
+
readonly minimum: -2147483648;
|
|
325
|
+
readonly maximum: 2147483647;
|
|
326
|
+
readonly default: number;
|
|
327
|
+
};
|
|
328
|
+
readonly animationTargets: {
|
|
329
|
+
readonly default: Entity[];
|
|
330
|
+
};
|
|
331
|
+
readonly animationTime: {
|
|
332
|
+
readonly type: "number";
|
|
333
|
+
readonly precision: 2;
|
|
334
|
+
readonly default: number;
|
|
335
|
+
};
|
|
336
|
+
readonly animationSpeed: {
|
|
337
|
+
readonly default: 1;
|
|
338
|
+
readonly type: "number";
|
|
339
|
+
readonly precision: 1;
|
|
340
|
+
};
|
|
341
|
+
readonly animationLoop: {
|
|
342
|
+
readonly type: "boolean";
|
|
343
|
+
readonly default: boolean;
|
|
344
|
+
};
|
|
345
|
+
readonly animationPlaying: {
|
|
346
|
+
readonly type: "boolean";
|
|
347
|
+
readonly default: boolean;
|
|
348
|
+
};
|
|
349
|
+
readonly animationObservable: {
|
|
350
|
+
readonly type: "boolean";
|
|
351
|
+
readonly const: true;
|
|
352
|
+
readonly default: true;
|
|
353
|
+
};
|
|
313
354
|
} & {
|
|
314
355
|
readonly _vertexBuffer: {
|
|
315
356
|
readonly default: GPUBuffer | null;
|
|
@@ -375,47 +416,6 @@ export declare const joltRagdoll: {
|
|
|
375
416
|
readonly default: GPUBindGroup | null;
|
|
376
417
|
readonly nonPersistent: true;
|
|
377
418
|
};
|
|
378
|
-
} & {
|
|
379
|
-
readonly animationClipTracks: {
|
|
380
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
381
|
-
};
|
|
382
|
-
readonly animationClipDuration: {
|
|
383
|
-
readonly type: "number";
|
|
384
|
-
readonly precision: 2;
|
|
385
|
-
readonly default: number;
|
|
386
|
-
};
|
|
387
|
-
readonly animationClipRef: {
|
|
388
|
-
readonly type: "integer";
|
|
389
|
-
readonly minimum: -2147483648;
|
|
390
|
-
readonly maximum: 2147483647;
|
|
391
|
-
readonly default: number;
|
|
392
|
-
};
|
|
393
|
-
readonly animationTargets: {
|
|
394
|
-
readonly default: Entity[];
|
|
395
|
-
};
|
|
396
|
-
readonly animationTime: {
|
|
397
|
-
readonly type: "number";
|
|
398
|
-
readonly precision: 2;
|
|
399
|
-
readonly default: number;
|
|
400
|
-
};
|
|
401
|
-
readonly animationSpeed: {
|
|
402
|
-
readonly default: 1;
|
|
403
|
-
readonly type: "number";
|
|
404
|
-
readonly precision: 1;
|
|
405
|
-
};
|
|
406
|
-
readonly animationLoop: {
|
|
407
|
-
readonly type: "boolean";
|
|
408
|
-
readonly default: boolean;
|
|
409
|
-
};
|
|
410
|
-
readonly animationPlaying: {
|
|
411
|
-
readonly type: "boolean";
|
|
412
|
-
readonly default: boolean;
|
|
413
|
-
};
|
|
414
|
-
readonly animationObservable: {
|
|
415
|
-
readonly type: "boolean";
|
|
416
|
-
readonly const: true;
|
|
417
|
-
readonly default: true;
|
|
418
|
-
};
|
|
419
419
|
} & {
|
|
420
420
|
readonly _skeletonJoints: {
|
|
421
421
|
readonly default: number[];
|
|
@@ -659,9 +659,9 @@ export declare const joltRagdoll: {
|
|
|
659
659
|
readonly nonPersistent: true;
|
|
660
660
|
};
|
|
661
661
|
};
|
|
662
|
-
readonly archetypes: {
|
|
662
|
+
readonly archetypes: {} & {
|
|
663
663
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
664
|
-
} & {} & {
|
|
664
|
+
} & {} & {
|
|
665
665
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
666
666
|
} & {
|
|
667
667
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -670,14 +670,14 @@ export declare const joltRagdoll: {
|
|
|
670
670
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
671
671
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
672
672
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
673
|
-
} & {
|
|
674
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
675
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
676
673
|
} & {
|
|
677
674
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
678
675
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
679
676
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
680
|
-
} & {} & {
|
|
677
|
+
} & {} & {
|
|
678
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
679
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
680
|
+
} & {} & {
|
|
681
681
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
682
682
|
} & {
|
|
683
683
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
@@ -688,7 +688,7 @@ export declare const joltRagdoll: {
|
|
|
688
688
|
readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
|
|
689
689
|
} & {} & {};
|
|
690
690
|
readonly transactions: {} & {} & {
|
|
691
|
-
readonly insertMaterial: (t: import("@adobe/data/ecs").
|
|
691
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
692
692
|
readonly material: {
|
|
693
693
|
readonly type: "integer";
|
|
694
694
|
readonly minimum: -2147483648;
|
|
@@ -865,8 +865,8 @@ export declare const joltRagdoll: {
|
|
|
865
865
|
readonly unique: true;
|
|
866
866
|
readonly archetype: "Material";
|
|
867
867
|
};
|
|
868
|
-
}>, row: import("../../material/public.js")) => Entity;
|
|
869
|
-
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").
|
|
868
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
869
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
870
870
|
readonly material: {
|
|
871
871
|
readonly type: "integer";
|
|
872
872
|
readonly minimum: -2147483648;
|
|
@@ -1043,11 +1043,11 @@ export declare const joltRagdoll: {
|
|
|
1043
1043
|
readonly unique: true;
|
|
1044
1044
|
readonly archetype: "Material";
|
|
1045
1045
|
};
|
|
1046
|
-
}>, args: {
|
|
1046
|
+
}, never>, args: {
|
|
1047
1047
|
name: string;
|
|
1048
1048
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
1049
1049
|
}) => Entity;
|
|
1050
|
-
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").
|
|
1050
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1051
1051
|
readonly material: {
|
|
1052
1052
|
readonly type: "integer";
|
|
1053
1053
|
readonly minimum: -2147483648;
|
|
@@ -1224,8 +1224,8 @@ export declare const joltRagdoll: {
|
|
|
1224
1224
|
readonly unique: true;
|
|
1225
1225
|
readonly archetype: "Material";
|
|
1226
1226
|
};
|
|
1227
|
-
}>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1228
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").
|
|
1227
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1228
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1229
1229
|
readonly material: {
|
|
1230
1230
|
readonly type: "integer";
|
|
1231
1231
|
readonly minimum: -2147483648;
|
|
@@ -1402,8 +1402,8 @@ export declare const joltRagdoll: {
|
|
|
1402
1402
|
readonly unique: true;
|
|
1403
1403
|
readonly archetype: "Material";
|
|
1404
1404
|
};
|
|
1405
|
-
}>) => void;
|
|
1406
|
-
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").
|
|
1405
|
+
}, never>) => void;
|
|
1406
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1407
1407
|
readonly material: {
|
|
1408
1408
|
readonly type: "integer";
|
|
1409
1409
|
readonly minimum: -2147483648;
|
|
@@ -1580,9 +1580,9 @@ export declare const joltRagdoll: {
|
|
|
1580
1580
|
readonly unique: true;
|
|
1581
1581
|
readonly archetype: "Material";
|
|
1582
1582
|
};
|
|
1583
|
-
}>) => void;
|
|
1583
|
+
}, never>) => void;
|
|
1584
1584
|
} & {
|
|
1585
|
-
readonly insertGltfMesh: (t: import("@adobe/data/ecs").
|
|
1585
|
+
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1586
1586
|
readonly mesh: {
|
|
1587
1587
|
readonly type: "integer";
|
|
1588
1588
|
readonly minimum: -2147483648;
|
|
@@ -1916,10 +1916,10 @@ export declare const joltRagdoll: {
|
|
|
1916
1916
|
readonly unique: true;
|
|
1917
1917
|
readonly archetype: "Material";
|
|
1918
1918
|
};
|
|
1919
|
-
}>, args: {
|
|
1919
|
+
}, never>, args: {
|
|
1920
1920
|
url: string;
|
|
1921
1921
|
}) => Entity;
|
|
1922
|
-
readonly insertShapeMesh: (t: import("@adobe/data/ecs").
|
|
1922
|
+
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1923
1923
|
readonly mesh: {
|
|
1924
1924
|
readonly type: "integer";
|
|
1925
1925
|
readonly minimum: -2147483648;
|
|
@@ -2253,10 +2253,10 @@ export declare const joltRagdoll: {
|
|
|
2253
2253
|
readonly unique: true;
|
|
2254
2254
|
readonly archetype: "Material";
|
|
2255
2255
|
};
|
|
2256
|
-
}>, args: {
|
|
2256
|
+
}, never>, args: {
|
|
2257
2257
|
shapeSpec: import("../public.js").ShapeSpec;
|
|
2258
2258
|
}) => Entity;
|
|
2259
|
-
readonly insertMeshInstance: (t: import("@adobe/data/ecs").
|
|
2259
|
+
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2260
2260
|
readonly mesh: {
|
|
2261
2261
|
readonly type: "integer";
|
|
2262
2262
|
readonly minimum: -2147483648;
|
|
@@ -2590,14 +2590,14 @@ export declare const joltRagdoll: {
|
|
|
2590
2590
|
readonly unique: true;
|
|
2591
2591
|
readonly archetype: "Material";
|
|
2592
2592
|
};
|
|
2593
|
-
}>, args: {
|
|
2593
|
+
}, never>, args: {
|
|
2594
2594
|
mesh: Entity;
|
|
2595
2595
|
material: Entity;
|
|
2596
2596
|
position?: import("@adobe/data/math").Vec3;
|
|
2597
2597
|
rotation?: Quat;
|
|
2598
2598
|
scale?: import("@adobe/data/math").Vec3;
|
|
2599
2599
|
}) => Entity;
|
|
2600
|
-
readonly insertModel: (t: import("@adobe/data/ecs").
|
|
2600
|
+
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2601
2601
|
readonly mesh: {
|
|
2602
2602
|
readonly type: "integer";
|
|
2603
2603
|
readonly minimum: -2147483648;
|
|
@@ -2931,15 +2931,15 @@ export declare const joltRagdoll: {
|
|
|
2931
2931
|
readonly unique: true;
|
|
2932
2932
|
readonly archetype: "Material";
|
|
2933
2933
|
};
|
|
2934
|
-
}>, args: {
|
|
2934
|
+
}, never>, args: {
|
|
2935
2935
|
mesh: Entity;
|
|
2936
2936
|
position?: import("@adobe/data/math").Vec3;
|
|
2937
2937
|
rotation?: Quat;
|
|
2938
2938
|
scale?: import("@adobe/data/math").Vec3;
|
|
2939
2939
|
parent?: Entity;
|
|
2940
2940
|
}) => Entity;
|
|
2941
|
-
} & {} & {} & {} & {
|
|
2942
|
-
readonly insertAnimationClip: (t: import("@adobe/data/ecs").
|
|
2941
|
+
} & {} & {} & {} & {
|
|
2942
|
+
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2943
2943
|
readonly animationClipTracks: {
|
|
2944
2944
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
2945
2945
|
};
|
|
@@ -2984,11 +2984,11 @@ export declare const joltRagdoll: {
|
|
|
2984
2984
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2985
2985
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2986
2986
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2987
|
-
}, {} & {}>, args: {
|
|
2987
|
+
}, {} & {}, never>, args: {
|
|
2988
2988
|
tracks: import("../animation/animation-track/public.js")[];
|
|
2989
2989
|
duration: number;
|
|
2990
2990
|
}) => number;
|
|
2991
|
-
readonly insertAnimation: (t: import("@adobe/data/ecs").
|
|
2991
|
+
readonly insertAnimation: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2992
2992
|
readonly animationClipTracks: {
|
|
2993
2993
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
2994
2994
|
};
|
|
@@ -3033,7 +3033,7 @@ export declare const joltRagdoll: {
|
|
|
3033
3033
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3034
3034
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3035
3035
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3036
|
-
}, {} & {}>, args: {
|
|
3036
|
+
}, {} & {}, never>, args: {
|
|
3037
3037
|
animationClipRef: number;
|
|
3038
3038
|
animationTargets: number[];
|
|
3039
3039
|
animationTime?: number;
|
|
@@ -3087,12 +3087,12 @@ export declare const joltRagdoll: {
|
|
|
3087
3087
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3088
3088
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3089
3089
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3090
|
-
}, {}>, args: {
|
|
3090
|
+
}, {}, never>, args: {
|
|
3091
3091
|
dt: number;
|
|
3092
3092
|
observable: boolean;
|
|
3093
3093
|
}) => void;
|
|
3094
|
-
} & {} & {
|
|
3095
|
-
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").
|
|
3094
|
+
} & {} & {} & {
|
|
3095
|
+
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
3096
3096
|
readonly visible: {
|
|
3097
3097
|
readonly type: "boolean";
|
|
3098
3098
|
readonly const: true;
|
|
@@ -3399,6 +3399,47 @@ export declare const joltRagdoll: {
|
|
|
3399
3399
|
weights: Float32Array;
|
|
3400
3400
|
} | null;
|
|
3401
3401
|
};
|
|
3402
|
+
} & {
|
|
3403
|
+
readonly animationClipTracks: {
|
|
3404
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
3405
|
+
};
|
|
3406
|
+
readonly animationClipDuration: {
|
|
3407
|
+
readonly type: "number";
|
|
3408
|
+
readonly precision: 2;
|
|
3409
|
+
readonly default: number;
|
|
3410
|
+
};
|
|
3411
|
+
readonly animationClipRef: {
|
|
3412
|
+
readonly type: "integer";
|
|
3413
|
+
readonly minimum: -2147483648;
|
|
3414
|
+
readonly maximum: 2147483647;
|
|
3415
|
+
readonly default: number;
|
|
3416
|
+
};
|
|
3417
|
+
readonly animationTargets: {
|
|
3418
|
+
readonly default: Entity[];
|
|
3419
|
+
};
|
|
3420
|
+
readonly animationTime: {
|
|
3421
|
+
readonly type: "number";
|
|
3422
|
+
readonly precision: 2;
|
|
3423
|
+
readonly default: number;
|
|
3424
|
+
};
|
|
3425
|
+
readonly animationSpeed: {
|
|
3426
|
+
readonly default: 1;
|
|
3427
|
+
readonly type: "number";
|
|
3428
|
+
readonly precision: 1;
|
|
3429
|
+
};
|
|
3430
|
+
readonly animationLoop: {
|
|
3431
|
+
readonly type: "boolean";
|
|
3432
|
+
readonly default: boolean;
|
|
3433
|
+
};
|
|
3434
|
+
readonly animationPlaying: {
|
|
3435
|
+
readonly type: "boolean";
|
|
3436
|
+
readonly default: boolean;
|
|
3437
|
+
};
|
|
3438
|
+
readonly animationObservable: {
|
|
3439
|
+
readonly type: "boolean";
|
|
3440
|
+
readonly const: true;
|
|
3441
|
+
readonly default: true;
|
|
3442
|
+
};
|
|
3402
3443
|
} & {
|
|
3403
3444
|
readonly _vertexBuffer: {
|
|
3404
3445
|
readonly default: GPUBuffer | null;
|
|
@@ -3464,47 +3505,6 @@ export declare const joltRagdoll: {
|
|
|
3464
3505
|
readonly default: GPUBindGroup | null;
|
|
3465
3506
|
readonly nonPersistent: true;
|
|
3466
3507
|
};
|
|
3467
|
-
} & {
|
|
3468
|
-
readonly animationClipTracks: {
|
|
3469
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
3470
|
-
};
|
|
3471
|
-
readonly animationClipDuration: {
|
|
3472
|
-
readonly type: "number";
|
|
3473
|
-
readonly precision: 2;
|
|
3474
|
-
readonly default: number;
|
|
3475
|
-
};
|
|
3476
|
-
readonly animationClipRef: {
|
|
3477
|
-
readonly type: "integer";
|
|
3478
|
-
readonly minimum: -2147483648;
|
|
3479
|
-
readonly maximum: 2147483647;
|
|
3480
|
-
readonly default: number;
|
|
3481
|
-
};
|
|
3482
|
-
readonly animationTargets: {
|
|
3483
|
-
readonly default: Entity[];
|
|
3484
|
-
};
|
|
3485
|
-
readonly animationTime: {
|
|
3486
|
-
readonly type: "number";
|
|
3487
|
-
readonly precision: 2;
|
|
3488
|
-
readonly default: number;
|
|
3489
|
-
};
|
|
3490
|
-
readonly animationSpeed: {
|
|
3491
|
-
readonly default: 1;
|
|
3492
|
-
readonly type: "number";
|
|
3493
|
-
readonly precision: 1;
|
|
3494
|
-
};
|
|
3495
|
-
readonly animationLoop: {
|
|
3496
|
-
readonly type: "boolean";
|
|
3497
|
-
readonly default: boolean;
|
|
3498
|
-
};
|
|
3499
|
-
readonly animationPlaying: {
|
|
3500
|
-
readonly type: "boolean";
|
|
3501
|
-
readonly default: boolean;
|
|
3502
|
-
};
|
|
3503
|
-
readonly animationObservable: {
|
|
3504
|
-
readonly type: "boolean";
|
|
3505
|
-
readonly const: true;
|
|
3506
|
-
readonly default: true;
|
|
3507
|
-
};
|
|
3508
3508
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3509
3509
|
readonly _gltfMeshByUrl: {
|
|
3510
3510
|
readonly default: Map<string, Entity> | null;
|
|
@@ -3539,14 +3539,14 @@ export declare const joltRagdoll: {
|
|
|
3539
3539
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
3540
3540
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
3541
3541
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
3542
|
-
} & {
|
|
3543
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3544
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3545
3542
|
} & {
|
|
3546
3543
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3547
3544
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3548
3545
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3549
|
-
} & {}
|
|
3546
|
+
} & {} & {
|
|
3547
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3548
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3549
|
+
}, {} & {} & {
|
|
3550
3550
|
readonly nodeChildrenOf: {
|
|
3551
3551
|
readonly key: "parent";
|
|
3552
3552
|
readonly archetype: "Node";
|
|
@@ -3557,9 +3557,9 @@ export declare const joltRagdoll: {
|
|
|
3557
3557
|
readonly unique: true;
|
|
3558
3558
|
readonly archetype: "Material";
|
|
3559
3559
|
};
|
|
3560
|
-
} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3560
|
+
} & {} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3561
3561
|
} & {
|
|
3562
|
-
readonly initSkeleton: (t: import("@adobe/data/ecs").
|
|
3562
|
+
readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3563
3563
|
readonly _skeletonJoints: {
|
|
3564
3564
|
readonly default: number[];
|
|
3565
3565
|
readonly nonPersistent: true;
|
|
@@ -3674,6 +3674,47 @@ export declare const joltRagdoll: {
|
|
|
3674
3674
|
};
|
|
3675
3675
|
};
|
|
3676
3676
|
} & {} & {
|
|
3677
|
+
readonly animationClipTracks: {
|
|
3678
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
3679
|
+
};
|
|
3680
|
+
readonly animationClipDuration: {
|
|
3681
|
+
readonly type: "number";
|
|
3682
|
+
readonly precision: 2;
|
|
3683
|
+
readonly default: number;
|
|
3684
|
+
};
|
|
3685
|
+
readonly animationClipRef: {
|
|
3686
|
+
readonly type: "integer";
|
|
3687
|
+
readonly minimum: -2147483648;
|
|
3688
|
+
readonly maximum: 2147483647;
|
|
3689
|
+
readonly default: number;
|
|
3690
|
+
};
|
|
3691
|
+
readonly animationTargets: {
|
|
3692
|
+
readonly default: Entity[];
|
|
3693
|
+
};
|
|
3694
|
+
readonly animationTime: {
|
|
3695
|
+
readonly type: "number";
|
|
3696
|
+
readonly precision: 2;
|
|
3697
|
+
readonly default: number;
|
|
3698
|
+
};
|
|
3699
|
+
readonly animationSpeed: {
|
|
3700
|
+
readonly default: 1;
|
|
3701
|
+
readonly type: "number";
|
|
3702
|
+
readonly precision: 1;
|
|
3703
|
+
};
|
|
3704
|
+
readonly animationLoop: {
|
|
3705
|
+
readonly type: "boolean";
|
|
3706
|
+
readonly default: boolean;
|
|
3707
|
+
};
|
|
3708
|
+
readonly animationPlaying: {
|
|
3709
|
+
readonly type: "boolean";
|
|
3710
|
+
readonly default: boolean;
|
|
3711
|
+
};
|
|
3712
|
+
readonly animationObservable: {
|
|
3713
|
+
readonly type: "boolean";
|
|
3714
|
+
readonly const: true;
|
|
3715
|
+
readonly default: true;
|
|
3716
|
+
};
|
|
3717
|
+
} & {
|
|
3677
3718
|
readonly _vertexBuffer: {
|
|
3678
3719
|
readonly default: GPUBuffer | null;
|
|
3679
3720
|
readonly nonPersistent: true;
|
|
@@ -3738,47 +3779,6 @@ export declare const joltRagdoll: {
|
|
|
3738
3779
|
readonly default: GPUBindGroup | null;
|
|
3739
3780
|
readonly nonPersistent: true;
|
|
3740
3781
|
};
|
|
3741
|
-
} & {
|
|
3742
|
-
readonly animationClipTracks: {
|
|
3743
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
3744
|
-
};
|
|
3745
|
-
readonly animationClipDuration: {
|
|
3746
|
-
readonly type: "number";
|
|
3747
|
-
readonly precision: 2;
|
|
3748
|
-
readonly default: number;
|
|
3749
|
-
};
|
|
3750
|
-
readonly animationClipRef: {
|
|
3751
|
-
readonly type: "integer";
|
|
3752
|
-
readonly minimum: -2147483648;
|
|
3753
|
-
readonly maximum: 2147483647;
|
|
3754
|
-
readonly default: number;
|
|
3755
|
-
};
|
|
3756
|
-
readonly animationTargets: {
|
|
3757
|
-
readonly default: Entity[];
|
|
3758
|
-
};
|
|
3759
|
-
readonly animationTime: {
|
|
3760
|
-
readonly type: "number";
|
|
3761
|
-
readonly precision: 2;
|
|
3762
|
-
readonly default: number;
|
|
3763
|
-
};
|
|
3764
|
-
readonly animationSpeed: {
|
|
3765
|
-
readonly default: 1;
|
|
3766
|
-
readonly type: "number";
|
|
3767
|
-
readonly precision: 1;
|
|
3768
|
-
};
|
|
3769
|
-
readonly animationLoop: {
|
|
3770
|
-
readonly type: "boolean";
|
|
3771
|
-
readonly default: boolean;
|
|
3772
|
-
};
|
|
3773
|
-
readonly animationPlaying: {
|
|
3774
|
-
readonly type: "boolean";
|
|
3775
|
-
readonly default: boolean;
|
|
3776
|
-
};
|
|
3777
|
-
readonly animationObservable: {
|
|
3778
|
-
readonly type: "boolean";
|
|
3779
|
-
readonly const: true;
|
|
3780
|
-
readonly default: true;
|
|
3781
|
-
};
|
|
3782
3782
|
} & {
|
|
3783
3783
|
readonly material: {
|
|
3784
3784
|
readonly type: "integer";
|
|
@@ -4019,14 +4019,14 @@ export declare const joltRagdoll: {
|
|
|
4019
4019
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
4020
4020
|
} & {
|
|
4021
4021
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
4022
|
-
} & {} & {
|
|
4023
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4024
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4025
|
-
} & {} & {
|
|
4022
|
+
} & {} & {} & {
|
|
4026
4023
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
4027
4024
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
4028
4025
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
4029
4026
|
} & {} & {
|
|
4027
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4028
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4029
|
+
} & {
|
|
4030
4030
|
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
4031
4031
|
} & {
|
|
4032
4032
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -4046,7 +4046,7 @@ export declare const joltRagdoll: {
|
|
|
4046
4046
|
readonly unique: true;
|
|
4047
4047
|
readonly archetype: "Material";
|
|
4048
4048
|
};
|
|
4049
|
-
} & {} & {}>, args: {
|
|
4049
|
+
} & {} & {}, never>, args: {
|
|
4050
4050
|
modelRef: number;
|
|
4051
4051
|
meshRef: number;
|
|
4052
4052
|
jointTemplate: readonly JointTemplate[];
|
|
@@ -4056,14 +4056,14 @@ export declare const joltRagdoll: {
|
|
|
4056
4056
|
clipRef: number | null;
|
|
4057
4057
|
}) => void;
|
|
4058
4058
|
} & {
|
|
4059
|
-
readonly triggerRagdoll: (t: import("@adobe/data/ecs").
|
|
4059
|
+
readonly triggerRagdoll: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
4060
4060
|
readonly _ragdollTrigger: {
|
|
4061
4061
|
readonly default: boolean;
|
|
4062
4062
|
readonly nonPersistent: true;
|
|
4063
4063
|
};
|
|
4064
|
-
}>, {}, {}>) => void;
|
|
4064
|
+
}>, {}, {}, never>) => void;
|
|
4065
4065
|
} & {} & {
|
|
4066
|
-
readonly setFixedTimestep: (t: import("@adobe/data/ecs").
|
|
4066
|
+
readonly setFixedTimestep: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
4067
4067
|
readonly physicsClock: {
|
|
4068
4068
|
readonly default: import("../../physics/public.js").PhysicsClock;
|
|
4069
4069
|
readonly nonPersistent: true;
|
|
@@ -4086,18 +4086,18 @@ export declare const joltRagdoll: {
|
|
|
4086
4086
|
readonly default: GPUCommandEncoder | null;
|
|
4087
4087
|
readonly nonPersistent: true;
|
|
4088
4088
|
};
|
|
4089
|
-
}>, {}, {}>, hz: number) => void;
|
|
4089
|
+
}>, {}, {}, never>, hz: number) => void;
|
|
4090
4090
|
} & {} & {} & {};
|
|
4091
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
4091
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "advancePhysicsClock" | "joltStep" | "joltRagdollSystem">;
|
|
4092
4092
|
readonly actions: {};
|
|
4093
4093
|
readonly services: {};
|
|
4094
4094
|
readonly computed: {};
|
|
4095
|
-
readonly indexes: {
|
|
4095
|
+
readonly indexes: {} & {
|
|
4096
4096
|
readonly nodeChildrenOf: {
|
|
4097
4097
|
readonly key: "parent";
|
|
4098
4098
|
readonly archetype: "Node";
|
|
4099
4099
|
};
|
|
4100
|
-
} & {} & {
|
|
4100
|
+
} & {} & {
|
|
4101
4101
|
readonly materialByName: {
|
|
4102
4102
|
readonly key: "name";
|
|
4103
4103
|
readonly unique: true;
|