@xeokit/xeokit-sdk 2.6.0-beta-8 → 2.6.0-beta-9
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/xeokit-sdk.cjs.js +34 -3
- package/dist/xeokit-sdk.es.js +34 -3
- package/dist/xeokit-sdk.es5.js +22 -2
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/dist/xeokit-sdk.min.es5.js +1 -1
- package/package.json +1 -1
- package/src/plugins/FastNavPlugin/FastNavPlugin.js +34 -3
package/dist/xeokit-sdk.cjs.js
CHANGED
|
@@ -86765,6 +86765,7 @@ class DistanceMeasurementsPlugin extends Plugin {
|
|
|
86765
86765
|
* hidePBR: true, // No physically-based rendering while we interact (default is true)
|
|
86766
86766
|
* hideTransparentObjects: true, // Hide transparent objects while we interact (default is false)
|
|
86767
86767
|
* scaleCanvasResolution: true, // Scale canvas resolution while we interact (default is false)
|
|
86768
|
+
* defaultScaleCanvasResolutionFactor: 1.0, // Factor by which we scale canvas resolution when we stop interacting (default is 1.0)
|
|
86768
86769
|
* scaleCanvasResolutionFactor: 0.5, // Factor by which we scale canvas resolution when we interact (default is 0.6)
|
|
86769
86770
|
* delayBeforeRestore: true, // When we stop interacting, delay before restoring normal render (default is true)
|
|
86770
86771
|
* delayBeforeRestoreSeconds: 0.5 // The delay duration, in seconds (default is 0.5)
|
|
@@ -86797,6 +86798,7 @@ class FastNavPlugin extends Plugin {
|
|
|
86797
86798
|
* @param {Boolean} [cfg.hideEdges=true] Whether to temporarily hide edges whenever we interact with the Viewer.
|
|
86798
86799
|
* @param {Boolean} [cfg.hideTransparentObjects=false] Whether to temporarily hide transparent objects whenever we interact with the Viewer.
|
|
86799
86800
|
* @param {Number} [cfg.scaleCanvasResolution=false] Whether to temporarily down-scale the canvas resolution whenever we interact with the Viewer.
|
|
86801
|
+
* @param {Number} [cfg.defaultScaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we stop interacting with the Viewer.
|
|
86800
86802
|
* @param {Number} [cfg.scaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we interact with the Viewer.
|
|
86801
86803
|
* @param {Boolean} [cfg.delayBeforeRestore=true] Whether to temporarily have a delay before restoring normal rendering after we stop interacting with the Viewer.
|
|
86802
86804
|
* @param {Number} [cfg.delayBeforeRestoreSeconds=0.5] Delay in seconds before restoring normal rendering after we stop interacting with the Viewer.
|
|
@@ -86811,6 +86813,7 @@ class FastNavPlugin extends Plugin {
|
|
|
86811
86813
|
this._hideEdges = cfg.hideEdges !== false;
|
|
86812
86814
|
this._hideTransparentObjects = !!cfg.hideTransparentObjects;
|
|
86813
86815
|
this._scaleCanvasResolution = !!cfg.scaleCanvasResolution;
|
|
86816
|
+
this._defaultScaleCanvasResolutionFactor = cfg.defaultScaleCanvasResolutionFactor || 1.0;
|
|
86814
86817
|
this._scaleCanvasResolutionFactor = cfg.scaleCanvasResolutionFactor || 0.6;
|
|
86815
86818
|
this._delayBeforeRestore = (cfg.delayBeforeRestore !== false);
|
|
86816
86819
|
this._delayBeforeRestoreSeconds = cfg.delayBeforeRestoreSeconds || 0.5;
|
|
@@ -86829,14 +86832,14 @@ class FastNavPlugin extends Plugin {
|
|
|
86829
86832
|
if (this._scaleCanvasResolution) {
|
|
86830
86833
|
viewer.scene.canvas.resolutionScale = this._scaleCanvasResolutionFactor;
|
|
86831
86834
|
} else {
|
|
86832
|
-
viewer.scene.canvas.resolutionScale =
|
|
86835
|
+
viewer.scene.canvas.resolutionScale = this._defaultScaleCanvasResolutionFactor;
|
|
86833
86836
|
}
|
|
86834
86837
|
fastMode = true;
|
|
86835
86838
|
}
|
|
86836
86839
|
};
|
|
86837
86840
|
|
|
86838
86841
|
const switchToHighQuality = () => {
|
|
86839
|
-
viewer.scene.canvas.resolutionScale =
|
|
86842
|
+
viewer.scene.canvas.resolutionScale = this._defaultScaleCanvasResolutionFactor;
|
|
86840
86843
|
viewer.scene._renderer.setEdgesEnabled(true);
|
|
86841
86844
|
viewer.scene._renderer.setColorTextureEnabled(true);
|
|
86842
86845
|
viewer.scene._renderer.setPBREnabled(true);
|
|
@@ -87004,7 +87007,7 @@ class FastNavPlugin extends Plugin {
|
|
|
87004
87007
|
}
|
|
87005
87008
|
|
|
87006
87009
|
/**
|
|
87007
|
-
* Sets
|
|
87010
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87008
87011
|
*
|
|
87009
87012
|
* Default is ````false````.
|
|
87010
87013
|
*
|
|
@@ -87016,6 +87019,34 @@ class FastNavPlugin extends Plugin {
|
|
|
87016
87019
|
this._scaleCanvasResolution = scaleCanvasResolution;
|
|
87017
87020
|
}
|
|
87018
87021
|
|
|
87022
|
+
/**
|
|
87023
|
+
* Gets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87024
|
+
*
|
|
87025
|
+
* Default is ````1.0````.
|
|
87026
|
+
*
|
|
87027
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
87028
|
+
*
|
|
87029
|
+
* @return {Number} Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
87030
|
+
*/
|
|
87031
|
+
get defaultScaleCanvasResolutionFactor() {
|
|
87032
|
+
return this._defaultScaleCanvasResolutionFactor;
|
|
87033
|
+
}
|
|
87034
|
+
|
|
87035
|
+
/**
|
|
87036
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87037
|
+
*
|
|
87038
|
+
* Accepted range is ````[0.0 .. 1.0]````.
|
|
87039
|
+
*
|
|
87040
|
+
* Default is ````1.0````.
|
|
87041
|
+
*
|
|
87042
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
87043
|
+
*
|
|
87044
|
+
* @param {Number} defaultScaleCanvasResolutionFactor Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
87045
|
+
*/
|
|
87046
|
+
set defaultScaleCanvasResolutionFactor(defaultScaleCanvasResolutionFactor) {
|
|
87047
|
+
this._defaultScaleCanvasResolutionFactor = defaultScaleCanvasResolutionFactor || 1.0;
|
|
87048
|
+
}
|
|
87049
|
+
|
|
87019
87050
|
/**
|
|
87020
87051
|
* Gets the factor by which we temporarily scale the canvas resolution when we interact with the viewer.
|
|
87021
87052
|
*
|
package/dist/xeokit-sdk.es.js
CHANGED
|
@@ -86761,6 +86761,7 @@ class DistanceMeasurementsPlugin extends Plugin {
|
|
|
86761
86761
|
* hidePBR: true, // No physically-based rendering while we interact (default is true)
|
|
86762
86762
|
* hideTransparentObjects: true, // Hide transparent objects while we interact (default is false)
|
|
86763
86763
|
* scaleCanvasResolution: true, // Scale canvas resolution while we interact (default is false)
|
|
86764
|
+
* defaultScaleCanvasResolutionFactor: 1.0, // Factor by which we scale canvas resolution when we stop interacting (default is 1.0)
|
|
86764
86765
|
* scaleCanvasResolutionFactor: 0.5, // Factor by which we scale canvas resolution when we interact (default is 0.6)
|
|
86765
86766
|
* delayBeforeRestore: true, // When we stop interacting, delay before restoring normal render (default is true)
|
|
86766
86767
|
* delayBeforeRestoreSeconds: 0.5 // The delay duration, in seconds (default is 0.5)
|
|
@@ -86793,6 +86794,7 @@ class FastNavPlugin extends Plugin {
|
|
|
86793
86794
|
* @param {Boolean} [cfg.hideEdges=true] Whether to temporarily hide edges whenever we interact with the Viewer.
|
|
86794
86795
|
* @param {Boolean} [cfg.hideTransparentObjects=false] Whether to temporarily hide transparent objects whenever we interact with the Viewer.
|
|
86795
86796
|
* @param {Number} [cfg.scaleCanvasResolution=false] Whether to temporarily down-scale the canvas resolution whenever we interact with the Viewer.
|
|
86797
|
+
* @param {Number} [cfg.defaultScaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we stop interacting with the Viewer.
|
|
86796
86798
|
* @param {Number} [cfg.scaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we interact with the Viewer.
|
|
86797
86799
|
* @param {Boolean} [cfg.delayBeforeRestore=true] Whether to temporarily have a delay before restoring normal rendering after we stop interacting with the Viewer.
|
|
86798
86800
|
* @param {Number} [cfg.delayBeforeRestoreSeconds=0.5] Delay in seconds before restoring normal rendering after we stop interacting with the Viewer.
|
|
@@ -86807,6 +86809,7 @@ class FastNavPlugin extends Plugin {
|
|
|
86807
86809
|
this._hideEdges = cfg.hideEdges !== false;
|
|
86808
86810
|
this._hideTransparentObjects = !!cfg.hideTransparentObjects;
|
|
86809
86811
|
this._scaleCanvasResolution = !!cfg.scaleCanvasResolution;
|
|
86812
|
+
this._defaultScaleCanvasResolutionFactor = cfg.defaultScaleCanvasResolutionFactor || 1.0;
|
|
86810
86813
|
this._scaleCanvasResolutionFactor = cfg.scaleCanvasResolutionFactor || 0.6;
|
|
86811
86814
|
this._delayBeforeRestore = (cfg.delayBeforeRestore !== false);
|
|
86812
86815
|
this._delayBeforeRestoreSeconds = cfg.delayBeforeRestoreSeconds || 0.5;
|
|
@@ -86825,14 +86828,14 @@ class FastNavPlugin extends Plugin {
|
|
|
86825
86828
|
if (this._scaleCanvasResolution) {
|
|
86826
86829
|
viewer.scene.canvas.resolutionScale = this._scaleCanvasResolutionFactor;
|
|
86827
86830
|
} else {
|
|
86828
|
-
viewer.scene.canvas.resolutionScale =
|
|
86831
|
+
viewer.scene.canvas.resolutionScale = this._defaultScaleCanvasResolutionFactor;
|
|
86829
86832
|
}
|
|
86830
86833
|
fastMode = true;
|
|
86831
86834
|
}
|
|
86832
86835
|
};
|
|
86833
86836
|
|
|
86834
86837
|
const switchToHighQuality = () => {
|
|
86835
|
-
viewer.scene.canvas.resolutionScale =
|
|
86838
|
+
viewer.scene.canvas.resolutionScale = this._defaultScaleCanvasResolutionFactor;
|
|
86836
86839
|
viewer.scene._renderer.setEdgesEnabled(true);
|
|
86837
86840
|
viewer.scene._renderer.setColorTextureEnabled(true);
|
|
86838
86841
|
viewer.scene._renderer.setPBREnabled(true);
|
|
@@ -87000,7 +87003,7 @@ class FastNavPlugin extends Plugin {
|
|
|
87000
87003
|
}
|
|
87001
87004
|
|
|
87002
87005
|
/**
|
|
87003
|
-
* Sets
|
|
87006
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87004
87007
|
*
|
|
87005
87008
|
* Default is ````false````.
|
|
87006
87009
|
*
|
|
@@ -87012,6 +87015,34 @@ class FastNavPlugin extends Plugin {
|
|
|
87012
87015
|
this._scaleCanvasResolution = scaleCanvasResolution;
|
|
87013
87016
|
}
|
|
87014
87017
|
|
|
87018
|
+
/**
|
|
87019
|
+
* Gets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87020
|
+
*
|
|
87021
|
+
* Default is ````1.0````.
|
|
87022
|
+
*
|
|
87023
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
87024
|
+
*
|
|
87025
|
+
* @return {Number} Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
87026
|
+
*/
|
|
87027
|
+
get defaultScaleCanvasResolutionFactor() {
|
|
87028
|
+
return this._defaultScaleCanvasResolutionFactor;
|
|
87029
|
+
}
|
|
87030
|
+
|
|
87031
|
+
/**
|
|
87032
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
87033
|
+
*
|
|
87034
|
+
* Accepted range is ````[0.0 .. 1.0]````.
|
|
87035
|
+
*
|
|
87036
|
+
* Default is ````1.0````.
|
|
87037
|
+
*
|
|
87038
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
87039
|
+
*
|
|
87040
|
+
* @param {Number} defaultScaleCanvasResolutionFactor Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
87041
|
+
*/
|
|
87042
|
+
set defaultScaleCanvasResolutionFactor(defaultScaleCanvasResolutionFactor) {
|
|
87043
|
+
this._defaultScaleCanvasResolutionFactor = defaultScaleCanvasResolutionFactor || 1.0;
|
|
87044
|
+
}
|
|
87045
|
+
|
|
87015
87046
|
/**
|
|
87016
87047
|
* Gets the factor by which we temporarily scale the canvas resolution when we interact with the viewer.
|
|
87017
87048
|
*
|
package/dist/xeokit-sdk.es5.js
CHANGED
|
@@ -19648,6 +19648,7 @@ this._originDot.setVisible(this._visible&&this._originVisible);this._targetDot.s
|
|
|
19648
19648
|
* hidePBR: true, // No physically-based rendering while we interact (default is true)
|
|
19649
19649
|
* hideTransparentObjects: true, // Hide transparent objects while we interact (default is false)
|
|
19650
19650
|
* scaleCanvasResolution: true, // Scale canvas resolution while we interact (default is false)
|
|
19651
|
+
* defaultScaleCanvasResolutionFactor: 1.0, // Factor by which we scale canvas resolution when we stop interacting (default is 1.0)
|
|
19651
19652
|
* scaleCanvasResolutionFactor: 0.5, // Factor by which we scale canvas resolution when we interact (default is 0.6)
|
|
19652
19653
|
* delayBeforeRestore: true, // When we stop interacting, delay before restoring normal render (default is true)
|
|
19653
19654
|
* delayBeforeRestoreSeconds: 0.5 // The delay duration, in seconds (default is 0.5)
|
|
@@ -19677,10 +19678,11 @@ this._originDot.setVisible(this._visible&&this._originVisible);this._targetDot.s
|
|
|
19677
19678
|
* @param {Boolean} [cfg.hideEdges=true] Whether to temporarily hide edges whenever we interact with the Viewer.
|
|
19678
19679
|
* @param {Boolean} [cfg.hideTransparentObjects=false] Whether to temporarily hide transparent objects whenever we interact with the Viewer.
|
|
19679
19680
|
* @param {Number} [cfg.scaleCanvasResolution=false] Whether to temporarily down-scale the canvas resolution whenever we interact with the Viewer.
|
|
19681
|
+
* @param {Number} [cfg.defaultScaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we stop interacting with the Viewer.
|
|
19680
19682
|
* @param {Number} [cfg.scaleCanvasResolutionFactor=0.6] The factor by which we downscale the canvas resolution whenever we interact with the Viewer.
|
|
19681
19683
|
* @param {Boolean} [cfg.delayBeforeRestore=true] Whether to temporarily have a delay before restoring normal rendering after we stop interacting with the Viewer.
|
|
19682
19684
|
* @param {Number} [cfg.delayBeforeRestoreSeconds=0.5] Delay in seconds before restoring normal rendering after we stop interacting with the Viewer.
|
|
19683
|
-
*/function FastNavPlugin(viewer){var _this85;var cfg=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,FastNavPlugin);_this85=_super119.call(this,"FastNav",viewer);_this85._hideColorTexture=cfg.hideColorTexture!==false;_this85._hidePBR=cfg.hidePBR!==false;_this85._hideSAO=cfg.hideSAO!==false;_this85._hideEdges=cfg.hideEdges!==false;_this85._hideTransparentObjects=!!cfg.hideTransparentObjects;_this85._scaleCanvasResolution=!!cfg.scaleCanvasResolution;_this85._scaleCanvasResolutionFactor=cfg.scaleCanvasResolutionFactor||0.6;_this85._delayBeforeRestore=cfg.delayBeforeRestore!==false;_this85._delayBeforeRestoreSeconds=cfg.delayBeforeRestoreSeconds||0.5;var timer=_this85._delayBeforeRestoreSeconds*1000;var fastMode=false;var switchToLowQuality=function switchToLowQuality(){timer=_this85._delayBeforeRestoreSeconds*1000;if(!fastMode){viewer.scene._renderer.setColorTextureEnabled(!_this85._hideColorTexture);viewer.scene._renderer.setPBREnabled(!_this85._hidePBR);viewer.scene._renderer.setSAOEnabled(!_this85._hideSAO);viewer.scene._renderer.setTransparentEnabled(!_this85._hideTransparentObjects);viewer.scene._renderer.setEdgesEnabled(!_this85._hideEdges);if(_this85._scaleCanvasResolution){viewer.scene.canvas.resolutionScale=_this85._scaleCanvasResolutionFactor;}else{viewer.scene.canvas.resolutionScale=
|
|
19685
|
+
*/function FastNavPlugin(viewer){var _this85;var cfg=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,FastNavPlugin);_this85=_super119.call(this,"FastNav",viewer);_this85._hideColorTexture=cfg.hideColorTexture!==false;_this85._hidePBR=cfg.hidePBR!==false;_this85._hideSAO=cfg.hideSAO!==false;_this85._hideEdges=cfg.hideEdges!==false;_this85._hideTransparentObjects=!!cfg.hideTransparentObjects;_this85._scaleCanvasResolution=!!cfg.scaleCanvasResolution;_this85._defaultScaleCanvasResolutionFactor=cfg.defaultScaleCanvasResolutionFactor||1.0;_this85._scaleCanvasResolutionFactor=cfg.scaleCanvasResolutionFactor||0.6;_this85._delayBeforeRestore=cfg.delayBeforeRestore!==false;_this85._delayBeforeRestoreSeconds=cfg.delayBeforeRestoreSeconds||0.5;var timer=_this85._delayBeforeRestoreSeconds*1000;var fastMode=false;var switchToLowQuality=function switchToLowQuality(){timer=_this85._delayBeforeRestoreSeconds*1000;if(!fastMode){viewer.scene._renderer.setColorTextureEnabled(!_this85._hideColorTexture);viewer.scene._renderer.setPBREnabled(!_this85._hidePBR);viewer.scene._renderer.setSAOEnabled(!_this85._hideSAO);viewer.scene._renderer.setTransparentEnabled(!_this85._hideTransparentObjects);viewer.scene._renderer.setEdgesEnabled(!_this85._hideEdges);if(_this85._scaleCanvasResolution){viewer.scene.canvas.resolutionScale=_this85._scaleCanvasResolutionFactor;}else{viewer.scene.canvas.resolutionScale=_this85._defaultScaleCanvasResolutionFactor;}fastMode=true;}};var switchToHighQuality=function switchToHighQuality(){viewer.scene.canvas.resolutionScale=_this85._defaultScaleCanvasResolutionFactor;viewer.scene._renderer.setEdgesEnabled(true);viewer.scene._renderer.setColorTextureEnabled(true);viewer.scene._renderer.setPBREnabled(true);viewer.scene._renderer.setSAOEnabled(true);viewer.scene._renderer.setTransparentEnabled(true);fastMode=false;};_this85._onCanvasBoundary=viewer.scene.canvas.on("boundary",switchToLowQuality);_this85._onCameraMatrix=viewer.scene.camera.on("matrix",switchToLowQuality);_this85._onSceneTick=viewer.scene.on("tick",function(tickEvent){if(!fastMode){return;}timer-=tickEvent.deltaTime;if(!_this85._delayBeforeRestore||timer<=0){switchToHighQuality();}});var down=false;_this85._onSceneMouseDown=viewer.scene.input.on("mousedown",function(){down=true;});_this85._onSceneMouseUp=viewer.scene.input.on("mouseup",function(){down=false;});_this85._onSceneMouseMove=viewer.scene.input.on("mousemove",function(){if(!down){return;}switchToLowQuality();});return _this85;}/**
|
|
19684
19686
|
* Gets whether to temporarily hide color textures whenever we interact with the Viewer.
|
|
19685
19687
|
*
|
|
19686
19688
|
* Default is ````true````.
|
|
@@ -19753,7 +19755,7 @@ this._originDot.setVisible(this._visible&&this._originVisible);this._targetDot.s
|
|
|
19753
19755
|
*
|
|
19754
19756
|
* @return {Boolean} ````true```` if scaling the canvas resolution.
|
|
19755
19757
|
*/},{key:"scaleCanvasResolution",get:function get(){return this._scaleCanvasResolution;}/**
|
|
19756
|
-
* Sets
|
|
19758
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
19757
19759
|
*
|
|
19758
19760
|
* Default is ````false````.
|
|
19759
19761
|
*
|
|
@@ -19761,6 +19763,24 @@ this._originDot.setVisible(this._visible&&this._originVisible);this._targetDot.s
|
|
|
19761
19763
|
*
|
|
19762
19764
|
* @param {Boolean} scaleCanvasResolution ````true```` to scale the canvas resolution.
|
|
19763
19765
|
*/,set:function set(scaleCanvasResolution){this._scaleCanvasResolution=scaleCanvasResolution;}/**
|
|
19766
|
+
* Gets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
19767
|
+
*
|
|
19768
|
+
* Default is ````1.0````.
|
|
19769
|
+
*
|
|
19770
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
19771
|
+
*
|
|
19772
|
+
* @return {Number} Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
19773
|
+
*/},{key:"defaultScaleCanvasResolutionFactor",get:function get(){return this._defaultScaleCanvasResolutionFactor;}/**
|
|
19774
|
+
* Sets the factor to which we restore the canvas resolution scale when we stop interacting with the viewer.
|
|
19775
|
+
*
|
|
19776
|
+
* Accepted range is ````[0.0 .. 1.0]````.
|
|
19777
|
+
*
|
|
19778
|
+
* Default is ````1.0````.
|
|
19779
|
+
*
|
|
19780
|
+
* Enable canvas resolution scaling by setting {@link FastNavPlugin#scaleCanvasResolution} ````true````.
|
|
19781
|
+
*
|
|
19782
|
+
* @param {Number} defaultScaleCanvasResolutionFactor Factor by scale canvas resolution when we stop interacting with the viewer.
|
|
19783
|
+
*/,set:function set(defaultScaleCanvasResolutionFactor){this._defaultScaleCanvasResolutionFactor=defaultScaleCanvasResolutionFactor||1.0;}/**
|
|
19764
19784
|
* Gets the factor by which we temporarily scale the canvas resolution when we interact with the viewer.
|
|
19765
19785
|
*
|
|
19766
19786
|
* Default is ````0.6````.
|