UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

31 lines (30 loc) 1.17 kB
import type { ILoadingScreen } from "../../Loading/loadingScreen.js"; declare module "../../Engines/abstractEngine.js" { interface AbstractEngine { /** * Display the loading screen * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen */ displayLoadingUI(): void; /** * Hide the loading screen * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen */ hideLoadingUI(): void; /** * Gets or sets the current loading screen object * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen */ loadingScreen: ILoadingScreen; /** * Sets the current loading screen text * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen */ loadingUIText: string; /** * Sets the current loading screen background color * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen */ loadingUIBackgroundColor: string; } }