@xeokit/xeokit-sdk 2.4.0-alpha-95 → 2.4.0-alpha-97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.4.0-alpha-95",
3
+ "version": "2.4.0-alpha-97",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -469,6 +469,16 @@ class DistanceMeasurementsPlugin extends Plugin {
469
469
  for (const [key, measurement] of Object.entries(this.measurements)) {
470
470
  measurement.axisVisible = axisVisible;
471
471
  }
472
+ this.defaultAxisVisible = axisVisible;
473
+ }
474
+
475
+ /**
476
+ * Gets if the axis wires of each {@link DistanceMeasurement} are visible.
477
+ *
478
+ * @returns {Boolean} Whether or not the axis wires are visible.
479
+ */
480
+ getAxisVisible() {
481
+ return this.defaultAxisVisible;
472
482
  }
473
483
 
474
484
  /**