@smplrspace/smplr-loader 2.58.1-beta.16 → 2.58.1-beta.18
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 +28 -2
- package/package.json +1 -1
|
@@ -2142,7 +2142,7 @@ declare interface Material {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
|
|
2144
2144
|
declare interface MeshSmplrData {
|
|
2145
|
-
type:
|
|
2145
|
+
type: MeshType;
|
|
2146
2146
|
isInstanciated?: boolean;
|
|
2147
2147
|
instances?: Instance_2[] | null;
|
|
2148
2148
|
modelDimensions?: Dimensions;
|
|
@@ -2171,6 +2171,27 @@ declare interface MeshSmplrData {
|
|
|
2171
2171
|
panelIndex?: number;
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
|
+
declare enum MeshType {
|
|
2175
|
+
Wall = "wall",
|
|
2176
|
+
Ground = "ground",
|
|
2177
|
+
Window = "window",
|
|
2178
|
+
WindowFrame = "window-frame",
|
|
2179
|
+
Door = "door",
|
|
2180
|
+
DoorFrame = "door-frame",
|
|
2181
|
+
SlidingDoorPanel = "sliding-door-panel",
|
|
2182
|
+
SlidingDoorPanelFrame = "sliding-door-panel-frame",
|
|
2183
|
+
Railing = "railing",
|
|
2184
|
+
Roof = "roof",
|
|
2185
|
+
Stairs = "stairs",
|
|
2186
|
+
Annotation = "annotation",
|
|
2187
|
+
Compass = "compass",
|
|
2188
|
+
Facade = "facade",
|
|
2189
|
+
Floorplan = "floorplan",
|
|
2190
|
+
Object = "object",
|
|
2191
|
+
ObjectPlaceholder = "object-placeholder",
|
|
2192
|
+
DataLayer = "data-layer"
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2174
2195
|
export declare type NoData = Record<string, never>;
|
|
2175
2196
|
|
|
2176
2197
|
declare type NominalDimensionsGetter<C> = (args: {
|
|
@@ -4452,6 +4473,11 @@ export declare interface SpaceViewerOptions {
|
|
|
4452
4473
|
onModeChange?: (mode: CameraMode) => void;
|
|
4453
4474
|
loadingMessage?: string;
|
|
4454
4475
|
renderingMessage?: string;
|
|
4476
|
+
disableFacadeMode?: boolean;
|
|
4477
|
+
/**
|
|
4478
|
+
* @deprecated Facade-based performance is now the default. Pass `disableFacadeMode: true` to opt out.
|
|
4479
|
+
* Passing `true` here is a no-op (facade is already on). Passing `false` maps to `disableFacadeMode: true`.
|
|
4480
|
+
*/
|
|
4455
4481
|
experimentalFacadeBasedPerformance?: boolean;
|
|
4456
4482
|
protectScroll?: boolean;
|
|
4457
4483
|
webGpuOptIn?: boolean;
|
|
@@ -4643,7 +4669,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
4643
4669
|
z: number;
|
|
4644
4670
|
}
|
|
4645
4671
|
|
|
4646
|
-
export declare const version = "2.58.1-beta.
|
|
4672
|
+
export declare const version = "2.58.1-beta.18";
|
|
4647
4673
|
|
|
4648
4674
|
declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
|
|
4649
4675
|
definition: Definition;
|