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.
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] used for the [TextMesh]'s text.
Controls the text's horizontal alignment. Supports left, center and right. Set it to one of the [enum Align] constants.
The size of one pixel's width on the text to scale it in 3D.
The text to generate mesh from.
If [code]true[/code], all the text displays as UPPERCASE.
Align rows to the left (default).
Align rows centered.
Align rows to the right.