@xviewer.js/debug 1.0.0-alpha.47 → 1.0.0-alpha.48
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/main.js +14 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +14 -0
- package/dist/module.js.map +1 -1
- package/package.json +2 -2
package/dist/module.js
CHANGED
|
@@ -2454,8 +2454,15 @@ class ViewerExtension extends ObjectInstance {
|
|
|
2454
2454
|
set backgroundBlurriness(v) {
|
|
2455
2455
|
this._scene.backgroundBlurriness = v;
|
|
2456
2456
|
}
|
|
2457
|
+
get targetFrameRate() {
|
|
2458
|
+
return this._viewer.targetFrameRate;
|
|
2459
|
+
}
|
|
2460
|
+
set targetFrameRate(v) {
|
|
2461
|
+
this._viewer.targetFrameRate = v;
|
|
2462
|
+
}
|
|
2457
2463
|
constructor(viewer){
|
|
2458
2464
|
super();
|
|
2465
|
+
this._viewer = viewer;
|
|
2459
2466
|
this._scene = viewer.scene;
|
|
2460
2467
|
this._renderer = viewer.renderer;
|
|
2461
2468
|
}
|
|
@@ -2498,6 +2505,13 @@ __decorate([
|
|
|
2498
2505
|
step: 0.01
|
|
2499
2506
|
})
|
|
2500
2507
|
], ViewerExtension.prototype, "backgroundBlurriness", null);
|
|
2508
|
+
__decorate([
|
|
2509
|
+
property({
|
|
2510
|
+
min: 1,
|
|
2511
|
+
max: 120,
|
|
2512
|
+
step: 1
|
|
2513
|
+
})
|
|
2514
|
+
], ViewerExtension.prototype, "targetFrameRate", null);
|
|
2501
2515
|
const materialProperties = {
|
|
2502
2516
|
visible: {},
|
|
2503
2517
|
transparent: {},
|