Class DefaultLoadingScreen
Hierarchy
- DefaultLoadingScreen
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Creates a new default loading screen
Parameters
-
_renderingCanvas: HTMLCanvasElement
defines the canvas used to render the scene
-
Optional _loadingText: string
defines the default text to display
-
Optional _loadingDivBackgroundColor: string
defines the default background color
Returns DefaultLoadingScreen
-
Properties
Static Default Logo UrlSearch playground for DefaultLogoUrl
Gets or sets the logo url to use for the default loading screen
Static Default Spinner UrlSearch playground for DefaultSpinnerUrl
Gets or sets the spinner url to use for the default loading screen
Accessors
loadingUIBackground Color
-
Gets or sets the color to use for the background
Returns string
-
Gets or sets the color to use for the background
Parameters
-
color: string
Returns any
-
loadingUIText
-
Gets or sets the text to display while loading
Returns string
-
Gets or sets the text to display while loading
Parameters
-
text: string
Returns any
-
Methods
display LoadingUISearch playground for displayLoadingUI
-
Function called to display the loading screen
Returns void
hide LoadingUISearch playground for hideLoadingUI
-
Function called to hide the loading screen
Returns void
Class used for the default loading screen
https://doc.babylonjs.com/how_to/creating_a_custom_loading_screen