Class FontSTBNativeCalls | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class FontSTBNativeCalls

    Inheritance
    System.Object
    FontSTBNativeCalls
    Namespace: Unity.Tiny.TextNative
    Syntax
    public static class FontSTBNativeCalls

    Methods

    AbortLoad(Int64)

    Declaration
    public static void AbortLoad(long loadId)
    Parameters
    Type Name Description
    System.Int64 loadId

    CheckLoading(Int64, ref Int32)

    Declaration
    public static int CheckLoading(long loadId, ref int fontHandle)
    Parameters
    Type Name Description
    System.Int64 loadId
    System.Int32 fontHandle
    Returns
    Type Description
    System.Int32

    FreeFont(Int32)

    Declaration
    public static void FreeFont(int fontHandle)
    Parameters
    Type Name Description
    System.Int32 fontHandle

    MeasureText(String, Int32, Int32, Single, ref Single, ref Single)

    Declaration
    public static void MeasureText(string text, int fontHandle, int textLength, float size, ref float width, ref float height)
    Parameters
    Type Name Description
    System.String text
    System.Int32 fontHandle
    System.Int32 textLength
    System.Single size
    System.Single width
    System.Single height

    StartLoad(String)

    Declaration
    public static long StartLoad(string fontFile)
    Parameters
    Type Name Description
    System.String fontFile
    Returns
    Type Description
    System.Int64
    Back to top
    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