docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_TextElement_Legacy

    Base class for all text elements like characters (glyphs) and sprites.

    Inheritance
    object
    TMP_TextElement_Legacy
    TMP_Glyph
    TMP_Sprite
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    [Serializable]
    public class TMP_TextElement_Legacy

    Fields

    height

    Declaration
    public float height
    Field Value
    Type Description
    float

    id

    Declaration
    public int id
    Field Value
    Type Description
    int

    scale

    Declaration
    public float scale
    Field Value
    Type Description
    float

    width

    Declaration
    public float width
    Field Value
    Type Description
    float

    x

    Declaration
    public float x
    Field Value
    Type Description
    float

    xAdvance

    Declaration
    public float xAdvance
    Field Value
    Type Description
    float

    xOffset

    Declaration
    public float xOffset
    Field Value
    Type Description
    float

    y

    Declaration
    public float y
    Field Value
    Type Description
    float

    yOffset

    Declaration
    public float yOffset
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)