Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultLoadingScreen

Class used for the default loading screen

see

https://doc.babylonjs.com/how_to/creating_a_custom_loading_screen

Hierarchy

  • DefaultLoadingScreen

Implements

Index

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 DefaultLogoUrlSearch playground for DefaultLogoUrl

DefaultLogoUrl: string

Gets or sets the logo url to use for the default loading screen

Static DefaultSpinnerUrlSearch playground for DefaultSpinnerUrl

DefaultSpinnerUrl: string

Gets or sets the spinner url to use for the default loading screen

Accessors

loadingUIBackgroundColor

  • get loadingUIBackgroundColor(): string
  • set loadingUIBackgroundColor(color: string): any
  • 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

  • get loadingUIText(): string
  • set loadingUIText(text: string): any
  • 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

displayLoadingUISearch playground for displayLoadingUI

  • displayLoadingUI(): void
  • Function called to display the loading screen

    Returns void

hideLoadingUISearch playground for hideLoadingUI

  • hideLoadingUI(): void
  • Function called to hide the loading screen

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method