soonspacejs 2.6.18 → 2.6.20
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": "soonspacejs",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.20",
|
|
4
4
|
"homepage": "http://www.xwbuilders.com:8800/",
|
|
5
5
|
"description": "soonspacejs 2.x",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"three": ">=0.151.3"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "a11b43e7b50334fd298b1d24e658f5ea97d9d72a"
|
|
34
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MeshStandardMaterial } from 'three';
|
|
2
2
|
/**
|
|
3
3
|
* 贴图是否 png 格式
|
|
4
4
|
* @param textureUrl
|
|
@@ -9,7 +9,7 @@ export declare const isPNG: (textureUrl?: string) => boolean;
|
|
|
9
9
|
* 生成 sbm 纹理
|
|
10
10
|
* @param url
|
|
11
11
|
*/
|
|
12
|
-
export declare const generateSbmTexture: (material: MeshStandardMaterial, textureUrl: string) =>
|
|
12
|
+
export declare const generateSbmTexture: (material: MeshStandardMaterial, textureUrl: string) => void;
|
|
13
13
|
/**
|
|
14
14
|
* 生成 sbm 材质
|
|
15
15
|
* @param materialId
|