DefaultLoadingScreen

Class used for the default loading screen

see

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

Hierarchy

  • DefaultLoadingScreen

Implements

Index

Constructors

constructor

Find examples in Playground
  • 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

loadingUIBackgroundColor

Find examples in Playground
loadingUIBackgroundColor: string

Gets or sets the color to use for the background

loadingUIText

Find examples in Playground
loadingUIText: string

Gets or sets the text to display while loading

Methods

displayLoadingUI

Find examples in Playground
  • displayLoadingUI(): void
  • Function called to display the loading screen

    Returns void

hideLoadingUI

Find examples in Playground
  • hideLoadingUI(): void
  • Function called to hide the loading screen

    Returns void

Generated using TypeDoc