Text Mesh component reference
Explore the properties and settings in the Text Mesh component to generate 3D geometry that displays text strings.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
The Text Mesh component generates 3D geometry that displays text strings.
To create a new Text Mesh, go to Component > Mesh > Text Mesh.
Text Mesh properties
Property: | Function: |
|---|---|
| Text | The text that will be rendered |
| Offset Z | How far should the text be offset from the transform.position.z when drawing |
| Character Size | The size of each character (This scales the whole text.) |
| Line Spacing | How much space will be in-between lines of text. |
| Anchor | Which point of the text shares the position of the Transform. |
| Alignment | How lines of text are aligned (Left, Right, Center). |
| Tab Size | How much space will be inserted for a tab '\t' character. This is a multiplum of the 'spacebar' character offset. |
| Font Size | The size of the font. This can override the size of a dynamic font. |
| Font Style | The rendering style of the font. The font needs to be marked as dynamic. |
| Rich Text | When selected this will enable tag processing when the text is rendered. |
| Font | The TrueType Font to use when rendering the text. |
| Color | The global color to use when rendering the text. |