@xviewer.js/debug 1.0.0-alpha.57 → 1.0.0-alpha.58

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/module.js CHANGED
@@ -861,8 +861,7 @@ class ColorController extends Controller {
861
861
  this.setValue(newValue);
862
862
  } else {
863
863
  this._format.fromHexString(value, this.getValue(), this._rgbScale);
864
- this._callOnChange();
865
- this.updateDisplay();
864
+ this.setValue(this.getValue());
866
865
  }
867
866
  }
868
867
  save() {
@@ -2454,6 +2453,18 @@ class ViewerExtension extends ObjectInstance {
2454
2453
  set backgroundBlurriness(v) {
2455
2454
  this._scene.backgroundBlurriness = v;
2456
2455
  }
2456
+ get environmentRotation() {
2457
+ return this._scene.environmentRotation;
2458
+ }
2459
+ set environmentRotation(v) {
2460
+ this._scene.environmentRotation.copy(v);
2461
+ }
2462
+ get backgroundRotation() {
2463
+ return this._scene.backgroundRotation;
2464
+ }
2465
+ set backgroundRotation(v) {
2466
+ this._scene.backgroundRotation.copy(v);
2467
+ }
2457
2468
  get targetFrameRate() {
2458
2469
  return this._viewer.targetFrameRate;
2459
2470
  }
@@ -2505,6 +2516,16 @@ __decorate([
2505
2516
  step: 0.01
2506
2517
  })
2507
2518
  ], ViewerExtension.prototype, "backgroundBlurriness", null);
2519
+ __decorate([
2520
+ property({
2521
+ step: 0.01
2522
+ })
2523
+ ], ViewerExtension.prototype, "environmentRotation", null);
2524
+ __decorate([
2525
+ property({
2526
+ step: 0.01
2527
+ })
2528
+ ], ViewerExtension.prototype, "backgroundRotation", null);
2508
2529
  __decorate([
2509
2530
  property({
2510
2531
  min: 1,