David Catuhe 5 роки тому
батько
коміт
9dea483655

+ 1 - 1
dist/preview release/babylon.d.ts

@@ -42636,7 +42636,7 @@ declare module BABYLON {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
dist/preview release/babylon.js


+ 4 - 10
dist/preview release/babylon.max.js

@@ -43597,6 +43597,10 @@ var XRWindowsMotionController = /** @class */ (function (_super) {
             pointingPoseMeshName: _poseEnabledController__WEBPACK_IMPORTED_MODULE_9__["PoseEnabledController"].POINTING_POSE
         };
         /**
+         * holds the thumbstick values (X,Y)
+         */
+        _this.thumbstickValues = { x: 0, y: 0 };
+        /**
          * Fired when the thumbstick on this controller is clicked
          */
         _this.onThumbstickStateChangedObservable = new _Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
@@ -43614,16 +43618,6 @@ var XRWindowsMotionController = /** @class */ (function (_super) {
         _this.onTrackpadValuesChangedObservable = _this.onPadValuesChangedObservable;
         return _this;
     }
-    Object.defineProperty(XRWindowsMotionController.prototype, "thumbstickValues", {
-        /**
-         * holds the thumbstick values (X,Y)
-         */
-        get: function () {
-            return this.rightStick;
-        },
-        enumerable: true,
-        configurable: true
-    });
     Object.defineProperty(XRWindowsMotionController.prototype, "onThumbstickButtonStateChangedObservable", {
         /**
          * Fired when the thumbstick button on this controller is modified

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
dist/preview release/babylon.max.js.map


+ 2 - 2
dist/preview release/babylon.module.d.ts

@@ -44142,7 +44142,7 @@ declare module "babylonjs/Gamepads/Controllers/windowsMotionController" {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */
@@ -111549,7 +111549,7 @@ declare module BABYLON {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */

+ 1 - 1
dist/preview release/documentation.d.ts

@@ -42636,7 +42636,7 @@ declare module BABYLON {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */

+ 2 - 2
dist/preview release/viewer/babylon.module.d.ts

@@ -44142,7 +44142,7 @@ declare module "babylonjs/Gamepads/Controllers/windowsMotionController" {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */
@@ -111549,7 +111549,7 @@ declare module BABYLON {
         /**
          * holds the thumbstick values (X,Y)
          */
-        readonly thumbstickValues: StickValues;
+        thumbstickValues: StickValues;
         /**
          * Fired when the thumbstick on this controller is clicked
          */

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js


Різницю між файлами не показано, бо вона завелика
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js