TextTextureWidget
TextTextureWidget
is an advanced text widget compared with LabelWidget
.
It wrapper an internal TextTexture
, therefore, you can set the all text rendering properties by it.
Basic Properties
Field | Description |
---|---|
lastComponent | The last component text displayed read only |
textTexture | Internal TextTexture read only |
APIs
textureStyle
Modifies the style of the internal text texture. see TextTexture
for more details.
setText
Sets the text using a string.
setText
/ setComponent
Sets the text using a Component.
setText / setTextProvider
Sets the text using a Supplier.