docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_Asset

    Inheritance
    Object
    TMP_Asset
    TMP_FontAsset
    TMP_SpriteAsset
    Namespace: TMPro
    Syntax
    public abstract class TMP_Asset : ScriptableObject

    Properties

    faceInfo

    Information about the face of the asset.

    Declaration
    public FaceInfo faceInfo { get; }
    Property Value
    Type Description
    FaceInfo

    hashCode

    HashCode based on the name of the asset.

    Declaration
    public int hashCode { get; set; }
    Property Value
    Type Description
    Int32

    instanceID

    Instance ID of the TMP Asset

    Declaration
    public int instanceID { get; }
    Property Value
    Type Description
    Int32

    material

    The material used by this asset.

    Declaration
    public Material material { get; set; }
    Property Value
    Type Description
    Material

    materialHashCode

    HashCode based on the name of the material assigned to this asset.

    Declaration
    public int materialHashCode { get; set; }
    Property Value
    Type Description
    Int32

    version

    The version of the text asset class. Version 1.1.0 introduces new data structure to be compatible with new font asset structure.

    Declaration
    public string version { get; }
    Property Value
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023