Documentation

Unity Engine

Download Unity

Unity Engine

UnityEngine.TextRenderingModule

This is a legacy module that is not supported anymore. Use UI Toolkit or uGUI instead.
Read time 1 minuteLast updated 3 hours ago

Definition

  • Type: Module

Remarks

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

Classes

Class

Description

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.

Structs

Struct

Description

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.

Enums

Enum

Description

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.