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