Kaynağa Gözat

Serialize cubeTexture matrix so that cloning works properly

Gary Hsu 6 yıl önce
ebeveyn
işleme
734caa0d87
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      src/Materials/Textures/cubeTexture.ts

+ 3 - 0
src/Materials/Textures/cubeTexture.ts

@@ -81,7 +81,10 @@ export class CubeTexture extends BaseTexture {
     private _noMipmap: boolean;
     private _files: string[];
     private _extensions: string[];
+
+    @serialize("textureMatrix")
     private _textureMatrix: Matrix;
+
     private _format: number;
     private _createPolynomials: boolean;