soonspacejs 2.6.39 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "2.6.39",
3
+ "version": "2.7.0",
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.152.2"
32
32
  },
33
- "gitHead": "ec83ab42a5db34d708ebfbc88e0b9d6494e61bce"
33
+ "gitHead": "dfe48f7be3dba7353e8a62a278242af8cd28d233"
34
34
  }
@@ -5,19 +5,13 @@ import { MeshStandardMaterial } from 'three';
5
5
  * @returns
6
6
  */
7
7
  export declare const isPNG: (textureUrl?: string) => boolean;
8
- /**
9
- * 获取材质贴图名称
10
- * @param dataView 二进制数据视图表
11
- * @param strLength 名称字符长度
12
- * @param strOffset 名称字符偏移量
13
- */
14
- export declare const getTextureName: (dataView: DataView, strLength: number, strOffset: number) => string;
8
+ export declare const getTextureName: (dataView: DataView, texnamelen: number, offset: number) => string;
15
9
  /**
16
10
  * 获取材质贴图路径
17
11
  * @param modelUrl 模型资源路径
18
12
  * @param name 贴图名称
19
13
  */
20
- export declare const getTextureUrl: (url: string, textureName: string) => string;
14
+ export declare const getTextureUrl: (url: string, path: string) => string;
21
15
  /**
22
16
  * 生成 sbm 纹理
23
17
  * @param url