@vrspace/babylonjs
Version:
vrspace.org babylonjs client
25 lines (24 loc) • 638 B
TypeScript
/**
* Countdown form bound to HUD.
*/
export class CountdownForm extends Form {
/**
* Creates the form with font size 128.
* @param {number} count number to start counting from
*/
constructor(count: number);
count: number;
/**
* Initialize and display the form.
* Hides HUD buttons, adds new HUD row, adds the form to the HUD,
* and positions it at the center of the screen.
*/
init(): void;
label: any;
/**
* Update the count
* @param {number} count set new displayed value
*/
update(count: number): void;
}
import { Form } from '../ui/widget/form.js';