Label
Extends: UiWidget
Properties
drawableText(BGE.DrawableText)wrapWidth(float) — Width in pixels to wrap the text at. 0 (the default) means no wrapping.
Constructor
new Label(game: BGE.Game): LabelParameters
game(BGE.Game)
Instance Methods
setText(text?: string): void
Parameters
text(string, optional, default: "\"\"")
Returns
void
draw(parent?: UiWidget): void
Parameters
parent(UiWidget, optional, default: "invalid")
Returns
void