Variables | |
static PropertyType< float > | FontSizeProperty |
FontSize property. More... | |
static PropertyType< ResourceID > | FontMaterialProperty |
FontMaterial property. More... | |
static PropertyType< ColorRGBA > | FontColorProperty |
FontColor property. More... | |
static PropertyType < TextBlockConcept::TextHorizontalAlignment > | TextHorizontalAlignmentProperty |
TextHorizontalAlignment property. More... | |
static PropertyType < TextBlockConcept::TextVerticalAlignment > | TextVerticalAlignmentProperty |
TextVerticalAlignment property. More... | |
static PropertyType< float > | LineSpacingProperty |
LineSpacing property. More... | |
static PropertyType< float > | CharacterSpacingProperty |
CharacterSpacing property. More... | |
static PropertyType< string > | OverflowProperty |
Overflow property. More... | |
static PropertyType< string > | TextProperty |
Text property. More... | |
static PropertyType< bool > | WordWrapProperty |
WordWrap property. More... | |
static PropertyType< bool > | ConstrainContentHeightProperty |
ConstrainContentHeight property. More... | |
|
static |
FontSize property.
Defines the font size in device independent pixels. The default value is 36.0f.
|
static |
FontMaterial property.
Defines the resource ID of the font material resource. The material's shader needs to include GlyphTexture uniform which is automatically filled with glyph data. The default value is ResourceID().
|
static |
FontColor property.
Defines the text color for the default font material and for the materials with a fragment shader that use the FontColor uniform. The default value is ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f).
|
static |
TextHorizontalAlignment property.
Defines the horizontal alignment of the text. The default value is TextBlockConcept::TextHorizontalAlignmentLeft.
|
static |
TextVerticalAlignment property.
Defines the vertical alignment of the text. The default value is TextBlockConcept::TextVerticalAlignmentTop.
|
static |
LineSpacing property.
Defines the line spacing in multiples of the normal line height of the selected font. The default value is 1.0f.
|
static |
CharacterSpacing property.
Defines the character spacing in device independent pixels. The default value is 0.0f.
|
static |
Overflow property.
Defines the characters that represent the clipped text when the text string to be rendered is too long to fit in the node. The default value is "".
|
static |
Text property.
Defines the text that the TextBlock renders. The default value is "<Text>".
|
static |
WordWrap property.
When enabled, long text lines that don't fit to the layout wrap to multiple lines. The default value is true.
|
static |
ConstrainContentHeight property.
When enabled, last lines that don't fit to the layout are cut out. The default value is true.