@pixiv/three-vrm 0.6.8 → 0.6.11
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/three-vrm.js +58 -26
- package/lib/three-vrm.min.js +1 -1
- package/lib/three-vrm.module.js +58 -26
- package/lib/three-vrm.module.min.js +1 -1
- package/package.json +6 -6
- package/ts3.4/types/VRM.d.ts +1 -1
- package/ts3.4/types/VRMImporter.d.ts +1 -1
- package/ts3.4/types/blendshape/VRMBlendShapeImporter.d.ts +1 -1
- package/ts3.4/types/debug/VRMDebug.d.ts +1 -1
- package/ts3.4/types/debug/VRMImporterDebug.d.ts +1 -1
- package/ts3.4/types/debug/VRMLookAtImporterDebug.d.ts +1 -1
- package/ts3.4/types/debug/VRMSpringBoneImporterDebug.d.ts +1 -1
- package/ts3.4/types/firstperson/VRMFirstPersonImporter.d.ts +1 -1
- package/ts3.4/types/humanoid/VRMHumanoidImporter.d.ts +1 -1
- package/ts3.4/types/lookat/VRMLookAtImporter.d.ts +1 -1
- package/ts3.4/types/material/VRMMaterialImporter.d.ts +1 -1
- package/ts3.4/types/material/getTexelDecodingFunction.d.ts +4 -0
- package/ts3.4/types/meta/VRMMetaImporter.d.ts +1 -1
- package/ts3.4/types/springbone/VRMSpringBoneImporter.d.ts +1 -1
- package/ts3.4/types/springbone/VRMSpringBoneManager.d.ts +7 -0
- package/ts3.4/types/utils/gltfExtractPrimitivesFromNode.d.ts +1 -1
- package/types/VRM.d.ts +1 -1
- package/types/VRMImporter.d.ts +1 -1
- package/types/blendshape/VRMBlendShapeImporter.d.ts +1 -1
- package/types/debug/VRMDebug.d.ts +1 -1
- package/types/debug/VRMImporterDebug.d.ts +1 -1
- package/types/debug/VRMLookAtImporterDebug.d.ts +1 -1
- package/types/debug/VRMSpringBoneImporterDebug.d.ts +1 -1
- package/types/firstperson/VRMFirstPersonImporter.d.ts +1 -1
- package/types/humanoid/VRMHumanoidImporter.d.ts +1 -1
- package/types/lookat/VRMLookAtImporter.d.ts +1 -1
- package/types/material/VRMMaterialImporter.d.ts +1 -1
- package/types/material/getTexelDecodingFunction.d.ts +4 -0
- package/types/meta/VRMMetaImporter.d.ts +1 -1
- package/types/springbone/VRMSpringBoneImporter.d.ts +1 -1
- package/types/springbone/VRMSpringBoneManager.d.ts +7 -0
- package/types/utils/gltfExtractPrimitivesFromNode.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
1
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
2
2
|
import { VRMBlendShapeProxy } from './VRMBlendShapeProxy';
|
|
3
3
|
/**
|
|
4
4
|
* An importer that imports a [[VRMBlendShape]] from a VRM extension of a GLTF.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
1
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
2
2
|
import { VRM, VRMParameters } from '../VRM';
|
|
3
3
|
import { VRMImporterOptions } from '../VRMImporter';
|
|
4
4
|
import { VRMDebugOptions } from './VRMDebugOptions';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
1
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
2
2
|
import { VRMImporter, VRMImporterOptions } from '../VRMImporter';
|
|
3
3
|
import { VRMDebug } from './VRMDebug';
|
|
4
4
|
import { VRMDebugOptions } from './VRMDebugOptions';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
1
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
2
2
|
import { VRMBlendShapeProxy } from '../blendshape';
|
|
3
3
|
import { VRMFirstPerson } from '../firstperson';
|
|
4
4
|
import { VRMHumanoid } from '../humanoid';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
2
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
3
3
|
import { VRMSpringBoneImporter } from '../springbone/VRMSpringBoneImporter';
|
|
4
4
|
import { VRMSpringBoneManagerDebug } from './VRMSpringBoneManagerDebug';
|
|
5
5
|
import { VRMSpringBoneDebug } from './VRMSpringBoneDebug';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
1
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
2
2
|
import { VRMBlendShapeProxy } from '../blendshape';
|
|
3
3
|
import { VRMFirstPerson } from '../firstperson';
|
|
4
4
|
import { VRMHumanoid } from '../humanoid';
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
2
|
/**
|
|
3
|
+
* COMPAT: pre-r137
|
|
3
4
|
* Ref: https://github.com/mrdoob/three.js/blob/r136/src/renderers/webgl/WebGLProgram.js#L22
|
|
4
5
|
*/
|
|
5
6
|
export declare const getEncodingComponents: (encoding: THREE.TextureEncoding) => [string, string];
|
|
6
7
|
/**
|
|
8
|
+
* COMPAT: pre-r137
|
|
9
|
+
* This function is no longer required beginning from r137
|
|
10
|
+
*
|
|
7
11
|
* https://github.com/mrdoob/three.js/blob/r136/src/renderers/webgl/WebGLProgram.js#L52
|
|
8
12
|
*/
|
|
9
13
|
export declare const getTexelDecodingFunction: (functionName: string, encoding: THREE.TextureEncoding) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
2
|
+
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
3
3
|
import { VRMSchema } from '../types';
|
|
4
4
|
import { VRMSpringBone } from './VRMSpringBone';
|
|
5
5
|
import { VRMSpringBoneColliderGroup, VRMSpringBoneColliderMesh } from './VRMSpringBoneColliderGroup';
|
|
@@ -32,4 +32,11 @@ export declare class VRMSpringBoneManager {
|
|
|
32
32
|
* Reset every spring bone attached to this manager.
|
|
33
33
|
*/
|
|
34
34
|
reset(): void;
|
|
35
|
+
/**
|
|
36
|
+
* Update worldMatrix of given object, respecting its ancestors.
|
|
37
|
+
* called before update springbone.
|
|
38
|
+
* @param updatedObjectSet Set of node which worldMatrix is updated.
|
|
39
|
+
* @param node target bone node.
|
|
40
|
+
*/
|
|
41
|
+
private _updateWorldMatrix;
|
|
35
42
|
}
|