@soonspacejs/plugin-navigation 2.15.19 → 2.16.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/dist/index.esm.js +6 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -6,6 +6,8 @@ class L {
|
|
|
6
6
|
this._isActive && i === this.nativeCamera || (i === this.nativeCamera ? (this._onBeforeEnter(), this.onEnter()) : this._isActive && i !== this.nativeCamera && (this._onBeforeQuit(), this.onQuit()));
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
|
+
ssp;
|
|
10
|
+
nativeCamera;
|
|
9
11
|
_isActive = !1;
|
|
10
12
|
active() {
|
|
11
13
|
this.ssp.viewport.cameraManager.setCurrentCamera(this.nativeCamera);
|
|
@@ -26,6 +28,7 @@ class J extends L {
|
|
|
26
28
|
const e = new S();
|
|
27
29
|
super(t, e), this.ssp = t, e.far = 2e5;
|
|
28
30
|
}
|
|
31
|
+
ssp;
|
|
29
32
|
resizeObserver = new ResizeObserver(() => {
|
|
30
33
|
this.resizeCamera();
|
|
31
34
|
});
|
|
@@ -160,6 +163,7 @@ class tt extends L {
|
|
|
160
163
|
});
|
|
161
164
|
this.initOptions = r, this.setOptions(r), this.setCamera(n);
|
|
162
165
|
}
|
|
166
|
+
ssp;
|
|
163
167
|
initOptions = h;
|
|
164
168
|
cameraKey = "navigatorCamera" + ~~(Math.random() * 1e4);
|
|
165
169
|
_events = {
|
|
@@ -764,6 +768,8 @@ class rt {
|
|
|
764
768
|
constructor(t, e) {
|
|
765
769
|
this.ssp = t, this.paths = e;
|
|
766
770
|
}
|
|
771
|
+
ssp;
|
|
772
|
+
paths;
|
|
767
773
|
onPlay = () => {
|
|
768
774
|
};
|
|
769
775
|
onStatusChange = () => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-navigation",
|
|
3
3
|
"pluginName": "NavigationPlugin",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"description": "Navigation plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
16
|
"gitHead": "4a87dd85050651088e11c3da777c49fab3db7e5d",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.
|
|
18
|
+
"soonspacejs": "2.16.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@three3d/tools": "^1.6.0"
|