@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixiv/three-vrm",
3
- "version": "3.4.0",
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.0",
59
- "@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.4.0",
60
- "@pixiv/three-vrm-materials-mtoon": "3.4.0",
61
- "@pixiv/three-vrm-materials-v0compat": "3.4.0",
62
- "@pixiv/three-vrm-node-constraint": "3.4.0",
63
- "@pixiv/three-vrm-springbone": "3.4.0"
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.169.0",
67
- "three": "^0.169.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": "6c10769f9e20d382ff34151d33c4f3e81d49820b"
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 [[VRMParameters]] that represents components of the VRM
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;