new Label(game) → {void}
Parameters:
Name | Type | Description |
---|---|---|
game |
BGE.Game |
Properties:
Name | Type | Description |
---|---|---|
drawableText |
BGE.DrawableText |
- Source:
Extends
- UiWidget
Methods
draw(parentopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
parent |
object |
<optional> |
invalid |
- Source:
setCanvas(canvasopt) → {void}
Set the canvas this UIWidget Draws to
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
canvas |
object |
<optional> |
invalid |
The canvas this should draw to - if invalid, then will draw to the game canvas |
- Source:
setText(textopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
text |
string |
<optional> |
"" |
- Source: