docs.unity3d.com
    Show / Hide Table of Contents

    Class FaceInfo

    Class that contains the basic information about the font.

    Inheritance
    System.Object
    FaceInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: TMPro
    Syntax
    [Serializable]
    public class FaceInfo

    Fields

    Ascender

    Declaration
    public float Ascender
    Field Value
    Type Description
    System.Single

    AtlasHeight

    Declaration
    public float AtlasHeight
    Field Value
    Type Description
    System.Single

    AtlasWidth

    Declaration
    public float AtlasWidth
    Field Value
    Type Description
    System.Single

    Baseline

    Declaration
    public float Baseline
    Field Value
    Type Description
    System.Single

    CapHeight

    Declaration
    public float CapHeight
    Field Value
    Type Description
    System.Single

    CenterLine

    Declaration
    public float CenterLine
    Field Value
    Type Description
    System.Single

    CharacterCount

    Declaration
    public int CharacterCount
    Field Value
    Type Description
    System.Int32

    Descender

    Declaration
    public float Descender
    Field Value
    Type Description
    System.Single

    LineHeight

    Declaration
    public float LineHeight
    Field Value
    Type Description
    System.Single

    Name

    Declaration
    public string Name
    Field Value
    Type Description
    System.String

    Padding

    Declaration
    public float Padding
    Field Value
    Type Description
    System.Single

    PointSize

    Declaration
    public float PointSize
    Field Value
    Type Description
    System.Single

    Scale

    Declaration
    public float Scale
    Field Value
    Type Description
    System.Single

    strikethrough

    Declaration
    public float strikethrough
    Field Value
    Type Description
    System.Single

    strikethroughThickness

    Declaration
    public float strikethroughThickness
    Field Value
    Type Description
    System.Single

    SubscriptOffset

    Declaration
    public float SubscriptOffset
    Field Value
    Type Description
    System.Single

    SubSize

    Declaration
    public float SubSize
    Field Value
    Type Description
    System.Single

    SuperscriptOffset

    Declaration
    public float SuperscriptOffset
    Field Value
    Type Description
    System.Single

    TabWidth

    Declaration
    public float TabWidth
    Field Value
    Type Description
    System.Single

    Underline

    Declaration
    public float Underline
    Field Value
    Type Description
    System.Single

    UnderlineThickness

    Declaration
    public float UnderlineThickness
    Field Value
    Type Description
    System.Single
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025