docs.unity.cn
    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
    Namespace: TMPro
    Syntax
    [Serializable]
    public class TMP_TextElement_Legacy

    Fields

    height

    Declaration
    public float height
    Field Value
    Type Description
    Single

    id

    Declaration
    public int id
    Field Value
    Type Description
    Int32

    scale

    Declaration
    public float scale
    Field Value
    Type Description
    Single

    width

    Declaration
    public float width
    Field Value
    Type Description
    Single

    x

    Declaration
    public float x
    Field Value
    Type Description
    Single

    xAdvance

    Declaration
    public float xAdvance
    Field Value
    Type Description
    Single

    xOffset

    Declaration
    public float xOffset
    Field Value
    Type Description
    Single

    y

    Declaration
    public float y
    Field Value
    Type Description
    Single

    yOffset

    Declaration
    public float yOffset
    Field Value
    Type Description
    Single
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 23 April 2021