@pixiv/three-vrm 3.2.0 → 3.3.0
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/lib/nodes/index.cjs +2 -2
- package/lib/nodes/index.min.cjs +1 -1
- package/lib/nodes/index.module.js +2 -2
- package/lib/nodes/index.module.min.js +1 -1
- package/lib/three-vrm.cjs +313 -165
- package/lib/three-vrm.min.cjs +9 -9
- package/lib/three-vrm.module.js +317 -169
- package/lib/three-vrm.module.min.js +9 -9
- package/package.json +8 -8
- package/types/VRMUtils/combineMorphs.d.ts +9 -0
- package/types/VRMUtils/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixiv/three-vrm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "VRM file loader for three.js.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pixiv",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@pixiv/three-vrm-core": "3.
|
|
60
|
-
"@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.
|
|
61
|
-
"@pixiv/three-vrm-materials-mtoon": "3.
|
|
62
|
-
"@pixiv/three-vrm-materials-v0compat": "3.
|
|
63
|
-
"@pixiv/three-vrm-node-constraint": "3.
|
|
64
|
-
"@pixiv/three-vrm-springbone": "3.
|
|
59
|
+
"@pixiv/three-vrm-core": "3.3.0",
|
|
60
|
+
"@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.3.0",
|
|
61
|
+
"@pixiv/three-vrm-materials-mtoon": "3.3.0",
|
|
62
|
+
"@pixiv/three-vrm-materials-v0compat": "3.3.0",
|
|
63
|
+
"@pixiv/three-vrm-node-constraint": "3.3.0",
|
|
64
|
+
"@pixiv/three-vrm-springbone": "3.3.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/three": "^0.169.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"three": ">=0.137"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "5d7116ab3ac4e229d900b6abefbfa6c3959a436d"
|
|
74
74
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VRMCore } from '@pixiv/three-vrm-core';
|
|
2
|
+
/**
|
|
3
|
+
* Combine morph targets by VRM expressions.
|
|
4
|
+
*
|
|
5
|
+
* This function prevents crashes caused by the limitation of the number of morph targets, especially on mobile devices.
|
|
6
|
+
*
|
|
7
|
+
* @param vrm The VRM instance
|
|
8
|
+
*/
|
|
9
|
+
export declare function combineMorphs(vrm: VRMCore): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { combineMorphs } from './combineMorphs';
|
|
1
2
|
import { combineSkeletons } from './combineSkeletons';
|
|
2
3
|
import { deepDispose } from './deepDispose';
|
|
3
4
|
import { removeUnnecessaryJoints } from './removeUnnecessaryJoints';
|
|
@@ -5,6 +6,7 @@ import { removeUnnecessaryVertices } from './removeUnnecessaryVertices';
|
|
|
5
6
|
import { rotateVRM0 } from './rotateVRM0';
|
|
6
7
|
export declare class VRMUtils {
|
|
7
8
|
private constructor();
|
|
9
|
+
static combineMorphs: typeof combineMorphs;
|
|
8
10
|
static combineSkeletons: typeof combineSkeletons;
|
|
9
11
|
static deepDispose: typeof deepDispose;
|
|
10
12
|
static removeUnnecessaryJoints: typeof removeUnnecessaryJoints;
|