docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_Math

    Inheritance
    Object
    TMP_Math
    Namespace: TMPro
    Syntax
    public static class TMP_Math

    Fields

    FLOAT_MAX

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

    FLOAT_MIN

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

    FLOAT_UNSET

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

    INT_MAX

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

    INT_MIN

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

    INT_UNSET

    Declaration
    public const int INT_UNSET = -32767
    Field Value
    Type Description
    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
    Single a
    Single b
    Returns
    Type Description
    Boolean
    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