Implement TextMesh resource.

Apply simulated slant and embolden to the TextServer `gont_get_glyph_contours` results.
This commit is contained in:
bruvzg
2022-04-25 13:14:30 +03:00
parent 2f47a0747c
commit 05963674a7
9 changed files with 1059 additions and 11 deletions

View File

@ -78,7 +78,7 @@
Font size of the [Label3D]'s text.
</member>
<member name="horizontal_alignment" type="int" setter="set_horizontal_alignment" getter="get_horizontal_alignment" enum="HorizontalAlignment" default="1">
Controls the text's horizontal alignment. Supports left, center, right. Set it to one of the [enum HorizontalAlignment] constants.
Controls the text's horizontal alignment. Supports left, center, right, and fill, or justify. Set it to one of the [enum HorizontalAlignment] constants.
</member>
<member name="language" type="String" setter="set_language" getter="get_language" default="&quot;&quot;">
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.