Constructors
constructor
- new HUD(canvas: HTMLCanvasElement): HUD
Parameters
- canvas: HTMLCanvasElement
Returns HUD
Properties
debug
debug: boolean = false
Methods
addHUDItem
- addHUDItem(item: HTMLElement): void
Returns void
hideLoading
- hideLoading(): void
Returns void
render
- render(debug?: boolean, camera: Camera): void
Parameters
- debug: boolean = false
- camera: Camera
Returns void
Add a HTML element to the HUD