@pixiv/three-vrm 3.4.0 → 3.4.2
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/README.md +2 -2
- package/lib/nodes/index.cjs +129 -129
- package/lib/nodes/index.min.cjs +2 -2
- package/lib/nodes/index.module.js +144 -129
- package/lib/nodes/index.module.min.js +2 -2
- package/lib/three-vrm.cjs +66 -36
- package/lib/three-vrm.min.cjs +10 -10
- package/lib/three-vrm.module.js +66 -36
- package/lib/three-vrm.module.min.js +10 -10
- package/package.json +10 -10
- package/types/VRM.d.ts +1 -1
- package/types/utils/attributeGetComponentCompat.d.ts +8 -0
- package/types/utils/attributeSetComponentCompat.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixiv/three-vrm",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "VRM file loader for three.js.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pixiv",
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@pixiv/three-vrm-core": "3.4.
|
|
59
|
-
"@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.4.
|
|
60
|
-
"@pixiv/three-vrm-materials-mtoon": "3.4.
|
|
61
|
-
"@pixiv/three-vrm-materials-v0compat": "3.4.
|
|
62
|
-
"@pixiv/three-vrm-node-constraint": "3.4.
|
|
63
|
-
"@pixiv/three-vrm-springbone": "3.4.
|
|
58
|
+
"@pixiv/three-vrm-core": "3.4.2",
|
|
59
|
+
"@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.4.2",
|
|
60
|
+
"@pixiv/three-vrm-materials-mtoon": "3.4.2",
|
|
61
|
+
"@pixiv/three-vrm-materials-v0compat": "3.4.2",
|
|
62
|
+
"@pixiv/three-vrm-node-constraint": "3.4.2",
|
|
63
|
+
"@pixiv/three-vrm-springbone": "3.4.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@types/three": "^0.
|
|
67
|
-
"three": "^0.
|
|
66
|
+
"@types/three": "^0.177.0",
|
|
67
|
+
"three": "^0.177.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"three": ">=0.137"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "d20d8cd0ec2c18e8226a9fc45a524bb16646d86e"
|
|
73
73
|
}
|
package/types/VRM.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class VRM extends VRMCore {
|
|
|
25
25
|
/**
|
|
26
26
|
* Create a new VRM instance.
|
|
27
27
|
*
|
|
28
|
-
* @param params
|
|
28
|
+
* @param params {@link VRMParameters} that represents components of the VRM
|
|
29
29
|
*/
|
|
30
30
|
constructor(params: VRMParameters);
|
|
31
31
|
/**
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* A compat function for `BufferAttribute.getComponent()`.
|
|
4
|
+
* `BufferAttribute.getComponent()` is introduced in r155.
|
|
5
|
+
*
|
|
6
|
+
* See: https://github.com/mrdoob/three.js/pull/24515
|
|
7
|
+
*/
|
|
8
|
+
export declare function attributeGetComponentCompat(attribute: THREE.BufferAttribute | THREE.InterleavedBufferAttribute, index: number, component: number): number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* A compat function for `BufferAttribute.setComponent()`.
|
|
4
|
+
* `BufferAttribute.setComponent()` is introduced in r155.
|
|
5
|
+
*
|
|
6
|
+
* See: https://github.com/mrdoob/three.js/pull/24515
|
|
7
|
+
*/
|
|
8
|
+
export declare function attributeSetComponentCompat(attribute: THREE.BufferAttribute | THREE.InterleavedBufferAttribute, index: number, component: number, value: number): void;
|