Catlike Coding
Unity Code Documentation
|
Text styling data used to render characters. More...
Public Member Functions | |
void | Apply (TextStyle style, TextRenderer renderer, Color tint, float textScale) |
Apply a style completely, regardless what's enabled. More... | |
void | ApplyOnTop (TextStyle style, Color tint, float textScale) |
Apply a style on top of the current settings. More... | |
Public Attributes | |
Color32 | color |
Style color. More... | |
BitmapFont | font |
Style font. More... | |
float | letterSpacing |
Style letter spacing. More... | |
LineDescent | lineDescent |
Style line descent data. More... | |
float | lineHeight |
Style line height. More... | |
TextRenderer | renderer |
Renderer responsible for rendering characters with this style. More... | |
float | size |
Style size. More... | |
Text styling data used to render characters.
void CatlikeCoding.TextBox.AppliedTextStyle.Apply | ( | TextStyle | style, |
TextRenderer | renderer, | ||
Color | tint, | ||
float | textScale | ||
) |
Apply a style completely, regardless what's enabled.
style | Style to apply. |
renderer | Renderer to use. |
tint | Tint for style color |
textScale | Scale factor for the text. |
void CatlikeCoding.TextBox.AppliedTextStyle.ApplyOnTop | ( | TextStyle | style, |
Color | tint, | ||
float | textScale | ||
) |
Apply a style on top of the current settings.
style | Style to apply. |
tint | Tint for style color |
textScale | Scale factor for the text. |
Color32 CatlikeCoding.TextBox.AppliedTextStyle.color |
Style color.
BitmapFont CatlikeCoding.TextBox.AppliedTextStyle.font |
Style font.
float CatlikeCoding.TextBox.AppliedTextStyle.letterSpacing |
Style letter spacing.
LineDescent CatlikeCoding.TextBox.AppliedTextStyle.lineDescent |
Style line descent data.
float CatlikeCoding.TextBox.AppliedTextStyle.lineHeight |
Style line height.
TextRenderer CatlikeCoding.TextBox.AppliedTextStyle.renderer |
Renderer responsible for rendering characters with this style.
float CatlikeCoding.TextBox.AppliedTextStyle.size |
Style size.