LanguageEnglish
  • C#

UnityEngine.TextRenderingModule

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961