sebastien преди 7 години
родител
ревизия
cbec960c6d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/Materials/Textures/babylon.cubeTexture.ts

+ 2 - 2
src/Materials/Textures/babylon.cubeTexture.ts

@@ -30,12 +30,12 @@
             return this._boundingBoxSize;
         }
 
-
-        @serialize("rotationY")
         protected _rotationY: number = 0;
+
         /**
          * Sets texture matrix rotation angle around Y axis in radians.
          */
+        @serialize("rotationY")
         public set rotationY(value: number) {
             this._rotationY = value;
             this.setReflectionTextureMatrix(BABYLON.Matrix.RotationY(this._rotationY));