Optionalname: stringOptionalcolor: stringOptionalbackground: stringOptionalwidth: string | numberOptionalheight: string | numberName the text field is known by, which control.getControlByName finds it by
The text the field starts with; empty shows the placeholder
The hint shown while the field is empty
CSS color of the typed text
CSS 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.