Optionalname: stringOptionaltext: stringOptionalcolor: stringOptionalwidth: string | numberOptionalheight: string | numberName the text block is known by, which control.getControlByName finds it by
The text shown
CSS color of 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
Font size of the text, in pixels
Feeds
babylon.gui.textBlock.createTextBlock: the name, text, color, optional size and font size of a text block.