Optionalname: stringOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberOptionalnameName the text field is known by, which control.getControlByName finds it by
OptionaltextThe text the field starts with; empty shows the placeholder
OptionalplaceholderThe hint shown while the field is empty
OptionalcolorCSS color of the typed text
OptionalbackgroundCSS color behind the text
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
Feeds
babylon.gui.inputText.createInputText: the name, starting text, placeholder, colors and optional size of a text field.