@shapediver/viewer.viewport 3.9.0 → 3.9.2

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.
Files changed (82) hide show
  1. package/README.md +8 -6
  2. package/dist/implementation/PostProcessingApi.d.ts +4 -4
  3. package/dist/implementation/PostProcessingApi.d.ts.map +1 -1
  4. package/dist/implementation/PostProcessingApi.js +37 -29
  5. package/dist/implementation/PostProcessingApi.js.map +1 -1
  6. package/dist/implementation/ViewportApi.d.ts +13 -13
  7. package/dist/implementation/ViewportApi.d.ts.map +1 -1
  8. package/dist/implementation/ViewportApi.js +268 -253
  9. package/dist/implementation/ViewportApi.js.map +1 -1
  10. package/dist/implementation/camera/AbstractCameraApi.d.ts +5 -5
  11. package/dist/implementation/camera/AbstractCameraApi.d.ts.map +1 -1
  12. package/dist/implementation/camera/AbstractCameraApi.js +110 -110
  13. package/dist/implementation/camera/AbstractCameraApi.js.map +1 -1
  14. package/dist/implementation/camera/OrthographicCameraApi.d.ts +4 -4
  15. package/dist/implementation/camera/OrthographicCameraApi.d.ts.map +1 -1
  16. package/dist/implementation/camera/OrthographicCameraApi.js +5 -5
  17. package/dist/implementation/camera/OrthographicCameraApi.js.map +1 -1
  18. package/dist/implementation/camera/PerspectiveCameraApi.d.ts +4 -4
  19. package/dist/implementation/camera/PerspectiveCameraApi.d.ts.map +1 -1
  20. package/dist/implementation/camera/PerspectiveCameraApi.js +4 -4
  21. package/dist/implementation/camera/PerspectiveCameraApi.js.map +1 -1
  22. package/dist/implementation/lights/AbstractLightApi.d.ts +4 -4
  23. package/dist/implementation/lights/AbstractLightApi.d.ts.map +1 -1
  24. package/dist/implementation/lights/AbstractLightApi.js +9 -9
  25. package/dist/implementation/lights/AbstractLightApi.js.map +1 -1
  26. package/dist/implementation/lights/LightSceneApi.d.ts +12 -12
  27. package/dist/implementation/lights/LightSceneApi.d.ts.map +1 -1
  28. package/dist/implementation/lights/LightSceneApi.js +48 -48
  29. package/dist/implementation/lights/LightSceneApi.js.map +1 -1
  30. package/dist/implementation/lights/types/AmbientLightApi.d.ts +4 -4
  31. package/dist/implementation/lights/types/AmbientLightApi.d.ts.map +1 -1
  32. package/dist/implementation/lights/types/AmbientLightApi.js +1 -1
  33. package/dist/implementation/lights/types/AmbientLightApi.js.map +1 -1
  34. package/dist/implementation/lights/types/DirectionalLightApi.d.ts +5 -5
  35. package/dist/implementation/lights/types/DirectionalLightApi.d.ts.map +1 -1
  36. package/dist/implementation/lights/types/DirectionalLightApi.js +10 -10
  37. package/dist/implementation/lights/types/DirectionalLightApi.js.map +1 -1
  38. package/dist/implementation/lights/types/HemisphereLightApi.d.ts +5 -5
  39. package/dist/implementation/lights/types/HemisphereLightApi.d.ts.map +1 -1
  40. package/dist/implementation/lights/types/HemisphereLightApi.js +4 -4
  41. package/dist/implementation/lights/types/HemisphereLightApi.js.map +1 -1
  42. package/dist/implementation/lights/types/PointLightApi.d.ts +5 -5
  43. package/dist/implementation/lights/types/PointLightApi.d.ts.map +1 -1
  44. package/dist/implementation/lights/types/PointLightApi.js +8 -8
  45. package/dist/implementation/lights/types/PointLightApi.js.map +1 -1
  46. package/dist/implementation/lights/types/SpotLightApi.d.ts +5 -5
  47. package/dist/implementation/lights/types/SpotLightApi.d.ts.map +1 -1
  48. package/dist/implementation/lights/types/SpotLightApi.js +14 -14
  49. package/dist/implementation/lights/types/SpotLightApi.js.map +1 -1
  50. package/dist/index.d.ts +39 -39
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +70 -68
  53. package/dist/index.js.map +1 -1
  54. package/dist/interfaces/IPostProcessingApi.d.ts +2 -2
  55. package/dist/interfaces/IPostProcessingApi.d.ts.map +1 -1
  56. package/dist/interfaces/IViewportApi.d.ts +13 -13
  57. package/dist/interfaces/IViewportApi.d.ts.map +1 -1
  58. package/dist/interfaces/camera/ICameraApi.d.ts +3 -3
  59. package/dist/interfaces/camera/ICameraApi.d.ts.map +1 -1
  60. package/dist/interfaces/camera/IOrthographicCameraApi.d.ts +2 -2
  61. package/dist/interfaces/camera/IOrthographicCameraApi.d.ts.map +1 -1
  62. package/dist/interfaces/camera/IPerspectiveCameraApi.d.ts +1 -1
  63. package/dist/interfaces/camera/IPerspectiveCameraApi.d.ts.map +1 -1
  64. package/dist/interfaces/lights/ILightApi.d.ts +2 -2
  65. package/dist/interfaces/lights/ILightApi.d.ts.map +1 -1
  66. package/dist/interfaces/lights/ILightSceneApi.d.ts +9 -9
  67. package/dist/interfaces/lights/ILightSceneApi.d.ts.map +1 -1
  68. package/dist/interfaces/lights/types/IAmbientLightApi.d.ts +1 -1
  69. package/dist/interfaces/lights/types/IAmbientLightApi.d.ts.map +1 -1
  70. package/dist/interfaces/lights/types/IDirectionalLightApi.d.ts +2 -2
  71. package/dist/interfaces/lights/types/IDirectionalLightApi.d.ts.map +1 -1
  72. package/dist/interfaces/lights/types/IHemisphereLightApi.d.ts +2 -2
  73. package/dist/interfaces/lights/types/IHemisphereLightApi.d.ts.map +1 -1
  74. package/dist/interfaces/lights/types/IPointLightApi.d.ts +2 -2
  75. package/dist/interfaces/lights/types/IPointLightApi.d.ts.map +1 -1
  76. package/dist/interfaces/lights/types/ISpotLightApi.d.ts +2 -2
  77. package/dist/interfaces/lights/types/ISpotLightApi.d.ts.map +1 -1
  78. package/dist/main.d.ts +2 -2
  79. package/dist/main.d.ts.map +1 -1
  80. package/dist/main.js +23 -19
  81. package/dist/main.js.map +1 -1
  82. package/package.json +75 -75
@@ -24,15 +24,15 @@ class AbstractCameraApi {
24
24
  _AbstractCameraApi_inputValidator.set(this, viewer_shared_services_1.InputValidator.instance);
25
25
  _AbstractCameraApi_logger.set(this, viewer_shared_services_1.Logger.instance);
26
26
  _AbstractCameraApi_validateOptions.set(this, (scope, options) => {
27
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, options, 'object', false);
27
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, options, "object", false);
28
28
  const prop = Object.assign({}, options);
29
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.easing, 'string', false);
30
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.duration, 'number', false);
31
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.coordinates, 'string', false);
32
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.interpolation, 'string', false);
29
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.easing, "string", false);
30
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.duration, "number", false);
31
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.coordinates, "string", false);
32
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, prop.interpolation, "string", false);
33
33
  });
34
34
  _AbstractCameraApi_viewportApi.set(this, void 0);
35
- this.scope = 'AbstractCameraApi';
35
+ this.scope = "AbstractCameraApi";
36
36
  __classPrivateFieldSet(this, _AbstractCameraApi_viewportApi, viewportApi, "f");
37
37
  __classPrivateFieldSet(this, _AbstractCameraApi_camera, camera, "f");
38
38
  }
@@ -42,8 +42,8 @@ class AbstractCameraApi {
42
42
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").autoAdjust;
43
43
  }
44
44
  set autoAdjust(value) {
45
- const scope = 'autoAdjust';
46
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
45
+ const scope = "autoAdjust";
46
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
47
47
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").autoAdjust = value;
48
48
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
49
49
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -52,8 +52,8 @@ class AbstractCameraApi {
52
52
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.autoRotationSpeed;
53
53
  }
54
54
  set autoRotationSpeed(value) {
55
- const scope = 'autoRotationSpeed';
56
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
55
+ const scope = "autoRotationSpeed";
56
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
57
57
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.autoRotationSpeed = value;
58
58
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
59
59
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -62,8 +62,8 @@ class AbstractCameraApi {
62
62
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").cameraMovementDuration;
63
63
  }
64
64
  set cameraMovementDuration(value) {
65
- const scope = 'cameraMovementDuration';
66
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
65
+ const scope = "cameraMovementDuration";
66
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
67
67
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").cameraMovementDuration = value;
68
68
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
69
69
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -72,10 +72,10 @@ class AbstractCameraApi {
72
72
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.cubePositionRestriction;
73
73
  }
74
74
  set cubePositionRestriction(value) {
75
- const scope = 'cubePositionRestriction';
76
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
77
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.min, 'vec3');
78
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.max, 'vec3');
75
+ const scope = "cubePositionRestriction";
76
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
77
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.min, "vec3");
78
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.max, "vec3");
79
79
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.cubePositionRestriction = value;
80
80
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
81
81
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -84,10 +84,10 @@ class AbstractCameraApi {
84
84
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.cubeTargetRestriction;
85
85
  }
86
86
  set cubeTargetRestriction(value) {
87
- const scope = 'cubeTargetRestriction';
88
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
89
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.min, 'vec3');
90
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.max, 'vec3');
87
+ const scope = "cubeTargetRestriction";
88
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
89
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.min, "vec3");
90
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.max, "vec3");
91
91
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.cubeTargetRestriction = value;
92
92
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
93
93
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -96,8 +96,8 @@ class AbstractCameraApi {
96
96
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.damping;
97
97
  }
98
98
  set damping(value) {
99
- const scope = 'damping';
100
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
99
+ const scope = "damping";
100
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
101
101
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.damping = value;
102
102
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
103
103
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -106,8 +106,8 @@ class AbstractCameraApi {
106
106
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").defaultPosition;
107
107
  }
108
108
  set defaultPosition(value) {
109
- const scope = 'defaultPosition';
110
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
109
+ const scope = "defaultPosition";
110
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
111
111
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").defaultPosition = value;
112
112
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
113
113
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -116,8 +116,8 @@ class AbstractCameraApi {
116
116
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").defaultTarget;
117
117
  }
118
118
  set defaultTarget(value) {
119
- const scope = 'defaultTarget';
120
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
119
+ const scope = "defaultTarget";
120
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
121
121
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").defaultTarget = value;
122
122
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
123
123
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -126,8 +126,8 @@ class AbstractCameraApi {
126
126
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableAutoRotation;
127
127
  }
128
128
  set enableAutoRotation(value) {
129
- const scope = 'enableAutoRotation';
130
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
129
+ const scope = "enableAutoRotation";
130
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
131
131
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableAutoRotation = value;
132
132
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
133
133
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -136,8 +136,8 @@ class AbstractCameraApi {
136
136
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableAzimuthRotation;
137
137
  }
138
138
  set enableAzimuthRotation(value) {
139
- const scope = 'enableAzimuthRotation';
140
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
139
+ const scope = "enableAzimuthRotation";
140
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
141
141
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableAzimuthRotation = value;
142
142
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
143
143
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -146,8 +146,8 @@ class AbstractCameraApi {
146
146
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableKeyPan;
147
147
  }
148
148
  set enableKeyPan(value) {
149
- const scope = 'enableKeyPan';
150
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
149
+ const scope = "enableKeyPan";
150
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
151
151
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableKeyPan = value;
152
152
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
153
153
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -156,8 +156,8 @@ class AbstractCameraApi {
156
156
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableObjectControls;
157
157
  }
158
158
  set enableObjectControls(value) {
159
- const scope = 'enableObjectControls';
160
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
159
+ const scope = "enableObjectControls";
160
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
161
161
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableObjectControls = value;
162
162
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
163
163
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -166,8 +166,8 @@ class AbstractCameraApi {
166
166
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enablePan;
167
167
  }
168
168
  set enablePan(value) {
169
- const scope = 'enablePan';
170
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
169
+ const scope = "enablePan";
170
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
171
171
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enablePan = value;
172
172
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
173
173
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -176,8 +176,8 @@ class AbstractCameraApi {
176
176
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enablePolarRotation;
177
177
  }
178
178
  set enablePolarRotation(value) {
179
- const scope = 'enablePolarRotation';
180
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
179
+ const scope = "enablePolarRotation";
180
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
181
181
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enablePolarRotation = value;
182
182
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
183
183
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -186,8 +186,8 @@ class AbstractCameraApi {
186
186
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableRotation;
187
187
  }
188
188
  set enableRotation(value) {
189
- const scope = 'enableRotation';
190
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
189
+ const scope = "enableRotation";
190
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
191
191
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableRotation = value;
192
192
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
193
193
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -196,8 +196,8 @@ class AbstractCameraApi {
196
196
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableTurntableControls;
197
197
  }
198
198
  set enableTurntableControls(value) {
199
- const scope = 'enableTurntableControls';
200
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
199
+ const scope = "enableTurntableControls";
200
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
201
201
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableTurntableControls = value;
202
202
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
203
203
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -206,8 +206,8 @@ class AbstractCameraApi {
206
206
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableZoom;
207
207
  }
208
208
  set enableZoom(value) {
209
- const scope = 'enableZoom';
210
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
209
+ const scope = "enableZoom";
210
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
211
211
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enableZoom = value;
212
212
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
213
213
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -216,8 +216,8 @@ class AbstractCameraApi {
216
216
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enabled;
217
217
  }
218
218
  set enabled(value) {
219
- const scope = 'enabled';
220
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
219
+ const scope = "enabled";
220
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
221
221
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.enabled = value;
222
222
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
223
223
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -232,8 +232,8 @@ class AbstractCameraApi {
232
232
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.keyPanSpeed;
233
233
  }
234
234
  set keyPanSpeed(value) {
235
- const scope = 'keyPanSpeed';
236
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
235
+ const scope = "keyPanSpeed";
236
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
237
237
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.keyPanSpeed = value;
238
238
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
239
239
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -242,8 +242,8 @@ class AbstractCameraApi {
242
242
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.movementSmoothness;
243
243
  }
244
244
  set movementSmoothness(value) {
245
- const scope = 'movementSmoothness';
246
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
245
+ const scope = "movementSmoothness";
246
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
247
247
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.movementSmoothness = value;
248
248
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
249
249
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -252,8 +252,8 @@ class AbstractCameraApi {
252
252
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").name;
253
253
  }
254
254
  set name(value) {
255
- const scope = 'name';
256
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'string', false);
255
+ const scope = "name";
256
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "string", false);
257
257
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").name = value;
258
258
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
259
259
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -262,8 +262,8 @@ class AbstractCameraApi {
262
262
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.objectControlsCenter;
263
263
  }
264
264
  set objectControlsCenter(value) {
265
- const scope = 'objectControlsCenter';
266
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
265
+ const scope = "objectControlsCenter";
266
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
267
267
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.objectControlsCenter = value;
268
268
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
269
269
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -272,8 +272,8 @@ class AbstractCameraApi {
272
272
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").order;
273
273
  }
274
274
  set order(value) {
275
- const scope = 'order';
276
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number', false);
275
+ const scope = "order";
276
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number", false);
277
277
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").order = value;
278
278
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
279
279
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -282,8 +282,8 @@ class AbstractCameraApi {
282
282
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.panSpeed;
283
283
  }
284
284
  set panSpeed(value) {
285
- const scope = 'panSpeed';
286
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
285
+ const scope = "panSpeed";
286
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
287
287
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.panSpeed = value;
288
288
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
289
289
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -292,8 +292,8 @@ class AbstractCameraApi {
292
292
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").position;
293
293
  }
294
294
  set position(value) {
295
- const scope = 'position';
296
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
295
+ const scope = "position";
296
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
297
297
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").position = value;
298
298
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
299
299
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -302,8 +302,8 @@ class AbstractCameraApi {
302
302
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").revertAtMouseUp;
303
303
  }
304
304
  set revertAtMouseUp(value) {
305
- const scope = 'revertAtMouseUp';
306
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'boolean');
305
+ const scope = "revertAtMouseUp";
306
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "boolean");
307
307
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").revertAtMouseUp = value;
308
308
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
309
309
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -312,8 +312,8 @@ class AbstractCameraApi {
312
312
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").revertAtMouseUpDuration;
313
313
  }
314
314
  set revertAtMouseUpDuration(value) {
315
- const scope = 'revertAtMouseUpDuration';
316
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
315
+ const scope = "revertAtMouseUpDuration";
316
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
317
317
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").revertAtMouseUpDuration = value;
318
318
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
319
319
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -322,12 +322,12 @@ class AbstractCameraApi {
322
322
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.rotationRestriction;
323
323
  }
324
324
  set rotationRestriction(value) {
325
- const scope = 'rotationRestriction';
326
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
327
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minAzimuthAngle, 'number');
328
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxAzimuthAngle, 'number');
329
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minPolarAngle, 'number');
330
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxPolarAngle, 'number');
325
+ const scope = "rotationRestriction";
326
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
327
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minAzimuthAngle, "number");
328
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxAzimuthAngle, "number");
329
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minPolarAngle, "number");
330
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxPolarAngle, "number");
331
331
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.rotationRestriction = value;
332
332
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
333
333
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -336,8 +336,8 @@ class AbstractCameraApi {
336
336
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.rotationSpeed;
337
337
  }
338
338
  set rotationSpeed(value) {
339
- const scope = 'rotationSpeed';
340
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
339
+ const scope = "rotationSpeed";
340
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
341
341
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.rotationSpeed = value;
342
342
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
343
343
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -346,10 +346,10 @@ class AbstractCameraApi {
346
346
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.spherePositionRestriction;
347
347
  }
348
348
  set spherePositionRestriction(value) {
349
- const scope = 'spherePositionRestriction';
350
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
351
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.center, 'vec3');
352
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.radius, 'number');
349
+ const scope = "spherePositionRestriction";
350
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
351
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.center, "vec3");
352
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.radius, "number");
353
353
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.spherePositionRestriction = value;
354
354
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
355
355
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -358,10 +358,10 @@ class AbstractCameraApi {
358
358
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.sphereTargetRestriction;
359
359
  }
360
360
  set sphereTargetRestriction(value) {
361
- const scope = 'sphereTargetRestriction';
362
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
363
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.center, 'vec3');
364
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.radius, 'number');
361
+ const scope = "sphereTargetRestriction";
362
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
363
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.center, "vec3");
364
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.radius, "number");
365
365
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.sphereTargetRestriction = value;
366
366
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
367
367
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -370,8 +370,8 @@ class AbstractCameraApi {
370
370
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").target;
371
371
  }
372
372
  set target(value) {
373
- const scope = 'target';
374
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
373
+ const scope = "target";
374
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
375
375
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").target = value;
376
376
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
377
377
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -380,8 +380,8 @@ class AbstractCameraApi {
380
380
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.turntableCenter;
381
381
  }
382
382
  set turntableCenter(value) {
383
- const scope = 'turntableCenter';
384
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'vec3');
383
+ const scope = "turntableCenter";
384
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "vec3");
385
385
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.turntableCenter = value;
386
386
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
387
387
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -393,10 +393,10 @@ class AbstractCameraApi {
393
393
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.zoomRestriction;
394
394
  }
395
395
  set zoomRestriction(value) {
396
- const scope = 'zoomRestriction';
397
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'object');
398
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minDistance, 'number');
399
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxDistance, 'number');
396
+ const scope = "zoomRestriction";
397
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "object");
398
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.minDistance, "number");
399
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value.maxDistance, "number");
400
400
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.zoomRestriction = value;
401
401
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
402
402
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -405,8 +405,8 @@ class AbstractCameraApi {
405
405
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.zoomSpeed;
406
406
  }
407
407
  set zoomSpeed(value) {
408
- const scope = 'zoomSpeed';
409
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
408
+ const scope = "zoomSpeed";
409
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
410
410
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").controls.zoomSpeed = value;
411
411
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
412
412
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -415,8 +415,8 @@ class AbstractCameraApi {
415
415
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").zoomExtentsFactor;
416
416
  }
417
417
  set zoomToFactor(value) {
418
- const scope = 'zoomToFactor';
419
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, 'number');
418
+ const scope = "zoomToFactor";
419
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, value, "number");
420
420
  __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").zoomExtentsFactor = value;
421
421
  __classPrivateFieldGet(this, _AbstractCameraApi_logger, "f").debug(`${this.scope}.${scope}: ${scope} was set to: ${value}`);
422
422
  __classPrivateFieldGet(this, _AbstractCameraApi_viewportApi, "f").update();
@@ -424,49 +424,49 @@ class AbstractCameraApi {
424
424
  // #endregion Public Getters And Setters (74)
425
425
  // #region Public Methods (7)
426
426
  animate(path, options) {
427
- const scope = 'animate';
428
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path, 'array');
427
+ const scope = "animate";
428
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path, "array");
429
429
  for (let i = 0; i < path.length; i++) {
430
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path[i].position, 'vec3');
431
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path[i].target, 'vec3');
430
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path[i].position, "vec3");
431
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, path[i].target, "vec3");
432
432
  }
433
433
  __classPrivateFieldGet(this, _AbstractCameraApi_validateOptions, "f").call(this, scope, options);
434
434
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").animate(path, options);
435
435
  }
436
436
  calculateZoomTo(zoomTarget, startingPosition, startingTarget) {
437
- const scope = 'calculateZoomTo';
437
+ const scope = "calculateZoomTo";
438
438
  if (zoomTarget !== undefined && !(zoomTarget instanceof viewer_shared_math_1.Box))
439
- throw new viewer_shared_services_1.ShapeDiverViewerValidationError(`${scope}: Input could not be validated. ${zoomTarget} is not of type Box.`, zoomTarget, 'Box');
440
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, startingPosition, 'vec3', false);
441
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, startingTarget, 'vec3', false);
439
+ throw new viewer_shared_services_1.ShapeDiverViewerValidationError(`${scope}: Input could not be validated. ${zoomTarget} is not of type Box.`, zoomTarget, "Box");
440
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, startingPosition, "vec3", false);
441
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, startingTarget, "vec3", false);
442
442
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").calculateZoomTo(zoomTarget, startingPosition, startingTarget);
443
443
  }
444
444
  project(p) {
445
- const scope = 'project';
446
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, p, 'vec3');
445
+ const scope = "project";
446
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, p, "vec3");
447
447
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").project(p);
448
448
  }
449
449
  reset(options) {
450
- const scope = 'reset';
450
+ const scope = "reset";
451
451
  __classPrivateFieldGet(this, _AbstractCameraApi_validateOptions, "f").call(this, scope, options);
452
452
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").reset(options);
453
453
  }
454
454
  set(position, target, options) {
455
- const scope = 'set';
456
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, position, 'vec3', false);
457
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, target, 'vec3', false);
455
+ const scope = "set";
456
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, position, "vec3", false);
457
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, target, "vec3", false);
458
458
  __classPrivateFieldGet(this, _AbstractCameraApi_validateOptions, "f").call(this, scope, options);
459
459
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").set(position, target, options);
460
460
  }
461
461
  unproject(p) {
462
- const scope = 'unproject';
463
- __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, p, 'vec3', false);
462
+ const scope = "unproject";
463
+ __classPrivateFieldGet(this, _AbstractCameraApi_inputValidator, "f").validateAndError(`${this.scope}.${scope}`, p, "vec3", false);
464
464
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").unproject(p);
465
465
  }
466
466
  zoomTo(zoomTarget, options) {
467
- const scope = 'zoomTo';
467
+ const scope = "zoomTo";
468
468
  if (zoomTarget !== undefined && !(zoomTarget instanceof viewer_shared_math_1.Box))
469
- throw new viewer_shared_services_1.ShapeDiverViewerValidationError(`${scope}: Input could not be validated. ${zoomTarget} is not of type Box.`, zoomTarget, 'Box');
469
+ throw new viewer_shared_services_1.ShapeDiverViewerValidationError(`${scope}: Input could not be validated. ${zoomTarget} is not of type Box.`, zoomTarget, "Box");
470
470
  __classPrivateFieldGet(this, _AbstractCameraApi_validateOptions, "f").call(this, scope, options);
471
471
  return __classPrivateFieldGet(this, _AbstractCameraApi_camera, "f").zoomTo(zoomTarget, options);
472
472
  }