Show / Hide Table of Contents

    Struct FontInfo

    Load font/TMP_Font file in runtime and return a Font/TMP_FontAsset object

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Rosetta.Runtime.Loader
    Assembly: Rosetta.Runtime.dll
    Syntax
    public struct FontInfo

    Fields

    | Improve this Doc View Source

    FontName

    The font file name.

    Declaration
    public string FontName
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsDefaultInclude

    Whether the font file is included in Resources. When this is no, the font will be loaded from the operating system.

    Declaration
    public bool IsDefaultInclude
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsTmpFont

    Whether it is a font in TMP format.

    Declaration
    public bool IsTmpFont
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Size

    The font size. Used only when reading font from the OS.

    Declaration
    public int Size
    Field Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    • 0 Comments
    Back to top Copyright © Shitake.
    Generated by DocFX