Bläddra i källkod

Fix Cube Texture Clone

sebastien 7 år sedan
förälder
incheckning
cbec960c6d
1 ändrade filer med 2 tillägg och 2 borttagningar
  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));