소스 검색

engine cleanup

removed the unneeded properties (breaking change)
Raanan Weber 10 년 전
부모
커밋
78af33ccbb
2개의 변경된 파일15개의 추가작업 그리고 109개의 파일을 삭제
  1. 12 97
      src/babylon.engine.js
  2. 3 12
      src/babylon.engine.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 12 - 97
src/babylon.engine.js


+ 3 - 12
src/babylon.engine.ts

@@ -690,6 +690,9 @@
             if (!Engine.audioEngine) {
                 Engine.audioEngine = new AudioEngine();
             }
+			
+			//default loading screen
+			this._loadingScreen = new DefaultLoadingScreen(this._renderingCanvas);
 
             Tools.Log("Babylon.js engine (v" + Engine.Version + ") launched");
         }
@@ -2204,18 +2207,6 @@
             this._loadingScreen.displayLoadingUI();
         }
 
-        public set loadingUIText(text: string) {
-            this._loadingScreen.loadingUIText = text;
-        }
-
-        public get loadingUIBackgroundColor(): string {
-            return this._loadingScreen.loadingUIBackgroundColor;
-        }
-
-        public set loadingUIBackgroundColor(color: string) {
-            this._loadingScreen.loadingUIBackgroundColor = color;
-        }
-
         public hideLoadingUI(): void {
             this._loadingScreen.hideLoadingUI();
         }