docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Math.Constants

    Constants.

    Inheritance
    object
    Math.Constants
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public static class Math.Constants

    Fields

    Eps

    Smallest float such that 1.0 + eps != 1.0 Different from float.Epsilon which is the smallest value greater than zero.

    Declaration
    public const float Eps = 1.1920929E-07
    Field Value
    Type Description
    float

    OneOverTau

    1.0f / Tau.

    Declaration
    public const float OneOverTau = 0.15915494
    Field Value
    Type Description
    float

    Tau

    Tau.

    Declaration
    public const float Tau = 6.2831855
    Field Value
    Type Description
    float

    UnityEpsilon

    This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.

    Declaration
    public const float UnityEpsilon = 1E-05
    Field Value
    Type Description
    float

    UnityEpsilonNormalSqrt

    This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.

    Declaration
    public const float UnityEpsilonNormalSqrt = 1E-15
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)