Optionalname: stringOptionallabel: stringOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberOptionalfontSize: numberName the button is known by, which control.getControlByName finds it by
The text shown on the button
CSS color of the label text
CSS color of the button's face
OptionalwidthWidth, as a pixel string such as 200px or a fraction of the parent from 0 to 1; left
out, the engine chooses
OptionalheightHeight, as a pixel string such as 200px or a fraction of the parent from 0 to 1; left
out, the engine chooses
Font size of the label, in pixels
Feeds
babylon.gui.button.createSimpleButton: the name, label, colors, optional size and font size of a button.