@soonspacejs/plugin-camera-follower 2.13.10 → 2.13.12
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.d.ts +13 -13
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import SoonSpace from 'soonspacejs';
|
|
2
|
-
import type { Position, Rotation } from 'soonspacejs';
|
|
3
|
-
import type { Object3D } from 'three';
|
|
4
|
-
export interface StartOptions {
|
|
5
|
-
position?: Position;
|
|
6
|
-
rotation?: Rotation;
|
|
7
|
-
}
|
|
8
|
-
export default class CameraFollowerPlugin {
|
|
9
|
-
readonly ssp: SoonSpace;
|
|
10
|
-
constructor(ssp: SoonSpace);
|
|
11
|
-
start(object: Object3D, options?: StartOptions): void;
|
|
12
|
-
stop(): void;
|
|
13
|
-
}
|
|
1
|
+
import SoonSpace from 'soonspacejs';
|
|
2
|
+
import type { Position, Rotation } from 'soonspacejs';
|
|
3
|
+
import type { Object3D } from 'three';
|
|
4
|
+
export interface StartOptions {
|
|
5
|
+
position?: Position;
|
|
6
|
+
rotation?: Rotation;
|
|
7
|
+
}
|
|
8
|
+
export default class CameraFollowerPlugin {
|
|
9
|
+
readonly ssp: SoonSpace;
|
|
10
|
+
constructor(ssp: SoonSpace);
|
|
11
|
+
start(object: Object3D, options?: StartOptions): void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-camera-follower",
|
|
3
3
|
"pluginName": "CameraFollowerPlugin",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.12",
|
|
5
5
|
"description": "Camera follower plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "xunwei",
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "aa34f472ae1520b537b0a5a1d67f4a746f41236a",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.13.
|
|
18
|
+
"soonspacejs": "2.13.12"
|
|
19
19
|
}
|
|
20
20
|
}
|