Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used for the default loading screen

see

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

Hierarchy

  • DefaultLoadingScreen

Implements

Index

Constructors

  • new DefaultLoadingScreen(_renderingCanvas: HTMLCanvasElement, _loadingText?: string, _loadingDivBackgroundColor?: string): DefaultLoadingScreen
  • 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

DefaultLogoUrl: string

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

DefaultSpinnerUrl: string

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

Accessors

  • get loadingUIBackgroundColor(): string
  • set loadingUIBackgroundColor(color: string): void
  • get loadingUIText(): string
  • set loadingUIText(text: string): void
  • Gets or sets the text to display while loading

    Returns string

  • Gets or sets the text to display while loading

    Parameters

    • text: string

    Returns void

Methods

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

    Returns void

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

    Returns void

Legend

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

Settings

Theme