@smplrspace/smplr-loader 2.17.1-beta.1 → 2.17.1-beta.10
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 +46 -1
- package/package.json +1 -1
|
@@ -153,6 +153,10 @@ declare interface Filter {
|
|
|
153
153
|
intensity: number;
|
|
154
154
|
};
|
|
155
155
|
whiteMaterial: Material;
|
|
156
|
+
chairTableGap?: number;
|
|
157
|
+
objectStrokeThickness?: number;
|
|
158
|
+
objectStrokeMaterial?: Material;
|
|
159
|
+
objectFillMaterial?: Material;
|
|
156
160
|
indoorMaterial: Material;
|
|
157
161
|
grassMaterial: Material;
|
|
158
162
|
waterMaterial: Material;
|
|
@@ -334,6 +338,18 @@ declare interface NumericScaleOptions {
|
|
|
334
338
|
|
|
335
339
|
declare type OnPickFn = (args: { coordinates: SmplrCoord3d; furnitureId?: string }) => void
|
|
336
340
|
|
|
341
|
+
declare interface Opening {
|
|
342
|
+
id: string;
|
|
343
|
+
name: string;
|
|
344
|
+
dimensions: {
|
|
345
|
+
width: number;
|
|
346
|
+
height: number;
|
|
347
|
+
baseHeight: number;
|
|
348
|
+
};
|
|
349
|
+
options: object;
|
|
350
|
+
coordinates: SmplrCoord3d[];
|
|
351
|
+
}
|
|
352
|
+
|
|
337
353
|
declare interface OrbitCamera extends ArcRotateCamera {
|
|
338
354
|
smplrData: {
|
|
339
355
|
persisted: boolean;
|
|
@@ -561,6 +577,34 @@ export declare class QueryClient {
|
|
|
561
577
|
simplify?: boolean;
|
|
562
578
|
simplifyTolerance?: number;
|
|
563
579
|
}): SmplrCoord2d[];
|
|
580
|
+
getLevelAutomaticGround({ spaceId, levelIndex, }: {
|
|
581
|
+
spaceId: string;
|
|
582
|
+
levelIndex: number;
|
|
583
|
+
}): Promise<SmplrCoord2d[] | null>;
|
|
584
|
+
getLevelAutomaticGroundFromCache({ spaceId, levelIndex, }: {
|
|
585
|
+
spaceId: string;
|
|
586
|
+
levelIndex: number;
|
|
587
|
+
}): SmplrCoord2d[] | null;
|
|
588
|
+
getAllDoorsInSpace(id: string): Promise<Opening[]>;
|
|
589
|
+
getAllDoorsInSpaceFromCache(id: string): Opening[];
|
|
590
|
+
getDoorsOnLevel({ spaceId, levelIndex }: {
|
|
591
|
+
spaceId: string;
|
|
592
|
+
levelIndex: number;
|
|
593
|
+
}): Promise<Opening[]>;
|
|
594
|
+
getDoorsOnLevelFromCache({ spaceId, levelIndex }: {
|
|
595
|
+
spaceId: string;
|
|
596
|
+
levelIndex: number;
|
|
597
|
+
}): Opening[];
|
|
598
|
+
getAllWindowsInSpace(id: string): Promise<Opening[]>;
|
|
599
|
+
getAllWindowsInSpaceFromCache(id: string): Opening[];
|
|
600
|
+
getWindowsOnLevel({ spaceId, levelIndex }: {
|
|
601
|
+
spaceId: string;
|
|
602
|
+
levelIndex: number;
|
|
603
|
+
}): Promise<Opening[]>;
|
|
604
|
+
getWindowsOnLevelFromCache({ spaceId, levelIndex }: {
|
|
605
|
+
spaceId: string;
|
|
606
|
+
levelIndex: number;
|
|
607
|
+
}): Opening[];
|
|
564
608
|
}
|
|
565
609
|
|
|
566
610
|
declare const ragScale: <C extends string>({ categories, colors, nodata, }: RAGScaleOptions<C>) => (category: C) => string;
|
|
@@ -727,7 +771,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
727
771
|
z: number;
|
|
728
772
|
}
|
|
729
773
|
|
|
730
|
-
export declare const version = "2.17.1-beta.
|
|
774
|
+
export declare const version = "2.17.1-beta.10";
|
|
731
775
|
|
|
732
776
|
declare interface ViewerOptions {
|
|
733
777
|
mode?: CameraMode;
|
|
@@ -763,6 +807,7 @@ declare interface ViewerRendererHandle {
|
|
|
763
807
|
includeAllLevels: () => void
|
|
764
808
|
showUpToLevel: (levelIndex: number) => void
|
|
765
809
|
showAllLevels: () => void
|
|
810
|
+
getMode: () => CameraMode
|
|
766
811
|
setMode: (mode: CameraMode) => void
|
|
767
812
|
updateRenderOptions: (options: RenderOptions) => void
|
|
768
813
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|