Optionalname: stringOptionallabel: stringOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberOptionalfontSize: numberOptionalnameName the button is known by, which control.getControlByName finds it by
OptionallabelThe text shown on the button
OptionalcolorCSS color of the label text
OptionalbackgroundCSS 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
OptionalfontFont size of the label, in pixels
Feeds
babylon.gui.button.createSimpleButton: the name, label, colors, optional size and font size of a button.