iflow-engine-base 3.7.9 → 3.7.11
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/bim-engine-sdk.es.js +9972 -10251
- package/dist/bim-engine-sdk.es.js.map +1 -1
- package/dist/bim-engine-sdk.umd.js +250 -250
- package/dist/bim-engine-sdk.umd.js.map +1 -1
- package/dist/index.d.ts +15 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ declare class CameraModule {
|
|
|
295
295
|
getOrthographicVisibleHeight(camera?: THREE.OrthographicCamera): number;
|
|
296
296
|
setOrthographicVisibleHeight(visibleHeight: number, camera?: THREE.OrthographicCamera): void;
|
|
297
297
|
private getViewDirection;
|
|
298
|
+
private getStableCameraUp;
|
|
298
299
|
private updateComposerCamera;
|
|
299
300
|
private applySwitchedCamera;
|
|
300
301
|
switchCurrentCamera(): void;
|
|
@@ -314,7 +315,7 @@ declare class CameraModule {
|
|
|
314
315
|
x: number;
|
|
315
316
|
y: number;
|
|
316
317
|
z: number;
|
|
317
|
-
},
|
|
318
|
+
}, stableUp?: any): void;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
declare class CameraModule2d {
|
|
@@ -517,6 +518,7 @@ declare class Clipping {
|
|
|
517
518
|
clippingStencil: any;
|
|
518
519
|
clippingCSGSimple: ClippingCSGOptimizedSimple | null;
|
|
519
520
|
currentClippingMode: string;
|
|
521
|
+
sectionCatchFace: any;
|
|
520
522
|
fillCutFace: boolean;
|
|
521
523
|
constructor(engine: any);
|
|
522
524
|
init(): void;
|
|
@@ -731,6 +733,7 @@ declare class ControlModule {
|
|
|
731
733
|
handleMouseDown(event: MouseEvent): void;
|
|
732
734
|
handleMouseClick(event: MouseEvent): void;
|
|
733
735
|
update(): void;
|
|
736
|
+
dispose(): void;
|
|
734
737
|
}
|
|
735
738
|
|
|
736
739
|
declare class ControlModule2d {
|
|
@@ -1472,6 +1475,7 @@ declare class EngineKernelV2 {
|
|
|
1472
1475
|
private options;
|
|
1473
1476
|
private deviceType;
|
|
1474
1477
|
private animationId;
|
|
1478
|
+
private isDisposed;
|
|
1475
1479
|
private isRenderingPaused;
|
|
1476
1480
|
private controlsEnabledBeforePause;
|
|
1477
1481
|
private animate;
|
|
@@ -1549,7 +1553,7 @@ declare class EngineKernelV2 {
|
|
|
1549
1553
|
private container;
|
|
1550
1554
|
constructor(options: any);
|
|
1551
1555
|
updateVersionDisplay(): void;
|
|
1552
|
-
updateLightPosition(camera: any, directionalLight: any): void;
|
|
1556
|
+
updateLightPosition(camera: any, directionalLight: any, updataRotate?: boolean): void;
|
|
1553
1557
|
/**
|
|
1554
1558
|
* 自适应渲染降级:将渲染模式降低一级
|
|
1555
1559
|
*/
|
|
@@ -1585,6 +1589,9 @@ declare class EngineKernelV2 {
|
|
|
1585
1589
|
/**
|
|
1586
1590
|
* 清理材质及其纹理
|
|
1587
1591
|
*/
|
|
1592
|
+
private invokeIfExists;
|
|
1593
|
+
private disposeSceneAttachments;
|
|
1594
|
+
private disposeSceneAttachment;
|
|
1588
1595
|
private disposeMaterial;
|
|
1589
1596
|
}
|
|
1590
1597
|
|
|
@@ -2485,6 +2492,7 @@ declare class InteractionModule {
|
|
|
2485
2492
|
init(): void;
|
|
2486
2493
|
active(): void;
|
|
2487
2494
|
disActive(): void;
|
|
2495
|
+
dispose(): void;
|
|
2488
2496
|
handelKeyCtrlUp(): void;
|
|
2489
2497
|
handelKeyCtrlDown(): void;
|
|
2490
2498
|
handelKeyShiftUp(): void;
|
|
@@ -2830,6 +2838,7 @@ declare class LinkElement2d3d {
|
|
|
2830
2838
|
constructor(engine: any);
|
|
2831
2839
|
private active;
|
|
2832
2840
|
private disActive;
|
|
2841
|
+
dispose(): void;
|
|
2833
2842
|
private readonly listenElementClick;
|
|
2834
2843
|
}
|
|
2835
2844
|
|
|
@@ -2838,6 +2847,7 @@ declare class LinkView2d3d {
|
|
|
2838
2847
|
constructor(engine: any);
|
|
2839
2848
|
private active;
|
|
2840
2849
|
private disActive;
|
|
2850
|
+
dispose(): void;
|
|
2841
2851
|
private readonly listenViewUpdate;
|
|
2842
2852
|
private applyPosition;
|
|
2843
2853
|
private applyRotation;
|
|
@@ -2958,6 +2968,7 @@ declare class Measure {
|
|
|
2958
2968
|
private angleMeasure;
|
|
2959
2969
|
private areaMeasure;
|
|
2960
2970
|
private slopeMeasure;
|
|
2971
|
+
private faceDistanceMeasure;
|
|
2961
2972
|
private tools;
|
|
2962
2973
|
private annotationContainer;
|
|
2963
2974
|
private annotationData;
|
|
@@ -2970,6 +2981,7 @@ declare class Measure {
|
|
|
2970
2981
|
saveSetting(setting: any): void;
|
|
2971
2982
|
getSetting(): any;
|
|
2972
2983
|
update(): void;
|
|
2984
|
+
dispose(): void;
|
|
2973
2985
|
}
|
|
2974
2986
|
|
|
2975
2987
|
/**
|
|
@@ -3762,6 +3774,7 @@ declare class RangeScale {
|
|
|
3762
3774
|
* @param boundingBox - 要适应的包围盒
|
|
3763
3775
|
*/
|
|
3764
3776
|
private fitCameraToBoundingBox;
|
|
3777
|
+
dispose(): void;
|
|
3765
3778
|
}
|
|
3766
3779
|
|
|
3767
3780
|
declare type RenderMode = 'simple' | 'balance' | 'advanced';
|