docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_Math

    Inheritance
    System.Object
    TMP_Math
    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
    public static class TMP_Math

    Fields

    FLOAT_MAX

    Declaration
    public const float FLOAT_MAX = 32767F
    Field Value
    Type Description
    System.Single

    FLOAT_MIN

    Declaration
    public const float FLOAT_MIN = -32767F
    Field Value
    Type Description
    System.Single

    FLOAT_UNSET

    Declaration
    public const float FLOAT_UNSET = -32767F
    Field Value
    Type Description
    System.Single

    INT_MAX

    Declaration
    public const int INT_MAX = 2147483647
    Field Value
    Type Description
    System.Int32

    INT_MIN

    Declaration
    public const int INT_MIN = -2147483647
    Field Value
    Type Description
    System.Int32

    INT_UNSET

    Declaration
    public const int INT_UNSET = -32767
    Field Value
    Type Description
    System.Int32

    MAX_16BIT

    Declaration
    public static Vector2 MAX_16BIT
    Field Value
    Type Description
    Vector2

    MIN_16BIT

    Declaration
    public static Vector2 MIN_16BIT
    Field Value
    Type Description
    Vector2

    Methods

    Approximately(Single, Single)

    Declaration
    public static bool Approximately(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Boolean
    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