docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AlmostZero

    AlmostZero(Vector3)

    Is the vector within Epsilon of zero length?

    Declaration
    public static bool AlmostZero(this Vector3 v)
    Parameters
    Type Name Description
    Vector3 v
    Returns
    Type Description
    bool

    True if the square magnitude of the vector is within Epsilon of zero

    In This Article
    Back to top
    Copyright © 2023 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)