|
@@ -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();
|
|
|
}
|