Unigine.WidgetLabel Class
Inherits: | Widget |
This class creates a text label.
See Also#
- A set of UnigineScript API samples located in the <UnigineSDK>/data/samples/widgets/ folder:
- font_03
- font_04
- font_05
- font_06
- font_07
- UnigineScript API sample <UnigineSDK>/data/samples/objects/gui_06
WidgetLabel Class
Properties
string Text#
The text of the label.
set
Sets a text for the label.
set value -
Label text.
int TextAlign#
Alignment of the label.
set
Sets alignment of the label.
set value -
One of the following variables:
Members
static WidgetLabel ( Gui gui, string str = 0 ) #
Constructor. Creates a new text label.Arguments
- Gui gui - GUI, to which the new label will belong.
- string str - Text of the label. This is an optional parameter.
Last update:
2020-04-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)