docs.unity.cn
    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
    Generated by DocFX
    on Wednesday, June 21, 2023