@smplrspace/smplr-loader 2.16.1-beta.9 → 2.16.1
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 +27 -67
- package/package.json +1 -1
|
@@ -122,6 +122,7 @@ declare interface DottedPolylineDataLayer<D extends UnknownData = NoData> extend
|
|
|
122
122
|
speed?: number;
|
|
123
123
|
amplitude?: number;
|
|
124
124
|
waves?: number;
|
|
125
|
+
disableElevationCorrection?: boolean;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
declare const drawLegend: ({ containerId, ...legendProps }: LegendProps & {
|
|
@@ -151,72 +152,18 @@ declare interface Filter {
|
|
|
151
152
|
groundColor: string;
|
|
152
153
|
intensity: number;
|
|
153
154
|
};
|
|
154
|
-
whiteMaterial:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
grassMaterial: {
|
|
167
|
-
baseColor: string;
|
|
168
|
-
metallicRatio: number;
|
|
169
|
-
roughnessRatio: number;
|
|
170
|
-
alphaRatio: number;
|
|
171
|
-
};
|
|
172
|
-
waterMaterial: {
|
|
173
|
-
baseColor: string;
|
|
174
|
-
metallicRatio: number;
|
|
175
|
-
roughnessRatio: number;
|
|
176
|
-
alphaRatio: number;
|
|
177
|
-
};
|
|
178
|
-
darkGreyMaterial: {
|
|
179
|
-
baseColor: string;
|
|
180
|
-
metallicRatio: number;
|
|
181
|
-
roughnessRatio: number;
|
|
182
|
-
alphaRatio: number;
|
|
183
|
-
};
|
|
184
|
-
glassMaterial: {
|
|
185
|
-
baseColor: string;
|
|
186
|
-
metallicRatio: number;
|
|
187
|
-
roughnessRatio: number;
|
|
188
|
-
alphaRatio: number;
|
|
189
|
-
};
|
|
190
|
-
metalMaterial: {
|
|
191
|
-
baseColor: string;
|
|
192
|
-
metallicRatio: number;
|
|
193
|
-
roughnessRatio: number;
|
|
194
|
-
alphaRatio: number;
|
|
195
|
-
};
|
|
196
|
-
compassMaterial: {
|
|
197
|
-
baseColor: string;
|
|
198
|
-
metallicRatio: number;
|
|
199
|
-
roughnessRatio: number;
|
|
200
|
-
alphaRatio: number;
|
|
201
|
-
};
|
|
202
|
-
placeholderMaterial: {
|
|
203
|
-
baseColor: string;
|
|
204
|
-
metallicRatio: number;
|
|
205
|
-
roughnessRatio: number;
|
|
206
|
-
alphaRatio: number;
|
|
207
|
-
};
|
|
208
|
-
hoveredMaterial: {
|
|
209
|
-
baseColor: string;
|
|
210
|
-
metallicRatio: number;
|
|
211
|
-
roughnessRatio: number;
|
|
212
|
-
alphaRatio: number;
|
|
213
|
-
};
|
|
214
|
-
selectedMaterial: {
|
|
215
|
-
baseColor: string;
|
|
216
|
-
metallicRatio: number;
|
|
217
|
-
roughnessRatio: number;
|
|
218
|
-
alphaRatio: number;
|
|
219
|
-
};
|
|
155
|
+
whiteMaterial: Material;
|
|
156
|
+
indoorMaterial: Material;
|
|
157
|
+
grassMaterial: Material;
|
|
158
|
+
waterMaterial: Material;
|
|
159
|
+
darkGreyMaterial: Material;
|
|
160
|
+
structuralWallMaterial: Material;
|
|
161
|
+
glassMaterial: Material;
|
|
162
|
+
metalMaterial: Material;
|
|
163
|
+
compassMaterial: Material;
|
|
164
|
+
placeholderMaterial: Material;
|
|
165
|
+
hoveredMaterial: Material;
|
|
166
|
+
selectedMaterial: Material;
|
|
220
167
|
dataElement: {
|
|
221
168
|
defaultColor: string;
|
|
222
169
|
};
|
|
@@ -268,6 +215,7 @@ declare type HeatmapDataLayer<D extends UnknownData = NoData> = NonInteractiveDa
|
|
|
268
215
|
mask?: SmplrCoord2d[] | Record<number, SmplrCoord2d[]>;
|
|
269
216
|
color: (interpolatedValue: number) => string;
|
|
270
217
|
confidenceRadius?: number;
|
|
218
|
+
disableElevationCorrection?: boolean;
|
|
271
219
|
} & HeatmapStyleOptions;
|
|
272
220
|
|
|
273
221
|
declare interface HeatmapGridOptions {
|
|
@@ -305,6 +253,7 @@ declare interface IconDataLayer<D extends UnknownData = NoData> extends BaseData
|
|
|
305
253
|
data: IconData & D;
|
|
306
254
|
position: SmplrCoord3d;
|
|
307
255
|
}) => void;
|
|
256
|
+
disableElevationCorrection?: boolean;
|
|
308
257
|
}
|
|
309
258
|
|
|
310
259
|
declare const Legend: FC<LegendProps>;
|
|
@@ -324,6 +273,14 @@ declare interface Listener {
|
|
|
324
273
|
userDefined: boolean;
|
|
325
274
|
}
|
|
326
275
|
|
|
276
|
+
declare interface Material {
|
|
277
|
+
baseColor: string;
|
|
278
|
+
metallicRatio: number;
|
|
279
|
+
roughnessRatio: number;
|
|
280
|
+
alphaRatio: number;
|
|
281
|
+
layerOffset?: number;
|
|
282
|
+
}
|
|
283
|
+
|
|
327
284
|
declare type NoData = Record<string, never>;
|
|
328
285
|
|
|
329
286
|
declare interface NonInteractiveDataLayer<T, D extends UnknownData> {
|
|
@@ -423,6 +380,7 @@ declare type PointDataLayer<D extends UnknownData = NoData> = BaseDataLayer<Poin
|
|
|
423
380
|
data: PointData & D;
|
|
424
381
|
position: SmplrCoord3d;
|
|
425
382
|
}) => void;
|
|
383
|
+
disableElevationCorrection?: boolean;
|
|
426
384
|
} & PointShapeOptions<D>;
|
|
427
385
|
|
|
428
386
|
declare type PointShapeOptions<D> = SphereOptions<D> | CubeOptions<D>;
|
|
@@ -448,6 +406,7 @@ declare interface PolygonDataLayer<D extends UnknownData = NoData> extends BaseD
|
|
|
448
406
|
}) => void;
|
|
449
407
|
disableReshape?: boolean;
|
|
450
408
|
reshapeBoxColor?: string;
|
|
409
|
+
disableElevationCorrection?: boolean;
|
|
451
410
|
}
|
|
452
411
|
|
|
453
412
|
declare type PolylineData = BaseData & {
|
|
@@ -477,6 +436,7 @@ declare interface PolylineDataLayer<D extends UnknownData = NoData> extends Base
|
|
|
477
436
|
}) => void;
|
|
478
437
|
disableReshape?: boolean;
|
|
479
438
|
reshapeBoxColor?: string;
|
|
439
|
+
disableElevationCorrection?: boolean;
|
|
480
440
|
}
|
|
481
441
|
|
|
482
442
|
export declare class QueryClient {
|
|
@@ -751,7 +711,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
751
711
|
z: number;
|
|
752
712
|
}
|
|
753
713
|
|
|
754
|
-
export declare const version = "2.16.1
|
|
714
|
+
export declare const version = "2.16.1";
|
|
755
715
|
|
|
756
716
|
declare interface ViewerOptions {
|
|
757
717
|
mode?: CameraMode;
|