Generate an [PrimitiveMesh] from the text. Generate an [PrimitiveMesh] from the text. TextMesh can be generated only when using dynamic fonts with vector glyph contours. Bitmap fonts (including bitmap data in the TrueType/OpenType containers, like color emoji fonts) are not supported. The UV layout is arranged in 4 horizontal strips, top to bottom: 40% of the height for the front face, 40% for the back face, 10% for the outer edges and 10% for the inner edges. If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. If you resize the node, it will change its height automatically to show all the text. To see how each mode behaves, see [enum TextServer.AutowrapMode]. Step (in pixels) used to approximate Bézier curves. Depths of the mesh, if set to [code]0.0[/code] only front surface, is generated, and UV layout is changed to use full texture for the front face only. Font configuration used to display text. Font size of the [TextMesh]'s text. Controls the text's horizontal alignment. Supports left, center, right, and fill, or justify. Set it to one of the [enum HorizontalAlignment] constants. Language code used for text shaping algorithms, if left empty current locale is used instead. Vertical space between lines in multiline [TextMesh]. The text drawing offset (in pixels). The size of one pixel's width on the text to scale it in 3D. Set BiDi algorithm override for the structured text. Set additional options for BiDi override. The text to generate mesh from. Base text writing direction. If [code]true[/code], all the text displays as UPPERCASE. Controls the text's vertical alignment. Supports top, center, bottom. Set it to one of the [enum VerticalAlignment] constants. Text width (in pixels), used for fill alignment.