iflow-engine 1.0.5 → 1.0.6
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/iflow-engine.es.js
CHANGED
|
@@ -44926,6 +44926,26 @@ class sT {
|
|
|
44926
44926
|
getEngine() {
|
|
44927
44927
|
return this.engine;
|
|
44928
44928
|
}
|
|
44929
|
+
/**
|
|
44930
|
+
* 暂停渲染
|
|
44931
|
+
*/
|
|
44932
|
+
pauseRendering() {
|
|
44933
|
+
if (!this._isInitialized || !this.engine) {
|
|
44934
|
+
console.warn("[Engine] Engine not initialized.");
|
|
44935
|
+
return;
|
|
44936
|
+
}
|
|
44937
|
+
this.engine.pauseRendering();
|
|
44938
|
+
}
|
|
44939
|
+
/**
|
|
44940
|
+
* 恢复渲染
|
|
44941
|
+
*/
|
|
44942
|
+
resumeRendering() {
|
|
44943
|
+
if (!this._isInitialized || !this.engine) {
|
|
44944
|
+
console.warn("[Engine] Engine not initialized.");
|
|
44945
|
+
return;
|
|
44946
|
+
}
|
|
44947
|
+
this.engine.resumeRendering();
|
|
44948
|
+
}
|
|
44929
44949
|
// ==================== 测量功能方法 ====================
|
|
44930
44950
|
/**
|
|
44931
44951
|
* 激活具体测量类型的统一入口(私有方法)
|
|
@@ -45416,6 +45436,22 @@ class hT extends Ii {
|
|
|
45416
45436
|
}
|
|
45417
45437
|
this.engineInstance.CameraGoHome();
|
|
45418
45438
|
}
|
|
45439
|
+
/** 暂停渲染 */
|
|
45440
|
+
pauseRendering() {
|
|
45441
|
+
if (!this.engineInstance) {
|
|
45442
|
+
console.warn("[EngineManager] 3D Engine not initialized.");
|
|
45443
|
+
return;
|
|
45444
|
+
}
|
|
45445
|
+
this.engineInstance.pauseRendering();
|
|
45446
|
+
}
|
|
45447
|
+
/** 恢复渲染 */
|
|
45448
|
+
resumeRendering() {
|
|
45449
|
+
if (!this.engineInstance) {
|
|
45450
|
+
console.warn("[EngineManager] 3D Engine not initialized.");
|
|
45451
|
+
return;
|
|
45452
|
+
}
|
|
45453
|
+
this.engineInstance.resumeRendering();
|
|
45454
|
+
}
|
|
45419
45455
|
/**
|
|
45420
45456
|
* 激活测量模式
|
|
45421
45457
|
* @param mode 测量模式
|