soonspacejs 2.5.40 → 2.5.41
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/dist/index.esm.js +3 -3
- package/package.json +2 -2
- package/types/Viewport/index.d.ts +1 -1
- package/types/index.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soonspacejs",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.41",
|
|
4
4
|
"homepage": "http://www.xwbuilders.com:8800/",
|
|
5
5
|
"description": "soonspacejs 2.x",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"@tweenjs/tween.js": "^18.6.4",
|
|
27
27
|
"@types/three": "0.141.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "e6e9fdbc1cefdcabde37159e7a0dda25dc11e130"
|
|
30
30
|
}
|
|
@@ -75,7 +75,7 @@ declare class Viewport {
|
|
|
75
75
|
setBackgroundImage(imgUrl: string): void;
|
|
76
76
|
setSky(options?: SkyOptions): Sky | undefined;
|
|
77
77
|
closeSky(): boolean;
|
|
78
|
-
|
|
78
|
+
screenshot(): Promise<Blob | null>;
|
|
79
79
|
/**
|
|
80
80
|
***************************** environment ***************************
|
|
81
81
|
*/
|
package/types/index.d.ts
CHANGED
|
@@ -473,7 +473,12 @@ export declare class SoonSpace {
|
|
|
473
473
|
*/
|
|
474
474
|
closeSceneFog(): void;
|
|
475
475
|
setSky(options: SkyOptions): import("three/examples/jsm/objects/Sky").Sky | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* @deprecated use screenshot instead
|
|
478
|
+
* @returns
|
|
479
|
+
*/
|
|
476
480
|
getScreenshot(): Promise<Blob | null>;
|
|
481
|
+
screenshot(): Promise<Blob | null>;
|
|
477
482
|
/**
|
|
478
483
|
* 轮廓显示模型
|
|
479
484
|
* @param object
|