docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constants Operators

    Get mathematical constants.

    Page Description
    Epsilon (ε) Get a tiny value that you can use to avoid precision issues when you compare float values.
    Pi (π) Get the ratio of a circle's circumference to its diameter.

    Additional resources

    • Arithmetic Operators
    • Clamp Operators
    • Math Operators
    In This Article
    Back to top
    Copyright © 2025 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)