文档

Unity Engine

Unity Engine

UnityEngine.TextRenderingModule

The TextRendering module provides access to Unity's text rendering system.
阅读时间1 分钟最后更新于 1 天前

Definition

  • Type: Module

Classes

Class

Description

FontScript interface for font assets.
TextGeneratorClass that can be used to generate text for rendering.
TextMeshA script interface for the 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.