Add a background image to the menu. The image will stretch to fill the entire UI.
image's control name
Create and then add a button to the menu. The button is made of an image and a text label, and can be styled with various properties.
OptionalclickCallback: () => voidCreate and then add a simple button to the menu. The button will have a text label and can be styled with various properties.
OptionalclickCallback: () => voidAdd a text block to the menu. The text block can be positioned and styled with various properties.
OptionalfontFamily: string
Generic menu class for creating UI menus in Babylon.js.
It provides methods to add background images, text blocks, and buttons with various configurations.