@smplrspace/smplr-loader 2.26.1-beta.0 → 2.26.1-beta.2
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/generated/smplr.d.ts +12 -1
- package/package.json +1 -1
|
@@ -414,6 +414,7 @@ export declare interface MapViewerOptions {
|
|
|
414
414
|
spaceIds?: string[];
|
|
415
415
|
spaces?: GeojsonSpace[];
|
|
416
416
|
osmBuildings?: boolean;
|
|
417
|
+
search?: boolean;
|
|
417
418
|
hash?: boolean;
|
|
418
419
|
fitNewSpacesInScreen?: boolean;
|
|
419
420
|
preview?: boolean;
|
|
@@ -919,6 +920,8 @@ export declare class Space {
|
|
|
919
920
|
showLevelPicker(): void;
|
|
920
921
|
hideNavigationButtons(): void;
|
|
921
922
|
showNavigationButtons(): void;
|
|
923
|
+
takeScreenshot(args?: Omit<TakeScreenshotArgs, 'scene'>): Promise<void>;
|
|
924
|
+
takeScreenshotToString(args?: Omit<TakeScreenshotArgs, 'scene'>): Promise<string>;
|
|
922
925
|
}
|
|
923
926
|
|
|
924
927
|
export declare interface SpaceOptions {
|
|
@@ -993,6 +996,14 @@ declare interface SphereOptions<D> {
|
|
|
993
996
|
});
|
|
994
997
|
}
|
|
995
998
|
|
|
999
|
+
declare interface TakeScreenshotArgs {
|
|
1000
|
+
scene: SmplrScene;
|
|
1001
|
+
width?: number;
|
|
1002
|
+
height?: number;
|
|
1003
|
+
forceRetinaPixelRatio?: boolean;
|
|
1004
|
+
forceNonRetinaPixelRatio?: boolean;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
996
1007
|
declare const toString_2: () => string;
|
|
997
1008
|
export { toString_2 as toString }
|
|
998
1009
|
|
|
@@ -1017,7 +1028,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
1017
1028
|
z: number;
|
|
1018
1029
|
}
|
|
1019
1030
|
|
|
1020
|
-
export declare const version = "2.26.1-beta.
|
|
1031
|
+
export declare const version = "2.26.1-beta.2";
|
|
1021
1032
|
|
|
1022
1033
|
declare interface ViewerRendererHandle {
|
|
1023
1034
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|