Version: 2021.1
LanguageEnglish
  • C#

UnityEngine.TextRenderingModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The TextRendering module provides access to Unity's text rendering system.

Classes

FontScript interface for font assets.
TextGeneratorClass that can be used to generate text for rendering.
TextMeshA script interface for the text mesh component.

Structs

CharacterInfoSpecification for how to render a character from the font texture. See Font.characterInfo.
TextGenerationSettingsA struct that stores the settings for TextGeneration.
UICharInfoClass that specifies some information about a renderable character.
UILineInfoInformation about a generated line of text.
UIVertexVertex class used by a Canvas for managing vertices.

Enumerations

FontStyleFont Style applied to GUI Texts, Text Meshes or GUIStyles.
HorizontalWrapModeWrapping modes for text that reaches the horizontal boundary.
TextAlignmentHow multiline text should be aligned.
TextAnchorWhere the anchor of the text is placed.
VerticalWrapModeWrapping modes for text that reaches the vertical boundary.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961