docs.unity3d.com
    Show / Hide Table of Contents

    Class Math.Constants

    Constants.

    Inheritance
    Object
    Math.Constants
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Physics
    Syntax
    public static class 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-07F
    Field Value
    Type Description
    Single

    OneOverTau

    1.0f / Tau.

    Declaration
    public const float OneOverTau = 0.159154937F
    Field Value
    Type Description
    Single

    Tau

    Tau.

    Declaration
    public const float Tau = 6.28318548F
    Field Value
    Type Description
    Single

    UnityEpsilon

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

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

    UnityEpsilonNormalSqrt

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

    Declaration
    public const float UnityEpsilonNormalSqrt = 1E-15F
    Field Value
    Type Description
    Single
    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