@adobe/data-gpu 0.9.83 → 0.9.86
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Entity } from "@adobe/data/ecs";
|
|
2
2
|
import { Vec3, Quat } from "@adobe/data/math";
|
|
3
3
|
export declare const boneColliders: {
|
|
4
|
-
readonly components: {
|
|
4
|
+
readonly components: {} & {
|
|
5
5
|
readonly visible: {
|
|
6
6
|
readonly type: "boolean";
|
|
7
7
|
readonly const: true;
|
|
@@ -95,7 +95,7 @@ export declare const boneColliders: {
|
|
|
95
95
|
readonly max: readonly [0, 0, 0];
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
} & {
|
|
98
|
+
} & {
|
|
99
99
|
readonly material: {
|
|
100
100
|
readonly type: "integer";
|
|
101
101
|
readonly minimum: -2147483648;
|
|
@@ -308,6 +308,47 @@ export declare const boneColliders: {
|
|
|
308
308
|
weights: Float32Array;
|
|
309
309
|
} | null;
|
|
310
310
|
};
|
|
311
|
+
} & {
|
|
312
|
+
readonly animationClipTracks: {
|
|
313
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
314
|
+
};
|
|
315
|
+
readonly animationClipDuration: {
|
|
316
|
+
readonly type: "number";
|
|
317
|
+
readonly precision: 2;
|
|
318
|
+
readonly default: number;
|
|
319
|
+
};
|
|
320
|
+
readonly animationClipRef: {
|
|
321
|
+
readonly type: "integer";
|
|
322
|
+
readonly minimum: -2147483648;
|
|
323
|
+
readonly maximum: 2147483647;
|
|
324
|
+
readonly default: number;
|
|
325
|
+
};
|
|
326
|
+
readonly animationTargets: {
|
|
327
|
+
readonly default: Entity[];
|
|
328
|
+
};
|
|
329
|
+
readonly animationTime: {
|
|
330
|
+
readonly type: "number";
|
|
331
|
+
readonly precision: 2;
|
|
332
|
+
readonly default: number;
|
|
333
|
+
};
|
|
334
|
+
readonly animationSpeed: {
|
|
335
|
+
readonly default: 1;
|
|
336
|
+
readonly type: "number";
|
|
337
|
+
readonly precision: 1;
|
|
338
|
+
};
|
|
339
|
+
readonly animationLoop: {
|
|
340
|
+
readonly type: "boolean";
|
|
341
|
+
readonly default: boolean;
|
|
342
|
+
};
|
|
343
|
+
readonly animationPlaying: {
|
|
344
|
+
readonly type: "boolean";
|
|
345
|
+
readonly default: boolean;
|
|
346
|
+
};
|
|
347
|
+
readonly animationObservable: {
|
|
348
|
+
readonly type: "boolean";
|
|
349
|
+
readonly const: true;
|
|
350
|
+
readonly default: true;
|
|
351
|
+
};
|
|
311
352
|
} & {
|
|
312
353
|
readonly _vertexBuffer: {
|
|
313
354
|
readonly default: GPUBuffer | null;
|
|
@@ -373,47 +414,6 @@ export declare const boneColliders: {
|
|
|
373
414
|
readonly default: GPUBindGroup | null;
|
|
374
415
|
readonly nonPersistent: true;
|
|
375
416
|
};
|
|
376
|
-
} & {
|
|
377
|
-
readonly animationClipTracks: {
|
|
378
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
379
|
-
};
|
|
380
|
-
readonly animationClipDuration: {
|
|
381
|
-
readonly type: "number";
|
|
382
|
-
readonly precision: 2;
|
|
383
|
-
readonly default: number;
|
|
384
|
-
};
|
|
385
|
-
readonly animationClipRef: {
|
|
386
|
-
readonly type: "integer";
|
|
387
|
-
readonly minimum: -2147483648;
|
|
388
|
-
readonly maximum: 2147483647;
|
|
389
|
-
readonly default: number;
|
|
390
|
-
};
|
|
391
|
-
readonly animationTargets: {
|
|
392
|
-
readonly default: Entity[];
|
|
393
|
-
};
|
|
394
|
-
readonly animationTime: {
|
|
395
|
-
readonly type: "number";
|
|
396
|
-
readonly precision: 2;
|
|
397
|
-
readonly default: number;
|
|
398
|
-
};
|
|
399
|
-
readonly animationSpeed: {
|
|
400
|
-
readonly default: 1;
|
|
401
|
-
readonly type: "number";
|
|
402
|
-
readonly precision: 1;
|
|
403
|
-
};
|
|
404
|
-
readonly animationLoop: {
|
|
405
|
-
readonly type: "boolean";
|
|
406
|
-
readonly default: boolean;
|
|
407
|
-
};
|
|
408
|
-
readonly animationPlaying: {
|
|
409
|
-
readonly type: "boolean";
|
|
410
|
-
readonly default: boolean;
|
|
411
|
-
};
|
|
412
|
-
readonly animationObservable: {
|
|
413
|
-
readonly type: "boolean";
|
|
414
|
-
readonly const: true;
|
|
415
|
-
readonly default: true;
|
|
416
|
-
};
|
|
417
417
|
} & {
|
|
418
418
|
readonly bodyType: {
|
|
419
419
|
readonly type: "string";
|
|
@@ -675,9 +675,9 @@ export declare const boneColliders: {
|
|
|
675
675
|
readonly nonPersistent: true;
|
|
676
676
|
};
|
|
677
677
|
};
|
|
678
|
-
readonly archetypes: {
|
|
678
|
+
readonly archetypes: {} & {
|
|
679
679
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
680
|
-
} & {} & {
|
|
680
|
+
} & {} & {
|
|
681
681
|
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"];
|
|
682
682
|
} & {
|
|
683
683
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -686,14 +686,14 @@ export declare const boneColliders: {
|
|
|
686
686
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
687
687
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
688
688
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
689
|
-
} & {
|
|
690
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
691
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
692
689
|
} & {
|
|
693
690
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
694
691
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
695
692
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
696
|
-
} & {} & {
|
|
693
|
+
} & {} & {
|
|
694
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
695
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
696
|
+
} & {} & {
|
|
697
697
|
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
698
698
|
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
699
699
|
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
@@ -706,7 +706,7 @@ export declare const boneColliders: {
|
|
|
706
706
|
readonly BoneCapsule: readonly ["bodyType", "colliderShape", "halfExtents", "material", "collisionGroup", "position", "rotation", "linearVelocity", "angularVelocity", "_boneJoint", "_boneOffsetPos", "_boneOffsetRot"];
|
|
707
707
|
};
|
|
708
708
|
readonly transactions: {} & {} & {
|
|
709
|
-
readonly insertMaterial: (t: import("@adobe/data/ecs").
|
|
709
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
710
710
|
readonly material: {
|
|
711
711
|
readonly type: "integer";
|
|
712
712
|
readonly minimum: -2147483648;
|
|
@@ -883,8 +883,8 @@ export declare const boneColliders: {
|
|
|
883
883
|
readonly unique: true;
|
|
884
884
|
readonly archetype: "Material";
|
|
885
885
|
};
|
|
886
|
-
}>, row: import("../../material/public.js")) => Entity;
|
|
887
|
-
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").
|
|
886
|
+
}, never>, row: import("../../material/public.js")) => Entity;
|
|
887
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
888
888
|
readonly material: {
|
|
889
889
|
readonly type: "integer";
|
|
890
890
|
readonly minimum: -2147483648;
|
|
@@ -1061,11 +1061,11 @@ export declare const boneColliders: {
|
|
|
1061
1061
|
readonly unique: true;
|
|
1062
1062
|
readonly archetype: "Material";
|
|
1063
1063
|
};
|
|
1064
|
-
}>, args: {
|
|
1064
|
+
}, never>, args: {
|
|
1065
1065
|
name: string;
|
|
1066
1066
|
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
1067
1067
|
}) => Entity;
|
|
1068
|
-
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").
|
|
1068
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1069
1069
|
readonly material: {
|
|
1070
1070
|
readonly type: "integer";
|
|
1071
1071
|
readonly minimum: -2147483648;
|
|
@@ -1242,8 +1242,8 @@ export declare const boneColliders: {
|
|
|
1242
1242
|
readonly unique: true;
|
|
1243
1243
|
readonly archetype: "Material";
|
|
1244
1244
|
};
|
|
1245
|
-
}>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1246
|
-
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").
|
|
1245
|
+
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1246
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1247
1247
|
readonly material: {
|
|
1248
1248
|
readonly type: "integer";
|
|
1249
1249
|
readonly minimum: -2147483648;
|
|
@@ -1420,8 +1420,8 @@ export declare const boneColliders: {
|
|
|
1420
1420
|
readonly unique: true;
|
|
1421
1421
|
readonly archetype: "Material";
|
|
1422
1422
|
};
|
|
1423
|
-
}>) => void;
|
|
1424
|
-
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").
|
|
1423
|
+
}, never>) => void;
|
|
1424
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1425
1425
|
readonly material: {
|
|
1426
1426
|
readonly type: "integer";
|
|
1427
1427
|
readonly minimum: -2147483648;
|
|
@@ -1598,9 +1598,9 @@ export declare const boneColliders: {
|
|
|
1598
1598
|
readonly unique: true;
|
|
1599
1599
|
readonly archetype: "Material";
|
|
1600
1600
|
};
|
|
1601
|
-
}>) => void;
|
|
1601
|
+
}, never>) => void;
|
|
1602
1602
|
} & {
|
|
1603
|
-
readonly insertGltfMesh: (t: import("@adobe/data/ecs").
|
|
1603
|
+
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1604
1604
|
readonly mesh: {
|
|
1605
1605
|
readonly type: "integer";
|
|
1606
1606
|
readonly minimum: -2147483648;
|
|
@@ -1934,10 +1934,10 @@ export declare const boneColliders: {
|
|
|
1934
1934
|
readonly unique: true;
|
|
1935
1935
|
readonly archetype: "Material";
|
|
1936
1936
|
};
|
|
1937
|
-
}>, args: {
|
|
1937
|
+
}, never>, args: {
|
|
1938
1938
|
url: string;
|
|
1939
1939
|
}) => Entity;
|
|
1940
|
-
readonly insertShapeMesh: (t: import("@adobe/data/ecs").
|
|
1940
|
+
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1941
1941
|
readonly mesh: {
|
|
1942
1942
|
readonly type: "integer";
|
|
1943
1943
|
readonly minimum: -2147483648;
|
|
@@ -2271,10 +2271,10 @@ export declare const boneColliders: {
|
|
|
2271
2271
|
readonly unique: true;
|
|
2272
2272
|
readonly archetype: "Material";
|
|
2273
2273
|
};
|
|
2274
|
-
}>, args: {
|
|
2274
|
+
}, never>, args: {
|
|
2275
2275
|
shapeSpec: import("../public.js").ShapeSpec;
|
|
2276
2276
|
}) => Entity;
|
|
2277
|
-
readonly insertMeshInstance: (t: import("@adobe/data/ecs").
|
|
2277
|
+
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2278
2278
|
readonly mesh: {
|
|
2279
2279
|
readonly type: "integer";
|
|
2280
2280
|
readonly minimum: -2147483648;
|
|
@@ -2608,14 +2608,14 @@ export declare const boneColliders: {
|
|
|
2608
2608
|
readonly unique: true;
|
|
2609
2609
|
readonly archetype: "Material";
|
|
2610
2610
|
};
|
|
2611
|
-
}>, args: {
|
|
2611
|
+
}, never>, args: {
|
|
2612
2612
|
mesh: Entity;
|
|
2613
2613
|
material: Entity;
|
|
2614
2614
|
position?: Vec3;
|
|
2615
2615
|
rotation?: Quat;
|
|
2616
2616
|
scale?: Vec3;
|
|
2617
2617
|
}) => Entity;
|
|
2618
|
-
readonly insertModel: (t: import("@adobe/data/ecs").
|
|
2618
|
+
readonly insertModel: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2619
2619
|
readonly mesh: {
|
|
2620
2620
|
readonly type: "integer";
|
|
2621
2621
|
readonly minimum: -2147483648;
|
|
@@ -2949,15 +2949,15 @@ export declare const boneColliders: {
|
|
|
2949
2949
|
readonly unique: true;
|
|
2950
2950
|
readonly archetype: "Material";
|
|
2951
2951
|
};
|
|
2952
|
-
}>, args: {
|
|
2952
|
+
}, never>, args: {
|
|
2953
2953
|
mesh: Entity;
|
|
2954
2954
|
position?: Vec3;
|
|
2955
2955
|
rotation?: Quat;
|
|
2956
2956
|
scale?: Vec3;
|
|
2957
2957
|
parent?: Entity;
|
|
2958
2958
|
}) => Entity;
|
|
2959
|
-
} & {} & {} & {} & {
|
|
2960
|
-
readonly insertAnimationClip: (t: import("@adobe/data/ecs").
|
|
2959
|
+
} & {} & {} & {} & {
|
|
2960
|
+
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2961
2961
|
readonly animationClipTracks: {
|
|
2962
2962
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
2963
2963
|
};
|
|
@@ -3002,11 +3002,11 @@ export declare const boneColliders: {
|
|
|
3002
3002
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3003
3003
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3004
3004
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3005
|
-
}, {} & {}>, args: {
|
|
3005
|
+
}, {} & {}, never>, args: {
|
|
3006
3006
|
tracks: import("../animation/animation-track/public.js")[];
|
|
3007
3007
|
duration: number;
|
|
3008
3008
|
}) => number;
|
|
3009
|
-
readonly insertAnimation: (t: import("@adobe/data/ecs").
|
|
3009
|
+
readonly insertAnimation: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
3010
3010
|
readonly animationClipTracks: {
|
|
3011
3011
|
readonly default: import("../animation/animation-track/public.js")[];
|
|
3012
3012
|
};
|
|
@@ -3051,7 +3051,7 @@ export declare const boneColliders: {
|
|
|
3051
3051
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3052
3052
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3053
3053
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3054
|
-
}, {} & {}>, args: {
|
|
3054
|
+
}, {} & {}, never>, args: {
|
|
3055
3055
|
animationClipRef: number;
|
|
3056
3056
|
animationTargets: number[];
|
|
3057
3057
|
animationTime?: number;
|
|
@@ -3105,12 +3105,12 @@ export declare const boneColliders: {
|
|
|
3105
3105
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3106
3106
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3107
3107
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3108
|
-
}, {}>, args: {
|
|
3108
|
+
}, {}, never>, args: {
|
|
3109
3109
|
dt: number;
|
|
3110
3110
|
observable: boolean;
|
|
3111
3111
|
}) => void;
|
|
3112
|
-
} & {} & {
|
|
3113
|
-
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").
|
|
3112
|
+
} & {} & {} & {
|
|
3113
|
+
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
3114
3114
|
readonly visible: {
|
|
3115
3115
|
readonly type: "boolean";
|
|
3116
3116
|
readonly const: true;
|
|
@@ -3417,6 +3417,47 @@ export declare const boneColliders: {
|
|
|
3417
3417
|
weights: Float32Array;
|
|
3418
3418
|
} | null;
|
|
3419
3419
|
};
|
|
3420
|
+
} & {
|
|
3421
|
+
readonly animationClipTracks: {
|
|
3422
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
3423
|
+
};
|
|
3424
|
+
readonly animationClipDuration: {
|
|
3425
|
+
readonly type: "number";
|
|
3426
|
+
readonly precision: 2;
|
|
3427
|
+
readonly default: number;
|
|
3428
|
+
};
|
|
3429
|
+
readonly animationClipRef: {
|
|
3430
|
+
readonly type: "integer";
|
|
3431
|
+
readonly minimum: -2147483648;
|
|
3432
|
+
readonly maximum: 2147483647;
|
|
3433
|
+
readonly default: number;
|
|
3434
|
+
};
|
|
3435
|
+
readonly animationTargets: {
|
|
3436
|
+
readonly default: Entity[];
|
|
3437
|
+
};
|
|
3438
|
+
readonly animationTime: {
|
|
3439
|
+
readonly type: "number";
|
|
3440
|
+
readonly precision: 2;
|
|
3441
|
+
readonly default: number;
|
|
3442
|
+
};
|
|
3443
|
+
readonly animationSpeed: {
|
|
3444
|
+
readonly default: 1;
|
|
3445
|
+
readonly type: "number";
|
|
3446
|
+
readonly precision: 1;
|
|
3447
|
+
};
|
|
3448
|
+
readonly animationLoop: {
|
|
3449
|
+
readonly type: "boolean";
|
|
3450
|
+
readonly default: boolean;
|
|
3451
|
+
};
|
|
3452
|
+
readonly animationPlaying: {
|
|
3453
|
+
readonly type: "boolean";
|
|
3454
|
+
readonly default: boolean;
|
|
3455
|
+
};
|
|
3456
|
+
readonly animationObservable: {
|
|
3457
|
+
readonly type: "boolean";
|
|
3458
|
+
readonly const: true;
|
|
3459
|
+
readonly default: true;
|
|
3460
|
+
};
|
|
3420
3461
|
} & {
|
|
3421
3462
|
readonly _vertexBuffer: {
|
|
3422
3463
|
readonly default: GPUBuffer | null;
|
|
@@ -3482,47 +3523,6 @@ export declare const boneColliders: {
|
|
|
3482
3523
|
readonly default: GPUBindGroup | null;
|
|
3483
3524
|
readonly nonPersistent: true;
|
|
3484
3525
|
};
|
|
3485
|
-
} & {
|
|
3486
|
-
readonly animationClipTracks: {
|
|
3487
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
3488
|
-
};
|
|
3489
|
-
readonly animationClipDuration: {
|
|
3490
|
-
readonly type: "number";
|
|
3491
|
-
readonly precision: 2;
|
|
3492
|
-
readonly default: number;
|
|
3493
|
-
};
|
|
3494
|
-
readonly animationClipRef: {
|
|
3495
|
-
readonly type: "integer";
|
|
3496
|
-
readonly minimum: -2147483648;
|
|
3497
|
-
readonly maximum: 2147483647;
|
|
3498
|
-
readonly default: number;
|
|
3499
|
-
};
|
|
3500
|
-
readonly animationTargets: {
|
|
3501
|
-
readonly default: Entity[];
|
|
3502
|
-
};
|
|
3503
|
-
readonly animationTime: {
|
|
3504
|
-
readonly type: "number";
|
|
3505
|
-
readonly precision: 2;
|
|
3506
|
-
readonly default: number;
|
|
3507
|
-
};
|
|
3508
|
-
readonly animationSpeed: {
|
|
3509
|
-
readonly default: 1;
|
|
3510
|
-
readonly type: "number";
|
|
3511
|
-
readonly precision: 1;
|
|
3512
|
-
};
|
|
3513
|
-
readonly animationLoop: {
|
|
3514
|
-
readonly type: "boolean";
|
|
3515
|
-
readonly default: boolean;
|
|
3516
|
-
};
|
|
3517
|
-
readonly animationPlaying: {
|
|
3518
|
-
readonly type: "boolean";
|
|
3519
|
-
readonly default: boolean;
|
|
3520
|
-
};
|
|
3521
|
-
readonly animationObservable: {
|
|
3522
|
-
readonly type: "boolean";
|
|
3523
|
-
readonly const: true;
|
|
3524
|
-
readonly default: true;
|
|
3525
|
-
};
|
|
3526
3526
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3527
3527
|
readonly _gltfMeshByUrl: {
|
|
3528
3528
|
readonly default: Map<string, Entity> | null;
|
|
@@ -3557,14 +3557,14 @@ export declare const boneColliders: {
|
|
|
3557
3557
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
3558
3558
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
3559
3559
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
3560
|
-
} & {
|
|
3561
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3562
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3563
3560
|
} & {
|
|
3564
3561
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3565
3562
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3566
3563
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3567
|
-
} & {}
|
|
3564
|
+
} & {} & {
|
|
3565
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3566
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3567
|
+
}, {} & {} & {
|
|
3568
3568
|
readonly nodeChildrenOf: {
|
|
3569
3569
|
readonly key: "parent";
|
|
3570
3570
|
readonly archetype: "Node";
|
|
@@ -3575,9 +3575,9 @@ export declare const boneColliders: {
|
|
|
3575
3575
|
readonly unique: true;
|
|
3576
3576
|
readonly archetype: "Material";
|
|
3577
3577
|
};
|
|
3578
|
-
} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3578
|
+
} & {} & {} & {} & {} & {}, never>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3579
3579
|
} & {} & {
|
|
3580
|
-
readonly initSkeleton: (t: import("@adobe/data/ecs").
|
|
3580
|
+
readonly initSkeleton: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3581
3581
|
readonly _skeletonJoints: {
|
|
3582
3582
|
readonly default: number[];
|
|
3583
3583
|
readonly nonPersistent: true;
|
|
@@ -3692,6 +3692,47 @@ export declare const boneColliders: {
|
|
|
3692
3692
|
};
|
|
3693
3693
|
};
|
|
3694
3694
|
} & {} & {
|
|
3695
|
+
readonly animationClipTracks: {
|
|
3696
|
+
readonly default: import("../animation/animation-track/public.js")[];
|
|
3697
|
+
};
|
|
3698
|
+
readonly animationClipDuration: {
|
|
3699
|
+
readonly type: "number";
|
|
3700
|
+
readonly precision: 2;
|
|
3701
|
+
readonly default: number;
|
|
3702
|
+
};
|
|
3703
|
+
readonly animationClipRef: {
|
|
3704
|
+
readonly type: "integer";
|
|
3705
|
+
readonly minimum: -2147483648;
|
|
3706
|
+
readonly maximum: 2147483647;
|
|
3707
|
+
readonly default: number;
|
|
3708
|
+
};
|
|
3709
|
+
readonly animationTargets: {
|
|
3710
|
+
readonly default: Entity[];
|
|
3711
|
+
};
|
|
3712
|
+
readonly animationTime: {
|
|
3713
|
+
readonly type: "number";
|
|
3714
|
+
readonly precision: 2;
|
|
3715
|
+
readonly default: number;
|
|
3716
|
+
};
|
|
3717
|
+
readonly animationSpeed: {
|
|
3718
|
+
readonly default: 1;
|
|
3719
|
+
readonly type: "number";
|
|
3720
|
+
readonly precision: 1;
|
|
3721
|
+
};
|
|
3722
|
+
readonly animationLoop: {
|
|
3723
|
+
readonly type: "boolean";
|
|
3724
|
+
readonly default: boolean;
|
|
3725
|
+
};
|
|
3726
|
+
readonly animationPlaying: {
|
|
3727
|
+
readonly type: "boolean";
|
|
3728
|
+
readonly default: boolean;
|
|
3729
|
+
};
|
|
3730
|
+
readonly animationObservable: {
|
|
3731
|
+
readonly type: "boolean";
|
|
3732
|
+
readonly const: true;
|
|
3733
|
+
readonly default: true;
|
|
3734
|
+
};
|
|
3735
|
+
} & {
|
|
3695
3736
|
readonly _vertexBuffer: {
|
|
3696
3737
|
readonly default: GPUBuffer | null;
|
|
3697
3738
|
readonly nonPersistent: true;
|
|
@@ -3756,47 +3797,6 @@ export declare const boneColliders: {
|
|
|
3756
3797
|
readonly default: GPUBindGroup | null;
|
|
3757
3798
|
readonly nonPersistent: true;
|
|
3758
3799
|
};
|
|
3759
|
-
} & {
|
|
3760
|
-
readonly animationClipTracks: {
|
|
3761
|
-
readonly default: import("../animation/animation-track/public.js")[];
|
|
3762
|
-
};
|
|
3763
|
-
readonly animationClipDuration: {
|
|
3764
|
-
readonly type: "number";
|
|
3765
|
-
readonly precision: 2;
|
|
3766
|
-
readonly default: number;
|
|
3767
|
-
};
|
|
3768
|
-
readonly animationClipRef: {
|
|
3769
|
-
readonly type: "integer";
|
|
3770
|
-
readonly minimum: -2147483648;
|
|
3771
|
-
readonly maximum: 2147483647;
|
|
3772
|
-
readonly default: number;
|
|
3773
|
-
};
|
|
3774
|
-
readonly animationTargets: {
|
|
3775
|
-
readonly default: Entity[];
|
|
3776
|
-
};
|
|
3777
|
-
readonly animationTime: {
|
|
3778
|
-
readonly type: "number";
|
|
3779
|
-
readonly precision: 2;
|
|
3780
|
-
readonly default: number;
|
|
3781
|
-
};
|
|
3782
|
-
readonly animationSpeed: {
|
|
3783
|
-
readonly default: 1;
|
|
3784
|
-
readonly type: "number";
|
|
3785
|
-
readonly precision: 1;
|
|
3786
|
-
};
|
|
3787
|
-
readonly animationLoop: {
|
|
3788
|
-
readonly type: "boolean";
|
|
3789
|
-
readonly default: boolean;
|
|
3790
|
-
};
|
|
3791
|
-
readonly animationPlaying: {
|
|
3792
|
-
readonly type: "boolean";
|
|
3793
|
-
readonly default: boolean;
|
|
3794
|
-
};
|
|
3795
|
-
readonly animationObservable: {
|
|
3796
|
-
readonly type: "boolean";
|
|
3797
|
-
readonly const: true;
|
|
3798
|
-
readonly default: true;
|
|
3799
|
-
};
|
|
3800
3800
|
} & {
|
|
3801
3801
|
readonly material: {
|
|
3802
3802
|
readonly type: "integer";
|
|
@@ -4037,14 +4037,14 @@ export declare const boneColliders: {
|
|
|
4037
4037
|
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
4038
4038
|
} & {
|
|
4039
4039
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
4040
|
-
} & {} & {
|
|
4041
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4042
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4043
|
-
} & {} & {
|
|
4040
|
+
} & {} & {} & {
|
|
4044
4041
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
4045
4042
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
4046
4043
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
4047
4044
|
} & {} & {
|
|
4045
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
4046
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
4047
|
+
} & {
|
|
4048
4048
|
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"];
|
|
4049
4049
|
} & {
|
|
4050
4050
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -4064,7 +4064,7 @@ export declare const boneColliders: {
|
|
|
4064
4064
|
readonly unique: true;
|
|
4065
4065
|
readonly archetype: "Material";
|
|
4066
4066
|
};
|
|
4067
|
-
} & {} & {}>, args: {
|
|
4067
|
+
} & {} & {}, never>, args: {
|
|
4068
4068
|
modelRef: number;
|
|
4069
4069
|
meshRef: number;
|
|
4070
4070
|
jointTemplate: readonly import("../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
@@ -4074,23 +4074,23 @@ export declare const boneColliders: {
|
|
|
4074
4074
|
clipRef: number | null;
|
|
4075
4075
|
}) => void;
|
|
4076
4076
|
} & {} & {
|
|
4077
|
-
readonly triggerRagdoll: (t: import("@adobe/data/ecs").
|
|
4077
|
+
readonly triggerRagdoll: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
4078
4078
|
readonly _ragdollTrigger: {
|
|
4079
4079
|
readonly default: boolean;
|
|
4080
4080
|
readonly nonPersistent: true;
|
|
4081
4081
|
};
|
|
4082
|
-
}>, {}, {}>) => void;
|
|
4082
|
+
}>, {}, {}, never>) => void;
|
|
4083
4083
|
} & {};
|
|
4084
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
4084
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "generateBoneColliders" | "trackBoneColliders" | "ragdollOnTrigger" | "reconcileRagdoll">;
|
|
4085
4085
|
readonly actions: {};
|
|
4086
4086
|
readonly services: {};
|
|
4087
4087
|
readonly computed: {};
|
|
4088
|
-
readonly indexes: {
|
|
4088
|
+
readonly indexes: {} & {
|
|
4089
4089
|
readonly nodeChildrenOf: {
|
|
4090
4090
|
readonly key: "parent";
|
|
4091
4091
|
readonly archetype: "Node";
|
|
4092
4092
|
};
|
|
4093
|
-
} & {} & {
|
|
4093
|
+
} & {} & {
|
|
4094
4094
|
readonly materialByName: {
|
|
4095
4095
|
readonly key: "name";
|
|
4096
4096
|
readonly unique: true;
|