babylonjs-serializers 8.25.0 → 8.25.1
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.
|
@@ -4,6 +4,7 @@ export * from "babylonjs-serializers/OBJ/index";
|
|
|
4
4
|
export * from "babylonjs-serializers/glTF/index";
|
|
5
5
|
export * from "babylonjs-serializers/stl/index";
|
|
6
6
|
export * from "babylonjs-serializers/USDZ/index";
|
|
7
|
+
export * from "babylonjs-serializers/BVH/index";
|
|
7
8
|
|
|
8
9
|
}
|
|
9
10
|
declare module "babylonjs-serializers/exportUtils" {
|
|
@@ -1596,9 +1597,29 @@ export class OBJExport {
|
|
|
1596
1597
|
declare module "babylonjs-serializers/OBJ/index" {
|
|
1597
1598
|
export * from "babylonjs-serializers/OBJ/objSerializer";
|
|
1598
1599
|
|
|
1600
|
+
}
|
|
1601
|
+
declare module "babylonjs-serializers/BVH/index" {
|
|
1602
|
+
export * from "babylonjs-serializers/BVH/bvhSerializer";
|
|
1603
|
+
|
|
1604
|
+
}
|
|
1605
|
+
declare module "babylonjs-serializers/BVH/bvhSerializer" {
|
|
1606
|
+
import { Skeleton } from "babylonjs/Bones/skeleton";
|
|
1607
|
+
export class BVHExporter {
|
|
1608
|
+
static Export(skeleton: Skeleton, animationNames?: string[], frameRate?: number): string;
|
|
1609
|
+
private static _BuildBoneHierarchy;
|
|
1610
|
+
private static _ExportHierarchy;
|
|
1611
|
+
private static _GetBoneOffset;
|
|
1612
|
+
private static _ExportMotionData;
|
|
1613
|
+
private static _CollectFrameValues;
|
|
1614
|
+
private static _GetPositionAtFrame;
|
|
1615
|
+
private static _GetRotationAtFrame;
|
|
1616
|
+
private static _QuaternionToEuler;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1599
1619
|
}
|
|
1600
1620
|
declare module "babylonjs-serializers/legacy/legacy" {
|
|
1601
1621
|
import "babylonjs-serializers/index";
|
|
1622
|
+
export * from "babylonjs-serializers/legacy/legacy-bvhSerializer";
|
|
1602
1623
|
export * from "babylonjs-serializers/legacy/legacy-glTF2Serializer";
|
|
1603
1624
|
export * from "babylonjs-serializers/legacy/legacy-objSerializer";
|
|
1604
1625
|
export * from "babylonjs-serializers/legacy/legacy-stlSerializer";
|
|
@@ -1621,6 +1642,10 @@ declare module "babylonjs-serializers/legacy/legacy-glTF2Serializer" {
|
|
|
1621
1642
|
export * from "babylonjs-serializers/glTF/glTFFileExporter";
|
|
1622
1643
|
export * from "babylonjs-serializers/glTF/2.0/index";
|
|
1623
1644
|
|
|
1645
|
+
}
|
|
1646
|
+
declare module "babylonjs-serializers/legacy/legacy-bvhSerializer" {
|
|
1647
|
+
export * from "babylonjs-serializers/BVH/index";
|
|
1648
|
+
|
|
1624
1649
|
}
|
|
1625
1650
|
|
|
1626
1651
|
declare module "babylonjs-serializers" {
|
|
@@ -3011,6 +3036,23 @@ declare module BABYLON {
|
|
|
3011
3036
|
|
|
3012
3037
|
|
|
3013
3038
|
|
|
3039
|
+
export class BVHExporter {
|
|
3040
|
+
static Export(skeleton: Skeleton, animationNames?: string[], frameRate?: number): string;
|
|
3041
|
+
private static _BuildBoneHierarchy;
|
|
3042
|
+
private static _ExportHierarchy;
|
|
3043
|
+
private static _GetBoneOffset;
|
|
3044
|
+
private static _ExportMotionData;
|
|
3045
|
+
private static _CollectFrameValues;
|
|
3046
|
+
private static _GetPositionAtFrame;
|
|
3047
|
+
private static _GetRotationAtFrame;
|
|
3048
|
+
private static _QuaternionToEuler;
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
|
|
3055
|
+
|
|
3014
3056
|
|
|
3015
3057
|
|
|
3016
3058
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-serializers",
|
|
3
|
-
"version": "8.25.
|
|
3
|
+
"version": "8.25.1",
|
|
4
4
|
"main": "babylonjs.serializers.min.js",
|
|
5
5
|
"types": "babylonjs.serializers.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test:escheck": "es-check es6 ./babylonjs.serializers.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"babylonjs": "^8.25.
|
|
19
|
-
"babylonjs-gltf2interface": "^8.25.
|
|
18
|
+
"babylonjs": "^8.25.1",
|
|
19
|
+
"babylonjs-gltf2interface": "^8.25.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|