Version: Unity 6.1 Alpha (6000.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

This is a legacy module that is not supported anymore. Use UI Toolkit or uGUI instead.

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.
TextMeshThe TextMesh component allows you to display text in 3D text mesh component.This component dynamically generates a mesh that fits the text specified as input, it is great to make world space UI like displaying names above characters like the example below.Note that Text Mesh Pro is now the preferred solution for creating 3D text as it's more feature complete compared to TextMesh.

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.
TextGeneratorTypeDefines the types of text generators to use.
VerticalWrapModeWrapping modes for text that reaches the vertical boundary.