vis-core 0.31.30 → 0.31.32
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 +6 -5
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -142,9 +142,9 @@ export declare class Base extends Camera {
|
|
|
142
142
|
show(): void;
|
|
143
143
|
showAction(): void;
|
|
144
144
|
hide(): void;
|
|
145
|
-
exportScene():
|
|
146
|
-
exportBaseObject(baseObject: BaseObject):
|
|
147
|
-
restoreBaseObject(data: string, target?: BaseObject, objectsMap?: {
|
|
145
|
+
exportScene(): THREE.Object3DJSON;
|
|
146
|
+
exportBaseObject(baseObject: BaseObject): THREE.Object3DJSON;
|
|
147
|
+
restoreBaseObject(data: string | THREE.Object3DJSON, target?: BaseObject, objectsMap?: {
|
|
148
148
|
Point: Point;
|
|
149
149
|
Arc: typeof Arc;
|
|
150
150
|
Model: Model;
|
|
@@ -167,7 +167,7 @@ export declare class Base extends Camera {
|
|
|
167
167
|
Line: typeof LineObject;
|
|
168
168
|
Group: GroupObject;
|
|
169
169
|
}): Promise<BaseObject<THREE.Object3D<THREE.Object3DEventMap>>>;
|
|
170
|
-
restoreScene(str: string, objectsMap?: {
|
|
170
|
+
restoreScene(str: string | THREE.Object3DJSON, objectsMap?: {
|
|
171
171
|
Point: Point;
|
|
172
172
|
Arc: typeof Arc;
|
|
173
173
|
Model: Model;
|
|
@@ -412,6 +412,7 @@ declare class ContinentsBg extends GroupObject {
|
|
|
412
412
|
constructor(options: Options_8);
|
|
413
413
|
create(): Promise<void>;
|
|
414
414
|
getLocationPosition(location: [number, number], name?: string): [number, number, number] | undefined;
|
|
415
|
+
private calculatePosition;
|
|
415
416
|
render(): void;
|
|
416
417
|
rebuildFromScene(): void;
|
|
417
418
|
dispose(): void;
|
|
@@ -1380,7 +1381,7 @@ export { TWEEN }
|
|
|
1380
1381
|
|
|
1381
1382
|
export { Tween }
|
|
1382
1383
|
|
|
1383
|
-
export declare const VERSION = "0.31.
|
|
1384
|
+
export declare const VERSION = "0.31.32";
|
|
1384
1385
|
|
|
1385
1386
|
export { }
|
|
1386
1387
|
|